Skip to main content

Entity Framework Code First


You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

This document demonstrates a simple data model that can be used in an application with a database created using Code First development.

Create a class for an appointment named EFAppointment and a class for a resource named EFResource. You can use the following code.

To learn more, refer to the Lesson 5 - Bind a Scheduler to Entity Framework Data Source (legacy) article.

See Also