示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the WorkshopPrisons EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToWorkshopPrisons(WorkshopPrison workshopPrison)
 {
     base.AddObject("WorkshopPrisons", workshopPrison);
 }
示例#2
0
 /// <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;
 }