Dependency Injection with DAL.DatabaseSpecific.ActionProcedures

Posts   
 
    
Posts: 18
Joined: 21-Mar-2011
# Posted on: 13-Apr-2011 10:09:44   

Hello, i am using dependency injection in project to verify when object has been updated. When i am using adapter.SaveEntity(object) - i can catch my object in AuditUpdateOfExistingEntity(IEntityCore). But when i use DAL.DatabaseSpecific.ActionProcedures, where can i catch my object being updated. Thanks

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 13-Apr-2011 11:13:29   

There is no Object/Entity when using SPs. So you should use the ORM (LLBLGen Pro) to Update entities. That's a recommendation simple_smile

Posts: 18
Joined: 21-Mar-2011
# Posted on: 13-Apr-2011 13:46:04   

Thanks for suggestion. I think i will manually call update method because i have to use stored procedure.