Прочетете на английски

Споделяне чрез


SplitTableBuilder.Property Method

Definition

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)

Source:
SplitTableBuilder.cs
Source:
SplitTableBuilder.cs
Source:
SplitTableBuilder.cs

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.

C#
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.ColumnBuilder Property (string propertyName);

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 Core 9.0 и други версии
Продукт Версии
Entity Framework Core 7.0, 8.0, 9.0

Property<TProperty>(String)

Source:
SplitTableBuilder.cs
Source:
SplitTableBuilder.cs
Source:
SplitTableBuilder.cs

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.

C#
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.ColumnBuilder<TProperty> Property<TProperty> (string propertyName);

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 Core 9.0 и други версии
Продукт Версии
Entity Framework Core 7.0, 8.0, 9.0