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