ข้ามไปยังเนื้อหา

Interface IDatabaseRoleCatalog

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll

Exposes the active engine-owned database-role catalog for the current runtime.

public interface IDatabaseRoleCatalog

Gets every database role visible to the current runtime.

IReadOnlyList<DatabaseRoleDescriptor> DatabaseRoles { get; }

IReadOnlyList<DatabaseRoleDescriptor>

Gets one database role by its logical identifier.

DatabaseRoleDescriptor? GetById(string databaseRoleId)

databaseRoleId string

The logical database-role identifier.

DatabaseRoleDescriptor?

The matching database-role descriptor, or null when none exists.

Gets every database role backed by the supplied provider identifier.

IReadOnlyList<DatabaseRoleDescriptor> GetByProvider(string provider)

provider string

The provider identifier to match.

IReadOnlyList<DatabaseRoleDescriptor>

The matching database-role descriptors.

Gets every database role that resolves to the supplied concrete role identifier.

IReadOnlyList<DatabaseRoleDescriptor> GetByResolvedRole(string resolvedRoleId)

resolvedRoleId string

The resolved concrete database-role identifier.

IReadOnlyList<DatabaseRoleDescriptor>

The matching database-role descriptors.