/// <summary> /// Create a new FormField object. /// </summary> /// <param name="uid">Initial value of the Uid property.</param> /// <param name="formUid">Initial value of the FormUid property.</param> /// <param name="formFieldTypeUid">Initial value of the FormFieldTypeUid property.</param> /// <param name="sortOrder">Initial value of the SortOrder property.</param> /// <param name="timestamp">Initial value of the Timestamp property.</param> public static FormField CreateFormField(global::System.Guid uid, global::System.Guid formUid, global::System.Guid formFieldTypeUid, global::System.Int32 sortOrder, global::System.DateTime timestamp) { FormField formField = new FormField(); formField.Uid = uid; formField.FormUid = formUid; formField.FormFieldTypeUid = formFieldTypeUid; formField.SortOrder = sortOrder; formField.Timestamp = timestamp; return formField; }
/// <summary> /// Deprecated Method for adding a new object to the FormFields EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFormFields(FormField formField) { base.AddObject("FormFields", formField); }