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