C# Class CustomerService.DAL.Solution

数据访问类:Solution
Show file Open project: NanQi/demo

Public Methods

Method Description
Add ( CustomerService model ) : bool

增加一条数据

Delete ( System.Guid GUID ) : bool

删除一条数据

DeleteList ( string GUIDlist ) : bool

批量删除数据

Exists ( System.Guid GUID ) : bool

是否存在该记录

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

获得前几行数据

GetList ( string strWhere ) : DataSet

获得数据列表

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

得到一个对象实体

Solution ( ) : System
Update ( CustomerService model ) : bool

更新一条数据

Method Details

Add() public method

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

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

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

GetModel() public method

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

Solution() public method

public Solution ( ) : System
return System

Update() public method

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