C# Class TSM.BLL.CK_Product

ҵ���߼���CK_Product ��ժҪ˵����
Mostrar archivo Open project: kamiba/FineUIDemo

Public Methods

Method Description
Add ( TSM model ) : int

����һ������

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

��������б�

Delete ( int CK_ProductID ) : void

ɾ��һ������

Exists ( int CK_ProductID ) : bool

�Ƿ���ڸü�¼

GetAllList ( ) : DataSet

��������б�

GetList ( int PageSize, int PageIndex, string strWhere ) : DataSet

��������б�

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

���ǰ��������

GetList ( string strWhere ) : DataSet

��������б�

GetMaxId ( ) : int

�õ����ID

GetModel ( int CK_ProductID ) : CK_Product

�õ�һ������ʵ��

GetModelByCache ( int CK_ProductID ) : CK_Product

�õ�һ������ʵ�壬�ӻ����С�

GetModelList ( string strWhere ) : List

��������б�

Update ( TSM model ) : void

����һ������

Method Details

Add() public method

����һ������
public Add ( TSM model ) : int
model TSM
return int

CK_Product() public method

public CK_Product ( ) : System
return System

DataTableToList() public method

��������б�
public DataTableToList ( DataTable dt ) : List
dt System.Data.DataTable
return List

Delete() public method

ɾ��һ������
public Delete ( int CK_ProductID ) : void
CK_ProductID int
return void

Exists() public method

�Ƿ���ڸü�¼
public Exists ( int CK_ProductID ) : bool
CK_ProductID int
return bool

GetAllList() public method

��������б�
public GetAllList ( ) : DataSet
return System.Data.DataSet

GetList() public method

��������б�
public GetList ( int PageSize, int PageIndex, string strWhere ) : DataSet
PageSize int
PageIndex int
strWhere string
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 ( ) : int
return int

GetModel() public method

�õ�һ������ʵ��
public GetModel ( int CK_ProductID ) : CK_Product
CK_ProductID int
return TSM.Model.CK_Product

GetModelByCache() public method

�õ�һ������ʵ�壬�ӻ����С�
public GetModelByCache ( int CK_ProductID ) : CK_Product
CK_ProductID int
return TSM.Model.CK_Product

GetModelList() public method

��������б�
public GetModelList ( string strWhere ) : List
strWhere string
return List

Update() public method

����һ������
public Update ( TSM model ) : void
model TSM
return void