EdmHelper.GetConfigurations Method (EntitySet, DbModel)
[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]
Gets the model configurations to apply to the specified entity type.
Namespace: Microsoft.Data.Entity.Design.CodeGeneration
Assembly: Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)
Syntax
'Declaration
Public Function GetConfigurations ( _
entitySet As EntitySet, _
model As DbModel _
) As IEnumerable(Of IConfiguration)
'Usage
Dim instance As EdmHelper
Dim entitySet As EntitySet
Dim model As DbModel
Dim returnValue As IEnumerable(Of IConfiguration)
returnValue = instance.GetConfigurations(entitySet, _
model)
public IEnumerable<IConfiguration> GetConfigurations(
EntitySet entitySet,
DbModel model
)
public:
IEnumerable<IConfiguration^>^ GetConfigurations(
EntitySet^ entitySet,
DbModel^ model
)
member GetConfigurations :
entitySet:EntitySet *
model:DbModel -> IEnumerable<IConfiguration>
public function GetConfigurations(
entitySet : EntitySet,
model : DbModel
) : IEnumerable<IConfiguration>
Parameters
- entitySet
Type: System.Data.Entity.Core.Metadata.Edm.EntitySet
The set of the entity type.
- model
Type: System.Data.Entity.Infrastructure.DbModel
The model.
Return Value
Type: System.Collections.Generic.IEnumerable<IConfiguration>
The configurations.