語言

SqlitePropertyBuilderExtensions.ForSqliteHasColumnName 方法

定義

多載

名稱 Description
ForSqliteHasColumnName(PropertyBuilder, String)

設定屬性在定位 SQLite 時所對應的欄位。

ForSqliteHasColumnName<TProperty>(PropertyBuilder<TProperty>, String)

設定屬性在定位 SQLite 時所對應的欄位。

ForSqliteHasColumnName(PropertyBuilder, String)

設定屬性在定位 SQLite 時所對應的欄位。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder ForSqliteHasColumnName(this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder propertyBuilder, string name);
static member ForSqliteHasColumnName : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
<Extension()>
Public Function ForSqliteHasColumnName (propertyBuilder As PropertyBuilder, name As String) As PropertyBuilder

參數

propertyBuilder
PropertyBuilder

正在配置的物業的建商。

name
String

欄位名稱。

傳回

同一個建構實例,這樣可以串接多個呼叫。

適用於

ForSqliteHasColumnName<TProperty>(PropertyBuilder<TProperty>, String)

設定屬性在定位 SQLite 時所對應的欄位。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> ForSqliteHasColumnName<TProperty>(this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> propertyBuilder, string name);
static member ForSqliteHasColumnName : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property> * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property>
<Extension()>
Public Function ForSqliteHasColumnName(Of TProperty) (propertyBuilder As PropertyBuilder(Of TProperty), name As String) As PropertyBuilder(Of TProperty)

類型參數

TProperty

配置的房產類型。

參數

propertyBuilder
PropertyBuilder<TProperty>

正在配置的物業的建商。

name
String

欄位名稱。

傳回

同一個建構實例,這樣可以串接多個呼叫。

適用於