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

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

            return(result);
        }