Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > LINQ
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
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?
Old March 9th, 2012, 11:52 AM
Registered User
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

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

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.