//------------------------------------------------------------------------------
//
// 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 EMIS.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 VW_EvaluationEnter_TotalScore_StudentRank_Mapping : EntityTypeConfiguration
{
public VW_EvaluationEnter_TotalScore_StudentRank_Mapping()
{
this.HasKey(t => new {t.EducationMissionClassID, t.MissionClassTeacherID});
this.ToTable("VW_EvaluationEnter_TotalScore_StudentRank");
this.Property(t => t.EducationMissionClassID).HasColumnName("EducationMissionClassID");
this.Property(t => t.MissionClassTeacherID).HasColumnName("MissionClassTeacherID");
this.Property(t => t.CollegeID).HasColumnName("CollegeID");
this.Property(t => t.YearCollegeRanking).HasColumnName("YearCollegeRanking");
this.Property(t => t.CollegeRanking).HasColumnName("CollegeRanking");
this.Property(t => t.CollegeIntTypeRanking).HasColumnName("CollegeIntTypeRanking");
this.Property(t => t.YearCollegeIntRanking).HasColumnName("YearCollegeIntRanking");
this.Property(t => t.DepartmentID).HasColumnName("DepartmentID");
this.Property(t => t.YearDepartmentRanking).HasColumnName("YearDepartmentRanking");
this.Property(t => t.DepartmentRanking).HasColumnName("DepartmentRanking");
this.Property(t => t.DepartmentIntTypeRanking).HasColumnName("DepartmentIntTypeRanking");
this.Property(t => t.YearDepartmentIntRanking).HasColumnName("YearDepartmentIntRanking");
this.Property(t => t.allavg).HasColumnName("allavg");
this.Property(t => t.stuCount).HasColumnName("stuCount");
this.Property(t => t.tableID).HasColumnName("tableID");
this.Property(t => t.SchoolyearID).HasColumnName("SchoolyearID");
this.Property(t => t.EvaluationIntTypeID).HasColumnName("EvaluationIntTypeID");
}
}
}