//------------------------------------------------------------------------------
//
// 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_question_Mapping : EntityTypeConfiguration
{
public v_question_Mapping()
{
this.HasKey(t => new {t.test_question_Id, t.order_});
this.ToTable("v_question", "EMISOnlineContextStoreContainer");
this.Property(t => t.question_json).HasColumnName("question_json");
this.Property(t => t.test_question_Id).HasColumnName("test_question_Id").HasDatabaseGeneratedOption(DatabaseGeneratedOption.None);
this.Property(t => t.base_question_type_id).HasColumnName("base_question_type_id");
this.Property(t => t.test_paper_id).HasColumnName("test_paper_id");
this.Property(t => t.order_).HasColumnName("order ").HasDatabaseGeneratedOption(DatabaseGeneratedOption.None);
}
}
}