S
shapper
Hello,
I have the following method to get all tags in a table:
// GetTags
public IQueryable<Tag> GetTags(IList<String> names) {
IQueryable<Tag> tags = (from t in
context.aspnet_Tags
orderby t.Name descending
select new Tag {
Id = t.TagId,
Name = t.Name
}).AsQueryable();
return tags;
} // GetTags
How can I get only the tags which name is contained in names input?
I would like to not care about the case ...
Thanks,
Miguel
I have the following method to get all tags in a table:
// GetTags
public IQueryable<Tag> GetTags(IList<String> names) {
IQueryable<Tag> tags = (from t in
context.aspnet_Tags
orderby t.Name descending
select new Tag {
Id = t.TagId,
Name = t.Name
}).AsQueryable();
return tags;
} // GetTags
How can I get only the tags which name is contained in names input?
I would like to not care about the case ...
Thanks,
Miguel