C# Class CodeGarten.Data.Access.RuleManager

显示文件 Open project: CodeGarten/CodeGarten Class Usage Examples

Public Methods

Method Description
Create ( long structureId, string name, string>.IEnumerable permissions ) : Rule
Create ( long structureId, string name, IEnumerable permissions ) : Rule
Delete ( long structureId, string name ) : void
Edit ( long structureId, string name, IEnumerable permissions ) : void
Get ( long structureId, string name ) : Rule
GetAll ( long structureId ) : IQueryable
RuleManager ( DataBaseManager db ) : System.Collections.Generic

Method Details

Create() public method

public Create ( long structureId, string name, string>.IEnumerable permissions ) : Rule
structureId long
name string
permissions string>.IEnumerable
return CodeGarten.Data.Model.Rule

Create() public method

public Create ( long structureId, string name, IEnumerable permissions ) : Rule
structureId long
name string
permissions IEnumerable
return CodeGarten.Data.Model.Rule

Delete() public method

public Delete ( long structureId, string name ) : void
structureId long
name string
return void

Edit() public method

public Edit ( long structureId, string name, IEnumerable permissions ) : void
structureId long
name string
permissions IEnumerable
return void

Get() public method

public Get ( long structureId, string name ) : Rule
structureId long
name string
return CodeGarten.Data.Model.Rule

GetAll() public method

public GetAll ( long structureId ) : IQueryable
structureId long
return IQueryable

RuleManager() public method

public RuleManager ( DataBaseManager db ) : System.Collections.Generic
db DataBaseManager
return System.Collections.Generic