If I call ThenBy() directly on a table reference without a base command (All, FindAll etc), I'd expect a NullReferenceException to be thrown because there's no command to qualify. However, if I call any of the following
I get an InvalidOperationException because there's no OrderBy in the Command. For consistency, I think this should toe the same line as OrderBy and throw NullReferenceException.
If I call ThenBy() directly on a table reference without a base command (All, FindAll etc), I'd expect a NullReferenceException to be thrown because there's no command to qualify. However, if I call any of the following
I get an InvalidOperationException because there's no OrderBy in the Command. For consistency, I think this should toe the same line as OrderBy and throw NullReferenceException.