Пример #1
0
 /// <summary>
 /// Create a new Cash object.
 /// </summary>
 /// <param name="entryDate">Initial value of the EntryDate property.</param>
 /// <param name="amount">Initial value of the Amount property.</param>
 public static Cash CreateCash(global::System.DateTime entryDate, global::System.Decimal amount)
 {
     Cash cash = new Cash();
     cash.EntryDate = entryDate;
     cash.Amount = amount;
     return cash;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Cashes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCashes(Cash cash)
 {
     base.AddObject("Cashes", cash);
 }