It's hard for me to solve the stupid matching problem. Basically what happens is that I have a field in the sql db table, which is varbinary for security purposes (encryption and decryption). All this is good and good, but it seems that edmx sees the field in this table as a row, which, as I thought, should see that the data is only a binary string. This is the error message I get.
Schema specified is not valid. Errors:
ReadModel.Model.msl(836,12): error 2019: Member Mapping specified is not valid. The type
'Edm.String [Nullable=True,DefaultValue=,MaxLength=256,Unicode=,FixedLength=False]' of
member 'field-in-question' in type 'Lib.ReadModel.TableName' is not compatable with
'SqlServer.varbinary' [Nullable=True,DefaultValue=,MaxLength=256,FixedLength=False]'
of member 'field-in-question' in type 'Model.Store.TableName'.
Has anyone had such a problem? Maybe I don’t notice something? Maybe I can point me in the right direction? I had a problem finding information to solve the problem, and I find it difficult.
source
share