/// <summary> /// Deprecated Method for adding a new object to the Religions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReligions(Religion religion) { base.AddObject("Religions", religion); }
/// <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; }