Ignore:
Timestamp:
02/07/21 16:25:56 (22 months ago)
Author:
Dimitar Slezenkovski <dslezenkovski@…>
Branches:
master
Children:
e0cdea2
Parents:
ac51326
Message:

Fix create new user bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • FarmatikoData/FarmatikoDataContext.cs

    rac51326 r0a694bb  
    3838                .ToTable("PHRequests");
    3939
     40            modelBuilder.Entity<PharmacyHead>()
     41                .Property(p => p.Id)
     42                .ValueGeneratedOnAdd();
     43
    4044            /*modelBuilder.Entity<Medicine>()
    4145                .Property(x => x.Id)
     
    7478                .WithMany(p => p.Pharmacy);
    7579            */
    76            
     80
    7781            base.OnModelCreating(modelBuilder);
    7882        }
Note: See TracChangeset for help on using the changeset viewer.