For the last 1 month, I had the big problem with orm.net which was not allowing me to see the columns (can see tables) in the tree, and also it was not generating any columns. Today I solved it after many hours spent. I figured out that the dataset has a localization property which was set to my current windows setting. The localization on my pc is windows, so keyboard settings and other culture settings are all in Turkish. That was somehow causing a problem to retrieve the columns. So, I added the following code to ORM.NET/Start.cs (line 47, into StartApp() function):
Application.CurrentCulture = new System.Globalization.CultureInfo("en-GB");
It solved my problem, any of you having problems like this, may find this useful :)
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
For the last 1 month, I had the big problem with orm.net which was not allowing me to see the columns (can see tables) in the tree, and also it was not generating any columns. Today I solved it after many hours spent. I figured out that the dataset has a localization property which was set to my current windows setting. The localization on my pc is windows, so keyboard settings and other culture settings are all in Turkish. That was somehow causing a problem to retrieve the columns. So, I added the following code to ORM.NET/Start.cs (line 47, into StartApp() function):
Application.CurrentCulture = new System.Globalization.CultureInfo("en-GB");
It solved my problem, any of you having problems like this, may find this useful :)
Thanks.
I noticed a syntax error in my post:
"The localization on my pc is windows" should be "The localization on my pc is Turkish".