Beispiel #1
0
        public async Task <int> Insert <T>(T entity) where T : class, new()
        {
            string sql    = EntityToSql.AddSql <T>(entity);
            var    result = await dbHelper.ExecuteSql(sql);

            return(result);
        }