/// <summary>
 /// Create a new Stack object.
 /// </summary>
 /// <param name="stackId">Initial value of the StackId property.</param>
 public static Stack CreateStack(global::System.Int32 stackId)
 {
     Stack stack = new Stack();
     stack.StackId = stackId;
     return stack;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Stacks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStacks(Stack stack)
 {
     base.AddObject("Stacks", stack);
 }