/// <summary> /// Deprecated Method for adding a new object to the Product_Card_Reference EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProduct_Card_Reference(Product_Card_Reference product_Card_Reference) { base.AddObject("Product_Card_Reference", product_Card_Reference); }
/// <summary> /// Create a new Product_Card_Reference object. /// </summary> /// <param name="card_no">Initial value of the card_no property.</param> /// <param name="option_name">Initial value of the option_name property.</param> /// <param name="id">Initial value of the id property.</param> public static Product_Card_Reference CreateProduct_Card_Reference(global::System.Int32 card_no, global::System.String option_name, global::System.Int32 id) { Product_Card_Reference product_Card_Reference = new Product_Card_Reference(); product_Card_Reference.card_no = card_no; product_Card_Reference.option_name = option_name; product_Card_Reference.id = id; return product_Card_Reference; }