Show / Hide Table of Contents

Method AsSqlDateTime2

| Improve this Doc View Source

AsSqlDateTime2(_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.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest