func (fps *FloorPlanScale) Unwrap() *FloorPlanScale {
	tx, ok := fps.config.driver.(*txDriver)
	if !ok {
		panic("ent: FloorPlanScale is not a transactional entity")
	}
	fps.config.driver = tx.drv
	return fps
}
// 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 (fps *FloorPlanScale) Unwrap() *FloorPlanScale {
	tx, ok := fps.config.driver.(*txDriver)
	if !ok {
		panic("ent: FloorPlanScale is not a transactional entity")
	}
	fps.config.driver = tx.drv
	return fps
}
func ( fps * FloorPlanScale ) Unwrap ( ) * FloorPlanScale { tx , ok := fps . config . driver . ( * txDriver ) if ! ok { panic ( " " ) } fps . config . driver = tx . drv return fps }
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 .