共用方式為


StringRelationalTypeMapper 類別

定義

警告

Use RelationalTypeMappingSource.

將字串屬性類型對應至其對應的關係資料庫類型。

此類型通常由資料庫提供者 (和其他延伸模組) 使用。 它通常不會用於應用程式程式碼。

public class StringRelationalTypeMapper : Microsoft.EntityFrameworkCore.Storage.IStringRelationalTypeMapper
[System.Obsolete("Use RelationalTypeMappingSource.")]
public class StringRelationalTypeMapper : Microsoft.EntityFrameworkCore.Storage.IStringRelationalTypeMapper
type StringRelationalTypeMapper = class
    interface IStringRelationalTypeMapper
[<System.Obsolete("Use RelationalTypeMappingSource.")>]
type StringRelationalTypeMapper = class
    interface IStringRelationalTypeMapper
Public Class StringRelationalTypeMapper
Implements IStringRelationalTypeMapper
繼承
StringRelationalTypeMapper
屬性
實作

建構函式

StringRelationalTypeMapper(Int32, RelationalTypeMapping, RelationalTypeMapping, RelationalTypeMapping, Func<Int32,RelationalTypeMapping>, Int32, RelationalTypeMapping, RelationalTypeMapping, RelationalTypeMapping, Func<Int32,RelationalTypeMapping>)
已淘汰.

初始化 StringRelationalTypeMapper 類別的新執行個體。

屬性

CreateBoundedAnsiMapping
已淘汰.

取得函式,以建立限定 ANSI 字串的對應。

CreateBoundedUnicodeMapping
已淘汰.

取得函式,以建立系結 Unicode 字串的對應。

DefaultAnsiMapping
已淘汰.

取得 ANSI 字串的預設對應。

DefaultUnicodeMapping
已淘汰.

取得 Unicode 字串的預設對應。

KeyAnsiMapping
已淘汰.

取得屬於索引鍵一部分的 ANSI 字串對應。

KeyUnicodeMapping
已淘汰.

取得屬於索引鍵一部分的 Unicode 字串對應。

MaxBoundedAnsiLength
已淘汰.

取得限定 ANSI 字串的最大長度。

MaxBoundedUnicodeLength
已淘汰.

取得限定 Unicode 字串的最大長度。

UnboundedAnsiMapping
已淘汰.

取得未系結 ANSI 字串的對應。

UnboundedUnicodeMapping
已淘汰.

取得未系結 Unicode 字串的對應。

方法

FindMapping(Boolean, Boolean, Nullable<Int32>)
已淘汰.

取得字串屬性的關係資料庫類型。

適用於