DateTimeTypeMapping 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
DateTimeTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters) |
Initializes a new instance of the DateTimeTypeMapping class. |
DateTimeTypeMapping(String, Nullable<DbType>) |
Initializes a new instance of the DateTimeTypeMapping class. |
DateTimeTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)
Initializes a new instance of the DateTimeTypeMapping class.
protected DateTimeTypeMapping (Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters parameters);
new Microsoft.EntityFrameworkCore.Storage.DateTimeTypeMapping : Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters -> Microsoft.EntityFrameworkCore.Storage.DateTimeTypeMapping
Protected Sub New (parameters As RelationalTypeMapping.RelationalTypeMappingParameters)
Parameters
Parameter object for RelationalTypeMapping.
Applies to
DateTimeTypeMapping(String, Nullable<DbType>)
Initializes a new instance of the DateTimeTypeMapping class.
public DateTimeTypeMapping (string storeType, System.Data.DbType? dbType = default);
public DateTimeTypeMapping (string storeType, System.Data.DbType? dbType = 6);
new Microsoft.EntityFrameworkCore.Storage.DateTimeTypeMapping : string * Nullable<System.Data.DbType> -> Microsoft.EntityFrameworkCore.Storage.DateTimeTypeMapping
Public Sub New (storeType As String, Optional dbType As Nullable(Of DbType) = Nothing)
Public Sub New (storeType As String, Optional dbType As Nullable(Of DbType) = 6)
Parameters
- storeType
- String
The name of the database type.
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