PC Review


Reply
Thread Tools Rate Thread

design decisions and the data row

 
 
=?Utf-8?B?cm9kY2hhcg==?=
Guest
Posts: n/a
 
      22nd Oct 2004
hey all,

i have a customer class that when it gets instantiated creates a default new
row. when i retrieve a customer i just assign it to that new row and it
overwrites it with the retrieved data. no problems. however, when i go to
insert a new record that row already belongs to another record.

i resolved this by making my datarow a pulic property and when i add a new
row i just assign that public row property a new row. is this an ok way to do
this? or is there a better way? i want to make sure i'm coding for
readability?

thanks,
rodchar
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using decisions in Access design Gil Microsoft Access 4 1st Feb 2010 11:16 AM
Dungeon Siege ] [ -- Weird Design Decisions or Overworked Geek Oversights?? NYC XYZ Windows XP Games 8 9th Oct 2006 03:08 AM
Some questions about .NET Framework design decisions SpookyET Microsoft Dot NET Framework 2 4th Apr 2004 07:08 PM
System::String class design decisions Edward Diener Microsoft Dot NET Framework 7 17th Feb 2004 10:55 AM
Design Decisions Mike Labosh Microsoft VB .NET 9 24th Dec 2003 09:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:40 PM.