Share via


EdmEntityContainer.AddActionImport Method

Definition

Overloads

AddActionImport(IEdmAction)

Creates and adds an action import to this entity container.

AddActionImport(String, IEdmAction)

Creates and adds an action import to this entity container.

AddActionImport(String, IEdmAction, IEdmExpression)

Creates and adds an action import to this entity container.

AddActionImport(IEdmAction)

Creates and adds an action import to this entity container.

public virtual Microsoft.OData.Edm.EdmActionImport AddActionImport (Microsoft.OData.Edm.IEdmAction action);
abstract member AddActionImport : Microsoft.OData.Edm.IEdmAction -> Microsoft.OData.Edm.EdmActionImport
override this.AddActionImport : Microsoft.OData.Edm.IEdmAction -> Microsoft.OData.Edm.EdmActionImport
Public Overridable Function AddActionImport (action As IEdmAction) As EdmActionImport

Parameters

action
IEdmAction

Action that the action import is importing to the container.

Returns

Created action import.

Applies to

AddActionImport(String, IEdmAction)

Creates and adds an action import to this entity container.

public virtual Microsoft.OData.Edm.EdmActionImport AddActionImport (string name, Microsoft.OData.Edm.IEdmAction action);
abstract member AddActionImport : string * Microsoft.OData.Edm.IEdmAction -> Microsoft.OData.Edm.EdmActionImport
override this.AddActionImport : string * Microsoft.OData.Edm.IEdmAction -> Microsoft.OData.Edm.EdmActionImport
Public Overridable Function AddActionImport (name As String, action As IEdmAction) As EdmActionImport

Parameters

name
String

Name of the action import.

action
IEdmAction

Action that the action import is importing to the container.

Returns

Created action import.

Applies to

AddActionImport(String, IEdmAction, IEdmExpression)

Creates and adds an action import to this entity container.

public virtual Microsoft.OData.Edm.EdmActionImport AddActionImport (string name, Microsoft.OData.Edm.IEdmAction action, Microsoft.OData.Edm.IEdmExpression entitySet);
abstract member AddActionImport : string * Microsoft.OData.Edm.IEdmAction * Microsoft.OData.Edm.IEdmExpression -> Microsoft.OData.Edm.EdmActionImport
override this.AddActionImport : string * Microsoft.OData.Edm.IEdmAction * Microsoft.OData.Edm.IEdmExpression -> Microsoft.OData.Edm.EdmActionImport
Public Overridable Function AddActionImport (name As String, action As IEdmAction, entitySet As IEdmExpression) As EdmActionImport

Parameters

name
String

Name of the action import.

action
IEdmAction

Action that the action import is importing to the container.

entitySet
IEdmExpression

An entity set containing entities returned by this action import. The expression kind supported is IEdmPathExpression.

Returns

Created action import.

Applies to