S
shapper
Hello,
I have 3 SQL tables:
[Tags] > TagId, TagText
[Posts] > PostId, TagId, ...
[Files] > FileId, TagId, ...
I need to, using LINQ, select all records in Tags, including the
columns TagId and TagText, but adding a new column of type boolean
which is True if the tag is associated to a Post OR to a File, i.e.,
if the TagId exists in Posts or Files.
How can I do this?
Thanks,
Miguel
I have 3 SQL tables:
[Tags] > TagId, TagText
[Posts] > PostId, TagId, ...
[Files] > FileId, TagId, ...
I need to, using LINQ, select all records in Tags, including the
columns TagId and TagText, but adding a new column of type boolean
which is True if the tag is associated to a Post OR to a File, i.e.,
if the TagId exists in Posts or Files.
How can I do this?
Thanks,
Miguel