Beispiel #1
0
        public static int RunNonQuery(String sql, params Object[] parameters)
        {
            DataSupport ds = new DataSupport();

            return(ds.ExecuteNonQuery(sql, parameters));
        }
Beispiel #2
0
        public static int RunNonQuery(String sql, IsolationLevel level, Dictionary <String, Object> parameters)
        {
            DataSupport ds = new DataSupport();

            return(ds.ExecuteNonQuery(sql, level, parameters));
        }
Beispiel #3
0
        /// <summary>
        /// Runs a SQL from you database whatever
        /// </summary>
        /// <param name="sql">adsfasdf</param>
        /// <returns></returns>
        public static int RunNonQuery(String sql)
        {
            DataSupport ds = new DataSupport();

            return(ds.ExecuteNonQuery(sql));
        }