DecimalTypeMapping 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
DecimalTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters) |
Initializes a new instance of the DecimalTypeMapping class. |
DecimalTypeMapping(String, Nullable<DbType>) |
Initializes a new instance of the DecimalTypeMapping class. |
DecimalTypeMapping(String, Nullable<DbType>, Nullable<Int32>, Nullable<Int32>) |
Initializes a new instance of the DecimalTypeMapping class. |
DecimalTypeMapping(RelationalTypeMapping+RelationalTypeMappingParameters)
Initializes a new instance of the DecimalTypeMapping class.
protected DecimalTypeMapping (Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters parameters);
new Microsoft.EntityFrameworkCore.Storage.DecimalTypeMapping : Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters -> Microsoft.EntityFrameworkCore.Storage.DecimalTypeMapping
Protected Sub New (parameters As RelationalTypeMapping.RelationalTypeMappingParameters)
Parameters
Parameter object for RelationalTypeMapping.
Applies to
DecimalTypeMapping(String, Nullable<DbType>)
Initializes a new instance of the DecimalTypeMapping class.
public DecimalTypeMapping (string storeType, System.Data.DbType? dbType = default);
new Microsoft.EntityFrameworkCore.Storage.DecimalTypeMapping : string * Nullable<System.Data.DbType> -> Microsoft.EntityFrameworkCore.Storage.DecimalTypeMapping
Public Sub New (storeType As String, Optional dbType As Nullable(Of DbType) = Nothing)
Parameters
- storeType
- String
The name of the database type.
Applies to
DecimalTypeMapping(String, Nullable<DbType>, Nullable<Int32>, Nullable<Int32>)
Initializes a new instance of the DecimalTypeMapping class.
public DecimalTypeMapping (string storeType, System.Data.DbType? dbType = default, int? precision = default, int? scale = default);
public DecimalTypeMapping (string storeType, System.Data.DbType? dbType = 7, int? precision = default, int? scale = default);
new Microsoft.EntityFrameworkCore.Storage.DecimalTypeMapping : string * Nullable<System.Data.DbType> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.DecimalTypeMapping
Public Sub New (storeType As String, Optional dbType As Nullable(Of DbType) = Nothing, Optional precision As Nullable(Of Integer) = Nothing, Optional scale As Nullable(Of Integer) = Nothing)
Public Sub New (storeType As String, Optional dbType As Nullable(Of DbType) = 7, Optional precision As Nullable(Of Integer) = Nothing, Optional scale As Nullable(Of Integer) = Nothing)
Parameters
- storeType
- String
The name of the database type.
The precision of data the property is configured to store, or null if the default precision is required.
The scale of data the property is configured to store, or null if the default scale is required.
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