예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductTypeAttributes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductTypeAttributes(ProductTypeAttribute productTypeAttribute)
 {
     base.AddObject("ProductTypeAttributes", productTypeAttribute);
 }
예제 #2
0
 /// <summary>
 /// Create a new ProductTypeAttribute object.
 /// </summary>
 /// <param name="attribute_id">Initial value of the attribute_id property.</param>
 public static ProductTypeAttribute CreateProductTypeAttribute(global::System.Int32 attribute_id)
 {
     ProductTypeAttribute productTypeAttribute = new ProductTypeAttribute();
     productTypeAttribute.attribute_id = attribute_id;
     return productTypeAttribute;
 }