Appearance
GetConstraintsAsync Method
Definition
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
Overloads
| Name | Description |
|---|---|
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).