C# Class Rabbit.Repository

Summary description for ContentStore
Exibir arquivo Open project: yysun/Rabbit

Private Properties

Property Type Description
GetSafeId string

Public Methods

Method Description
Delete ( string id ) : void
Exists ( string id ) : bool
List ( bool>.Func filter = null ) : IEnumerable
Load ( string id ) : System.Dynamic.ExpandoObject
Repository ( string type ) : System
Save ( string id, System.Dynamic.ExpandoObject data ) : string

Private Methods

Method Description
GetSafeId ( string id ) : string

Method Details

Delete() public method

public Delete ( string id ) : void
id string
return void

Exists() public method

public Exists ( string id ) : bool
id string
return bool

List() public method

public List ( bool>.Func filter = null ) : IEnumerable
filter bool>.Func
return IEnumerable

Load() public method

public Load ( string id ) : System.Dynamic.ExpandoObject
id string
return System.Dynamic.ExpandoObject

Repository() public method

public Repository ( string type ) : System
type string
return System

Save() public method

public Save ( string id, System.Dynamic.ExpandoObject data ) : string
id string
data System.Dynamic.ExpandoObject
return string