//------------------------------------------------------------------------------
//
// 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 ExamPaper_Mapping : EntityTypeConfiguration
{
public ExamPaper_Mapping()
{
this.HasKey(t => t.ID);
this.ToTable("ExamPaper");
this.Property(t => t.ID).HasColumnName("ID");
this.Property(t => t.user_id).HasColumnName("user_id").IsRequired().IsUnicode(false).HasMaxLength(50);
this.Property(t => t.onlinetest_id).HasColumnName("onlinetest_id");
this.Property(t => t.Sign).HasColumnName("Sign");
this.Property(t => t.test_questions_Id).HasColumnName("test_questions_Id");
this.Property(t => t.display_order).HasColumnName("display_order");
this.Property(t => t.answer_order).HasColumnName("answer_order").IsUnicode(false).HasMaxLength(200);
this.Property(t => t.base_question_type_id).HasColumnName("base_question_type_id");
this.Property(t => t.filled).HasColumnName("filled");
this.Property(t => t.time_of_filling).HasColumnName("time_of_filling");
}
}
}