func (wo *WorkOrders) FromRows(rows *sql.Rows) error {
	for rows.Next() {
		scanwo := &WorkOrder{}
		if err := scanwo.FromRows(rows); err != nil {
			return err
		}
		*wo = append(*wo, scanwo)
	}
	return nil
}
// FromRows scans the sql response data into WorkOrders.
FromRows scans the sql response data into WorkOrders.
// FromRows scans the sql response data into WorkOrders .
func (wo *WorkOrders) FromRows(rows *sql.Rows) error {
	for rows.Next() {
		scanwo := &WorkOrder{}
		if err := scanwo.FromRows(rows); err != nil {
			return err
		}
		*wo = append(*wo, scanwo)
	}
	return nil
}
func ( wo * WorkOrders ) FromRows ( rows * sql . Rows ) error { for rows . Next ( ) { scanwo := & WorkOrder { } if err := scanwo . FromRows ( rows ) ; err != nil { return err } * wo = append ( * wo , scanwo ) } return nil }
FromRows scans the sql response data into WorkOrders.
FromRows scans the sql response data into WorkOrders .