0
在配置属性(名称为字符串,RowVersion是字节)实体框架4.1流利的API特性
这工作:
Me.Property(Function(t) t.Name).IsRequired().IsFixedLength.HasMaxLength(10)
但是这给了我一个错误:
Me.Property(Function(t) t.RowVersion).IsRequired().IsFixedLength().HasMaxLength(8)
错误是:
'IsFixedLength' is not a member of 'System.Data.Entity.ModelConfiguration.Configuration.PrimitivePropertyConfiguration'
任何建议为什么?