So, I am learning this tool and I created a service using DBContext that return the values of the scheduler for a database stored procedure.
How do I set the Datasource?
Below is the snippet of code in index.razor
page "/"
@using BlazorApp1.Data
@using BlazorApp1.Services
@inherits OwningComponentBase<BlazorApp1.Services.SchedulerServices>
<SfSchedule TValue="object" StartHour="01:00" EndHour="23:00" CurrentView="View.Day"></SfSchedule>
@code
{
ScheduleData[] schedDetails;
protected override void OnInitialized()
{
schedDetails = Service.GetSchedule("021001ZZ");
}
}