This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
when i select in designer "Database Provider: MySql5" http://screencast.com/t/MTU4ZTNjY it use MsSQL anyway and i need set provider in code _context.DataProvider = DataProvider.MySql5;
I Use MS VS2010 Pro. Win Vista.
|
|
|
The designer doesn't create the LightSpeedContext for you, so what you were getting was the default runtime provider (which is SQL Server 2005). What the designer can do is create config file entries for you, so that when you create the LightSpeedContext it can pick up the exported designer settings. To do this, right-click the model and choose Get Started. The top sample contains a fragment you can copy into your config file; the second sample shows how to create the context so as to pick up this configuration. |
|
|
thanks for the quick response |
|