コード例 #1
0
        public static Account Load(Guid id, Guid customerId, TransactionCollection transactions)
        {
            Account account = new Account();

            account.Id            = id;
            account.CustomerId    = customerId;
            account._transactions = transactions;
            return(account);
        }
コード例 #2
0
 public Account(Guid customerId)
 {
     Id            = Guid.NewGuid();
     _transactions = new TransactionCollection();
     CustomerId    = customerId;
 }
コード例 #3
0
 public Account(Guid id, Guid customerId, TransactionCollection transactions)
 {
     Id            = id;
     _transactions = transactions;
     CustomerId    = customerId;
 }
コード例 #4
0
ファイル: Account.cs プロジェクト: leandrosflora/acerola
 public Account()
 {
     Transactions = new TransactionCollection();
 }
コード例 #5
0
 protected Account()
 {
     Transactions = new TransactionCollection();
 }