public void DeleteByKeyOrException(int employeeClassificationKey) { var count = m_DataSource.DeleteByKey <EmployeeClassification>(employeeClassificationKey).Execute(); if (count == 0) { throw new MissingDataException(); } }
public async Task DeleteAsync(int employeeClassificationKey) { await m_DataSource.DeleteByKey(TableName, employeeClassificationKey).ExecuteAsync(); }
public void DeleteByKey(int employeeKey) { m_DataSource.DeleteByKey <EmployeeComplex>(employeeKey).Execute(); }
public void Delete(int departmentKey) { m_DataSource.DeleteByKey("HR.Department", departmentKey).Execute(); }
public void DeleteByKey(int employeeKey) { m_DataSource.DeleteByKey(TableName, employeeKey).Execute(); }
public void Delete(int employeeClassificationKey) { m_DataSource.DeleteByKey(TableName, employeeClassificationKey).Execute(); }
public Task DeleteByKeyAsync(int employeeClassificationKey) { return(m_DataSource.DeleteByKey(TableName, employeeClassificationKey).ExecuteAsync()); }
public void DeleteByKey(int employeeClassificationKey) { m_DataSource.DeleteByKey <EmployeeClassification>(employeeClassificationKey).Execute(); }