//------------------------------------------------------------------------------ // // 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. // //------------------------------------------------------------------------------ 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 V_StudentEducationMissionClass_Mapping : EntityTypeConfiguration { public V_StudentEducationMissionClass_Mapping() { this.HasKey(t => new {t.EducationMissionClassID, t.CoursematerialID, t.CourseName, t.UserID}); this.ToTable("V_StudentEducationMissionClass"); this.Property(t => t.EducationMissionClassID).HasColumnName("EducationMissionClassID"); this.Property(t => t.EducationMissionClassName).HasColumnName("EducationMissionClassName").HasMaxLength(100); this.Property(t => t.CoursematerialID).HasColumnName("CoursematerialID"); this.Property(t => t.CourseName).HasColumnName("CourseName").IsRequired().HasMaxLength(50); this.Property(t => t.CoverUrl).HasColumnName("CoverUrl").IsUnicode(false).HasMaxLength(1024); this.Property(t => t.UserID).HasColumnName("UserID"); this.Property(t => t.SchoolyearID).HasColumnName("SchoolyearID"); this.Property(t => t.TeacherID).HasColumnName("TeacherID"); } } }