Example of Blazor Scheduler with Entity Framework (code first) and SQL backend

Hi all!

I was wondering if anyone (Syncfusion support included) that has a public repo for complete examples of using the controls (in this case the Calendar control) with Entity Framework and a SQL backend?

I see the examples on the documentation page but they use includes and backend that are not visible. Any help would be most appreciated!!!

Kind Regards,



7 Replies

MM Mohanraj Mathaiyan Syncfusion Team April 21, 2022 08:58 AM UTC

Hi Jason,


Thanks for contacting Syncfusion support.



Before proceed further can you please confirm which component you are using, whether calendar or scheduler, so that we can assist you at earliest.


Sample browser demo for calendar : https://blazor.syncfusion.com/demos/calendar/default-functionalities?theme=fluent

Documentation : https://blazor.syncfusion.com/documentation/calendar/getting-started

Sample browser demo for scheduler : https://blazor.syncfusion.com/demos/scheduler/overview

Documentation : https://blazor.syncfusion.com/documentation/scheduler/getting-started



Regards,

Mohanraj M



JA Jason April 21, 2022 03:06 PM UTC

Apologies!!! It is the Scheduler control. Is there any way for you to modify the "Control" section of the post and change it to "Schedular"?



VM Vengatesh Maniraj Syncfusion Team replied to Jason Cantrell April 25, 2022 06:49 AM UTC

Hi Jason,


We have changed the control section to Scheduler, kindly let us know if you need any assistance with Scheduler control.


Regards,

Vengatesh 



JA Jason replied to Vengatesh Maniraj April 26, 2022 01:11 AM UTC

Hello Vengatesh and good day to you!!


Yes, I just wanted to see if you have any working examples of this Schedular control with Entity Framework and a SQL backend?  Having real-world examples would be most helpful!!


Kind Regards,

Jason



VM Vengatesh Maniraj Syncfusion Team April 26, 2022 07:22 AM UTC

Hi Jason,


We have prepared a sample to perform CRUD using EF as per your requirement. Please find the attached sample and documentation(step by step instructions) for your reference. 

Kindly try the attached sample and let us know if this meets your requirement.


Regards,

Vengatesh 


Attachment: ScheduleCRUD_f6aef8ee.zip


CH Chris October 28, 2022 04:26 PM UTC

This example is great and follows what we are trying to do as well.  The issue we are facing is when using this code as an example, and editing a single event within a series, we get a not found when the update event fires. 

From reading the documentation it seems when editing an single occurrence, there is an add and an update that happens.  Basically, adding a standalone record for the single occurrence with the parent ID as the recurrence Id and updating the parent with a recurrence exception.

What would be the correct approach to handle this scenario in the provided example?



RM Ruksar Moosa Sait Syncfusion Team replied to Chris November 3, 2022 11:59 AM UTC

Refer to the below sample to perform CRUD actions with Recurrence appointments of the Schedule.

https://www.syncfusion.com/downloads/support/directtrac/general/ze/blazor-schedule-custom-adaptor-crud282221533


Loader.
Up arrow icon