C# Класс littleworld.DAL.noticeTb

数据访问类:noticeTb
Показать файл Открыть проект

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

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

增加一条数据

Delete ( int noticeID ) : bool

删除一条数据

DeleteList ( string noticeIDlist ) : bool

批量删除数据

Exists ( int noticeID ) : bool

是否存在该记录

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

获得前几行数据

GetList ( string strWhere ) : DataSet

获得数据列表

GetMaxId ( ) : int

得到最大ID

GetModel ( int noticeID ) : littleworld.Model.noticeTb

得到一个对象实体

Update ( littleworld model ) : bool

更新一条数据

noticeTb ( ) : System

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

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

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

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

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

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

批量删除数据
public DeleteList ( string noticeIDlist ) : bool
noticeIDlist string
Результат bool

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

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

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 noticeID ) : littleworld.Model.noticeTb
noticeID int
Результат littleworld.Model.noticeTb

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

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

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

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