Open hmobius opened 10 years ago
It is a stupid thing to do, but if you call ExistsBy() on itself or twice in a chained command, Simple.Data throws a RuntimeBinderException.
RuntimeBinderException
var albumsExist = db.Albums.ExistsByGenreId(null).ExistsByGenreId(null);
In the interests of quashing RBEs, suggest this throws an InvalidOperationException instead.
InvalidOperationException
It is a stupid thing to do, but if you call ExistsBy() on itself or twice in a chained command, Simple.Data throws a
RuntimeBinderException
.In the interests of quashing RBEs, suggest this throws an
InvalidOperationException
instead.