/// <summary>
 /// Deprecated Method for adding a new object to the Dataset EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDataset(Dataset dataset)
 {
     base.AddObject("Dataset", dataset);
 }
Пример #2
0
 public void DeleteObject(Dataset dataset)
 {
     Connection.Delete(dataset);
     Dataset.Remove(dataset);
 }
Пример #3
0
 private static void InsertDataset(Dataset dataset)
 {
     Connection.Insert(dataset);
 }
Пример #4
0
 private static void UpdateDataset(Dataset dataset)
 {
     Connection.Update(dataset);
 }
Пример #5
0
 public void AddObject(Dataset ds)
 {
     Dataset.Add(ds);
 }