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

            dbm.saveList(AccountObj.ToList());
        }