Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Field object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="fieldTypeID">Initial value of the FieldTypeID property.</param>
 /// <param name="listTypeID">Initial value of the ListTypeID property.</param>
 /// <param name="isPrimary">Initial value of the IsPrimary property.</param>
 /// <param name="sortOrder">Initial value of the SortOrder property.</param>
 public static Field CreateField(global::System.Guid id, global::System.Int32 fieldTypeID, global::System.Guid listTypeID, global::System.Boolean isPrimary, global::System.Int32 sortOrder)
 {
     Field field = new Field();
     field.ID = id;
     field.FieldTypeID = fieldTypeID;
     field.ListTypeID = listTypeID;
     field.IsPrimary = isPrimary;
     field.SortOrder = sortOrder;
     return field;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Fields EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFields(Field field)
 {
     base.AddObject("Fields", field);
 }