RelationalPropertiesConfigurationBuilderExtensions.UseCollation 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| UseCollation(PropertiesConfigurationBuilder, String) |
配置屬性以使用給定的排序。 資料庫欄位將以該排序建立,並隱含用於所有敏感排序操作。 |
| UseCollation<TProperty>(PropertiesConfigurationBuilder<TProperty>, String) |
配置屬性以使用給定的排序。 資料庫欄位將以該排序建立,並隱含用於所有敏感排序操作。 |
UseCollation(PropertiesConfigurationBuilder, String)
配置屬性以使用給定的排序。 資料庫欄位將以該排序建立,並隱含用於所有敏感排序操作。
public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertiesConfigurationBuilder UseCollation(this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertiesConfigurationBuilder propertyBuilder, string collation);
static member UseCollation : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertiesConfigurationBuilder * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertiesConfigurationBuilder
<Extension()>
Public Function UseCollation (propertyBuilder As PropertiesConfigurationBuilder, collation As String) As PropertiesConfigurationBuilder
參數
- propertyBuilder
- PropertiesConfigurationBuilder
正在配置的物業的建商。
- collation
- String
專欄的整理。
傳回
同一個建構實例,這樣可以串接多個呼叫。
備註
更多資訊與範例請參見 資料庫整合 。
適用於
UseCollation<TProperty>(PropertiesConfigurationBuilder<TProperty>, String)
配置屬性以使用給定的排序。 資料庫欄位將以該排序建立,並隱含用於所有敏感排序操作。
public static Microsoft.EntityFrameworkCore.Metadata.Builders.PropertiesConfigurationBuilder<TProperty> UseCollation<TProperty>(this Microsoft.EntityFrameworkCore.Metadata.Builders.PropertiesConfigurationBuilder<TProperty> propertyBuilder, string collation);
static member UseCollation : Microsoft.EntityFrameworkCore.Metadata.Builders.PropertiesConfigurationBuilder<'Property> * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertiesConfigurationBuilder<'Property>
<Extension()>
Public Function UseCollation(Of TProperty) (propertyBuilder As PropertiesConfigurationBuilder(Of TProperty), collation As String) As PropertiesConfigurationBuilder(Of TProperty)
類型參數
- TProperty
參數
- propertyBuilder
- PropertiesConfigurationBuilder<TProperty>
正在配置的物業的建商。
- collation
- String
專欄的整理。
傳回
同一個建構實例,這樣可以串接多個呼叫。
備註
更多資訊與範例請參見 資料庫整合 。