Hello,
I have recently migrated to version 2.20 of the entity developer.
When i try to open the model i get an error
---------------------------
Devart
---------------------------
CSDL parsing failed at line #1334 with message: 'Object reference not set to an instance of an object.'
---------------------------
OK
---------------------------
when i open the edml file in a regular text editor and go to line 1334
I see it the there the definition of an private property in an complex type
All properties of a name bundeld in one type
(I have highlighted line 1334)
when a remove the setterAccess and getterAccess then I can open my model in the entity developer. (but the property is then public)
Please fix this bug
Greetings Jeroen
Bug in protected/Private properties in Complex types
private/protected/... is not take in account neither
I get a same problem with classes generated by Entity Developer.
The getter/setter properties are not used to generate code. There are always set to public.
The EDML contains the proper getter/setter but not the generated code.
Do I miss something ?
Here a piece of my EDML file :
and the generated code for one of the corresponding property :
The getter/setter properties are not used to generate code. There are always set to public.
The EDML contains the proper getter/setter but not the generated code.
Do I miss something ?
Here a piece of my EDML file :
Code: Select all
Code: Select all
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
public global::System.Nullable DayOfMonthImpl
{
get
{
global::System.Nullable value = this._DayOfMonthImpl;
OnGetDayOfMonthImpl(ref value);
return value;
}
set
{
this.OnDayOfMonthImplChanging(ref value);
this.ReportPropertyChanging("DayOfMonthImpl");
this._DayOfMonthImpl = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
this.ReportPropertyChanged("DayOfMonthImpl");
this.OnDayOfMonthImplChanged();
}
}
private global::System.Nullable _DayOfMonthImpl;
partial void OnGetDayOfMonthImpl(ref global::System.Nullable value);
partial void OnDayOfMonthImplChanging(ref global::System.Nullable value);
partial void OnDayOfMonthImplChanged();