dimitrix85

Untitled

Mar 9th, 2019
80
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  modelBuilder.Entity<Student>(entity =>
  2.             {
  3.                 entity.HasKey(s => s.StudentId);
  4.                 entity.Property(s => s.Name).HasMaxLength(100).IsUnicode();
  5.                 entity.Property(s => s.PhoneNumber).HasColumnType("CHAR(10)");
  6.             });
RAW Paste Data