/// <summary>
 /// Create a new ChurchEvent object.
 /// </summary>
 /// <param name="churchEventId">Initial value of the ChurchEventId property.</param>
 /// <param name="eventDate">Initial value of the EventDate property.</param>
 /// <param name="eventHeading">Initial value of the EventHeading property.</param>
 /// <param name="eventDescription">Initial value of the EventDescription property.</param>
 /// <param name="churchId">Initial value of the ChurchId property.</param>
 public static ChurchEvent CreateChurchEvent(global::System.Int32 churchEventId, global::System.DateTime eventDate, global::System.String eventHeading, global::System.String eventDescription, global::System.Int32 churchId)
 {
     ChurchEvent churchEvent = new ChurchEvent();
     churchEvent.ChurchEventId = churchEventId;
     churchEvent.EventDate = eventDate;
     churchEvent.EventHeading = eventHeading;
     churchEvent.EventDescription = eventDescription;
     churchEvent.ChurchId = churchId;
     return churchEvent;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the ChurchEvents EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToChurchEvents(ChurchEvent churchEvent)
 {
     base.AddObject("ChurchEvents", churchEvent);
 }