public usersRow AddusersRow(string login, string password, string usrgrant, workersRow parentworkersRowByFK_users_workers) {
     usersRow rowusersRow = ((usersRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             null,
             login,
             password,
             usrgrant,
             null};
     if ((parentworkersRowByFK_users_workers != null)) {
         columnValuesArray[4] = parentworkersRowByFK_users_workers[0];
     }
     rowusersRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowusersRow);
     return rowusersRow;
 }
 public void RemoveworkersRow(workersRow row) {
     this.Rows.Remove(row);
 }
 public workersRowChangeEvent(workersRow row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
 public void AddworkersRow(workersRow row) {
     this.Rows.Add(row);
 }