This question is locked. New answers and comments are not allowed.
Hello,
I decided to try and explore this tool today, so downloaded and installed the latest version. I'm using Visual Studio 2013 Professional.
I have attempted to use code first creation of the db, and it seemed to work, in that I got no generation errors, and when I updated the database from the model, it created the tables as I expected.
However, when I try to use it in code, I get the following:
"An exception of type 'Telerik.OpenAccess.OpenAccessException' occurred in Telerik.OpenAccess.dll but was not handled in user code
Additional information: Input string was not in a correct format."
This occurs on every single entity I try to query.
Example code that causes this issue is:
var dbContext = new HwyData.HwyEntitiesModel();
var up = dbContext.UserProfiles.FirstOrDefault<UserProfile>();
I even tried creating a single entity, with just an id and a string in it, and it still errored out for that.
I'm at a loss as to what to do now as I'm clearly missing something.
I decided to try and explore this tool today, so downloaded and installed the latest version. I'm using Visual Studio 2013 Professional.
I have attempted to use code first creation of the db, and it seemed to work, in that I got no generation errors, and when I updated the database from the model, it created the tables as I expected.
However, when I try to use it in code, I get the following:
"An exception of type 'Telerik.OpenAccess.OpenAccessException' occurred in Telerik.OpenAccess.dll but was not handled in user code
Additional information: Input string was not in a correct format."
This occurs on every single entity I try to query.
Example code that causes this issue is:
var dbContext = new HwyData.HwyEntitiesModel();
var up = dbContext.UserProfiles.FirstOrDefault<UserProfile>();
I even tried creating a single entity, with just an id and a string in it, and it still errored out for that.
I'm at a loss as to what to do now as I'm clearly missing something.