コード例 #1
0
        /// <summary>
        /// Create a new TB_Product object.
        /// </summary>
        /// <param name="tB_ProductID">Initial value of the TB_ProductID property.</param>
        public static TB_Product CreateTB_Product(global::System.Int32 tB_ProductID)
        {
            TB_Product tB_Product = new TB_Product();

            tB_Product.TB_ProductID = tB_ProductID;
            return(tB_Product);
        }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TB_Product EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTB_Product(TB_Product tB_Product)
 {
     base.AddObject("TB_Product", tB_Product);
 }