123456789101112131415161718192021222324252627282930313233343536373839 |
- //------------------------------------------------------------------------------
- // <auto-generated>
- // This code was generated from a template.
- //
- // Manual changes to this file may cause unexpected behavior in your application.
- // Manual changes to this file will be overwritten if the code is regenerated.
- // </auto-generated>
- //------------------------------------------------------------------------------
- namespace EMISOnline.Entities
- {
- #pragma warning disable 1573
- using System;
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations;
- using System.Data.Common;
- using System.Data.Entity;
- using System.Data.Entity.ModelConfiguration;
- using System.Data.Entity.Infrastructure;
- using System.ComponentModel.DataAnnotations.Schema;
-
- internal partial class EM_CourseStudyStatus_Mapping : EntityTypeConfiguration<EM_CourseStudyStatus>
- {
- public EM_CourseStudyStatus_Mapping()
- {
- this.HasKey(t => t.CourseStudyStatusID);
- this.ToTable("EM_CourseStudyStatus");
- this.Property(t => t.CourseStudyStatusID).HasColumnName("CourseStudyStatusID");
- this.Property(t => t.UserID).HasColumnName("UserID");
- this.Property(t => t.CoursematerialID).HasColumnName("CoursematerialID");
- this.Property(t => t.ContinuousTime).HasColumnName("ContinuousTime");
- this.Property(t => t.LastVideoTypeID).HasColumnName("LastVideoTypeID");
- this.Property(t => t.LastCourseVideoID).HasColumnName("LastCourseVideoID");
- this.Property(t => t.LastCourseVideoLength).HasColumnName("LastCourseVideoLength");
- this.Property(t => t.LastOuterVideoUrl).HasColumnName("LastOuterVideoUrl").IsUnicode(false).HasMaxLength(2048);
- this.HasOptional(t => t.EM_CourseVideo).WithMany(t => t.EM_CourseStudyStatus).HasForeignKey(d => d.LastCourseVideoID);
- }
- }
- }
|