//------------------------------------------------------------------------------
//
// 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 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 MSreplication_objects_Mapping : EntityTypeConfiguration
{
public MSreplication_objects_Mapping()
{
this.HasKey(t => new {t.object_name, t.object_type});
this.ToTable("MSreplication_objects", "EMISOnlineContextStoreContainer");
this.Property(t => t.publisher).HasColumnName("publisher").HasMaxLength(128);
this.Property(t => t.publisher_db).HasColumnName("publisher_db").HasMaxLength(128);
this.Property(t => t.publication).HasColumnName("publication").HasMaxLength(128);
this.Property(t => t.object_name).HasColumnName("object_name").IsRequired().HasMaxLength(128);
this.Property(t => t.object_type).HasColumnName("object_type").IsRequired().IsUnicode(false).IsFixedLength().HasMaxLength(2);
this.Property(t => t.article).HasColumnName("article").HasMaxLength(128);
}
}
}