/// <summary> /// Deprecated Method for adding a new object to the Counts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCounts(Count count) { base.AddObject("Counts", count); }
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; }