473,406 Members | 2,816 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Data beans


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
Nov 15 '05 #1
3 5377
On Wed, 3 Sep 2003 09:47:58 +1000, "peteZ" <pe***@aol.com> wrote:

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

--
NULL
Nov 15 '05 #2
Properties

public string Xyz
{
get { return xyz; }
set { xyz = value; }
}

"peteZ" <pe***@aol.com> wrote in message
news:Ot**************@TK2MSFTNGP12.phx.gbl...

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

Nov 15 '05 #3
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; }
}
}

--
Mickey Williams
Author, "Microsoft Visual C# .NET Core Reference", MS Press
www.servergeek.com

"peteZ" <pe***@aol.com> wrote in message
news:Ot**************@TK2MSFTNGP12.phx.gbl...

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

Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: jenniferyiu | last post by:
Hi. I downloaded the bean builder and followed the steps told on http://java.sun.com/products/javabeans/beanbuilder/1.0/docs/guide/tutorial.html and the sample tools was created as the above...
10
by: Nikita A. Visnevski | last post by:
Hi everyone, I am rather new to Java beans. Just picked up a book last night and started reading about them. I am building an application that allows a user to define objects with dynamic...
1
by: Jean Paul | last post by:
What are Java Beans and when do you use them?? Thnx anyone
1
by: milkyway | last post by:
Hello out there, I have seen the docuemntation for the accessing of an array of beans from a .jsp here at: http://struts.apache.org/faqs/indexedprops.html Has anyone acutally done this? I...
0
by: DD | last post by:
Hi Guys! Just would like to share with you my experiense in this matter. I was trying to evaluate how suitable Oracle OLAP for our applications. As probably you did, I have downloaded from OTN...
0
by: Joyce | last post by:
The XML Schema design problem to solve is as follows: We have 2 combo boxes to populate from schema data, let's say: 1. States 2. Cities (and this one gets populated depending on the choice of...
13
by: gtux | last post by:
Hi everybody: I'm new in Javascript, I found some code and there is this: var fruit = { 'apple' : { 'weight' : 10, 'cost' : 9}, 'peach' : { 'weight' : 19, 'cost' : 10} }
9
by: Stephen H. | last post by:
Hi, I have an existing web application with java beans that I wanne migrate to ASP.NET using C#. The existing web application has some jsp files that use java beans as follows: .... <%@...
1
by: maya | last post by:
I started a new job recently for which I need to learn both beans and taglibs (at my last job also did JSP but they didn't use beans or taglibs..) reading up on this in oreilly (JSP, 3rd ed.) I...
12
lifeisgreat20009
by: lifeisgreat20009 | last post by:
I am a newbie to Struts and JSP...I have been working on the code below for 5 hours now..I googled a lot but couldn't get much help so finally I am here.. Hoping of getting my problem solved. Please...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.