File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Extensions/FreeSql.Extensions.EfCoreFluentApi Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public EfCoreColumnFluent HasColumnName(string name)
2121 _cf . Name ( name ) ;
2222 return this ;
2323 }
24- public EfCoreColumnFluent HashColumnType ( string dbtype )
24+ public EfCoreColumnFluent HasColumnType ( string dbtype )
2525 {
2626 _cf . DbType ( dbtype ) ;
2727 return this ;
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ static void Test()
2121 {
2222 eb . ToTable ( "tb_song" ) ;
2323 eb . Ignore ( a => a . Field1 ) ;
24- eb . Property ( a => a . Title ) . HashColumnType ( "varchar(50)" ) . IsRequired ( ) ;
24+ eb . Property ( a => a . Title ) . HasColumnType ( "varchar(50)" ) . IsRequired ( ) ;
2525 eb . Property ( a => a . Url ) . HasMaxLength ( 100 ) ;
2626
2727 eb . Property ( a => a . RowVersion ) . IsRowVersion ( ) ;
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ static void Test()
1212 {
1313 eb .ToTable (" tb_song" );
1414 eb .Ignore (a => a .Field1 );
15- eb .Property (a => a .Title ).HashColumnType (" varchar(50)" ).IsRequired ();
15+ eb .Property (a => a .Title ).HasColumnType (" varchar(50)" ).IsRequired ();
1616 eb .Property (a => a .Url ).HasMaxLength (100 );
1717
1818 eb .Property (a => a .RowVersion ).IsRowVersion ();
You can’t perform that action at this time.
0 commit comments