IStringRelationalTypeMapper.FindMapping Method
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.
Gets the relational database type for a string property.
public Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping FindMapping (bool unicode, bool keyOrIndex, int? maxLength);
abstract member FindMapping : bool * bool * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
Public Function FindMapping (unicode As Boolean, keyOrIndex As Boolean, maxLength As Nullable(Of Integer)) As RelationalTypeMapping
Parameters
- unicode
- Boolean
A value indicating whether the property should handle Unicode data or not.
- keyOrIndex
- Boolean
A value indicating whether the property is part of a key or not.
The maximum length of data the property is configured to store, or null if no maximum is configured.
Returns
The type mapping to be used.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework