RelationalTypeMapping.CreateCopy(String, Nullable<Int32>) Method

Definition

Creates a copy of this mapping.

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

Parameters

storeType
String

The name of the database type.

size
Nullable<Int32>

The size of data the property is configured to store, or null if no size is configured.

Returns

The newly created mapping.

Applies to