C# Class CustomerService.BLL.Customer

Customer
Afficher le fichier Open project: NanQi/demo Class Usage Examples

Méthodes publiques

Méthode Description
Add ( CustomerService model ) : bool

增加一条数据

Customer ( ) : System
DataTableToList ( DataTable dt ) : List

获得数据列表

Delete ( System.Guid GUID ) : bool

删除一条数据

DeleteList ( string GUIDlist ) : bool

删除一条数据

Exists ( System.Guid GUID ) : bool

是否存在该记录

GetAllList ( ) : DataSet

获得数据列表

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

获得前几行数据

GetList ( string strWhere ) : DataSet

获得数据列表

GetMaxID ( ) : string

获取最大ID

GetModel ( System.Guid GUID ) : CustomerService.Model.Customer

得到一个对象实体

GetModelList ( string strWhere ) : List

获得数据列表

Update ( CustomerService model ) : bool

更新一条数据

Method Details

Add() public méthode

增加一条数据
public Add ( CustomerService model ) : bool
model CustomerService
Résultat bool

Customer() public méthode

public Customer ( ) : System
Résultat System

DataTableToList() public méthode

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

Delete() public méthode

删除一条数据
public Delete ( System.Guid GUID ) : bool
GUID System.Guid
Résultat bool

DeleteList() public méthode

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

Exists() public méthode

是否存在该记录
public Exists ( System.Guid GUID ) : bool
GUID System.Guid
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 ( ) : string
Résultat string

GetModel() public méthode

得到一个对象实体
public GetModel ( System.Guid GUID ) : CustomerService.Model.Customer
GUID System.Guid
Résultat CustomerService.Model.Customer

GetModelList() public méthode

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

Update() public méthode

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