Esempio n. 1
0
 public void RemoveDesignationMasterRow(DesignationMasterRow row) {
     this.Rows.Remove(row);
 }
Esempio n. 2
0
 public DesignationMasterRowChangeEvent(DesignationMasterRow row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
Esempio n. 3
0
 public void AddDesignationMasterRow(DesignationMasterRow row) {
     this.Rows.Add(row);
 }
Esempio n. 4
0
 public EmployeeMasterRow AddEmployeeMasterRow(
             System.Guid EmployeeID, 
             string EmployeeNo, 
             string FirstName, 
             string MiddleName, 
             string LastName, 
             string PostalAddress, 
             string PermanentAddress, 
             System.DateTime DateOfBirth, 
             string FatherName, 
             decimal Height, 
             string VisibleMarks, 
             System.Guid OfficeID, 
             DepartmentMasterRow parentDepartmentMasterRowByFK_EmployeeMaster_DepartmentMaster1, 
             DesignationMasterRow parentDesignationMasterRowByFK_EmployeeMaster_DesignationMaster, 
             decimal Salary, 
             decimal Allowances, 
             System.DateTime StartDate, 
             System.DateTime EndDate, 
             string CreatedBy, 
             System.DateTime CreatedAt, 
             string ModifiedBy, 
             System.DateTime ModifiedAt, 
             bool IsDeleted, 
             string DeletedBy, 
             System.DateTime DeletedAt, 
             string NameOfEmployee) {
     EmployeeMasterRow rowEmployeeMasterRow = ((EmployeeMasterRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             EmployeeID,
             EmployeeNo,
             FirstName,
             MiddleName,
             LastName,
             PostalAddress,
             PermanentAddress,
             DateOfBirth,
             FatherName,
             Height,
             VisibleMarks,
             OfficeID,
             null,
             null,
             Salary,
             Allowances,
             StartDate,
             EndDate,
             CreatedBy,
             CreatedAt,
             ModifiedBy,
             ModifiedAt,
             IsDeleted,
             DeletedBy,
             DeletedAt,
             NameOfEmployee};
     if ((parentDepartmentMasterRowByFK_EmployeeMaster_DepartmentMaster1 != null)) {
         columnValuesArray[12] = parentDepartmentMasterRowByFK_EmployeeMaster_DepartmentMaster1[0];
     }
     if ((parentDesignationMasterRowByFK_EmployeeMaster_DesignationMaster != null)) {
         columnValuesArray[13] = parentDesignationMasterRowByFK_EmployeeMaster_DesignationMaster[0];
     }
     rowEmployeeMasterRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowEmployeeMasterRow);
     return rowEmployeeMasterRow;
 }