/// <summary> /// Create a new DX_DEPARTMENT object. /// </summary> /// <param name="deptid">Initial value of the deptid property.</param> /// <param name="name">Initial value of the name property.</param> public static DX_DEPARTMENT CreateDX_DEPARTMENT(global::System.Int32 deptid, global::System.String name) { DX_DEPARTMENT dX_DEPARTMENT = new DX_DEPARTMENT(); dX_DEPARTMENT.deptid = deptid; dX_DEPARTMENT.name = name; return dX_DEPARTMENT; }
/// <summary> /// Deprecated Method for adding a new object to the DX_DEPARTMENT EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDX_DEPARTMENT(DX_DEPARTMENT dX_DEPARTMENT) { base.AddObject("DX_DEPARTMENT", dX_DEPARTMENT); }