/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the Cashes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCashes(Cash cash) { base.AddObject("Cashes", cash); }