New Posts New Posts RSS Feed: Creating a complex type from different stored procedures
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Creating a complex type from different stored procedures

 Post Reply Post Reply
Author
pponzano View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Apr-2011
Location: Italy
Posts: 165
Post Options Post Options   Quote pponzano Quote  Post ReplyReply Direct Link To This Post Topic: Creating a complex type from different stored procedures
    Posted: 12-Jun-2012 at 4:12am
Hello,
I'm writing a batch report generator that will call some different storeprocedure to obtain all the data it needs, then I'll use that source data for generating the report..

I don't want each subreport to call a storeprocedure and I can't access the data directly....

Consider this meta-language store

SP_USER_DETAILS
SP_ORDER_INFORMATION
SP_PRODUCT_INFORMATION

I wish to create a complex object (or a POCO object but this would have complex object derived from the mapping of devforce)

What's the best approach for doing so?

If in my console application I'll add a reference to the server assembly (I usually develop a server and a client dll) can I avoid the access to the web server? so it can run even if the web server is down?

Thanks
Back to Top
sbelini View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 13-Aug-2010
Location: Oakland
Posts: 786
Post Options Post Options   Quote sbelini Quote  Post ReplyReply Direct Link To This Post Posted: 12-Jun-2012 at 5:05pm
Hi Paolo,
 
In the DRC you will also find information about Complex Types.
 
As for the best approach for your problem, our Professional Services team would be able to better assist you. Let me know if you would like me to get you in touch with them.
 
As for your last question, yes, you can have an n-tier and a 2-tier EntityManager. You can always set IdeaBladeConfig.Instance.ObjectServer.ClientSettings.IsDistributed dynamically.
Note that you will need to have connectionString set in the client's app.config (or resolve it dynamically)
 
Regards,
   Silvio.
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down