ExtensionMethods.AddEntityContainer(EdmModel, String, String) 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.
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.