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
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för