public static long AddNewStore(Hashtable row) { SBTableStores store = new SBTableStores(); store.insertRow(row); return(store.LastInsertID); }
public static Hashtable GetStore(int store_id) { SBTableStores store = new SBTableStores(); return(store.getRow(string.Format("store_id = {0}", store_id))); }
/// <summary> /// Gets the stores. /// The method returns database rows as Hashtables /// </summary> /// <returns> /// A <see cref="ArrayList"/> /// </returns> public static ArrayList GetStores() { SBTableStores store = new SBTableStores(); return(store.getRows("")); }