Expanding the Category\Tags Fluent API
Can someone spend their lunch hour to give us an easier way to query based on categories and tags?
Like
App.WorkWith().Events.InCategories(
"Special Days"
).WithTags(
new
List<
string
>()
"2010"
,
"2011"
);
Hello Steve,
Using the fluent API, you should work with GetValue DataExntessions methods. Please check this thread
www.sitefinity.com/.../query-library-items-by-tag.aspx
Regards,
Ivan Dimitrov
the Telerik team
Hey Ivan,
That's what I mean...
So while it is being done in the context of Fluent, it's hardly fluent. The amount of posts on the subject should be enough for someone to just want to wrap them into a fluent method.
Fluent should be self describing....
So for example this
.Where(ci => ((IList<Guid>)ci.GetValue(
"Category"
))
.InCategory(
"CategoryName"
)
Hello Steve,
Yes, I agree with you and this is why where are making fixes each week and trying to improve developers and users experience.
Regards,
Ivan Dimitrov
the Telerik team
Great, I'll give it a whirl on this project with the predicate.
But can I please get a PITS# or new PITS issue on Category\Tag Fluent method\helpers please :)
Hi Steve,
Here is the PITS url.
Best wishes,
Ivan Dimitrov
the Telerik team