Class RosterObjectListDAL
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
Implements
Inherited Members
Namespace: Microsoft.GNS.Roster.DataAccess
Assembly: Microsoft.GNS.Roster.DataAccess.dll
Syntax
public class RosterObjectListDAL : 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, 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 Task<IRosterObjectRefList> GetObjectListAsync(Guid parentId, string name, Scope scope)
Parameters
Type | Name | Description |
---|---|---|
Guid | parentId | The Id of the parent this list belongs to. |
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 Task<IRosterObjectRefList> SaveObjectListAsync(IRosterObjectRefList list)
Parameters
Type | Name | Description |
---|---|---|
IRosterObjectRefList | list | The list to save. |
Returns
Type | Description |
---|---|
Task<IRosterObjectRefList> | The saved list. |