BaseDAL(T) Methods

DCSoft.DBUtilityGeneric

BaseDALT Methods

The BaseDALT generic type exposes the following members.

Methods
  Name Description
Public method add
添加记录
Public method addBatch
批量添加记录操作
Public method delete(WhereT)
删除对象
Public method delete(DictionaryString, Object)
多主键(条件)
Public method delete(String)
单主键(条件)
Public method delete(String)
删除单主键,多条记录
Public method delete(T)
根据实体删除记录
Public method Equals (Inherited from Object.)
Public method execSql(String)
执行sql语句
Public method execSql(String, DictionaryString, Object)
执行sql语句
Protected method Finalize (Inherited from Object.)
Public method getCount
获取总记录数
Public method getCount(WhereT)
有条件获取总记录数
Public method getCount(DictionaryField, Object)
有条件获取总记录数
Public method getDataSet(String)
执行sql 返回DataSet
Public method getDataSet(String, DictionaryString, Object)
执行sql 返回DataTable
Public method getDataSetByExecProc
执行存储过程,返回DataSet
Public method getDataTable
获取所有记录列表数据
Public method getDataTable(DictionaryField, Object)
获取条件查询列表
Public method getDataTable(String)
执行sql 返回DataTable
Public method getDataTable(String, DictionaryString, Object)
执行sql 返回DataTable
Public method getDataTableByExecProc
执行存储过程,返回DataTable
Public method GetDbSession
获取DbSession对象
Public method getEntity(WhereT)
获取一条记录
Public method getEntity(DictionaryField, Object)
获取一条记录,根据条件查询
Public method getEntity(String)
获取一条记录,单主键
Public method GetHashCode (Inherited from Object.)
Public method getList
获取所有记录列表数据
Public method getList(WhereT)
获取条件查询列表
Public method getList(DictionaryField, Object)
获取条件查询列表
Public method getList(WhereT, OrderByClip)
获取数据
Public method getList(DictionaryField, Object, OrderByClip)
获取条件查询列表
Public method getList(Int32, Int32, WhereT, OrderByClip)
获取分页查询列表
Public method getPage(Int32, Int32, DictionaryField, Object)
获取分页数据
Public method getPage(Int32, Int32, WhereT, OrderByClip)
获取分页数据
Public method getPage(Int32, Int32, DictionaryField, Object, OrderByClip)
获取分页数据
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method update(T)
更新记录
Public method update(Field, Object, Field, Object)
单主键,单字段更新
Public method updateAll
更新记录的所有字段
Public method updateBatch
批量更新操作
Top
See Also