Interface IDatabaseRoleCatalog
Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll
Exposes the active engine-owned database-role catalog for the current runtime.
public interface IDatabaseRoleCatalogProperties
Section titled “Properties”DatabaseRoles
Section titled “ DatabaseRoles”Gets every database role visible to the current runtime.
IReadOnlyList<DatabaseRoleDescriptor> DatabaseRoles { get; }Property Value
Section titled “Property Value”IReadOnlyList<DatabaseRoleDescriptor>
Methods
Section titled “Methods”GetById(string)
Section titled “ GetById(string)”Gets one database role by its logical identifier.
DatabaseRoleDescriptor? GetById(string databaseRoleId)Parameters
Section titled “Parameters”databaseRoleId string
The logical database-role identifier.
Returns
Section titled “Returns”The matching database-role descriptor, or null when none exists.
GetByProvider(string)
Section titled “ GetByProvider(string)”Gets every database role backed by the supplied provider identifier.
IReadOnlyList<DatabaseRoleDescriptor> GetByProvider(string provider)Parameters
Section titled “Parameters”provider string
The provider identifier to match.
Returns
Section titled “Returns”IReadOnlyList<DatabaseRoleDescriptor>
The matching database-role descriptors.
GetByResolvedRole(string)
Section titled “ GetByResolvedRole(string)”Gets every database role that resolves to the supplied concrete role identifier.
IReadOnlyList<DatabaseRoleDescriptor> GetByResolvedRole(string resolvedRoleId)Parameters
Section titled “Parameters”resolvedRoleId string
The resolved concrete database-role identifier.
Returns
Section titled “Returns”IReadOnlyList<DatabaseRoleDescriptor>
The matching database-role descriptors.