C# Class littleworld.DAL.adminTb

数据访问类:adminTb
Show file Open project: radishPit/littleworld

Public Methods

Method Description
Add ( littleworld model ) : int

增加一条数据

Delete ( int adminID ) : bool

删除一条数据

DeleteList ( string adminIDlist ) : bool

批量删除数据

Exists ( int adminID ) : bool

是否存在该记录

GetList ( int Top, string strWhere, string filedOrder ) : DataSet

获得前几行数据

GetList ( string strWhere ) : DataSet

获得数据列表

GetMaxId ( ) : int

得到最大ID

GetModel ( int adminID ) : littleworld.Model.adminTb

得到一个对象实体

Update ( littleworld model ) : bool

更新一条数据

adminTb ( ) : System

Method Details

Add() public method

增加一条数据
public Add ( littleworld model ) : int
model littleworld
return int

Delete() public method

删除一条数据
public Delete ( int adminID ) : bool
adminID int
return bool

DeleteList() public method

批量删除数据
public DeleteList ( string adminIDlist ) : bool
adminIDlist string
return bool

Exists() public method

是否存在该记录
public Exists ( int adminID ) : bool
adminID int
return bool

GetList() public method

获得前几行数据
public GetList ( int Top, string strWhere, string filedOrder ) : DataSet
Top int
strWhere string
filedOrder string
return System.Data.DataSet

GetList() public method

获得数据列表
public GetList ( string strWhere ) : DataSet
strWhere string
return System.Data.DataSet

GetMaxId() public method

得到最大ID
public GetMaxId ( ) : int
return int

GetModel() public method

得到一个对象实体
public GetModel ( int adminID ) : littleworld.Model.adminTb
adminID int
return littleworld.Model.adminTb

Update() public method

更新一条数据
public Update ( littleworld model ) : bool
model littleworld
return bool

adminTb() public method

public adminTb ( ) : System
return System