Exemple #1
0
 /// <summary>
 /// Create a new tbl_ProductTypes object.
 /// </summary>
 /// <param name="productTypeID">Initial value of the ProductTypeID property.</param>
 /// <param name="pT_Name">Initial value of the PT_Name property.</param>
 public static tbl_ProductTypes Createtbl_ProductTypes(global::System.Int32 productTypeID, global::System.String pT_Name)
 {
     tbl_ProductTypes tbl_ProductTypes = new tbl_ProductTypes();
     tbl_ProductTypes.ProductTypeID = productTypeID;
     tbl_ProductTypes.PT_Name = pT_Name;
     return tbl_ProductTypes;
 }
Exemple #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tbl_ProductTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotbl_ProductTypes(tbl_ProductTypes tbl_ProductTypes)
 {
     base.AddObject("tbl_ProductTypes", tbl_ProductTypes);
 }