ByteArrayRelationalTypeMapper.FindMapping Method

Definition

Gets the mapping for a property.

public virtual Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping FindMapping (bool rowVersion, bool keyOrIndex, int? size);
abstract member FindMapping : bool * bool * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
override this.FindMapping : bool * bool * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
Public Overridable Function FindMapping (rowVersion As Boolean, keyOrIndex As Boolean, size As Nullable(Of Integer)) As RelationalTypeMapping

Parameters

rowVersion
Boolean

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

keyOrIndex
Boolean

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

size
Nullable<Int32>

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

Returns

The mapping to be used for the property.

Implements

Applies to