ByteArrayRelationalTypeMapper Class

Definition

Caution

Use RelationalTypeMappingSource.

Determines the type mapping to use for byte array properties.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

public class ByteArrayRelationalTypeMapper : Microsoft.EntityFrameworkCore.Storage.IByteArrayRelationalTypeMapper
[System.Obsolete("Use RelationalTypeMappingSource.")]
public class ByteArrayRelationalTypeMapper : Microsoft.EntityFrameworkCore.Storage.IByteArrayRelationalTypeMapper
type ByteArrayRelationalTypeMapper = class
    interface IByteArrayRelationalTypeMapper
[<System.Obsolete("Use RelationalTypeMappingSource.")>]
type ByteArrayRelationalTypeMapper = class
    interface IByteArrayRelationalTypeMapper
Public Class ByteArrayRelationalTypeMapper
Implements IByteArrayRelationalTypeMapper
Inheritance
ByteArrayRelationalTypeMapper
Attributes
Implements

Constructors

ByteArrayRelationalTypeMapper(Int32, RelationalTypeMapping, RelationalTypeMapping, RelationalTypeMapping, RelationalTypeMapping, Func<Int32,RelationalTypeMapping>)

Initialized a new instance of the ByteArrayRelationalTypeMapper class.

Properties

CreateBoundedMapping

Gets a function to create a mapping for a property with a given length.

DefaultMapping

Gets the default mapping to be used.

KeyMapping

Gets the mapping to be used for key properties

MaxBoundedLength

Gets the maximum length of data that can be stored in a byte array property

RowVersionMapping

Gets the mapping to be used for properties being used as a row version.

UnboundedMapping

Gets the mapping to be used for properties with no length specified

Methods

FindMapping(Boolean, Boolean, Nullable<Int32>)

Gets the mapping for a property.

Applies to