Hi guys,
We've come across a bug where the following code throws a NullReferenceException (on SVN r432):
SubSonic.SqlQuery q = new Select().From(Northwind.Tables.OrderDetail)
.InnerJoin(Northwind.Tables.Product)
.Where("CategoryID").IsEqualTo(5);
A workaround for the time being is for us to pass DataService.Provider into the constructor for Select(), but a better fix would be for the default constructor on SqlQuery to set the provider to this in the first place, rather than leaving it as null (I'll be posting a patch to CodePlex with this fix)
Thanks,
Steve