vici

How do I order by NEWID in CoolStorage?

How can I order my resultset by NEWID to get a random order? ...

Vici.CoolStorage: filter with ManyToOne and ManyToMany relation

Hi, I got an exception in Vici.CoolStorage 'Unable to cast object of type 'System.String' to type 'QueryExpression' when using the following filter on the .List() method of my Event class: Event.List("has(Resource where has(Teams where TeamID = @TeamID))", "@TeamID", teamID); -> Event - Resource = ManyToOne relation ...

How can I use the value of a ViewComponent's parameter in the component's view without passing it as ViewData?

Consider a ViewComponent that renders paging navigation. One of the parameters passed to the component is the current PageIndex (index of the viewed page). How can I use this passed value in my ViewComponents template without putting it into the ViewData? -- ViewComponent: [ComponentName("GalleryPager")] public class PagerComponent : ...