kidroca

Entity Framework Mapping

Nov 19th, 2015
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.28 KB | None | 0 0
  1. public class Balance
  2. {
  3.     private ICollection<Transaction> transactions;
  4.  
  5.     public Balance()
  6.     {
  7.         this.transactions = new HashSet<Transaction>();
  8.     }
  9.  
  10.     public ICollection<Transaction> Transactions
  11.     {
  12.         get { return this.transactions; }
  13.  
  14.         set { this.transactions = value; }
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment