Class PropertyBuilderDateExtensions
Inheritance
System.Object
PropertyBuilderDateExtensions
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()
Assembly: JK.Common.EntityFrameworkCore.SqlServer.dll
Syntax
public static class PropertyBuilderDateExtensions
Methods
|
Improve this Doc
View Source
Declaration
public static PropertyBuilder<DateTime> HasColumnTypeDateTime(this PropertyBuilder<DateTime> propertyBuilder)
Parameters
Type |
Name |
Description |
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.DateTime> |
propertyBuilder |
|
Returns
Type |
Description |
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.DateTime> |
|
|
Improve this Doc
View Source
Declaration
public static PropertyBuilder<DateTime?> HasColumnTypeDateTime(this PropertyBuilder<DateTime?> propertyBuilder)
Parameters
Type |
Name |
Description |
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.Nullable<System.DateTime>> |
propertyBuilder |
|
Returns
Type |
Description |
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.Nullable<System.DateTime>> |
|
|
Improve this Doc
View Source
Declaration
public static PropertyBuilder<DateTime> HasColumnTypeDateTime2(this PropertyBuilder<DateTime> propertyBuilder)
Parameters
Type |
Name |
Description |
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.DateTime> |
propertyBuilder |
|
Returns
Type |
Description |
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.DateTime> |
|
|
Improve this Doc
View Source
Declaration
public static PropertyBuilder<DateTime?> HasColumnTypeDateTime2(this PropertyBuilder<DateTime?> propertyBuilder)
Parameters
Type |
Name |
Description |
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.Nullable<System.DateTime>> |
propertyBuilder |
|
Returns
Type |
Description |
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.Nullable<System.DateTime>> |
|
|
Improve this Doc
View Source
Declaration
public static PropertyBuilder<DateTimeOffset> HasColumnTypeDateTimeOffset(this PropertyBuilder<DateTimeOffset> propertyBuilder)
Parameters
Type |
Name |
Description |
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.DateTimeOffset> |
propertyBuilder |
|
Returns
Type |
Description |
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.DateTimeOffset> |
|
|
Improve this Doc
View Source
Declaration
public static PropertyBuilder<DateTimeOffset?> HasColumnTypeDateTimeOffset(this PropertyBuilder<DateTimeOffset?> propertyBuilder)
Parameters
Type |
Name |
Description |
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.Nullable<System.DateTimeOffset>> |
propertyBuilder |
|
Returns
Type |
Description |
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<System.Nullable<System.DateTimeOffset>> |
|