Skip to content

GetConstraintsAsync Method ​

Definition ​

  • Namespace: JASE.Database.Connections
  • Assembly: JASE.Database.dll

Overloads ​

NameDescription
Task<IReadOnlyList<Constraint>> GetConstraintsAsync(int commandTimeout = null)Returns constraints in the database. Empty list when none exist (never null on success).
Task<IReadOnlyList<Constraint>> GetConstraintsAsync(ISelectable selectable, int commandTimeout = null)Returns constraints for the given table. Empty list when the table is missing or has none (never null on success).
Task<IReadOnlyList<Constraint>> GetConstraintsAsync(string schema, int commandTimeout = null)Returns constraints filtered by schema. Empty list when the schema is missing or has none (never null on success).

Task<IReadOnlyList<Constraint>> GetConstraintsAsync(ISelectable selectable, int commandTimeout = null) ​

csharp
Task<IReadOnlyList<Constraint>> GetConstraintsAsync(ISelectable selectable, int commandTimeout = null)

Returns constraints for the given table. Empty list when the table is missing or has none (never null on success).

Task<IReadOnlyList<Constraint>> GetConstraintsAsync(int commandTimeout = null) ​

csharp
Task<IReadOnlyList<Constraint>> GetConstraintsAsync(int commandTimeout = null)

Returns constraints in the database. Empty list when none exist (never null on success).

Task<IReadOnlyList<Constraint>> GetConstraintsAsync(string schema, int commandTimeout = null) ​

csharp
Task<IReadOnlyList<Constraint>> GetConstraintsAsync(string schema, int commandTimeout = null)

Returns constraints filtered by schema. Empty list when the schema is missing or has none (never null on success).