Book a Demo

Author Topic: Model Partial Classes  (Read 5678 times)

jdavid

  • EA User
  • **
  • Posts: 58
  • Karma: +0/-0
    • View Profile
Model Partial Classes
« on: December 14, 2007, 09:12:08 am »
How would one approach the task of modeling partial classes. An example of this is in Microsofts Entity Framework partial classes that contain the attributes of a class are generated for all objects contained within the entity container, you then create your own partial classes for behavior.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Model Partial Classes
« Reply #1 on: December 14, 2007, 09:15:03 am »
Search the forum for this, as there is a bit of information.

However, the overall news is not good, if I remember correctly.

You can likely use a stereotype or tag to indicate this, but code generation might not give you the results you want.

HTH, David
No, you can't have it!