GDC Class Notes

Class Notes of Graduate Diploma in Computing in Unitec Core data migration

how do we start

  1. database / data model
  2. class (null if you already get data model)
  3. code

data model

  • when you define a property name like <name>Id, Entity Framework treat it as a key
  • or use fluent api to define
  • fluent api get better perfomance

data migration

  • change userid in connecting string to user
  • you create multi migrations before update it