C# Class Arash.Core.Manager.RoleManager

Inheritance: IRoleManager
显示文件 Open project: arashkarami/nlayeredMVC

Public Methods

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

Method Details

Add() public method

public Add ( Role entity ) : void
entity Arash.Membership.Model.Role
return void

Edit() public method

public Edit ( Role entity ) : void
entity Arash.Membership.Model.Role
return void

Get() public method

public Get ( bool>.Func predicate = null ) : Role
predicate bool>.Func
return Arash.Membership.Model.Role

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 ( ) : Role
return Arash.Membership.Model.Role

Remove() public method

public Remove ( Role entity ) : void
entity Arash.Membership.Model.Role
return void

RoleManager() public method

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