Hi!
Asking you help with next error, while loading record from MS SQL:
Blockquote
dotnet: fail: Microsoft.EntityFrameworkCore.Query[10100]
An exception occurred while iterating over the results of a query for context type 'Lic.Data.AppLicContext'.
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_Guid()
at Microsoft.Data.SqlClient.SqlDataReader.GetGuid(Int32 i)
at lambda_method(Closure , QueryContext , DbDataReader , ResultContext , Int32 , ResultCoordinator )
at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.Enumerator.MoveNext()
Blockquote
My guess is: Radzen doesn't expect NULL value in column with GUID (uniqueidentifier) type.
Is that right?
I've found a recommendation from MS to add NULL-check for function like GetGuid, m. b. this would be a solution for future releases?
In Remarks section:
Call IsDBNull to check for null values before calling this method.
Sorry for asking - is exception reproduced by you?
Looks like there is need for additional check for NULL on retrieving values from GUID-type columns...