These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Connect to different datasources
PostPosted: Sat May 09, 2009 4:34 pm 
Newbie

Joined: Sat May 09, 2009 4:11 pm
Posts: 1
I want connect to different datasources.

ASP.Net
Nhibernate
MVC

DB 1: "Data Source=FESPINOZA\\SQLSERVER1;Initial Catalog=CATALOG1;User Id=USERX;Password=PASSX"
DB 2: "Data Source=FESPINOZA\\SQLSERVER2;Initial Catalog=CATALOG2;User Id=USERY;Password=PASSY"
DB 3: "Data Source=FESPINOZA\\SQLSERVER3;Initial Catalog=CATALOG3;User Id=USERZ;Password=PASSZ"

10 USERS CONNECTED TO DB 1
5 USERS CONNECTED TO DB 2
7 USERS CONNECTED TO DB 3

I see the link: http://www.codeproject.com/KB/aspnet/NH ... leDBs.aspx but i can't change the datasource.

I need help.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.