C# Class littleworld.BLL.photoGroupTb

photoGroupTb
Show file Open project: radishPit/littleworld

Public Methods

Method Description
Add ( littleworld model ) : int

增加一条数据

DataTableToList ( DataTable dt ) : List

获得数据列表

Delete ( int photoGroupID ) : bool

删除一条数据

DeleteList ( string photoGroupIDlist ) : bool

删除一条数据

Exists ( int photoGroupID ) : bool

是否存在该记录

GetAllList ( ) : DataSet

获得数据列表

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

获得前几行数据

GetList ( string strWhere ) : DataSet

获得数据列表

GetMaxId ( ) : int

得到最大ID

GetModel ( int photoGroupID ) : photoGroupTb

得到一个对象实体

GetModelByCache ( int photoGroupID ) : photoGroupTb

得到一个对象实体,从缓存中

GetModelList ( string strWhere ) : List

获得数据列表

Update ( littleworld model ) : bool

更新一条数据

photoGroupTb ( ) : System

Method Details

Add() public method

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

DataTableToList() public method

获得数据列表
public DataTableToList ( DataTable dt ) : List
dt System.Data.DataTable
return List

Delete() public method

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

DeleteList() public method

删除一条数据
public DeleteList ( string photoGroupIDlist ) : bool
photoGroupIDlist string
return bool

Exists() public method

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

GetAllList() public method

获得数据列表
public GetAllList ( ) : DataSet
return System.Data.DataSet

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 photoGroupID ) : photoGroupTb
photoGroupID int
return littleworld.Model.photoGroupTb

GetModelByCache() public method

得到一个对象实体,从缓存中
public GetModelByCache ( int photoGroupID ) : photoGroupTb
photoGroupID int
return littleworld.Model.photoGroupTb

GetModelList() public method

获得数据列表
public GetModelList ( string strWhere ) : List
strWhere string
return List

Update() public method

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

photoGroupTb() public method

public photoGroupTb ( ) : System
return System