/// <summary> /// Create a new LICHSUCONGNO object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="soTienPhatSinh">Initial value of the SoTienPhatSinh property.</param> /// <param name="tienMat">Initial value of the TienMat property.</param> /// <param name="tienThe">Initial value of the TienThe property.</param> /// <param name="duNoCuoi">Initial value of the DuNoCuoi 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 LICHSUCONGNO CreateLICHSUCONGNO(global::System.Int32 id, global::System.Decimal soTienPhatSinh, global::System.Decimal tienMat, global::System.Decimal tienThe, global::System.Decimal duNoCuoi, global::System.Boolean visual, global::System.Boolean deleted, global::System.Boolean edit) { LICHSUCONGNO lICHSUCONGNO = new LICHSUCONGNO(); lICHSUCONGNO.ID = id; lICHSUCONGNO.SoTienPhatSinh = soTienPhatSinh; lICHSUCONGNO.TienMat = tienMat; lICHSUCONGNO.TienThe = tienThe; lICHSUCONGNO.DuNoCuoi = duNoCuoi; lICHSUCONGNO.Visual = visual; lICHSUCONGNO.Deleted = deleted; lICHSUCONGNO.Edit = edit; return lICHSUCONGNO; }
/// <summary> /// Deprecated Method for adding a new object to the LICHSUCONGNOes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLICHSUCONGNOes(LICHSUCONGNO lICHSUCONGNO) { base.AddObject("LICHSUCONGNOes", lICHSUCONGNO); }
public static int Them(LICHSUCONGNO item, Transit mTransit) { mTransit.KaraokeEntities.LICHSUCONGNOes.AddObject(item); mTransit.KaraokeEntities.SaveChanges(); return item.ID; }