C# Class CustomerService.BLL.Customer

Customer
显示文件 Open project: NanQi/demo Class Usage Examples

Public Methods

Method 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 method

增加一条数据
public Add ( CustomerService model ) : bool
model CustomerService
return bool

Customer() public method

public Customer ( ) : System
return System

DataTableToList() public method

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

Delete() public method

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

DeleteList() public method

删除一条数据
public DeleteList ( string GUIDlist ) : bool
GUIDlist string
return bool

Exists() public method

是否存在该记录
public Exists ( System.Guid GUID ) : bool
GUID System.Guid
return bool

GetAllList() public method

获得数据列表
public GetAllList ( ) : DataSet
return System.Data.DataSet

GetList() public method

获得前几行数据
public GetList ( int Top, string strWhere, string filedOrder ) : DataSet
Top int
strWhere string
filedOrder string
return System.Data.DataSet

GetList() public method

获得数据列表
public GetList ( string strWhere ) : DataSet
strWhere string
return System.Data.DataSet

GetMaxID() public method

获取最大ID
public GetMaxID ( ) : string
return string

GetModel() public method

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

GetModelList() public method

获得数据列表
public GetModelList ( string strWhere ) : List
strWhere string
return List

Update() public method

更新一条数据
public Update ( CustomerService model ) : bool
model CustomerService
return bool