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