markrendle / Simple.Data

A light-weight, dynamic data access component for C# 4.0
MIT License
1.33k stars 303 forks source link

Calling With with no arguments should throw an ArgumentException #283

Closed hmobius closed 11 years ago

hmobius commented 11 years ago

If you call With with no arguments, Simple.Data throws a System.Reflection.TargetInvocationException.

db.Albums.All().With();

It should throw an ArgumentException.