EdmHelper.GetConfigurations Method
Gets the model configurations to apply to the specified property.
Assembly: Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)
Name | Description | |
---|---|---|
![]() | GetConfigurations(EdmProperty, DbModel) | Gets the model configurations to apply to the specified property. |
![]() | GetConfigurations(EntitySet, DbModel) | Gets the model configurations to apply to the specified entity type. |
![]() | GetConfigurations(NavigationProperty, DbModel) | Gets the model configurations to apply to the specified navigation property. |
EdmHelper.GetConfigurations Method (EdmProperty, DbModel)
Gets the model configurations to apply to the specified property.
public IEnumerable<IConfiguration> GetConfigurations(
EdmProperty property,
DbModel model
)
Parameters
- property
-
Type:
System.Data.Entity.Core.Metadata.Edm.EdmProperty
The property.
- model
-
Type:
System.Data.Entity.Infrastructure.DbModel
The model.
EdmHelper.GetConfigurations Method (EntitySet, DbModel)
Gets the model configurations to apply to the specified entity type.
public IEnumerable<IConfiguration> GetConfigurations(
EntitySet entitySet,
DbModel model
)
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.
EdmHelper.GetConfigurations Method (NavigationProperty, DbModel)
Gets the model configurations to apply to the specified navigation property.
[SuppressMessageAttribute("Microsoft.Performance", "CA1822:MarkMembersAsStatic")] public IEnumerable<IFluentConfiguration> GetConfigurations( NavigationProperty navigationProperty, DbModel model )
Parameters
- navigationProperty
-
Type:
System.Data.Entity.Core.Metadata.Edm.NavigationProperty
The navigation property.
- model
-
Type:
System.Data.Entity.Infrastructure.DbModel
The model.