Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the vw_Cat EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTovw_Cat(vw_Cat vw_Cat)
 {
     base.AddObject("vw_Cat", vw_Cat);
 }
Пример #2
0
 /// <summary>
 /// Create a new vw_Cat object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="categoryID">Initial value of the CategoryID property.</param>
 public static vw_Cat Createvw_Cat(global::System.Int32 id, global::System.Int32 categoryID)
 {
     vw_Cat vw_Cat = new vw_Cat();
     vw_Cat.ID = id;
     vw_Cat.CategoryID = categoryID;
     return vw_Cat;
 }