func (ep *EquipmentPosition) Unwrap() *EquipmentPosition {
	tx, ok := ep.config.driver.(*txDriver)
	if !ok {
		panic("ent: EquipmentPosition is not a transactional entity")
	}
	ep.config.driver = tx.drv
	return ep
}
// Unwrap unwraps the entity that was returned from a transaction after it was closed,
// so that all next queries will be executed through the driver which created the transaction.
Unwrap unwraps the entity that was returned from a transaction after it was closed,
so that all next queries will be executed through the driver which created the transaction.
// Unwrap unwraps the entity that was returned from a transaction after it was closed // so that all next queries will be executed through the driver which created the transaction .
func (ep *EquipmentPosition) Unwrap() *EquipmentPosition {
	tx, ok := ep.config.driver.(*txDriver)
	if !ok {
		panic("ent: EquipmentPosition is not a transactional entity")
	}
	ep.config.driver = tx.drv
	return ep
}
func ( ep * EquipmentPosition ) Unwrap ( ) * EquipmentPosition { tx , ok := ep . config . driver . ( * txDriver ) if ! ok { panic ( " " ) } ep . config . driver = tx . drv return ep }
Unwrap unwraps the entity that was returned from a transaction after it was closed,
so that all next queries will be executed through the driver which created the transaction.
Unwrap unwraps the entity that was returned from a transaction after it was closed so that all next queries will be executed through the driver which created the transaction .