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