/// <summary> /// Create a new product object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="product_code">Initial value of the product_code property.</param> /// <param name="product_type">Initial value of the product_type property.</param> /// <param name="insert_point">Initial value of the insert_point property.</param> /// <param name="stamp">Initial value of the stamp property.</param> /// <param name="access_criteria">Initial value of the access_criteria property.</param> public static product Createproduct(global::System.Int32 id, global::System.String product_code, global::System.Int32 product_type, global::System.String insert_point, global::System.DateTime stamp, global::System.String access_criteria) { product product = new product(); product.id = id; product.product_code = product_code; product.product_type = product_type; product.insert_point = insert_point; product.stamp = stamp; product.access_criteria = access_criteria; return product; }
/// <summary> /// Deprecated Method for adding a new object to the products EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToproducts(product product) { base.AddObject("products", product); }