升级到 abp.io 7.4
EF报错
System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property cannot be called on Null values.
at Microsoft.Data.SqlClient.SqlBuffer.ThrowIfNull()
at Microsoft.Data.SqlClient.SqlBuffer.get_String()
at Microsoft.Data.SqlClient.SqlDataReader.GetString(Int32 i)
public string Entry_Date { get; set; }
设置为
public string? Entry_Date { get; set; }
除了可空类型配置外还有ABP默认的几个字段的值需要更新为默认
如数据库表字段 ExtraProperties 不能Null默认值是【{}】
- Null property cannot called methodnull property cannot called properties undefined reading cannot properties typeerror reading cannot property space null nsp pickalgorithm properties reading cannot expression undefined method null typeerror undefined property cannot quot undefined property cannot parentelement properties reading cannot elementplus properties reading cannot