/// <summary>
 /// 用于向 cg_t_products EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTocg_t_products(cg_t_products cg_t_products)
 {
     base.AddObject("cg_t_products", cg_t_products);
 }
 /// <summary>
 /// 创建新的 cg_t_products 对象。
 /// </summary>
 /// <param name="productId">productId 属性的初始值。</param>
 /// <param name="productName">productName 属性的初始值。</param>
 /// <param name="brandId">brandId 属性的初始值。</param>
 /// <param name="categoryId1">categoryId1 属性的初始值。</param>
 /// <param name="categoryId2">categoryId2 属性的初始值。</param>
 /// <param name="categoryId3">categoryId3 属性的初始值。</param>
 /// <param name="categoryId4">categoryId4 属性的初始值。</param>
 /// <param name="categoryId">categoryId 属性的初始值。</param>
 /// <param name="infoStatus">infoStatus 属性的初始值。</param>
 /// <param name="poUnit">poUnit 属性的初始值。</param>
 /// <param name="packing">packing 属性的初始值。</param>
 public static cg_t_products Createcg_t_products(global::System.Int32 productId, global::System.String productName, global::System.Int32 brandId, global::System.Int32 categoryId1, global::System.Int32 categoryId2, global::System.Int32 categoryId3, global::System.Int32 categoryId4, global::System.Int32 categoryId, global::System.Int32 infoStatus, global::System.Int32 poUnit, global::System.Int32 packing)
 {
     cg_t_products cg_t_products = new cg_t_products();
     cg_t_products.productId = productId;
     cg_t_products.productName = productName;
     cg_t_products.brandId = brandId;
     cg_t_products.categoryId1 = categoryId1;
     cg_t_products.categoryId2 = categoryId2;
     cg_t_products.categoryId3 = categoryId3;
     cg_t_products.categoryId4 = categoryId4;
     cg_t_products.categoryId = categoryId;
     cg_t_products.infoStatus = infoStatus;
     cg_t_products.poUnit = poUnit;
     cg_t_products.packing = packing;
     return cg_t_products;
 }