C# Class Arash.Core.Manager.EntityBaseManager

Inheritance: IEntityBaseManager
ファイルを表示 Open project: arashkarami/nlayeredMVC

Public Methods

Method Description
Add ( EntityBase entity ) : void
Edit ( EntityBase entity ) : void
EntityBaseManager ( IRepository repository ) : System
Get ( bool>.Func predicate = null ) : EntityBase
GetAll ( bool>.Func predicate = null, int start, int count = 6 ) : IEnumerable
GetCount ( bool>.Func predicate = null ) : int
MakeInstance ( ) : EntityBase
Remove ( EntityBase entity ) : void

Method Details

Add() public method

public Add ( EntityBase entity ) : void
entity Arash.Core.Model.EntityBase
return void

Edit() public method

public Edit ( EntityBase entity ) : void
entity Arash.Core.Model.EntityBase
return void

EntityBaseManager() public method

public EntityBaseManager ( IRepository repository ) : System
repository IRepository
return System

Get() public method

public Get ( bool>.Func predicate = null ) : EntityBase
predicate bool>.Func
return Arash.Core.Model.EntityBase

GetAll() public method

public GetAll ( bool>.Func predicate = null, int start, int count = 6 ) : IEnumerable
predicate bool>.Func
start int
count int
return IEnumerable

GetCount() public method

public GetCount ( bool>.Func predicate = null ) : int
predicate bool>.Func
return int

MakeInstance() public method

public MakeInstance ( ) : EntityBase
return Arash.Core.Model.EntityBase

Remove() public method

public Remove ( EntityBase entity ) : void
entity Arash.Core.Model.EntityBase
return void