Share via


RelationalTypeMapping.RelationalTypeMappingParameters.WithStoreTypeAndSize Method

Definition

Creates a new RelationalTypeMapping.RelationalTypeMappingParameters parameter object with the given store type and size.

public Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters WithStoreTypeAndSize (string storeType, int? size, Microsoft.EntityFrameworkCore.Storage.StoreTypePostfix? storeTypePostfix = default);
member this.WithStoreTypeAndSize : string * Nullable<int> * Nullable<Microsoft.EntityFrameworkCore.Storage.StoreTypePostfix> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters
Public Function WithStoreTypeAndSize (storeType As String, size As Nullable(Of Integer), Optional storeTypePostfix As Nullable(Of StoreTypePostfix) = Nothing) As RelationalTypeMapping.RelationalTypeMappingParameters

Parameters

storeType
String

The new store type name.

size
Nullable<Int32>

The new size.

storeTypePostfix
Nullable<StoreTypePostfix>

The new postfix, or null to leave unchanged.

Returns

The new parameter object.

Applies to