this is common database context (using Microsoft.EntityFramework) which can be used by another class library.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

53 lines
2.6 KiB

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ACLib.P2.AppContext.Models
{
public partial class AC_ClassRun
{
[Key]
public int ID { get; set; }
public Nullable<int> ClassID { get; set; }
public string CourseNumber { get; set; }
public string CourseRunTitle { get; set; }
public Nullable<System.DateTime> ClassStartdate { get; set; }
public Nullable<System.DateTime> ClassEnddate { get; set; }
public Nullable<byte> NumberWeeks { get; set; }
//public Nullable<bool> Monday { get; set; }
//public Nullable<System.TimeSpan> MondayStart { get; set; }
//public Nullable<System.TimeSpan> MondayEnd { get; set; }
//public Nullable<bool> Tuesday { get; set; }
//public Nullable<System.TimeSpan> TuesdayStart { get; set; }
//public Nullable<System.TimeSpan> TuesdayEnd { get; set; }
//public Nullable<bool> Wednesday { get; set; }
//public Nullable<System.TimeSpan> WednesdayStart { get; set; }
//public Nullable<System.TimeSpan> WednesdayEnd { get; set; }
//public Nullable<bool> Thursday { get; set; }
//public Nullable<System.TimeSpan> ThursdayStart { get; set; }
//public Nullable<System.TimeSpan> ThursdayEnd { get; set; }
//public Nullable<bool> Friday { get; set; }
//public Nullable<System.TimeSpan> FridayStart { get; set; }
//public Nullable<System.TimeSpan> FridayEnd { get; set; }
//public Nullable<bool> Saturday { get; set; }
//public Nullable<System.TimeSpan> SaturdayStart { get; set; }
//public Nullable<System.TimeSpan> SaturdayEnd { get; set; }
public Nullable<int> InstructorID { get; set; }
public Nullable<int> SemesterID { get; set; }
public string Section { get; set; }
public int CampusID { get; set; }
//public string Classroom { get; set; }
public Nullable<byte> MaxSeats { get; set; }
public bool Scheduled { get; set; }
public Nullable<System.DateTime> UpdateDate { get; set; }
public Nullable<System.DateTime> SyncDate { get; set; }
//public virtual AC_Courses AC_Courses { get; set; }
public virtual AC_Semesters AC_Semesters { get; set; }
//public virtual IEnumerable<AC_ClassSections> AC_ClassSections { get; set; }
public virtual AC_Instructors AC_Instructors { get; set; }
//public virtual AC_Campuses AC_Campuses { get; set; }
}
}