次の方法で共有


RelationalTypeMapping.WithStoreTypeAndSize メソッド

定義

このマッピングのコピーを作成します。

public virtual Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping WithStoreTypeAndSize (string storeType, int? size);
abstract member WithStoreTypeAndSize : string * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
override this.WithStoreTypeAndSize : string * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
Public Overridable Function WithStoreTypeAndSize (storeType As String, size As Nullable(Of Integer)) As RelationalTypeMapping

パラメーター

storeType
String

データベースの種類の名前。

size
Nullable<Int32>

プロパティが格納するように構成されているデータのサイズ。サイズが構成されていない場合は null。

戻り値

新しく作成されたマッピング。

適用対象