Business object contain business object with same name
Posted: Thu Aug 16, 2012 7:04 am
Hello.
I am using business object and i have a bit problem.
For example:
I have object "a_name" and this object contain object "a_name" (this are two different object with different type, just have same name).
Is it possible to add this object? When i am trying to add this i got error:
"The error of compilation
The error of compilation is found in the 'Report' report:
'a_nameBusinessObject': member names cannot be the same as their enclosing type"
I understand this error, but don't know how to fix it. I tried adding allias to both object, but it didn't help.
If it metter i don't need full object, just some fields from it (e.g. a_name.a_name.name, a_name.a_name.description, etc.). Maybe is it possible to add just this few field from a_name.a_name to a_name? I tried but i don't know how exactly do this.
I am using business object and i have a bit problem.
For example:
I have object "a_name" and this object contain object "a_name" (this are two different object with different type, just have same name).
Is it possible to add this object? When i am trying to add this i got error:
"The error of compilation
The error of compilation is found in the 'Report' report:
'a_nameBusinessObject': member names cannot be the same as their enclosing type"
I understand this error, but don't know how to fix it. I tried adding allias to both object, but it didn't help.
If it metter i don't need full object, just some fields from it (e.g. a_name.a_name.name, a_name.a_name.description, etc.). Maybe is it possible to add just this few field from a_name.a_name to a_name? I tried but i don't know how exactly do this.