public async Task <int> InsertAsync(T entity) { string statement = MssqlQueryBuilder.BuildInsertStatement <T>(); var result = await ExecuteAsync(statement, entity); return(result); }
public int Insert(T entity) { string statement = MssqlQueryBuilder.BuildInsertStatement <T>(); int result = Execute(statement, entity); return(result); }