예제 #1
0
        /// <summary>
        /// Convinience method to save a Bank Object.
        /// Important note: DO NOT CALL THIS IN A LOOP!
        /// </summary>
        /// <param name="BankObj"></param>
        /// <remarks>
        /// Important note: DO NOT CALL THIS IN A LOOP!
        /// This method simply instantiates a BankDBMapper and calls the save method
        /// </remarks>
        public static void saveBank(params Bank[] BankObj)
        {
            BankDBMapper dbm = new BankDBMapper();

            dbm.saveList(BankObj.ToList());
        }
예제 #2
0
 /// <summary>
 /// Convinience method to save a Bank Object.
 /// Important note: DO NOT CALL THIS IN A LOOP!
 /// </summary>
 /// <param name="BankObj"></param>
 /// <remarks>
 /// Important note: DO NOT CALL THIS IN A LOOP!  
 /// This method simply instantiates a BankDBMapper and calls the save method
 /// </remarks>
 public static void saveBank(params Bank[] BankObj)
 {
     BankDBMapper dbm = new BankDBMapper();
     dbm.saveList(BankObj.ToList());
 }