Make SubSonic use existing <connectionstring> instead of new data provider

Posted by paolodm on Stack Overflow See other posts from Stack Overflow or by paolodm
Published on 2010-04-22T14:53:04Z Indexed on 2010/04/22 14:53 UTC
Read the original article Hit count: 193

Filed under:
|

I am adding SubSonic to a legacy application. This application already defines a ConnectionString. Is there a way I can use this connectionstring instead of creating a new Data Provider entry?

I know that one solution is programmatically setting this in the code (i.e. SubSonic.DataService.GetInstance("Name").SetDefaultConnectionString("ConnString") ). However, is there a more elegant solution?

© Stack Overflow or respective owner

Related posts about subsonic

Related posts about subsonic2.2