C# 클래스 Passive.Dialect.SqlServerDialect

Class that describes the dialect for Sql Server.
상속: DatabaseDialect
파일 보기 프로젝트 열기: Talljoe/Passive

공개 메소드들

메소드 설명
GetIdentitySql ( ) : string

Gets the SQL for retrieving the just-inserted identity.

GetPagingSql ( string tableName, string columns, string orderBy, string where, int pageSize, int currentPage ) : string

Gets the SQL statement for paging given the supplied information.

SqlServerDialect ( ) : System

Initializes a new instance of the SqlServerDialect class.

SqlServerDialect ( int version ) : System

Initializes a new instance of the SqlServerDialect class.

메소드 상세

GetIdentitySql() 공개 메소드

Gets the SQL for retrieving the just-inserted identity.
public GetIdentitySql ( ) : string
리턴 string

GetPagingSql() 공개 메소드

Gets the SQL statement for paging given the supplied information.
public GetPagingSql ( string tableName, string columns, string orderBy, string where, int pageSize, int currentPage ) : string
tableName string Name of the table.
columns string The columns.
orderBy string The order by.
where string The where.
pageSize int Size of the page.
currentPage int The current page.
리턴 string

SqlServerDialect() 공개 메소드

Initializes a new instance of the SqlServerDialect class.
public SqlServerDialect ( ) : System
리턴 System

SqlServerDialect() 공개 메소드

Initializes a new instance of the SqlServerDialect class.
public SqlServerDialect ( int version ) : System
version int The version of the SQL server.
리턴 System