Page 1 of 1

Member Mapping is not valid. The type 'Edm.String[Nullable=T

Posted: Thu 21 Jan 2010 21:48
by Emily
Devart,

I am using version (5.35.79) and received the following error when trying to generate some numeric fields:

Error 1 Error 2019: Member Mapping specified is not valid. The type 'Edm.String[Nullable=True,DefaultValue=,MaxLength=,Unicode=,FixedLength=]' of member 'OBJECT_LENGTH' in type 'TestObject' is not compatible with 'Devart.Data.Oracle.decimal[Nullable=True,DefaultValue=,Precision=29,Scale=15]' of member 'OBJECT_LENGTH' in type 'TestObject'. C:\xxx\xxx\CompanyTestModel.edmx

This is the second error I've submitted showing things are not compatible. Is there a quick turnaround I could do on my end to get up and running?

Posted: Fri 22 Jan 2010 10:28
by AndreyR
Change the conceptual type of the object causing the error to System.Decimal in design time
either in Entity Developer or in the Microsoft editor (depends on the kind of the model you are using - .edml or .edmx).
And please send me (support * devart * com, subject "EF decimal mapping issue") the script
of the DB object you encounter the problem with. We will investigate the situation.