12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- //------------------------------------------------------------------------------
- // <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_ExecutableFreeSelectionCouseTeachingSetting_Mapping : EntityTypeConfiguration<EM_ExecutableFreeSelectionCouseTeachingSetting>
- {
- public EM_ExecutableFreeSelectionCouseTeachingSetting_Mapping()
- {
- this.HasKey(t => t.ExecutableFreeSelectionCouseID);
- this.ToTable("EM_ExecutableFreeSelectionCouseTeachingSetting");
- this.Property(t => t.ExecutableFreeSelectionCouseID).HasColumnName("ExecutableFreeSelectionCouseID");
- this.Property(t => t.Credit).HasColumnName("Credit");
- this.Property(t => t.TheoryCourse).HasColumnName("TheoryCourse");
- this.Property(t => t.Practicehours).HasColumnName("Practicehours");
- this.Property(t => t.Trialhours).HasColumnName("Trialhours");
- this.Property(t => t.WeeklyNum).HasColumnName("WeeklyNum");
- this.Property(t => t.TheoryWeeklyNum).HasColumnName("TheoryWeeklyNum");
- this.Property(t => t.PracticeWeeklyNum).HasColumnName("PracticeWeeklyNum");
- this.Property(t => t.TrialWeeklyNum).HasColumnName("TrialWeeklyNum");
- this.Property(t => t.StartWeeklyNum).HasColumnName("StartWeeklyNum");
- this.Property(t => t.EndWeeklyNum).HasColumnName("EndWeeklyNum");
- this.Property(t => t.WeeklyHours).HasColumnName("WeeklyHours");
- this.HasRequired(t => t.EM_ExecutableFreeSelectionCouse).WithOptional(t => t.EM_ExecutableFreeSelectionCouseTeachingSetting);
- }
- }
- }
|