/// <summary>
 /// Deprecated Method for adding a new object to the Counts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCounts(Count count)
 {
     base.AddObject("Counts", count);
 }
Ejemplo n.º 2
0
 public void UpdateCount(Count currentCount)
 {
     this.ObjectContext.Counts.AttachAsModified(currentCount, this.ChangeSet.GetOriginal(currentCount));
 }
 /// <summary>
 /// Create a new Count object.
 /// </summary>
 /// <param name="value">Initial value of the value property.</param>
 public static Count CreateCount(global::System.Int32 value)
 {
     Count count = new Count();
     count.value = value;
     return count;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Counts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCounts(Count count)
 {
     base.AddObject("Counts", count);
 }