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