Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (18 sloc) 0.467 kB
@inherits ViewPage<ViewThatUsesLayoutAndModel>
@{
Layout = "SimplyLayout";
}
<div>CATCH ALL: @Model.Id</div>
<ul>
@foreach (var name in Get<DataSource>().Items)
{
<li>@name</li>
}
@Html.TextBoxFor(x => x.Id)
</ul>
<h3>Db.Select&lt;Person&gt;()</h3>
<ul>
@foreach(var person in Db.Select<Rockstar>(q => q.Age == 27)) {
<li>@person.FirstName - @person.LastName (@person.Age)</li>
}
</ul>
Jump to Line
Something went wrong with that request. Please try again.