[This is preliminary documentation and is subject to change.]

This API obtains a lolCat at random from the database. Note that it does NOT fetch the entire DB and then select from that collection- RavenDB performs the randomization for us.

Namespace: MvcTestApp.Controllers
Assembly: MvcTestApp (in MvcTestApp.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public LolCat GetlolCatByRandom(
	int Random
)
Visual Basic
Public Function GetlolCatByRandom ( _
	Random As Integer _
) As LolCat
Visual C++
public:
LolCat^ GetlolCatByRandom(
	int Random
)

Parameters

Random
Type: System..::..Int32
Unused parameter (for now).

Return Value

A random lolCat from the database.

See Also