C# Class DapperExtensions.Sql.PostgreSqlDialect

Inheritance: SqlDialectBase
Show file Open project: tmsmith/Dapper-Extensions

Public Methods

Method Description
GetColumnName ( string prefix, string columnName, string alias ) : string
GetIdentitySql ( string tableName ) : string
GetPagingSql ( string sql, int page, int resultsPerPage, object>.IDictionary parameters ) : string
GetSetSql ( string sql, int pageNumber, int maxResults, object>.IDictionary parameters ) : string
GetTableName ( string schemaName, string tableName, string alias ) : string

Method Details

GetColumnName() public method

public GetColumnName ( string prefix, string columnName, string alias ) : string
prefix string
columnName string
alias string
return string

GetIdentitySql() public method

public GetIdentitySql ( string tableName ) : string
tableName string
return string

GetPagingSql() public method

public GetPagingSql ( string sql, int page, int resultsPerPage, object>.IDictionary parameters ) : string
sql string
page int
resultsPerPage int
parameters object>.IDictionary
return string

GetSetSql() public method

public GetSetSql ( string sql, int pageNumber, int maxResults, object>.IDictionary parameters ) : string
sql string
pageNumber int
maxResults int
parameters object>.IDictionary
return string

GetTableName() public method

public GetTableName ( string schemaName, string tableName, string alias ) : string
schemaName string
tableName string
alias string
return string