ConventionTypeConfiguration.Property Method
Configures a property that is defined on this type.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | Property(PropertyInfo) | Configures a property that is defined on this type. |
![]() | Property(String) | Configures a property that is defined on this type. |
ConventionTypeConfiguration.Property Method (PropertyInfo)
Configures a property that is defined on this type.
Parameters
- propertyInfo
-
Type:
System.Reflection.PropertyInfo
The property being configured.
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfigurationA configuration object that can be used to configure the property.
ConventionTypeConfiguration.Property Method (String)
Configures a property that is defined on this type.
Parameters
- propertyName
-
Type:
System.String
The name of the property being configured.
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfigurationA configuration object that can be used to configure the property.