123456789101112131415161718192021222324252627282930313233343536373839404142 |
- //------------------------------------------------------------------------------
- // <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 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 MSsavedforeignkeys_Mapping : EntityTypeConfiguration<MSsavedforeignkeys>
- {
- public MSsavedforeignkeys_Mapping()
- {
- this.HasKey(t => new {t.program_name, t.constraint_name, t.parent_schema, t.parent_name, t.referenced_object_schema, t.referenced_object_name, t.is_disabled, t.is_not_for_replication, t.is_not_trusted, t.delete_referential_action, t.update_referential_action, t.timestamp});
- this.ToTable("MSsavedforeignkeys", "EMISOnlineContextStoreContainer");
- this.Property(t => t.program_name).HasColumnName("program_name").IsRequired().HasMaxLength(128);
- this.Property(t => t.constraint_name).HasColumnName("constraint_name").IsRequired().HasMaxLength(128);
- this.Property(t => t.parent_schema).HasColumnName("parent_schema").IsRequired().HasMaxLength(128);
- this.Property(t => t.parent_name).HasColumnName("parent_name").IsRequired().HasMaxLength(128);
- this.Property(t => t.referenced_object_schema).HasColumnName("referenced_object_schema").IsRequired().HasMaxLength(128);
- this.Property(t => t.referenced_object_name).HasColumnName("referenced_object_name").IsRequired().HasMaxLength(128);
- this.Property(t => t.is_disabled).HasColumnName("is_disabled");
- this.Property(t => t.is_not_for_replication).HasColumnName("is_not_for_replication");
- this.Property(t => t.is_not_trusted).HasColumnName("is_not_trusted");
- this.Property(t => t.delete_referential_action).HasColumnName("delete_referential_action");
- this.Property(t => t.update_referential_action).HasColumnName("update_referential_action");
- this.Property(t => t.timestamp).HasColumnName("timestamp");
- }
- }
- }
|