Hi @staticlibs ,
we have column in our one of the table as 'tinyint' type and for mapping in csharp side we have byte enum like below. But we got error while mapping that column value.
public enum Datavalue : byte
{
None = 0,
One = 1,
Two= 2,
Three = 3
}
Error: The specified cast from a materialized 'System.Int16' type to the byte type is not valid.
Could please help us on this?
Hi @staticlibs ,
we have column in our one of the table as 'tinyint' type and for mapping in csharp side we have byte enum like below. But we got error while mapping that column value.
public enum Datavalue : byte
{
None = 0,
One = 1,
Two= 2,
Three = 3
}
Error: The specified cast from a materialized 'System.Int16' type to the byte type is not valid.
Could please help us on this?