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

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
Posts: 13
Joined: Mon 30 Nov 2009 23:45

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

Post by Emily » Thu 21 Jan 2010 21:48


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?

Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Fri 22 Jan 2010 10:28

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.

Post Reply