Ejemplo n.º 1
0
        public void Save_Account(Account ACCOUNT)
        {
            AsmodatSerialization.DataBase_Account ASDB_Account = new AsmodatSerialization.DataBase_Account();

            ASDB_Account.CLOSEDBALANCE = ACCOUNT.ClosedBalance;

            this.Delete_Account();
            AsmodatSerialization.Operations.Save <AsmodatSerialization.DataBase_Account>(ASDB_Account, Patch_Account);
        }
Ejemplo n.º 2
0
        public Account Load_Account(string USERID)
        {
            AsmodatSerialization.DataBase_Account ASDB_Account = AsmodatSerialization.Operations.Load <DataBase_Account>(Patch_Account);


            if (ASDB_Account == null)
            {
                return(null);
            }

            Account ACCOUNT = new Account();

            ACCOUNT.ClosedBalance = ASDB_Account.CLOSEDBALANCE;

            return(ACCOUNT);
        }