Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Prisons EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPrisons(Prison prison)
 {
     base.AddObject("Prisons", prison);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new Prison object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="location">Initial value of the Location property.</param>
 /// <param name="nlAddressOrder">Initial value of the NlAddressOrder property.</param>
 /// <param name="sex">Initial value of the Sex property.</param>
 public static Prison CreatePrison(global::System.Int32 id, global::System.Int32 location, global::System.Int32 nlAddressOrder, global::System.Int32 sex)
 {
     Prison prison = new Prison();
     prison.Id = id;
     prison.Location = location;
     prison.NlAddressOrder = nlAddressOrder;
     prison.Sex = sex;
     return prison;
 }