Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > LINQ
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
LINQ Discuss Microsoft's LINQ (Language INtegrated Query) for .NET 3.0 and later.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the LINQ 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
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 14th, 2009, 05:08 PM
Authorized User
Join Date: Dec 2008
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default Use a simple DBML or this code (base class)?

In my project, I added a DBML. To it, I added my stored procs, my tables. So, I have my website and I have a project that has this DBML. No base class, nothing complicated. It works.

But then, I came across these links, that talk about disconnected mode. Has a base class, inherits from it, etc.


Why do I need to use a base class like those 2 links? to have a n-tier model? I guess i dont understand what connected and disconnected modes mean?
  #2 (permalink)  
Old March 9th, 2012, 11:52 AM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Oct 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default LinQ: Row not found or changed


I keep getting this Row not found or changed error.
I've already tried changing the dbml property Udate Check to "never", without results.
I would greatly appreciate any help I can get on this matter.
Below is the code of the .cs file.


protected void Button13_Click(object sender, EventArgs e)
FacturatieDataContext adm1n = new FacturatieDataContext();
Beheren beheer3 = new Beheren();
Beheren beheer2 = new Beheren();
//select the row
var b3h3er1 = from c in adm1n.Beherens
where c.Naambeheer == TextBox1.Text
select c;

//Make a new beheren
beheer3.Naambeheer = TextBox4.Text;

//the old beheren
beheer2.Naambeheer = TextBox1.Text;

//submit the changes

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
dbml Class error danievermaak BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 October 9th, 2009 03:43 AM
Base Class for Code-Behind Problem groupmatch BOOK: ASP.NET Website Programming Problem-Design-Solution 3 September 8th, 2004 05:06 AM
classes :: base class is inaccessible .... Kaliste C# 3 July 16th, 2004 04:56 AM
base class inheritance krunch97 VB.NET 2002/2003 Basics 6 April 23rd, 2004 11:48 AM
Help with DBObject base class projectedNexus BOOK: ASP.NET Website Programming Problem-Design-Solution 1 August 12th, 2003 06:36 PM

All times are GMT -4. The time now is 10:33 PM.

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