/// <summary> /// Create a new Check object. /// </summary> /// <param name="checkID">Initial value of the CheckID property.</param> /// <param name="checkNumber">Initial value of the CheckNumber property.</param> /// <param name="amount">Initial value of the Amount property.</param> public static Check CreateCheck(global::System.Int32 checkID, global::System.Int32 checkNumber, global::System.Decimal amount) { Check check = new Check(); check.CheckID = checkID; check.CheckNumber = checkNumber; check.Amount = amount; return check; }
/// <summary> /// Deprecated Method for adding a new object to the Checks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToChecks(Check check) { base.AddObject("Checks", check); }