Book a Demo

Author Topic: How can I get inherited pvt members to generate?  (Read 2418 times)

tone

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
How can I get inherited pvt members to generate?
« on: September 11, 2010, 06:10:52 am »
I have couple of interfaces that, when implemented, do not generate the  
private members for the inherited attributes.  What gives?
« Last Edit: September 11, 2010, 06:27:15 am by tonesoutherland »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: How can I get inherited pvt members to generat
« Reply #1 on: September 13, 2010, 08:16:05 am »
From memory it's not something that EA has ever done.

tone

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: How can I get inherited pvt members to generat
« Reply #2 on: September 13, 2010, 11:33:28 pm »
The CLR in .NET requires that all members of an interface be implemented in the class that implements (inherits) the interface.  It seems surprising to me that EA does not support this very basic requirement in .NET.  This means that anyone trying to generate .NET code from EA models is not able to do so with having to make significant modifications to the generated code.