Share via


ByteArrayTypeMapping Constructors

Definition

Overloads

ByteArrayTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)

Initializes a new instance of the ByteArrayTypeMapping class.

ByteArrayTypeMapping(String, Nullable<DbType>, Nullable<Int32>)

Initializes a new instance of the ByteArrayTypeMapping class.

ByteArrayTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)

Initializes a new instance of the ByteArrayTypeMapping class.

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

Parameters

Applies to

ByteArrayTypeMapping(String, Nullable<DbType>, Nullable<Int32>)

Initializes a new instance of the ByteArrayTypeMapping class.

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

Parameters

storeType
String

The name of the database type.

dbType
Nullable<DbType>

The DbType to be used.

size
Nullable<Int32>

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

Applies to