SqlServerMaxLengthMapping SqlServerMaxLengthMapping Class

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public class SqlServerMaxLengthMapping : RelationalTypeMapping
Public Class SqlServerMaxLengthMapping
    Inherits RelationalTypeMapping
Inheritance
System.ObjectSystem.Object
SqlServerMaxLengthMappingSqlServerMaxLengthMapping

Constructors

SqlServerMaxLengthMapping(String, Type, Nullable) SqlServerMaxLengthMapping(String, Type, Nullable(Of DbType))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public SqlServerMaxLengthMapping(string storeType, Type clrType, DbType? dbType = null)
Public Sub New(storeType As String, clrType As Type, dbType As DbType? = Nothing)
Parameters
storeType
System.String System.String
clrType
System.Type System.Type
dbType
System.Nullable<System.Data.DbType> System.Nullable(Of System.Data.DbType)

SqlServerMaxLengthMapping(String, Type, Nullable, Boolean, Nullable, Boolean, Boolean) SqlServerMaxLengthMapping(String, Type, Nullable(Of DbType), Boolean, Nullable(Of Int32), Boolean, Boolean)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public SqlServerMaxLengthMapping(string storeType, Type clrType, DbType? dbType, bool unicode, int ? size, bool hasNonDefaultUnicode = false, bool hasNonDefaultSize = false)
Public Sub New(storeType As String, clrType As Type, dbType As DbType?, unicode As Boolean, size As Integer?, hasNonDefaultUnicode As Boolean = False, hasNonDefaultSize As Boolean = False)
Parameters
storeType
System.String System.String
clrType
System.Type System.Type
dbType
System.Nullable<System.Data.DbType> System.Nullable(Of System.Data.DbType)
unicode
System.Boolean System.Boolean
size
System.Nullable<System.Int32> System.Nullable(Of System.Int32)
hasNonDefaultUnicode
System.Boolean System.Boolean
hasNonDefaultSize
System.Boolean System.Boolean

Methods

ConfigureParameter(DbParameter) ConfigureParameter(DbParameter)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected override void ConfigureParameter(DbParameter parameter)
Protected Overrides Sub ConfigureParameter(parameter As DbParameter)
Parameters
parameter
System.Data.Common.DbParameter System.Data.Common.DbParameter
Overrides

CreateCopy(String, Nullable) CreateCopy(String, Nullable(Of Int32))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public override RelationalTypeMapping CreateCopy(string storeType, int ? size)
Public Overrides Function CreateCopy(storeType As String, size As Integer?) As RelationalTypeMapping
Parameters
storeType
System.String System.String
size
System.Nullable<System.Int32> System.Nullable(Of System.Int32)
Returns
Overrides

CreateParameter(DbCommand, String, Object, Nullable) CreateParameter(DbCommand, String, Object, Nullable(Of Boolean))

Inherited from RelationalTypeMapping

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object

Fields

NullMapping NullMapping

Inherited from RelationalTypeMapping

Properties

ClrType ClrType

Inherited from RelationalTypeMapping

DbType DbType

Inherited from RelationalTypeMapping

HasNonDefaultSize HasNonDefaultSize

Inherited from RelationalTypeMapping

HasNonDefaultUnicode HasNonDefaultUnicode

Inherited from RelationalTypeMapping

IsUnicode IsUnicode

Inherited from RelationalTypeMapping

Size Size

Inherited from RelationalTypeMapping

StoreType StoreType

Inherited from RelationalTypeMapping