Posted By

Dmix on 08/22/14


Tagged

calendar entity scheduler aspnet Framework bootstrap appointment mvc5


Versions (?)

7 Steps To Appointment Calendar in ASP.NET MVC5


 / Published in: C#
 

URL: http://blog.scheduler-net.com/post/Appointment-Calendar-in-ASP-NET-MVC5.aspx

Creating a simple appointment calendar in ASP.NET MVC5 with the use of DHTMLX Scheduler .NET, Entity Framework (CodeFirst) and Bootstrap. A ready-to-download package is available.

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Data.Entity;
  6.  
  7. using System.ComponentModel.DataAnnotations;
  8. using System.ComponentModel.DataAnnotations.Schema;
  9.  
  10. namespace AppointmentCalendar.Models
  11. {
  12. public class Appointment
  13. {
  14. [Key]
  15. [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
  16. public int Id { get; set; }
  17. public string Description { get; set; }
  18. public DateTime StartDate { get; set; }
  19. public DateTime EndDate { get; set; }
  20. }
  21. }

Report this snippet  

You need to login to post a comment.