Skip to Content
0
Former Member
Nov 17, 2009 at 01:03 PM

CAF: How can I call the create method in BO from Application Service

28 Views

Hello!

When I create a Business Object in CAF I get some methods like "create" automatically.

With this method I can create the BO over a webservice.

My problem is: How can I call this method from the Application Service logic.

The problem is, that the EntityManeger, the SessionContext and the DataAccessService is NULL when I call only the create method.

How can I initilalize this?

Can anybody help me?

Thanks, Thomas