ActionProcedures & RetrievalProcedures signature

Posts   
 
    
Marcus avatar
Marcus
User
Posts: 747
Joined: 23-Apr-2004
# Posted on: 22-Jul-2006 20:42:41   

Frans,

These classes still take DataAccessAdapter rather than IDataAccessAdapter... I was hoping this would be changed in V2. simple_smile

Marcus

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 22-Jul-2006 21:07:34   

It's not that weird actually: the procs are tied to the DataAccessAdapter in the same namespace, as they're tied to the db type they're defined in. That's the reason the class was used, not the interface, as the interface would suggest that you could pass another DataAccessAdapter instance, which could probably not work.

Frans Bouma | Lead developer LLBLGen Pro
Marcus avatar
Marcus
User
Posts: 747
Joined: 23-Apr-2004
# Posted on: 22-Jul-2006 21:13:12   

Otis wrote:

It's not that weird actually: the procs are tied to the DataAccessAdapter in the same namespace, as they're tied to the db type they're defined in. That's the reason the class was used, not the interface, as the interface would suggest that you could pass another DataAccessAdapter instance, which could probably not work.

Ahh ok! I'll have to keep the casts then! simple_smile