ByteArrayRelationalTypeMapper Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initialized a new instance of the ByteArrayRelationalTypeMapper class.
public ByteArrayRelationalTypeMapper (int maxBoundedLength, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping defaultMapping, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping unboundedMapping, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping keyMapping, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping rowVersionMapping, Func<int,Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping> createBoundedMapping);
new Microsoft.EntityFrameworkCore.Storage.ByteArrayRelationalTypeMapper : int * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * Func<int, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping> -> Microsoft.EntityFrameworkCore.Storage.ByteArrayRelationalTypeMapper
Public Sub New (maxBoundedLength As Integer, defaultMapping As RelationalTypeMapping, unboundedMapping As RelationalTypeMapping, keyMapping As RelationalTypeMapping, rowVersionMapping As RelationalTypeMapping, createBoundedMapping As Func(Of Integer, RelationalTypeMapping))
Parameters
- maxBoundedLength
- Int32
Maximum length of data that can be stored in a byte array property.
- defaultMapping
- RelationalTypeMapping
Default mapping to be used.
- unboundedMapping
- RelationalTypeMapping
Mapping to be used for properties with no length specified.
- keyMapping
- RelationalTypeMapping
Mapping to be used for key properties.
- rowVersionMapping
- RelationalTypeMapping
Mapping to be used for properties being used as a row version.
- createBoundedMapping
- Func<Int32,RelationalTypeMapping>
Function to create a mapping for a property with a given length.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for