Code Requirements
The continuous editform as displayed below requires the following code:
XML
@inject IContactsService Service
<EZFormHeader TModel="Contact" Recordset="_recordset" />
<EZEditForm TModel="Contact" Recordset="_recordset" ShowMultipleRecords="true">
<EZFormSelector TModel="Contact">
<EZInput &bind-Value="context.Id" />
<EZInput &bind-Value="context.Name" FirstFocus="true" />
<EZInput &bind-Value="context.Birthday" />
<EZInput &bind-Value="context.Score" />
<EZInput &bind-Value="context.Address" />
<EZInput &bind-Value="context.PostalCode" />
<EZInput &bind-Value="context.City" />
</EZFormSelector>
</EZEditForm>
<EZFormFooter TModel="Contact" Recordset="_recordset" />
@code {
private EZRecordset<Contact>? _recordset;
protected async override Task OnInitializedAsync()
{
_recordset = new(new EZRecordsetConfiguration<Contact>(Service));
await base.OnInitializedAsync();
}
}