// Model nedir ?
        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            modelBuilder.Configurations.Add(new EmployeeMap());
            DepartmentMap.Map(modelBuilder);

            modelBuilder.Conventions.Remove <PluralizingTableNameConvention>();
        }
Exemple #2
0
 protected override void OnModelCreating(DbModelBuilder modelBuilder)
 {
     EmployeeMap.Map(modelBuilder);
     DepartmentMap.Map(modelBuilder);
 }