/// <summary>
 /// Deprecated Method for adding a new object to the CollectStates EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCollectStates(CollectState collectState)
 {
     base.AddObject("CollectStates", collectState);
 }
 /// <summary>
 /// Create a new CollectState object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 public static CollectState CreateCollectState(global::System.Int32 id)
 {
     CollectState collectState = new CollectState();
     collectState.Id = id;
     return collectState;
 }