/// <summary> /// Deprecated Method for adding a new object to the Availabilities EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAvailabilities(Availability availability) { base.AddObject("Availabilities", availability); }
/// <summary> /// Create a new Availability object. /// </summary> /// <param name="id">Initial value of the Id property.</param> public static Availability CreateAvailability(global::System.Int32 id) { Availability availability = new Availability(); availability.Id = id; return availability; }