OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>.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.
Maps the property to a column on the current table and returns an object that can be used to provide table-specific configuration if the property is mapped to more than one table.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.ColumnBuilder<TProperty> Property<TProperty> (System.Linq.Expressions.Expression<Func<TDependentEntity,TProperty>> propertyExpression);
override this.Property : System.Linq.Expressions.Expression<Func<'DependentEntity, 'Property>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.ColumnBuilder<'Property>
Public Overridable Function Property(Of TProperty) (propertyExpression As Expression(Of Func(Of TDependentEntity, TProperty))) As ColumnBuilder(Of TProperty)
Type Parameters
- TProperty
Parameters
- propertyExpression
- Expression<Func<TDependentEntity,TProperty>>
A lambda expression representing the property to be configured (blog => blog.Url
).
Returns
An object that can be used to configure the property.
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