Data beans

  • Thread starter Thread starter peteZ
  • Start date Start date
P

peteZ

By data bean - all I am referring to is a object with set and get methods
that simply holds data.

Is there a name these go by in C# land ?

- peteZ
 
Are you talking about CMP? If so, there's nothing like that in the current
version of the SDK, although ObjectSpaces are a similar concept. If you just
want a data container:

[Serializable]
public class Person
{
int _age;
string _name = string.Empty;

public int Age
{
get { return _age; }
set { _age = value; }
}

public string Name
{
get { return _name; }
set { _name = value; }
}
}
 
Back
Top