C# Class littleworld.BLL.LTsectionTb

LTsectionTb
Afficher le fichier Open project: radishPit/littleworld

Méthodes publiques

Méthode Description
Add ( littleworld model ) : int

增加一条数据

DataTableToList ( DataTable dt ) : List

获得数据列表

Delete ( int sectionId ) : bool

删除一条数据

DeleteList ( string sectionIdlist ) : bool

删除一条数据

Exists ( int sectionId ) : bool

是否存在该记录

GetAllList ( ) : DataSet

获得数据列表

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

获得前几行数据

GetList ( string strWhere ) : DataSet

获得数据列表

GetMaxId ( ) : int

得到最大ID

GetModel ( int sectionId ) : LTsectionTb

得到一个对象实体

GetModelByCache ( int sectionId ) : LTsectionTb

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

GetModelList ( string strWhere ) : List

获得数据列表

LTsectionTb ( ) : System
Update ( littleworld model ) : bool

更新一条数据

Method Details

Add() public méthode

增加一条数据
public Add ( littleworld model ) : int
model littleworld
Résultat int

DataTableToList() public méthode

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

Delete() public méthode

删除一条数据
public Delete ( int sectionId ) : bool
sectionId int
Résultat bool

DeleteList() public méthode

删除一条数据
public DeleteList ( string sectionIdlist ) : bool
sectionIdlist string
Résultat bool

Exists() public méthode

是否存在该记录
public Exists ( int sectionId ) : bool
sectionId int
Résultat bool

GetAllList() public méthode

获得数据列表
public GetAllList ( ) : DataSet
Résultat System.Data.DataSet

GetList() public méthode

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

GetList() public méthode

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

GetMaxId() public méthode

得到最大ID
public GetMaxId ( ) : int
Résultat int

GetModel() public méthode

得到一个对象实体
public GetModel ( int sectionId ) : LTsectionTb
sectionId int
Résultat littleworld.Model.LTsectionTb

GetModelByCache() public méthode

得到一个对象实体,从缓存中
public GetModelByCache ( int sectionId ) : LTsectionTb
sectionId int
Résultat littleworld.Model.LTsectionTb

GetModelList() public méthode

获得数据列表
public GetModelList ( string strWhere ) : List
strWhere string
Résultat List

LTsectionTb() public méthode

public LTsectionTb ( ) : System
Résultat System

Update() public méthode

更新一条数据
public Update ( littleworld model ) : bool
model littleworld
Résultat bool