Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DataForms EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDataForms(DataForm dataForm)
 {
     base.AddObject("DataForms", dataForm);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new DataForm object.
 /// </summary>
 /// <param name="formID">Initial value of the FormID property.</param>
 public static DataForm CreateDataForm(global::System.Int32 formID)
 {
     DataForm dataForm = new DataForm();
     dataForm.FormID = formID;
     return dataForm;
 }