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