func (wot *WorkOrderTypes) FromRows(rows *sql.Rows) error {
	for rows.Next() {
		scanwot := &WorkOrderType{}
		if err := scanwot.FromRows(rows); err != nil {
			return err
		}
		*wot = append(*wot, scanwot)
	}
	return nil
}
// FromRows scans the sql response data into WorkOrderTypes.
FromRows scans the sql response data into WorkOrderTypes.
// FromRows scans the sql response data into WorkOrderTypes .
func (wot *WorkOrderTypes) FromRows(rows *sql.Rows) error {
	for rows.Next() {
		scanwot := &WorkOrderType{}
		if err := scanwot.FromRows(rows); err != nil {
			return err
		}
		*wot = append(*wot, scanwot)
	}
	return nil
}
func ( wot * WorkOrderTypes ) FromRows ( rows * sql . Rows ) error { for rows . Next ( ) { scanwot := & WorkOrderType { } if err := scanwot . FromRows ( rows ) ; err != nil { return err } * wot = append ( * wot , scanwot ) } return nil }
FromRows scans the sql response data into WorkOrderTypes.
FromRows scans the sql response data into WorkOrderTypes .