123456789101112131415161718192021222324252627282930313233343536373839 |
- //------------------------------------------------------------------------------
- // <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_onlinetest_manshow_Mapping : EntityTypeConfiguration<test_onlinetest_manshow>
- {
- public test_onlinetest_manshow_Mapping()
- {
- this.HasKey(t => t.ID);
- this.ToTable("test_onlinetest_manshow");
- this.Property(t => t.ID).HasColumnName("ID");
- this.Property(t => t.onlinetest_id).HasColumnName("onlinetest_id");
- this.Property(t => t.user_id).HasColumnName("user_id").IsUnicode(false).HasMaxLength(50);
- this.Property(t => t.orgid).HasColumnName("orgid").IsUnicode(false).HasMaxLength(50);
- this.Property(t => t.orgname).HasColumnName("orgname").IsUnicode(false).HasMaxLength(500);
- this.Property(t => t.username).HasColumnName("username").IsUnicode(false).HasMaxLength(500);
- this.Property(t => t.created_date).HasColumnName("created_date");
- this.Property(t => t.created_by).HasColumnName("created_by").IsUnicode(false).HasMaxLength(50);
- this.HasOptional(t => t.test_onlinetest).WithMany(t => t.test_onlinetest_manshow).HasForeignKey(d => d.onlinetest_id);
- }
- }
- }
|