Appearance
GetByPkAsync Method
Definition
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
Overloads
| Name | Description |
|---|---|
Task<T> GetByPkAsync(object id, CancellationToken cancellationToken = null) | Fetches a row by primary key value, or null if none match. |
Task<DynamicRow> GetByPkAsync(TableInfo table, object id, CancellationToken cancellationToken = null) | Fetches a row by primary key value, or null if none match. |
Task<object> GetByPkAsync(Type entityType, object id, CancellationToken cancellationToken = null) | Fetches a row by primary key value, or null if none match. |
Task<DynamicRow> GetByPkAsync(TableInfo table, object id, CancellationToken cancellationToken = null)
csharp
Task<DynamicRow> GetByPkAsync(TableInfo table, object id, CancellationToken cancellationToken = null)Fetches a row by primary key value, or null if none match.
Task<object> GetByPkAsync(Type entityType, object id, CancellationToken cancellationToken = null)
csharp
Task<object> GetByPkAsync(Type entityType, object id, CancellationToken cancellationToken = null)Fetches a row by primary key value, or null if none match.
Task<T> GetByPkAsync(object id, CancellationToken cancellationToken = null)
csharp
Task<T> GetByPkAsync(object id, CancellationToken cancellationToken = null)Fetches a row by primary key value, or null if none match.