ExtensionMethods.FindFunctions Method
Searches for functions with the given name in this model and all referenced models and returns an empty enumerable if no such functions exist.
Namespace: Microsoft.Data.Edm
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function FindFunctions ( _
model As IEdmModel, _
qualifiedName As String _
) As IEnumerable(Of IEdmFunction)
'Usage
Dim model As IEdmModel
Dim qualifiedName As String
Dim returnValue As IEnumerable(Of IEdmFunction)
returnValue = model.FindFunctions(qualifiedName)
public static IEnumerable<IEdmFunction> FindFunctions(
this IEdmModel model,
string qualifiedName
)
[ExtensionAttribute]
public:
static IEnumerable<IEdmFunction^>^ FindFunctions(
IEdmModel^ model,
String^ qualifiedName
)
static member FindFunctions :
model:IEdmModel *
qualifiedName:string -> IEnumerable<IEdmFunction>
public static function FindFunctions(
model : IEdmModel,
qualifiedName : String
) : IEnumerable<IEdmFunction>
Parameters
- model
Type: Microsoft.Data.Edm.IEdmModel
The model to search.
- qualifiedName
Type: System.String
The qualified name of the functions being found.
Return Value
Type: System.Collections.Generic.IEnumerable<IEdmFunction>
The requested functions.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmModel. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).