Click or drag to resize
SqlBuilderCountSql Method
生成分页用计Count语句

Namespace: Adf.Db
Assembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax
public virtual string CountSql(
	string tablename,
	string condition
)

Parameters

tablename
Type: SystemString
要进行查询的数据表,可为多个
condition
Type: SystemString
要进行查询的查询串,Where的后缀,如果未有,请设置为Empty

Return Value

Type: String
返回生成后的Sql语句
See Also