//------------------------------------------------------------------------------ // // 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 test_question_libary_Mapping : EntityTypeConfiguration { public test_question_libary_Mapping() { this.HasKey(t => t.test_question_libary_id); this.ToTable("test_question_libary"); this.Property(t => t.test_question_libary_id).HasColumnName("test_question_libary_id").HasDatabaseGeneratedOption(DatabaseGeneratedOption.Identity); this.Property(t => t.name).HasColumnName("name").IsUnicode(false).HasMaxLength(300); this.Property(t => t.note).HasColumnName("note").IsUnicode(false).HasMaxLength(500); this.Property(t => t.base_limited_group_id).HasColumnName("base_limited_group_id"); this.Property(t => t.owner_id).HasColumnName("owner_id"); this.Property(t => t.is_vaild).HasColumnName("is_vaild"); this.Property(t => t.parent_id).HasColumnName("parent_id"); this.Property(t => t.ancestor_id).HasColumnName("ancestor_id").IsUnicode(false).HasMaxLength(300); this.Property(t => t.describe).HasColumnName("describe").HasMaxLength(500); this.Property(t => t.created_by).HasColumnName("created_by").IsUnicode(false).HasMaxLength(50); this.Property(t => t.userName).HasColumnName("userName").HasMaxLength(30); this.Property(t => t.created_date).HasColumnName("created_date"); this.Property(t => t.filled).HasColumnName("filled"); this.Property(t => t.time_of_filling).HasColumnName("time_of_filling"); } } }