Method AsSqlDateTime2
| Improve this Doc View SourceAsSqlDateTime2(_DateTime, Byte)
Specifies SQL Server DATETIME2 data type for column.
Declaration
public static _DateTime AsSqlDateTime2(this _DateTime column, byte precision)
Parameters
Type | Name | Description |
---|---|---|
_DateTime | column | The column. |
System.Byte | precision | The precision of the data type. |
Returns
Type | Description |
---|---|
_DateTime | This column for fluent coding. |