/// <summary>
 /// Deprecated Method for adding a new object to the OptionalFields EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOptionalFields(OptionalField optionalField)
 {
     base.AddObject("OptionalFields", optionalField);
 }
 /// <summary>
 /// Create a new OptionalField object.
 /// </summary>
 /// <param name="optionalFieldId">Initial value of the OptionalFieldId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 public static OptionalField CreateOptionalField(global::System.Int32 optionalFieldId, global::System.String name, global::System.DateTime created)
 {
     OptionalField optionalField = new OptionalField();
     optionalField.OptionalFieldId = optionalFieldId;
     optionalField.Name = name;
     optionalField.Created = created;
     return optionalField;
 }