- 改正 HashColumnType 为 HasColumnType

This commit is contained in:
28810
2020-01-02 11:27:24 +08:00
parent 63612d20fd
commit c27b3fea1f
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ static void Test()
{
eb.ToTable("tb_song");
eb.Ignore(a => a.Field1);
eb.Property(a => a.Title).HashColumnType("varchar(50)").IsRequired();
eb.Property(a => a.Title).HasColumnType("varchar(50)").IsRequired();
eb.Property(a => a.Url).HasMaxLength(100);
eb.Property(a => a.RowVersion).IsRowVersion();