AppEntity

Posts   
 
    
hommels
User
Posts: 23
Joined: 01-Jul-2005
# Posted on: 01-Jul-2005 17:57:15   

How to you convert these lines of self servicing code internal AppEntity _AppEntity = null;

if ( !_AppEntity.FetchUsingUCAppName( appName, prefetch ) {

}

to Adapter Model since Adapter model does not have AppEntityBase which contains .FetchUsingUCAppName

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 01-Jul-2005 20:47:27   

_AppEntity.AppName = appName; then, you can call

adapter.FetchEntityUsingUniqueConstraint(_AppEntity, _AppEntity.ConstructFilterForUCAppName(), prefetch);

to fetch the entity simple_smile

Frans Bouma | Lead developer LLBLGen Pro