コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TestTable EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTestTable(TestTable testTable)
 {
     base.AddObject("TestTable", testTable);
 }
 public void UpdateTestTable(TestTable currentTestTable)
 {
     this.ObjectContext.TestTable.AttachAsModified(currentTestTable, this.ChangeSet.GetOriginal(currentTestTable));
 }