Пример #1
0
        public async Task <int> DeleteAsync(T entity)
        {
            string statement = MssqlQueryBuilder.BuildSingleUpdateStatement <T>();
            var    result    = await ExecuteAsync(statement, entity);

            return(result);
        }
Пример #2
0
        public int Delete(T entity)
        {
            string statement = MssqlQueryBuilder.BuildSingleUpdateStatement <T>();
            int    result    = Execute(statement, entity);

            return(result);
        }