Show / Hide Table of Contents

Method AsSqlChar

| Improve this Doc View Source

AsSqlChar<T>(T, Boolean)

Specifies SQL Server CHAR(1)/NCHAR(1) data type for column.

Declaration
public static T AsSqlChar<T>(this T column, bool isUnicode)

    where T : Column<char? >
Parameters
Type Name Description
T column

The column.

System.Boolean isUnicode

Specifies whether it's unicode.

Returns
Type Description
T

This column for fluent coding.

Type Parameters
Name Description
T
| Improve this Doc View Source

AsSqlChar(_String, Int32)

Specifies SQL Server CHAR(n) data type for column.

Declaration
public static _String AsSqlChar(this _String column, int size)
Parameters
Type Name Description
_String column

The column.

System.Int32 size

The size of the data type.

Returns
Type Description
_String

This column for fluent coding.

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