InversePropertyAttributeConvention.Apply Method
[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.]
Applies the convention to the specified attribute with configuration.
Namespace: System.Data.Entity.ModelConfiguration.Conventions
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
'Declaration
Public Overrides Sub Apply ( _
memberInfo As PropertyInfo, _
configuration As ConventionTypeConfiguration, _
attribute As InversePropertyAttribute _
)
'Usage
Dim instance As InversePropertyAttributeConvention
Dim memberInfo As PropertyInfo
Dim configuration As ConventionTypeConfiguration
Dim attribute As InversePropertyAttribute
instance.Apply(memberInfo, configuration, _
attribute)
public override void Apply(
PropertyInfo memberInfo,
ConventionTypeConfiguration configuration,
InversePropertyAttribute attribute
)
public:
virtual void Apply(
PropertyInfo^ memberInfo,
ConventionTypeConfiguration^ configuration,
InversePropertyAttribute^ attribute
) override
abstract Apply :
memberInfo:PropertyInfo *
configuration:ConventionTypeConfiguration *
attribute:InversePropertyAttribute -> unit
override Apply :
memberInfo:PropertyInfo *
configuration:ConventionTypeConfiguration *
attribute:InversePropertyAttribute -> unit
public override function Apply(
memberInfo : PropertyInfo,
configuration : ConventionTypeConfiguration,
attribute : InversePropertyAttribute
)
Parameters
- memberInfo
Type: System.Reflection.PropertyInfo
The member information.
- configuration
Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration
The configuration.
- attribute
Type: InversePropertyAttribute
The attribute.