語言

RelationalPropertiesConfigurationBuilderExtensions 類別

定義

關聯式資料庫專用的擴充方法 PropertiesConfigurationBuilder。

[System.Runtime.CompilerServices.Nullable(0)]
public static class RelationalPropertiesConfigurationBuilderExtensions
public static class RelationalPropertiesConfigurationBuilderExtensions
[<System.Runtime.CompilerServices.Nullable(0)>]
type RelationalPropertiesConfigurationBuilderExtensions = class
type RelationalPropertiesConfigurationBuilderExtensions = class
Public Module RelationalPropertiesConfigurationBuilderExtensions
繼承
RelationalPropertiesConfigurationBuilderExtensions
屬性

方法

名稱 Description
AreFixedLength(PropertiesConfigurationBuilder, Boolean)

將屬性配置為僅能儲存固定長度的資料,例如字串。

AreFixedLength<TProperty>(PropertiesConfigurationBuilder<TProperty>, Boolean)

將屬性配置為僅能儲存固定長度的資料,例如字串。

HaveColumnType(PropertiesConfigurationBuilder, String)

在針對關聯式資料庫時,設定屬性所對應的欄位資料型態。 這應該是完整的類型名稱,包括精度、比例、長度等。

HaveColumnType<TProperty>(PropertiesConfigurationBuilder<TProperty>, String)

在針對關聯式資料庫時,設定屬性所對應的欄位資料型態。 這應該是完整的類型名稱,包括精度、比例、長度等。

UseCollation(PropertiesConfigurationBuilder, String)

配置屬性以使用給定的排序。 資料庫欄位將以該排序建立,並隱含用於所有敏感排序操作。

UseCollation<TProperty>(PropertiesConfigurationBuilder<TProperty>, String)

配置屬性以使用給定的排序。 資料庫欄位將以該排序建立,並隱含用於所有敏感排序操作。

適用於