ConventionTypeConfiguration<T>.Property<TProperty> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures a property that is defined on this type.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfiguration Property<TProperty> (System.Linq.Expressions.Expression<Func<T,TProperty>> propertyExpression);
member this.Property : System.Linq.Expressions.Expression<Func<'T, 'Property>> -> System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfiguration
Public Function Property(Of TProperty) (propertyExpression As Expression(Of Func(Of T, TProperty))) As ConventionPrimitivePropertyConfiguration
Type Parameters
- TProperty
The type of the property being configured.
Parameters
- propertyExpression
- Expression<Func<T,TProperty>>
A lambda expression representing the property to be configured. C#: t => t.MyProperty VB.Net: Function(t) t.MyProperty
Returns
A configuration object that can be used to configure the property.
- Attributes
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework