StringTypeMapping Constructors
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.
Overloads
StringTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters) |
Initializes a new instance of the StringTypeMapping class. |
StringTypeMapping(String, Nullable<DbType>, Boolean, Nullable<Int32>) |
Initializes a new instance of the StringTypeMapping class. |
StringTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)
Initializes a new instance of the StringTypeMapping class.
protected StringTypeMapping (Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters parameters);
new Microsoft.EntityFrameworkCore.Storage.StringTypeMapping : Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters -> Microsoft.EntityFrameworkCore.Storage.StringTypeMapping
Protected Sub New (parameters As RelationalTypeMapping.RelationalTypeMappingParameters)
Parameters
Parameter object for RelationalTypeMapping.
Applies to
StringTypeMapping(String, Nullable<DbType>, Boolean, Nullable<Int32>)
Initializes a new instance of the StringTypeMapping class.
public StringTypeMapping (string storeType, System.Data.DbType? dbType = default, bool unicode = false, int? size = default);
public StringTypeMapping (string storeType, System.Data.DbType? dbType, bool unicode = false, int? size = default);
new Microsoft.EntityFrameworkCore.Storage.StringTypeMapping : string * Nullable<System.Data.DbType> * bool * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.StringTypeMapping
Public Sub New (storeType As String, Optional dbType As Nullable(Of DbType) = Nothing, Optional unicode As Boolean = false, Optional size As Nullable(Of Integer) = Nothing)
Public Sub New (storeType As String, dbType As Nullable(Of DbType), Optional unicode As Boolean = false, Optional size As Nullable(Of Integer) = Nothing)
Parameters
- storeType
- String
The name of the database type.
- unicode
- Boolean
A value indicating whether the type should handle Unicode data or not.
The size of data the property is configured to store, or null if no size is configured.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor