C# Класс littleworld.BLL.storeTb

storeTb
Показать файл Открыть проект

Открытые методы

Метод Описание
Add ( littleworld model ) : int

增加一条数据

DataTableToList ( DataTable dt ) : List

获得数据列表

Delete ( int ID ) : bool

删除一条数据

DeleteList ( string IDlist ) : bool

删除一条数据

Exists ( int ID ) : bool

是否存在该记录

GetAllList ( ) : DataSet

获得数据列表

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

获得前几行数据

GetList ( string strWhere ) : DataSet

获得数据列表

GetMaxId ( ) : int

得到最大ID

GetModel ( int ID ) : storeTb

得到一个对象实体

GetModelByCache ( int ID ) : storeTb

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

GetModelList ( string strWhere ) : List

获得数据列表

Update ( littleworld model ) : bool

更新一条数据

storeTb ( ) : System

Описание методов

Add() публичный Метод

增加一条数据
public Add ( littleworld model ) : int
model littleworld
Результат int

DataTableToList() публичный Метод

获得数据列表
public DataTableToList ( DataTable dt ) : List
dt System.Data.DataTable
Результат List

Delete() публичный Метод

删除一条数据
public Delete ( int ID ) : bool
ID int
Результат bool

DeleteList() публичный Метод

删除一条数据
public DeleteList ( string IDlist ) : bool
IDlist string
Результат bool

Exists() публичный Метод

是否存在该记录
public Exists ( int ID ) : bool
ID int
Результат bool

GetAllList() публичный Метод

获得数据列表
public GetAllList ( ) : DataSet
Результат System.Data.DataSet

GetList() публичный Метод

获得前几行数据
public GetList ( int Top, string strWhere, string filedOrder ) : DataSet
Top int
strWhere string
filedOrder string
Результат System.Data.DataSet

GetList() публичный Метод

获得数据列表
public GetList ( string strWhere ) : DataSet
strWhere string
Результат System.Data.DataSet

GetMaxId() публичный Метод

得到最大ID
public GetMaxId ( ) : int
Результат int

GetModel() публичный Метод

得到一个对象实体
public GetModel ( int ID ) : storeTb
ID int
Результат littleworld.Model.storeTb

GetModelByCache() публичный Метод

得到一个对象实体,从缓存中
public GetModelByCache ( int ID ) : storeTb
ID int
Результат littleworld.Model.storeTb

GetModelList() публичный Метод

获得数据列表
public GetModelList ( string strWhere ) : List
strWhere string
Результат List

Update() публичный Метод

更新一条数据
public Update ( littleworld model ) : bool
model littleworld
Результат bool

storeTb() публичный Метод

public storeTb ( ) : System
Результат System