The problem of using llblgen in WCF

Posts   
 
    
Posts: 5
Joined: 12-Apr-2009
# Posted on: 18-May-2009 11:22:51   

Hi, My project's Architecture is Web<--->WCF<--->ORM<--->SQLServer. llblgen is v2.6 and use adapter

Now in project SD.LLBLGen.Pro.ORMSupportClasses is used(EntityCollection/LLBLGenProDataSource2), but I don't want using SD.LLBLGen.Pro.ORMSupportClasses in Web and just throught WCF. How to do?

And another question: When I add a new database which is same as old db that project used except db name, and also change the connectionStrings in Web.config. But when I run project and do some query, the target db is always the old one. It means if I want change my db to another, the db name must not be changed. also the connectionStrings has been changed in config? I think it's not well. thanks.

Walaa avatar
Walaa
Support Team
Posts: 14983
Joined: 21-Aug-2005
# Posted on: 18-May-2009 17:16:16   

Hi, My project's Architecture is Web<--->WCF<--->ORM<--->SQLServer. llblgen is v2.6 and use adapter

Now in project SD.LLBLGen.Pro.ORMSupportClasses is used(EntityCollection/LLBLGenProDataSource2), but I don't want using SD.LLBLGen.Pro.ORMSupportClasses in Web and just throught WCF. How to do?

Don't use the LLBLGenProDataSource.

And another question: When I add a new database which is same as old db that project used except db name, and also change the connectionStrings in Web.config. But when I run project and do some query, the target db is always the old one. It means if I want change my db to another, the db name must not be changed. also the connectionStrings has been changed in config? I think it's not well. thanks.

Please check Catalog name overwriting

Posts: 5
Joined: 12-Apr-2009
# Posted on: 19-May-2009 01:51:01   

OK, thank you Walaa.