public async Task InsertEmployeeAsync(IDictionary <string, object> newValues, CancellationToken ct = default) { var employee = new Employee(); foreach (var field in newValues.Keys) { UpdateEmployee(employee, field, newValues[field]); } await Loader.AddEntity(this, employee); }
public Task Add(ProductFlat product) { return(Loader.AddEntity(this, product)); }
public Task AddAsync(Product product) { return(Loader.AddEntity(this, product)); }
public async Task InsertEmployeeAsync(Employee dataItem, CancellationToken ct = default) { await Loader.AddEntity(this, dataItem); }
public async Task InsertSupplierAsync(Supplier dataItem, CancellationToken ct = default) { await Loader.AddEntity(this, dataItem); }