Jaa


ExtensionMethods.AddEntityContainer(EdmModel, String, String) Method

Definition

Creates and adds an entity container to the model.

public static Microsoft.OData.Edm.EdmEntityContainer AddEntityContainer (this Microsoft.OData.Edm.EdmModel model, string namespaceName, string name);
static member AddEntityContainer : Microsoft.OData.Edm.EdmModel * string * string -> Microsoft.OData.Edm.EdmEntityContainer
<Extension()>
Public Function AddEntityContainer (model As EdmModel, namespaceName As String, name As String) As EdmEntityContainer

Parameters

model
EdmModel

The EdmModel.

namespaceName
String

Namespace of the entity container.

name
String

Name of the entity container.

Returns

The entity container created.

Applies to