Example #1
0
 /// <summary>
 /// Create a new DataType object.
 /// </summary>
 /// <param name="dataTypeID">Initial value of the DataTypeID property.</param>
 public static DataType CreateDataType(global::System.Int32 dataTypeID)
 {
     DataType dataType = new DataType();
     dataType.DataTypeID = dataTypeID;
     return dataType;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DataType EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDataType(DataType dataType)
 {
     base.AddObject("DataType", dataType);
 }