Open xoniuqe opened 3 years ago
Generally, you code should work, after fixing the HasDefaultValueSql("15:30#");
syntax error (#15:30#
is correct).
I tested this using the following code:
It runs successfully and generates the following output:
However, while testing the code, I came across an issue, where a single command containing multiple SQL statements (separated by ;
characters), could lead to incorrectly assigned parameters (or missing parameters), when being split in to multiple commands. This has been fixed in #97.
I therefore suggest to fix the syntax error and then give it another try, If it still fails, use the latest daily build and try again.
Hello my fellow developers! The good stuff at the beginning: I'm having a blast with the current alpha of this provider and my project is moving forward fast, also because of the fast reactions and fixes of all of you.
Today I stumbled over a strange behaviour: I was defining some entities via the fluent API and defined an owned entity for one of my classes.
I did it like so:
If start the program with this configuration I get the following exception:
System.Data.OleDb.OleDbException: 'Für mindestens einen erforderlichen Parameter wurde kein Wert angegeben.'
If I add the uncommented part with the
HasColumnName
everything works as I would expect it.This not a huge deal because I can just use this function, but it seems like a bug in general.