Author Topic: Generating Association Attribute in C#  (Read 2618 times)

Jeff Odell

  • EA User
  • **
  • Posts: 99
  • Karma: +0/-0
    • View Profile
Generating Association Attribute in C#
« on: January 08, 2005, 09:31:14 am »
I have my preference, in the Options Dialog, Generation, Attribute/Operations section, for "Default name for associated attrib:" to

_$LinkClass

This will generate an attribute named (for example when linked to the Employee class):

_Employee

I'd like it to generate

_employee

Does anyone know what the tag is? (I tried $linkClass).

Thanks -

jlo
« Last Edit: January 09, 2005, 04:15:50 pm by odelljl »

Takeshi K

  • EA User
  • **
  • Posts: 588
  • Karma: +38/-1
    • View Profile
Re: Generating Association Attribute in C#
« Reply #1 on: January 11, 2005, 04:26:19 pm »
Hello,

'$LinkClass' is just string and it has no meaning.

You'll find this string in 'Linked Attribute Declaration' template of Code Template.

In this template, you can get attribute like '_employee'
if you use TO_LOWER macro.

Hope this helps.

--
t-kouno
--
t-kouno