Class RosterObjectListDAL
Interface to manage IRosterObjectListDAL data.
Inheritance
System.Object
RosterObjectListDAL
Implements
Namespace: Microsoft.GNS.Roster.DataAccess
Assembly: Microsoft.GNS.Roster.DataAccess.dll
Syntax
public class RosterObjectListDAL : object, IRosterObjectListDAL
Constructors
View SourceRosterObjectListDAL(IBaseObjectListDAL<IRosterObjectRefList, String>)
Initializes a new instance of the BaseObjectListDAL<TList, TListType> class.
Declaration
public RosterObjectListDAL(IBaseObjectListDAL<IRosterObjectRefList, string> baseObjectListDal)
Parameters
Type | Name | Description |
---|---|---|
IBaseObjectListDAL<IRosterObjectRefList, System.String> | baseObjectListDal | The base object list DAL. |
Methods
View SourceDeleteObjectListsForParentAsync(Guid, Scope)
Deletes permission entity lists for a given parent.
Declaration
public Task DeleteObjectListsForParentAsync(Guid parentId, Scope scope)
Parameters
Type | Name | Description |
---|---|---|
Guid | parentId | The parent object Id in which to delete object lists. |
Scope | scope | The scope of the object list parent. |
Returns
Type | Description |
---|---|
Task | A task representing the work to delete an object list. |
GetObjectListAsync(Guid, String, Scope)
Gets a reference list for permission entities.
Declaration
public async Task<IRosterObjectRefList> GetObjectListAsync(Guid parentId, string name, Scope scope)
Parameters
Type | Name | Description |
---|---|---|
Guid | parentId | The Id of the parent this list belongs to. |
System.String | name | The property name of the list in the parent object. |
Scope | scope | The Roster scope. |
Returns
Type | Description |
---|---|
Task<IRosterObjectRefList> | An object that represents a permission entity list. |
SaveObjectListAsync(IRosterObjectRefList)
Saves an object list.
Declaration
public async Task<IRosterObjectRefList> SaveObjectListAsync(IRosterObjectRefList list)
Parameters
Type | Name | Description |
---|---|---|
IRosterObjectRefList | list | The list to save. |
Returns
Type | Description |
---|---|
Task<IRosterObjectRefList> | The saved list. |