C# Class Supplier.Infrastructure.Repository.SupplierRepository

Inheritance: ISupplierRepository, IDao
Datei anzeigen Open project: hahalixiaojing/ddd.sample

Public Methods

Method Description
Add ( Model item ) : void

插入数据

FindAll ( ) : IList
FindBy ( int key ) : Model.Supplier
FindByIds ( int supplierIds ) : IEnumerable
Remove ( Model item ) : void
RemoveAll ( ) : void
Select ( int pageSize, int pageIndex, int &totalRows ) : IEnumerable
Update ( Model item ) : void

Method Details

Add() public method

插入数据
public Add ( Model item ) : void
item Model
return void

FindAll() public method

public FindAll ( ) : IList
return IList

FindBy() public method

public FindBy ( int key ) : Model.Supplier
key int
return Model.Supplier

FindByIds() public method

public FindByIds ( int supplierIds ) : IEnumerable
supplierIds int
return IEnumerable

Remove() public method

public Remove ( Model item ) : void
item Model
return void

RemoveAll() public method

public RemoveAll ( ) : void
return void

Select() public method

public Select ( int pageSize, int pageIndex, int &totalRows ) : IEnumerable
pageSize int
pageIndex int
totalRows int
return IEnumerable

Update() public method

public Update ( Model item ) : void
item Model
return void