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 EMIS.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 EM_EvaluationEnter_EM_EvaluationProject_Mapping : EntityTypeConfiguration<EM_EvaluationEnter_EM_EvaluationProject>
- {
- public EM_EvaluationEnter_EM_EvaluationProject_Mapping()
- {
- this.HasKey(t => new {t.ID, t.EvaluationEnterID, t.ProjectID});
- this.ToTable("EM_EvaluationEnter_EM_EvaluationProject");
- this.Property(t => t.ID).HasColumnName("ID");
- this.Property(t => t.EvaluationEnterID).HasColumnName("EvaluationEnterID");
- this.Property(t => t.ProjectID).HasColumnName("ProjectID");
- this.Property(t => t.EvaluationScore).HasColumnName("EvaluationScore");
- this.Property(t => t.CreateUserID).HasColumnName("CreateUserID");
- this.Property(t => t.CreateTime).HasColumnName("CreateTime");
- this.Property(t => t.ModifyUserID).HasColumnName("ModifyUserID");
- this.Property(t => t.ModifyTime).HasColumnName("ModifyTime");
- this.Property(t => t.Remark).HasColumnName("Remark");
- this.HasRequired(t => t.EM_EvaluationEnter).WithMany(t => t.EM_EvaluationEnter_EM_EvaluationProject).HasForeignKey(d => d.EvaluationEnterID);
- this.HasRequired(t => t.EM_EvaluationProject).WithMany(t => t.EM_EvaluationEnter_EM_EvaluationProject).HasForeignKey(d => d.ProjectID);
- }
- }
- }
|