/// <summary> /// Create a new FieldType object. /// </summary> /// <param name="fieldTypeID">Initial value of the FieldTypeID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="displayName">Initial value of the DisplayName property.</param> /// <param name="displayType">Initial value of the DisplayType property.</param> public static FieldType CreateFieldType(global::System.Int32 fieldTypeID, global::System.String name, global::System.String displayName, global::System.String displayType) { FieldType fieldType = new FieldType(); fieldType.FieldTypeID = fieldTypeID; fieldType.Name = name; fieldType.DisplayName = displayName; fieldType.DisplayType = displayType; return fieldType; }
/// <summary> /// Deprecated Method for adding a new object to the FieldTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFieldTypes(FieldType fieldType) { base.AddObject("FieldTypes", fieldType); }