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
 
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 ?

An object? LoL
 
Properties

public string Xyz
{
get { return xyz; }
set { xyz = value; }
}
 
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; }
}
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top