Пример #1
0
        public static void ExecuteNonquery(string sql)
        {
            DBLayer dbLayer = new DBLayer();

            dbLayer.ExecuteNonQuery(sql);
            dbLayer.Dispose();
        }
Пример #2
0
        public static void ExecuteNonquery(string v, List <SqlParameter> list)
        {
            DBLayer dbLayer = new DBLayer();

            dbLayer.ExecuteNonQuery(v, list);
            dbLayer.Dispose();
        }