Book a Demo

Author Topic: Public Properties  (Read 2265 times)

Tryst

  • EA User
  • **
  • Posts: 41
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Public Properties
« on: January 12, 2005, 02:31:34 am »
Hi all,

I have declared a set of attributes/properties for a newly created class, but when I generate the code for this class, I don't get any accessor methods/properties such as the following:

Code: [Select]
public int ReportCategoryPK
{
get
{
return m_ReportCategoryPK;
}
set
{
m_ReportCategoryPK = value;
}
}


What do I need to do so that the 'generate code' function produces these accessor methods?

Thanks

Tryst
Tryst

thomaskilian

  • Guest
Re: Public Properties
« Reply #1 on: January 12, 2005, 04:21:37 am »
There's a property check mark int attributes properties.

Tryst

  • EA User
  • **
  • Posts: 41
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Public Properties
« Reply #2 on: January 12, 2005, 04:51:15 am »
Yeah, thats solved it.

Thanks  :)

Tryst
Tryst