EdmHelper.GetConfigurations Method

 

Gets the model configurations to apply to the specified property.

Namespace:   Microsoft.Data.Entity.Design.CodeGeneration
Assembly:  Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)

NameDescription
System_CAPS_pubmethodGetConfigurations(EdmProperty, DbModel)

Gets the model configurations to apply to the specified property.

System_CAPS_pubmethodGetConfigurations(EntitySet, DbModel)

Gets the model configurations to apply to the specified entity type.

System_CAPS_pubmethodGetConfigurations(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.

Return Value

Type: System.Collections.Generic.IEnumerable<IConfiguration>

The configurations.


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.

Return Value

Type: System.Collections.Generic.IEnumerable<IConfiguration>

The configurations.


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.

Return Value

Type: System.Collections.Generic.IEnumerable<IFluentConfiguration>

The configurations.