/// <summary>
 /// Deprecated Method for adding a new object to the ChurchOptionalFields EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToChurchOptionalFields(ChurchOptionalField churchOptionalField)
 {
     base.AddObject("ChurchOptionalFields", churchOptionalField);
 }
 /// <summary>
 /// Create a new ChurchOptionalField object.
 /// </summary>
 /// <param name="churchOptionalFieldId">Initial value of the ChurchOptionalFieldId property.</param>
 /// <param name="churchId">Initial value of the ChurchId property.</param>
 /// <param name="optionalFieldId">Initial value of the OptionalFieldId property.</param>
 /// <param name="visible">Initial value of the Visible property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 /// <param name="changed">Initial value of the Changed property.</param>
 public static ChurchOptionalField CreateChurchOptionalField(global::System.Int32 churchOptionalFieldId, global::System.Int32 churchId, global::System.Int32 optionalFieldId, global::System.Boolean visible, global::System.DateTime created, global::System.DateTime changed)
 {
     ChurchOptionalField churchOptionalField = new ChurchOptionalField();
     churchOptionalField.ChurchOptionalFieldId = churchOptionalFieldId;
     churchOptionalField.ChurchId = churchId;
     churchOptionalField.OptionalFieldId = optionalFieldId;
     churchOptionalField.Visible = visible;
     churchOptionalField.Created = created;
     churchOptionalField.Changed = changed;
     return churchOptionalField;
 }