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
Create an Oracle Persistence provider for Even #9
Comments
I believe it will be easier to have this in a separated project for now. |
Ho Ho Ho! Take a look at Even.Persistence.Sql I just implemented. You should be able to extend the new |
Thanks, will take a look. |
I like the idea of using the ADO.NET provider model to make the persistence layer easy to use. I have to do some added work since I'm not directly linking in the Oracle binaries. |
I never used oracle, so I don't know exactly the differences in the provider space, but I don't think it would be bad to reference ODP directly. The reason I created a single project for SQL and MySQL is because 1) I'm lazy and I didn't want to have to publish multiple packages, and 2) because mostly they work the same using only the abstract System.Data classes. But this is not something I'm content with. To detect duplicate key violations with mysql, I'm checking for the exception message instead of the error code which could be done if I had access to the MySqlException class. So, I wouldn't be afraid of creating a dedicated package and depending directly on the oracle provider. I think we need to test some concepts, it's too soon to settle on a format for these things. |
Sometime today or tomorrow I'll push up changes to my fork, some code might help you see what's involved. |
I'm going to attempt to create an Oracle persistence provider/plugin for Even.
What is the desired model for persistence providers, a separate project, like the Even.MySql project or all in one solution?
The text was updated successfully, but these errors were encountered: