//------------------------------------------------------------------------------ // // 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_subscriptions_Mapping : EntityTypeConfiguration { public MSreplication_subscriptions_Mapping() { this.HasKey(t => new {t.publisher, t.independent_agent, t.subscription_type, t.time, t.transaction_timestamp, t.update_mode, t.immediate_sync}); this.ToTable("MSreplication_subscriptions", "EMISOnlineContextStoreContainer"); this.Property(t => t.publisher).HasColumnName("publisher").IsRequired().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.independent_agent).HasColumnName("independent_agent"); this.Property(t => t.subscription_type).HasColumnName("subscription_type").HasDatabaseGeneratedOption(DatabaseGeneratedOption.None); this.Property(t => t.distribution_agent).HasColumnName("distribution_agent").HasMaxLength(128); this.Property(t => t.time).HasColumnName("time"); this.Property(t => t.description).HasColumnName("description").HasMaxLength(255); this.Property(t => t.transaction_timestamp).HasColumnName("transaction_timestamp").IsRequired().HasMaxLength(16); this.Property(t => t.update_mode).HasColumnName("update_mode"); this.Property(t => t.agent_id).HasColumnName("agent_id").IsFixedLength().HasMaxLength(16); this.Property(t => t.subscription_guid).HasColumnName("subscription_guid").IsFixedLength().HasMaxLength(16); this.Property(t => t.subid).HasColumnName("subid").IsFixedLength().HasMaxLength(16); this.Property(t => t.immediate_sync).HasColumnName("immediate_sync"); } } }