/// <summary>
 /// Deprecated Method for adding a new object to the productpatterns EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToproductpatterns(productpattern productpattern)
 {
     base.AddObject("productpatterns", productpattern);
 }
 /// <summary>
 /// Create a new productpattern object.
 /// </summary>
 /// <param name="idProductPatterns">Initial value of the idProductPatterns property.</param>
 /// <param name="pattern">Initial value of the pattern property.</param>
 /// <param name="producttype_id">Initial value of the producttype_id property.</param>
 /// <param name="enable">Initial value of the enable property.</param>
 /// <param name="sequence">Initial value of the sequence property.</param>
 public static productpattern Createproductpattern(global::System.Int64 idProductPatterns, global::System.String pattern, global::System.Int64 producttype_id, global::System.Boolean enable, global::System.Int64 sequence)
 {
     productpattern productpattern = new productpattern();
     productpattern.idProductPatterns = idProductPatterns;
     productpattern.pattern = pattern;
     productpattern.producttype_id = producttype_id;
     productpattern.enable = enable;
     productpattern.sequence = sequence;
     return productpattern;
 }