Ejemplo n.º 1
0
        public static long AddNewStore(Hashtable row)
        {
            SBTableStores store = new SBTableStores();

            store.insertRow(row);

            return(store.LastInsertID);
        }
Ejemplo n.º 2
0
        public static Hashtable GetStore(int store_id)
        {
            SBTableStores store = new SBTableStores();

            return(store.getRow(string.Format("store_id = {0}", store_id)));
        }
Ejemplo n.º 3
0
        /// <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(""));
        }