Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Religions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToReligions(Religion religion)
 {
     base.AddObject("Religions", religion);
 }
Пример #2
0
 /// <summary>
 /// Create a new Religion object.
 /// </summary>
 /// <param name="religionID">Initial value of the ReligionID property.</param>
 public static Religion CreateReligion(global::System.Int32 religionID)
 {
     Religion religion = new Religion();
     religion.ReligionID = religionID;
     return religion;
 }