/// <summary>
 /// Deprecated Method for adding a new object to the productgroups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToproductgroups(productgroup productgroup)
 {
     base.AddObject("productgroups", productgroup);
 }
 /// <summary>
 /// Create a new productgroup object.
 /// </summary>
 /// <param name="idProductGroups">Initial value of the idProductGroups property.</param>
 /// <param name="producttype_id">Initial value of the producttype_id property.</param>
 /// <param name="group_id">Initial value of the group_id property.</param>
 public static productgroup Createproductgroup(global::System.Int64 idProductGroups, global::System.Int64 producttype_id, global::System.Int64 group_id)
 {
     productgroup productgroup = new productgroup();
     productgroup.idProductGroups = idProductGroups;
     productgroup.producttype_id = producttype_id;
     productgroup.group_id = group_id;
     return productgroup;
 }