/// <summary> /// Deprecated Method for adding a new object to the ChurchSuburbs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToChurchSuburbs(ChurchSuburb churchSuburb) { base.AddObject("ChurchSuburbs", churchSuburb); }
/// <summary> /// Create a new ChurchSuburb object. /// </summary> /// <param name="churchSuburbId">Initial value of the ChurchSuburbId property.</param> /// <param name="churchId">Initial value of the ChurchId property.</param> /// <param name="suburb">Initial value of the Suburb property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="changed">Initial value of the Changed property.</param> public static ChurchSuburb CreateChurchSuburb(global::System.Int32 churchSuburbId, global::System.Int32 churchId, global::System.String suburb, global::System.DateTime created, global::System.DateTime changed) { ChurchSuburb churchSuburb = new ChurchSuburb(); churchSuburb.ChurchSuburbId = churchSuburbId; churchSuburb.ChurchId = churchId; churchSuburb.Suburb = suburb; churchSuburb.Created = created; churchSuburb.Changed = changed; return churchSuburb; }