EdmHelper.GetConfigurations Method (NavigationProperty, 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 navigation property.

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

Syntax

'Declaration
<SuppressMessageAttribute("Microsoft.Performance", "CA1822:MarkMembersAsStatic")> _
Public Function GetConfigurations ( _
    navigationProperty As NavigationProperty, _
    model As DbModel _
) As IEnumerable(Of IFluentConfiguration)
'Usage
Dim instance As EdmHelper 
Dim navigationProperty As NavigationProperty 
Dim model As DbModel 
Dim returnValue As IEnumerable(Of IFluentConfiguration)

returnValue = instance.GetConfigurations(navigationProperty, _
    model)
[SuppressMessageAttribute("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
public IEnumerable<IFluentConfiguration> GetConfigurations(
    NavigationProperty navigationProperty,
    DbModel model
)
[SuppressMessageAttribute(L"Microsoft.Performance", L"CA1822:MarkMembersAsStatic")]
public:
IEnumerable<IFluentConfiguration^>^ GetConfigurations(
    NavigationProperty^ navigationProperty, 
    DbModel^ model
)
[<SuppressMessageAttribute("Microsoft.Performance", "CA1822:MarkMembersAsStatic")>]
member GetConfigurations : 
        navigationProperty:NavigationProperty * 
        model:DbModel -> IEnumerable<IFluentConfiguration> 
public function GetConfigurations(
    navigationProperty : NavigationProperty, 
    model : DbModel
) : IEnumerable<IFluentConfiguration>

Parameters

Return Value

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

See Also

Reference

EdmHelper Class

GetConfigurations Overload

Microsoft.Data.Entity.Design.CodeGeneration Namespace