Skip to content

SaveAsync Method ​

Definition ​

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

Overloads ​

NameDescription
Task<bool> SaveAsync(T item, int commandTimeout = null, CancellationToken cancellationToken = null, UpsertConflictAction conflictAction = null)Alias for UpsertAsync.
Task<bool> SaveAsync(Type entityType, object item, int commandTimeout = null, CancellationToken cancellationToken = null, UpsertConflictAction conflictAction = null)Alias for the runtime-typed UpsertAsync overload.

Task<bool> SaveAsync(Type entityType, object item, int commandTimeout = null, CancellationToken cancellationToken = null, UpsertConflictAction conflictAction = null) ​

csharp
Task<bool> SaveAsync(Type entityType, object item, int commandTimeout = null, CancellationToken cancellationToken = null, UpsertConflictAction conflictAction = null)

Alias for the runtime-typed UpsertAsync overload.

Task<bool> SaveAsync(T item, int commandTimeout = null, CancellationToken cancellationToken = null, UpsertConflictAction conflictAction = null) ​

csharp
Task<bool> SaveAsync(T item, int commandTimeout = null, CancellationToken cancellationToken = null, UpsertConflictAction conflictAction = null)

Alias for UpsertAsync.