/// <summary> /// Save the list of accounts from large company import /// </summary> /// <param name="lstAccounts"></param> /// <param name="_efDbModel"></param> //public static void SaveAccounts(List<account> lstAccounts, BrightPlatformEntities _efDbModel) //{ // account _efAccount = null; // for (int x = 0; x < lstAccounts.Count; x++) // { // int _iAcctId = lstAccounts[x].id; // _efAccount = null; // _efAccount = _efDbModel.accounts.FirstOrDefault(i => i.id == _iAcctId); // _efDbModel.accounts.ApplyCurrentValues(lstAccounts[x]); // } // _efDbModel.SaveChanges(false); //} /// <summary> /// Get account table column names /// </summary> /// <returns></returns> public static List<CTAccountColumnName> GetAccountColumnNames() { BrightPlatformEntities objDbModel = new BrightPlatformEntities(UserSession.EntityConnection); return objDbModel.FIGetAccountColumnNames().ToList(); }