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