C# Class Passive.Dialect.SqlServerDialect

Class that describes the dialect for Sql Server.
Inheritance: DatabaseDialect
Afficher le fichier Open project: Talljoe/Passive

Méthodes publiques

Méthode Description
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.

Method Details

GetIdentitySql() public méthode

Gets the SQL for retrieving the just-inserted identity.
public GetIdentitySql ( ) : string
Résultat string

GetPagingSql() public méthode

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.
Résultat string

SqlServerDialect() public méthode

Initializes a new instance of the SqlServerDialect class.
public SqlServerDialect ( ) : System
Résultat System

SqlServerDialect() public méthode

Initializes a new instance of the SqlServerDialect class.
public SqlServerDialect ( int version ) : System
version int The version of the SQL server.
Résultat System