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