-
-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with columns that have Precision specified on SSDL metadata #78
Comments
Hello @elliot-j , Is it possible for you to create a sample project with this issue? We are currently making an issue cleanup and make sure we focus on issues people still require since it will be impossible to make them all (It's a free library!). Since that's has been a long time that this issue has been answered, it might also be already fixed. Best Regards, Jonathan |
Hi @JonathanMagnan here is a sample project that reproduces the issue on v.1.37 of Effort Framework. I also saw that I omitted that what version of EntityFramework i'm using in my original post. Due to driver limitations of the source database, the project is using EntityFramework v5.0.0 |
Thank a lot @elliot-j for the solution, We will look at it next week, Best Regards, Jonathan |
Hello @elliot-j , My developer has some error about the provider is not registered. Since that's not a database we support and most of them require some custom customization in the AppConfig, it's possible that you update the project to include everything (include Best Regards, Jonathan |
@JonathanMagnan Would giving you the installer for the DB drivers work ? The DB drivers that get referenced in the project depend on a bunch of other DLL's, and teasing out which one's would need to be included will take some digging. |
Anything will do the job as long as we are able to run the project ;) |
The database drivers can be found at https://drive.google.com/open?id=1c_wZgcG9jeG-VzBjzoun5cMVgT_1861v . I've include a quick README for installing the drivers. Note that you will need either VS 2013 or 2015 (any patch level) in order to register the provider in Visual Studio If you have any issues accessing, installing, or registering the provider let me know |
Thank @elliot-j , I will have my developer try it again probably tomorrow. Best Regards, Jonathan |
I am using Effort Framework to unit test with a Sybase ASE databse. I am able to access the database with the entity model in both my main project and unit test project, however when try to use Effort to create an in memory database, I get an exception.
Problem Code in Unit Test project
Exception Details: (System.Data.MetadataException)
Stack Trace
After looking at the .csdl and .ssdl files that Entity made, I believe I found the fields causing the problem.
SSDL
CSDL
I tried removing the Precision attribute from the SSDL fields, but I still received the same error.
Anyone thoughts on what is causing the exception and how I should resolve it?
Effort Framework Version 1.1.0
NMemory Version: 1.0.0
The text was updated successfully, but these errors were encountered: