Interface IBaseObjectListDAL<TList, TListType>
The base DAL for security/object lists.
Namespace: Microsoft.GNS.Roster.DataAccess
Assembly: Microsoft.GNS.Roster.DataAccess.dll
Syntax
public interface IBaseObjectListDAL<TList, TListType> where TList : class, IObjectRefList<TListType>Type Parameters
| Name | Description | 
|---|---|
| TList | |
| TListType | 
Methods
View SourceDeleteObjectListsForParentAsync(Guid, string, Scope)
Deletes object lists for a given parent.
Declaration
Task DeleteObjectListsForParentAsync(Guid parentId, string listContainerName, Scope scope)Parameters
| Type | Name | Description | 
|---|---|---|
| Guid | parentId | The parent object Id in which to delete object lists. | 
| string | listContainerName | The list type container. | 
| 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, string, Scope)
Gets an object list.
Declaration
Task<TList?> GetObjectListAsync(Guid parentId, string name, string listContainerName, 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. | 
| string | listContainerName | The list type container. | 
| Scope | scope | The Roster scope. | 
Returns
| Type | Description | 
|---|---|
| Task<TList> | An object that represents a permission entity list. | 
SaveObjectListAsync(TList)
Saves an object list.
Declaration
Task<TList> SaveObjectListAsync(TList list)Parameters
| Type | Name | Description | 
|---|---|---|
| TList | list | The list to save. | 
Returns
| Type | Description | 
|---|---|
| Task<TList> | The saved list. |