StringRelationalTypeMapper 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.
Initializes a new instance of the StringRelationalTypeMapper class.
public StringRelationalTypeMapper (int maxBoundedAnsiLength, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping defaultAnsiMapping, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping unboundedAnsiMapping, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping keyAnsiMapping, Func<int,Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping> createBoundedAnsiMapping, int maxBoundedUnicodeLength, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping defaultUnicodeMapping, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping unboundedUnicodeMapping, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping keyUnicodeMapping, Func<int,Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping> createBoundedUnicodeMapping);
new Microsoft.EntityFrameworkCore.Storage.StringRelationalTypeMapper : int * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * Func<int, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping> * int * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * Func<int, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping> -> Microsoft.EntityFrameworkCore.Storage.StringRelationalTypeMapper
Public Sub New (maxBoundedAnsiLength As Integer, defaultAnsiMapping As RelationalTypeMapping, unboundedAnsiMapping As RelationalTypeMapping, keyAnsiMapping As RelationalTypeMapping, createBoundedAnsiMapping As Func(Of Integer, RelationalTypeMapping), maxBoundedUnicodeLength As Integer, defaultUnicodeMapping As RelationalTypeMapping, unboundedUnicodeMapping As RelationalTypeMapping, keyUnicodeMapping As RelationalTypeMapping, createBoundedUnicodeMapping As Func(Of Integer, RelationalTypeMapping))
Parameters
- maxBoundedAnsiLength
- Int32
The maximum length of a bounded ANSI string.
- defaultAnsiMapping
- RelationalTypeMapping
The default mapping of an ANSI string.
- unboundedAnsiMapping
- RelationalTypeMapping
The mapping for an unbounded ANSI string.
- keyAnsiMapping
- RelationalTypeMapping
The mapping for an ANSI string that is part of a key.
- createBoundedAnsiMapping
- Func<Int32,RelationalTypeMapping>
The function to create a mapping for a bounded ANSI string.
- maxBoundedUnicodeLength
- Int32
The maximum length of a bounded Unicode string.
- defaultUnicodeMapping
- RelationalTypeMapping
The default mapping of a Unicode string.
- unboundedUnicodeMapping
- RelationalTypeMapping
The mapping for an unbounded Unicode string.
- keyUnicodeMapping
- RelationalTypeMapping
The mapping for a Unicode string that is part of a key.
- createBoundedUnicodeMapping
- Func<Int32,RelationalTypeMapping>
The function to create a mapping for a bounded Unicode string.
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