Method GetRolePermissionCountAsync(IRedbRole, CancellationToken)
Get role permission count.
[Obsolete("Object permissions and roles are deprecated and will be removed in a future major version. Authorise in the application (as redb.Identity does) or use the database's own roles and row-level security.")]
Task<int> GetRolePermissionCountAsync(IRedbRole role, CancellationToken cancellationToken = default)