473,387 Members | 1,535 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,387 software developers and data experts.

Best way to define properties and set values?

I have approximately 20 entities that have common and unique properties. The properties are based on binary values stored as integers. When the process runs it will read the values from a database, decode the bits and set each of the entity properties to True or False so those values can be used to update the same properties in a new system. I guess you could say the entities are objects and each one has up to 21 properties.

I'm trying to figure out the best way to approach this. I'm new to OOP so I don't know if I should try to do it this way. One idea is to use dictionaries to define the properties but will need to have a way to store the true/false value from the old system in order to update the new system.

Any ideas? Many thanks in advance!
Jul 6 '12 #1
0 1053

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Charles A. Lackman | last post by:
Hello, I have been working with an application that sends a dataset to other forms that are called from individual DLL's. I have noticed that, a dataset that is passed to another form, when...
0
by: Job Lot | last post by:
I have a form “Form1”, which shows records from database. Now if user wants to change the records, they have to click a button which opens another form “Form2” where they can actually make...
3
by: Sean | last post by:
Hi, I would like to know all the available values for Message.Msg, Message.LParam, Message.WParam. Where can I find all the values? (complete information) In the .NET documentation, it says...
0
by: balamurukan | last post by:
hai, i my own collection in properties window.after cliking browse button it will show one collection editor which has 3 properties contains values(Like datagridColumnstyle collection).I wanto to...
1
by: shapper | last post by:
Hello, I created a library with various web control classes. All these classes access to an SQL database and have a few common properties. Some of the properties are commonly used by the web...
4
Dormilich
by: Dormilich | last post by:
Hi, short: I want to figure out which construct is best suited to store nested values in a template class. background: For my website, I have a template class, that provides my output class...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.