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 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 Sys_DictionaryItem_Mapping : EntityTypeConfiguration<Sys_DictionaryItem>
- {
- public Sys_DictionaryItem_Mapping()
- {
- this.HasKey(t => t.DictionaryItemID);
- this.ToTable("Sys_DictionaryItem");
- this.Property(t => t.DictionaryItemID).HasColumnName("DictionaryItemID");
- this.Property(t => t.Code).HasColumnName("Code").IsRequired().HasMaxLength(50);
- this.Property(t => t.DictionaryCode).HasColumnName("DictionaryCode").HasMaxLength(50);
- this.Property(t => t.Value).HasColumnName("Value");
- this.Property(t => t.Name).HasColumnName("Name").HasMaxLength(100);
- this.Property(t => t.OrderNo).HasColumnName("OrderNo");
- this.Property(t => t.RecordStatus).HasColumnName("RecordStatus");
- this.Property(t => t.IsEditable).HasColumnName("IsEditable");
- this.HasOptional(t => t.Sys_Dictionary).WithMany(t => t.Sys_DictionaryItem).HasForeignKey(d => d.DictionaryCode);
- }
- }
- }
|