/// <summary> /// Deprecated Method for adding a new object to the LeaseTimes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLeaseTimes(LeaseTime leaseTime) { base.AddObject("LeaseTimes", leaseTime); }
/// <summary> /// Create a new LeaseTime object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="months">Initial value of the Months property.</param> public static LeaseTime CreateLeaseTime(global::System.Int32 id, global::System.Int32 months) { LeaseTime leaseTime = new LeaseTime(); leaseTime.ID = id; leaseTime.Months = months; return leaseTime; }