/// <summary> /// Deprecated Method for adding a new object to the ProductTypeAttributes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductTypeAttributes(ProductTypeAttribute productTypeAttribute) { base.AddObject("ProductTypeAttributes", productTypeAttribute); }
/// <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; }