C# Class Arash.Core.Manager.EntityTypeManager

Inheritance: IEntityTypeManager
Show file Open project: arashkarami/nlayeredMVC

Public Methods

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

Method Details

Add() public method

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

Edit() public method

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

EntityTypeManager() public method

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

Get() public method

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

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

GetOrAdd() public method

public GetOrAdd ( string name ) : EntityType
name string
return Arash.Core.Model.EntityType

MakeInstance() public method

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

Remove() public method

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