Share via


ByteTypeMapping Constructors

Definition

Overloads

ByteTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)

Initializes a new instance of the ByteTypeMapping class.

ByteTypeMapping(String, Nullable<DbType>)

Initializes a new instance of the ByteTypeMapping class.

ByteTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)

Initializes a new instance of the ByteTypeMapping class.

protected ByteTypeMapping (Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters parameters);
new Microsoft.EntityFrameworkCore.Storage.ByteTypeMapping : Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters -> Microsoft.EntityFrameworkCore.Storage.ByteTypeMapping
Protected Sub New (parameters As RelationalTypeMapping.RelationalTypeMappingParameters)

Parameters

Applies to

ByteTypeMapping(String, Nullable<DbType>)

Initializes a new instance of the ByteTypeMapping class.

public ByteTypeMapping (string storeType, System.Data.DbType? dbType = default);
public ByteTypeMapping (string storeType, System.Data.DbType? dbType = 2);
new Microsoft.EntityFrameworkCore.Storage.ByteTypeMapping : string * Nullable<System.Data.DbType> -> Microsoft.EntityFrameworkCore.Storage.ByteTypeMapping
Public Sub New (storeType As String, Optional dbType As Nullable(Of DbType) = Nothing)
Public Sub New (storeType As String, Optional dbType As Nullable(Of DbType) = 2)

Parameters

storeType
String

The name of the database type.

dbType
Nullable<DbType>

The DbType to be used.

Applies to