tumtumtum / Shaolinq

ORM for .NET with full LINQ support for Postgres, Sqlite, MySql and SqlServer
Other
127 stars 19 forks source link

Examples aren't working #102

Open erlenddahl opened 4 years ago

erlenddahl commented 4 years ago

The project looks very promising, but the examples aren't working. They don't compile because of syntax errors, and when I believe I have fixed them correctly, I still get an "System.ArgumentNullException" on the "var model = DataAccessModel ..." line ("Parameter name: type").

Working examples and some more documentation would be great for newcomers. For example; must all classes and properties be abstract? Probably yes, but it's not mentioned anywhere, so it's hard for us to know. During my initial testing, I have received multiple different exceptions on the above mentioned DataAccessModel creation line, but none of them are very informative (TypeLoadException, ArgumentNullException, with no project specific messages).