/// <summary> /// Create a new NHACUNGCAP object. /// </summary> /// <param name="nhaCungCapID">Initial value of the NhaCungCapID 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 NHACUNGCAP CreateNHACUNGCAP(global::System.Int32 nhaCungCapID, global::System.Boolean visual, global::System.Boolean deleted, global::System.Boolean edit) { NHACUNGCAP nHACUNGCAP = new NHACUNGCAP(); nHACUNGCAP.NhaCungCapID = nhaCungCapID; nHACUNGCAP.Visual = visual; nHACUNGCAP.Deleted = deleted; nHACUNGCAP.Edit = edit; return nHACUNGCAP; }
/// <summary> /// Deprecated Method for adding a new object to the NHACUNGCAPs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToNHACUNGCAPs(NHACUNGCAP nHACUNGCAP) { base.AddObject("NHACUNGCAPs", nHACUNGCAP); }