-
Notifications
You must be signed in to change notification settings - Fork 133
Description
I'm new to RepoDB. So far looks very good. An absolute requirement for me is to be able to only update properties I actually changed on the client side. The documentation for Update refers to a fields parameter that should fit the bill. However in the actual code this parameter does not exist. If I Query a single entity change one property and call update all columns are updated from the properties whether they were modified or not. Very bad. How can I control what columns are written during an update?
Couple of observations from a noob:
-
I'm using MySqlConnector. I did not realize I needed to call Bootstrap.Initiaize(). The exception thrown was NullReferenceException. It probably should be something more descriptive like "Did you forget to call Bootstrap?". No second chance for a good first impression kind of thing.
-
Add Single and SingleOrDefault instead if Query(...).SingleOrDefault(). Cumbersome especially with async.
Thanks for all the hard work you must have put into this. Very promising!!!
Jim