Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Field EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToField(Field field)
 {
     base.AddObject("Field", field);
 }