IByteArrayRelationalTypeMapper IByteArrayRelationalTypeMapper Interface

Definition

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 interface IByteArrayRelationalTypeMapper
Public Interface IByteArrayRelationalTypeMapper

Methods

FindMapping(Boolean, Boolean, Nullable) FindMapping(Boolean, Boolean, Nullable(Of Int32))

Gets the mapping for a property.

RelationalTypeMapping FindMapping(bool rowVersion, bool keyOrIndex, int ? size)
Function FindMapping(rowVersion As Boolean, keyOrIndex As Boolean, size As Integer?) As RelationalTypeMapping
Parameters
rowVersion
System.Boolean System.Boolean

A value indicating whether the property is being used as a row version.

keyOrIndex
System.Boolean System.Boolean

A value indicating whether the property is being used as a key and/or index.

size
System.Nullable<System.Int32> System.Nullable(Of System.Int32)

The configured length of the property, or null if it is unbounded.

Returns

The mapping to be used for the property.