﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » setting APP_NAME using SF tools</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 05 Apr 2026 15:02:50 GMT</lastBuildDate><ttl>20</ttl><item><title>setting APP_NAME using SF tools</title><link>http://forum.strataframe.net/FindPost29203.aspx</link><description>Is there a way using either SF Connection manager or Shared settings file to set the value for &lt;font color=#191970 size=2&gt;APP_NAME? It is normally set via the connection string (;Application Name=MyAppName)&lt;/font&gt;&lt;br/&gt;&lt;br/&gt;&lt;font color=#191970 size=2&gt;Thanks&lt;/font&gt;</description><pubDate>Tue, 21 Dec 2010 17:18:04 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: setting APP_NAME using SF tools</title><link>http://forum.strataframe.net/FindPost29232.aspx</link><description>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. &lt;br/&gt;&lt;br/&gt;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.&lt;br/&gt;&lt;br/&gt;&lt;span&gt;[codesnippet]public static void SetDataSources()&lt;br/&gt;{&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //-- Get connection string however you desire...&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; connection manager or shared settings...&lt;br/&gt;&amp;nbsp;&amp;nbsp; ConnectionManager.SetConnections();&lt;br/&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //-- Now that it is set, just add the app_name to it.&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataLayer.DataSources[""].ConnectionString += ";Application Name=MyApp;";&lt;br/&gt;}[/codesnippet]&lt;/span&gt;</description><pubDate>Tue, 21 Dec 2010 17:18:04 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item></channel></rss>