ByteArrayTypeMapping Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameter object for RelationalTypeMapping.
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.
The size of data the property is configured to store, or null if no size is configured.
Applies to
Entity Framework