예제 #1
0
        public int QueryScalar(string query, params object[] parameters)
        {
            var wrapper = new SqlQueryParser <object>(0, query, Transaction, parameters);

            return(wrapper.RunQueryScalar(StorageController));
        }
예제 #2
0
        public int Delete <T>(object query, params object[] parameters)
        {
            var wrapper = new SqlQueryParser <T>(QueryType.Delete, query, Transaction, parameters);

            return(wrapper.RunQueryScalar(StorageController));
        }