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