/// <summary>
 /// Deprecated Method for adding a new object to the INHOADONs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToINHOADONs(INHOADON iNHOADON)
 {
     base.AddObject("INHOADONs", iNHOADON);
 }
Ejemplo n.º 2
0
 public static int Them(INHOADON item, Transit mTransit)
 {
     mTransit.KaraokeEntities.INHOADONs.AddObject(item);
     mTransit.KaraokeEntities.SaveChanges();
     return item.InHoaDonID;
 }
 /// <summary>
 /// Create a new INHOADON object.
 /// </summary>
 /// <param name="inHoaDonID">Initial value of the InHoaDonID property.</param>
 /// <param name="visual">Initial value of the Visual property.</param>
 /// <param name="deleted">Initial value of the Deleted property.</param>
 /// <param name="edit">Initial value of the Edit property.</param>
 public static INHOADON CreateINHOADON(global::System.Int32 inHoaDonID, global::System.Boolean visual, global::System.Boolean deleted, global::System.Boolean edit)
 {
     INHOADON iNHOADON = new INHOADON();
     iNHOADON.InHoaDonID = inHoaDonID;
     iNHOADON.Visual = visual;
     iNHOADON.Deleted = deleted;
     iNHOADON.Edit = edit;
     return iNHOADON;
 }