Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > BOOK: Professional Enterprise .NET
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Enterprise .NET
This is the forum to discuss the Wrox book Professional Enterprise .NET by Jon Arking, Scott Millett; ISBN: 978-0-470-44761-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Enterprise .NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old December 16th, 2009, 12:29 PM
Registered User
 
Join Date: Dec 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Remove - UpdateMe - Add

On page 409 where the Borrower is posted back during an Edit. I just wanted to know why it was necessary to Remove the existingBorrower before calling UpdateMe and then Adding it back into the LoanApplication.

app.Borrowers.Remove(existingBorrower);
existingBorrower.UpdateMe(b);
app.Borrowers.Add(existingBorrower);
_repository.Save(app);

Thanks!
Reply With Quote
Reply


Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
add & Remove frm Listbox hotshot_21 ASP.NET 1.0 and 1.1 Basics 1 June 21st, 2007 05:26 PM
Dual dropdown lists, add and remove Endelee Classic ASP Basics 1 May 4th, 2007 03:31 AM
how 2 add or remove .js dynamically in my pages nerssi Javascript 2 September 21st, 2006 09:14 AM
asp boxlist add/remove lip13 Classic ASP Basics 1 December 10th, 2004 05:47 PM
Add and Remove Nodes in XML document. tutul128 XML 3 March 1st, 2004 09:17 AM



All times are GMT -4. The time now is 05:26 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.