EdmEntityContainer.AddFunctionImport Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddFunctionImport(String, IEdmFunction, IEdmExpression, Boolean) |
Creates and adds a function import to this entity container. |
AddFunctionImport(String, IEdmFunction, IEdmExpression) |
Creates and adds a function import to this entity container. |
AddFunctionImport(IEdmFunction) |
Creates and adds a function import to this entity container. |
AddFunctionImport(String, IEdmFunction) |
Creates and adds a function import to this entity container. |
AddFunctionImport(String, IEdmFunction, IEdmExpression, Boolean)
Creates and adds a function import to this entity container.
public virtual Microsoft.OData.Edm.EdmOperationImport AddFunctionImport (string name, Microsoft.OData.Edm.IEdmFunction function, Microsoft.OData.Edm.IEdmExpression entitySet, bool includeInServiceDocument);
abstract member AddFunctionImport : string * Microsoft.OData.Edm.IEdmFunction * Microsoft.OData.Edm.IEdmExpression * bool -> Microsoft.OData.Edm.EdmOperationImport
override this.AddFunctionImport : string * Microsoft.OData.Edm.IEdmFunction * Microsoft.OData.Edm.IEdmExpression * bool -> Microsoft.OData.Edm.EdmOperationImport
Public Overridable Function AddFunctionImport (name As String, function As IEdmFunction, entitySet As IEdmExpression, includeInServiceDocument As Boolean) As EdmOperationImport
Parameters
- name
- String
Name of the function import.
- function
- IEdmFunction
The function of the specified function import.
- entitySet
- IEdmExpression
An entity set containing entities returned by this function import. The expression kind supported is IEdmPathExpression.
- includeInServiceDocument
- Boolean
A value indicating whether this function import will be in the service document.
Returns
Created operation import.
Applies to
AddFunctionImport(String, IEdmFunction, IEdmExpression)
Creates and adds a function import to this entity container.
public virtual Microsoft.OData.Edm.EdmFunctionImport AddFunctionImport (string name, Microsoft.OData.Edm.IEdmFunction function, Microsoft.OData.Edm.IEdmExpression entitySet);
abstract member AddFunctionImport : string * Microsoft.OData.Edm.IEdmFunction * Microsoft.OData.Edm.IEdmExpression -> Microsoft.OData.Edm.EdmFunctionImport
override this.AddFunctionImport : string * Microsoft.OData.Edm.IEdmFunction * Microsoft.OData.Edm.IEdmExpression -> Microsoft.OData.Edm.EdmFunctionImport
Public Overridable Function AddFunctionImport (name As String, function As IEdmFunction, entitySet As IEdmExpression) As EdmFunctionImport
Parameters
- name
- String
Name of the function import.
- function
- IEdmFunction
The function of the specified function import.
- entitySet
- IEdmExpression
An entity set containing entities returned by this function import. The expression kind supported is IEdmPathExpression.
Returns
Created function import.
Applies to
AddFunctionImport(IEdmFunction)
Creates and adds a function import to this entity container.
public virtual Microsoft.OData.Edm.EdmFunctionImport AddFunctionImport (Microsoft.OData.Edm.IEdmFunction function);
abstract member AddFunctionImport : Microsoft.OData.Edm.IEdmFunction -> Microsoft.OData.Edm.EdmFunctionImport
override this.AddFunctionImport : Microsoft.OData.Edm.IEdmFunction -> Microsoft.OData.Edm.EdmFunctionImport
Public Overridable Function AddFunctionImport (function As IEdmFunction) As EdmFunctionImport
Parameters
- function
- IEdmFunction
The function of the specified function import.
Returns
Created function import.
Applies to
AddFunctionImport(String, IEdmFunction)
Creates and adds a function import to this entity container.
public virtual Microsoft.OData.Edm.EdmFunctionImport AddFunctionImport (string name, Microsoft.OData.Edm.IEdmFunction function);
abstract member AddFunctionImport : string * Microsoft.OData.Edm.IEdmFunction -> Microsoft.OData.Edm.EdmFunctionImport
override this.AddFunctionImport : string * Microsoft.OData.Edm.IEdmFunction -> Microsoft.OData.Edm.EdmFunctionImport
Public Overridable Function AddFunctionImport (name As String, function As IEdmFunction) As EdmFunctionImport
Parameters
- name
- String
Name of the function import.
- function
- IEdmFunction
The function of the specified function import.
Returns
Created function import.