Closed hmobius closed 11 years ago
If you call
var db = Database.Open().Albums.First();
or
var db = Database.Open().Albums.FirstOrDefault();
you'll get a RuntimeBinderException thrown back. Suggest that it should throw an InvalidOperationException instead.
Applies also to Single() and SingleOrDefault()
If you call
or
you'll get a RuntimeBinderException thrown back. Suggest that it should throw an InvalidOperationException instead.