internal static string GetConnectionString(string specifiedConnectionString, bool lookupConnectionString, bool appLevel)
{
//Your Conn String goes here!!
return Factory.ConnectionString;
}
Notice that a static Class is used since we don't need to waste memory instantiating strings.
References: http://forums.asp.net/p/997608/2209437.aspx
Specifically mentioned was to modify the SQLConnectionHelper.cs from: http://download.microsoft.com/download/a/b/3/ab3c284b-dc9a-473d-b7e3-33bacfcc8e98/ProviderToolkitSamples.msi
No comments:
Post a Comment