convenient call for abstractdao #delete object . entity must attached to an entity context . concode_field_sep List<ToManyTarget2> toManyTarget2List concode_elem_sep Long toOneTarget2__resolvedKey concode_elem_sep Long id concode_elem_sep DaoSession daoSession concode_elem_sep RelationSource2Dao myDao concode_elem_sep Long toOneId concode_elem_sep ToOneTarget2 toOneTarget2 concode_field_sep Long getToOneId concode_elem_sep ToOneTarget2 getToOneTarget2 concode_elem_sep void resetToManyTarget2List concode_elem_sep void setId concode_elem_sep void update concode_elem_sep void refresh concode_elem_sep Long getId concode_elem_sep List<ToManyTarget2> getToManyTarget2List concode_elem_sep void setToOneId concode_elem_sep void setToOneTarget2 concode_elem_sep void __setDaoSession
void function ( ) { if ( myDao == null ) { throw new DaoException ( "srini_string" ) ; } myDao . delete ( this ) ; }