StrataFrame Forum
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
reference to current connection object
http://forum.strataframe.net/Topic23417.aspx
By Keith Chisarik
-
6/8/2009
How to a get a reference to the current SQL connection (SqlConnection) object for a datasource?
By Greg McGuffey
-
6/8/2009
Try using the CreateBlankDbConnection() method on the data source.
By Trent L. Taylor
-
6/9/2009
Greg is correct in that on any data source you can call the CreateBlankDbConnection() and it will give you a connection object. For example:
MicroFour.StrataFrame.Data.DataBasics.DataSources("").CreateBlankDbConnection()