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