SqlServerMaxLengthMapping SqlServerMaxLengthMapping Class

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.

Syntax

Declaration

public class SqlServerMaxLengthMapping : RelationalTypeMappingPublic Class SqlServerMaxLengthMapping
    Inherits RelationalTypeMapping

Inheritance Hierarchy

Inherited Members

NullMapping,
NullMapping,
StoreType,
StoreType,
ClrType,
ClrType,
DbType,
DbType,
IsUnicode,
IsUnicode,
Size,
Size,
HasNonDefaultUnicode,
HasNonDefaultUnicode,
HasNonDefaultSize,
HasNonDefaultSize,
CreateParameter(DbCommand, String, Object, Nullable<Boolean>),
CreateParameter(DbCommand, String, Object, Nullable(Of Boolean)),
ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

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.

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.

Methods summary

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.

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.

Constructors

  • SqlServerMaxLengthMapping(String, Type, Nullable<DbType>)
    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<T><System.Data.DbType>
      System.Nullable<T>(Of System.Data.DbType)
  • SqlServerMaxLengthMapping(String, Type, Nullable<DbType>, Boolean, Nullable<Int32>, 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<T><System.Data.DbType>
      System.Nullable<T>(Of System.Data.DbType)
    • unicode
      System.Boolean
      System.Boolean
    • size
      System.Nullable<T><System.Int32>
      System.Nullable<T>(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
  • CreateCopy(String, Nullable<Int32>)
    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<T><System.Int32>
      System.Nullable<T>(Of System.Int32)

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.SqlServer.dll