Omission of KeyFieldAttribute error #49

Closed
hisystems opened this Issue Apr 9, 2012 · 0 comments

Projects

None yet

1 participant

@hisystems
Owner

Currently, a NullReferenceException occurs when the KeyField is not specified. It would be better to provide a more useful error message.

@hisystems hisystems was assigned Apr 9, 2012
@hisystems hisystems added a commit that closed this issue Apr 10, 2012
@hisystems Improved error message when KeyFieldAttribute omitted or KeyFieldname…
… not overridden. Closes #49.

An InvalidOperationException is thrown if the ObjectExists or ObjectByKey functions are called and KeyFieldName is unknown.
4a1a504
@hisystems hisystems closed this in 4a1a504 Apr 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment