Class PropertyBuilderNumericExtensions
Inheritance
System.Object
PropertyBuilderNumericExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: JK.Common.EntityFrameworkCore.SqlServer.Extensions
Assembly: JK.Common.EntityFrameworkCore.SqlServer.dll
Syntax
public static class PropertyBuilderNumericExtensions
Methods
| Improve this Doc View SourceHasColumnTypeDecimal(PropertyBuilder<Decimal>, Int32, Int32)
Declaration
public static PropertyBuilder<decimal> HasColumnTypeDecimal(this PropertyBuilder<decimal> propertyBuilder, int precision, int scale)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.Decimal> | propertyBuilder | |
System.Int32 | precision | |
System.Int32 | scale |
Returns
Type | Description |
---|---|
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.Decimal> |
HasColumnTypeDecimal(PropertyBuilder<Nullable<Decimal>>, Int32, Int32)
Declaration
public static PropertyBuilder<decimal?> HasColumnTypeDecimal(this PropertyBuilder<decimal?> propertyBuilder, int precision, int scale)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.Nullable<System.Decimal>> | propertyBuilder | |
System.Int32 | precision | |
System.Int32 | scale |
Returns
Type | Description |
---|---|
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.Nullable<System.Decimal>> |
HasColumnTypeMoney(PropertyBuilder<Decimal>)
Declaration
public static PropertyBuilder<decimal> HasColumnTypeMoney(this PropertyBuilder<decimal> propertyBuilder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.Decimal> | propertyBuilder |
Returns
Type | Description |
---|---|
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.Decimal> |
HasColumnTypeMoney(PropertyBuilder<Nullable<Decimal>>)
Declaration
public static PropertyBuilder<decimal?> HasColumnTypeMoney(this PropertyBuilder<decimal?> propertyBuilder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.Nullable<System.Decimal>> | propertyBuilder |
Returns
Type | Description |
---|---|
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.Nullable<System.Decimal>> |