123456789101112131415161718192021222324252627282930313233 |
- //------------------------------------------------------------------------------
- // <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 EM_CourseChapter_Video_Mapping : EntityTypeConfiguration<EM_CourseChapter_Video>
- {
- public EM_CourseChapter_Video_Mapping()
- {
- this.HasKey(t => new {t.CourseVideoID, t.CourseChapterID});
- this.ToTable("EM_CourseChapter_Video");
- this.Property(t => t.CourseVideoID).HasColumnName("CourseVideoID");
- this.Property(t => t.CourseChapterID).HasColumnName("CourseChapterID");
- this.HasRequired(t => t.EM_CourseVideo).WithMany(t => t.EM_CourseChapter_Video).HasForeignKey(d => d.CourseVideoID);
- }
- }
- }
|