sharding/samples/Samples.DynamicDb.Npgsql/WebApplication1/Pages/ListData.cshtml

23 lines
403 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@page
@model ListDataModel
@{
ViewData["title"] = "数据列表";
}
@if (Model.StudentList != null)
{
@foreach (var item in Model.StudentList)
{
<div>@item.Id@item.Name</div>
}
}
<hr />
@if (Model.TestModelList != null)
{
@foreach (var item in Model.TestModelList)
{
<div>@item.Id, @item.CreationTime.ToString("yyyy-MM-dd HH:mm:ss:fffffff")</div>
}
}