StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
setting APP_NAME using SF tools
setting APP_NAME using SF tools
Post Reply
Like
0
setting APP_NAME using SF tools
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Keith Chisarik
Keith Chisarik
posted 14 Years Ago
ANSWER
Topic Details
Share Topic
Group: StrataFrame Users
Posts: 939,
Visits: 40K
Is there a way using either SF Connection manager or Shared settings file to set the value for
APP_NAME? It is normally set via the connection string (;Application Name=MyAppName)
Thanks
Keith Chisarik
Sigma Data Systems
Reply
Like
0
Greg McGuffey
Greg McGuffey
posted 14 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 2K,
Visits: 6.6K
Sorry I missed this. I don't think there is way to have that set with either the connection manager or shared settings file, but I'm asking Trent about it.
Another possibility is to just manually add it to the connection string after it has been set by either one of these. I.e. all either of these tools do is set a connection string. You can modify it at will.
public static void SetDataSources()
{
//-- Get connection string however you desire...
// connection manager or shared settings...
ConnectionManager.SetConnections();
//-- Now that it is set, just add the app_name to it.
DataLayer.DataSources[""].ConnectionString += ";Application Name=MyApp;";
}
Edited
14 Years Ago by
Greg McGuffey
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search