1234567891011121314151617181920212223242526272829303132333435363738394041 |
- //------------------------------------------------------------------------------
- // <auto-generated>
- // 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.
- // </auto-generated>
- //------------------------------------------------------------------------------
- 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_provid_answer_Mapping : EntityTypeConfiguration<test_question_provid_answer>
- {
- public test_question_provid_answer_Mapping()
- {
- this.HasKey(t => t.provid_answer_id);
- this.ToTable("test_question_provid_answer");
- this.Property(t => t.provid_answer_id).HasColumnName("provid_answer_id").HasDatabaseGeneratedOption(DatabaseGeneratedOption.Identity);
- this.Property(t => t.answer_name).HasColumnName("answer_name").IsUnicode(false).HasMaxLength(5000);
- this.Property(t => t.order).HasColumnName("order");
- this.Property(t => t.file_id).HasColumnName("file_id");
- this.Property(t => t.test_question_Id).HasColumnName("test_question_Id");
- this.Property(t => t.created_by).HasColumnName("created_by").IsUnicode(false).HasMaxLength(50);
- 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");
- this.HasOptional(t => t.test_question).WithMany(t => t.test_question_provid_answer).HasForeignKey(d => d.test_question_Id);
- this.HasOptional(t => t.test_question_file).WithMany(t => t.test_question_provid_answer).HasForeignKey(d => d.file_id);
- }
- }
- }
|