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