/// <summary>
 /// Create a new MAYIN object.
 /// </summary>
 /// <param name="mayInID">Initial value of the MayInID property.</param>
 /// <param name="hopDungTien">Initial value of the HopDungTien property.</param>
 /// <param name="soLanIn">Initial value of the SoLanIn 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>
 /// <param name="mayInHoaDon">Initial value of the MayInHoaDon property.</param>
 public static MAYIN CreateMAYIN(global::System.Int32 mayInID, global::System.Boolean hopDungTien, global::System.Int32 soLanIn, global::System.Boolean visual, global::System.Boolean deleted, global::System.Boolean edit, global::System.Boolean mayInHoaDon)
 {
     MAYIN mAYIN = new MAYIN();
     mAYIN.MayInID = mayInID;
     mAYIN.HopDungTien = hopDungTien;
     mAYIN.SoLanIn = soLanIn;
     mAYIN.Visual = visual;
     mAYIN.Deleted = deleted;
     mAYIN.Edit = edit;
     mAYIN.MayInHoaDon = mayInHoaDon;
     return mAYIN;
 }
Пример #2
0
 public BOMenuItemMayIn()
 {
     MenuItemMayIn = new MENUITEMMAYIN();
     MayIn = new MAYIN();
     MenuMon = new MENUMON();
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the MAYINs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMAYINs(MAYIN mAYIN)
 {
     base.AddObject("MAYINs", mAYIN);
 }