OwnedNavigationTableBuilder.Property 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.
Overloads
Property(String) |
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. |
Property<TProperty>(String) |
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. |
Property(String)
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 Property (string propertyName);
abstract member Property : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.ColumnBuilder
override this.Property : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.ColumnBuilder
Public Overridable Function Property (propertyName As String) As ColumnBuilder
Parameters
- propertyName
- String
The name of the property to be configured.
Returns
An object that can be used to configure the property.
Applies to
Property<TProperty>(String)
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> (string propertyName);
abstract member Property : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.ColumnBuilder<'Property>
override this.Property : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.ColumnBuilder<'Property>
Public Overridable Function Property(Of TProperty) (propertyName As String) As ColumnBuilder(Of TProperty)
Type Parameters
- TProperty
The type of the property to be configured.
Parameters
- propertyName
- String
The name of the property to be configured.
Returns
An object that can be used to configure the property.
Applies to
Entity Framework