Menu

Solution for a schema problem.

Help
Baris
2006-04-17
2013-03-22
  • Baris

    Baris - 2006-04-17

    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.

     
    • Baris

      Baris - 2006-04-17

      I noticed a syntax error in my post:

      "The localization on my pc is windows" should be "The localization on my pc is Turkish".

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.