I have two tables 'toc' and 'content' with the following structure:
toc
id
name(50)
content
id
text(500)
title(50)
tocid
I am searching the for some text within toc.name, content.text and content.title and require a single resultset.
Is it possible to combine the search results using linq(c#). I want the resultset as something like this:
id MatchedRecord tocid(null for records from toc)
--- ------------------- ------
xx xxxxxxxxxxxxxxxxx xxxx