C# Class littleworld.DAL.noveltyTb

数据访问类:noveltyTb
Afficher le fichier Open project: radishPit/littleworld

Méthodes publiques

Méthode Description
Add ( littleworld model ) : int

增加一条数据

Delete ( int noveltyID ) : bool

删除一条数据

DeleteList ( string noveltyIDlist ) : bool

批量删除数据

Exists ( int noveltyID ) : bool

是否存在该记录

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

获得前几行数据

GetList ( string strWhere ) : DataSet

获得数据列表

GetMaxId ( ) : int

得到最大ID

GetModel ( int noveltyID ) : littleworld.Model.noveltyTb

得到一个对象实体

Update ( littleworld model ) : bool

更新一条数据

noveltyTb ( ) : System

Method Details

Add() public méthode

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

Delete() public méthode

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

DeleteList() public méthode

批量删除数据
public DeleteList ( string noveltyIDlist ) : bool
noveltyIDlist string
Résultat bool

Exists() public méthode

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

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 noveltyID ) : littleworld.Model.noveltyTb
noveltyID int
Résultat littleworld.Model.noveltyTb

Update() public méthode

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

noveltyTb() public méthode

public noveltyTb ( ) : System
Résultat System