C# Class littleworld.DAL.LTnoteTb

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

Méthodes publiques

Méthode Description
Add ( littleworld model ) : int

增加一条数据

Delete ( int noteID ) : bool

删除一条数据

DeleteList ( string noteIDlist ) : bool

批量删除数据

Exists ( int noteID ) : bool

是否存在该记录

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

获得前几行数据

GetList ( string strWhere ) : DataSet

获得数据列表

GetMaxId ( ) : int

得到最大ID

GetModel ( int noteID ) : littleworld.Model.LTnoteTb

得到一个对象实体

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

更新一条数据

Method Details

Add() public méthode

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

Delete() public méthode

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

DeleteList() public méthode

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

Exists() public méthode

是否存在该记录
public Exists ( int noteID ) : bool
noteID 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 noteID ) : littleworld.Model.LTnoteTb
noteID int
Résultat littleworld.Model.LTnoteTb

LTnoteTb() public méthode

public LTnoteTb ( ) : System
Résultat System

Update() public méthode

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