Ejemplo n.º 1
0
        /// <summary>
        /// Create a new optionalproduct object.
        /// </summary>
        /// <param name="id">Initial value of the id property.</param>
        public static optionalproduct Createoptionalproduct(global::System.Int32 id)
        {
            optionalproduct optionalproduct = new optionalproduct();

            optionalproduct.id = id;
            return(optionalproduct);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the optionalproducts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTooptionalproducts(optionalproduct optionalproduct)
 {
     base.AddObject("optionalproducts", optionalproduct);
 }