//------------------------------------------------------------------------------ // // 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 EMIS.Entities.HRServices { #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 Comm_Posts_Mapping : EntityTypeConfiguration { public Comm_Posts_Mapping() { this.HasKey(t => t.postid); this.ToTable("Comm_Posts"); this.Property(t => t.postid).HasColumnName("postid"); this.Property(t => t.dpid).HasColumnName("dpid").IsRequired().HasMaxLength(55); this.Property(t => t.userid).HasColumnName("userid").HasMaxLength(55); this.Property(t => t.pos).HasColumnName("pos").HasMaxLength(55); this.Property(t => t.orderNo).HasColumnName("orderNo"); this.Property(t => t.IsTmpData).HasColumnName("IsTmpData"); } } }