I have the following code attempting to complete a query to fill a datalist. I need to join them but I can't find entity spaces documentation that follows the syntax style I am using, I am attempting to change/rewrite as little of this code as possible. Please help me complete the query.
Let us say that table estimtes contacts field id which contractors also contains and I want to join on it, this is what I have so far:
Estimates resest = new Estimates();
Contractors cons = new Contractors();
cons.Query.LoadDataTable();
DataList dl = (DataList)pn90day.FindControl("dlpreapprovalestimates");
resest.Query.Where(resest.Query.FDDKey.Equal(FDDkey));
resest.Query.InnerJoin(