/// <summary> /// Create a new Field object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="title">Initial value of the Title property.</param> /// <param name="type">Initial value of the Type property.</param> public static Field CreateField(global::System.Int32 id, global::System.String name, global::System.String title, global::System.Int16 type) { Field field = new Field(); field.Id = id; field.Name = name; field.Title = title; field.Type = type; return field; }
/// <summary> /// Deprecated Method for adding a new object to the Field EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToField(Field field) { base.AddObject("Field", field); }