C# Class OpenSlx.Lib.Db.SlxCustomDialect

A custom SalesLogix SQL dialect for NHibernate. This can be used to introduce custom constructs in the SQL generated by NHibernate. To use this dialect, either edit the hibernate.xml file under the deployed web site, and add it to the supportfiles, or edit the code template for the hibernate.xml file, under Model\Entity Model\CodeTemplates\Entity.
Inheritance: SLXDialect
Mostrar archivo Open project: nicocrm/OpenSlx

Public Methods

Method Description
GetLimitString ( NHibernate querySqlString, int offset, int last ) : NHibernate.SqlCommand.SqlString

Return customized limit string (for paging queries) For performance reason the limit string is ommitted when querying the first page.

Method Details

GetLimitString() public method

Return customized limit string (for paging queries) For performance reason the limit string is ommitted when querying the first page.
public GetLimitString ( NHibernate querySqlString, int offset, int last ) : NHibernate.SqlCommand.SqlString
querySqlString NHibernate
offset int
last int
return NHibernate.SqlCommand.SqlString