Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > LINQ
| 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 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 4th, 2009, 10:05 AM
Authorized User
 
Join Date: Sep 2005
Location: , , .
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default Linq - A Design Question

I never used Linq before so I took a one day seminar.

The instructor made a statement that I want to verify. He told the class that you should always create one .dbml file that represented all of the tables, functions and stored procedures in the database rather then creating multiple .dbml files that were a logical grouping of the database tables (ie. A .dbml file that contained all of the customer tables, another that contained all of the Vendor tables ...etc).

Is this true? If not, I was wondering what other programmers do and how they decide what goes in each .dbml file.

Thanks

ps. The system that I am working on is basically a large data entry system. The data is then used to generate all sorts of reports.
 
Old November 10th, 2009, 01:50 AM
Friend of Wrox
Points: 3,558, Level: 25
Points: 3,558, Level: 25 Points: 3,558, Level: 25 Points: 3,558, Level: 25
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: California, USA
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

hello there
I think so but I guess u should tell us ur report from seminar, where u gone?! I donno who was talking in seminar but if u gone & know him well or have any info, let us decide too ;)

I used multiple DataSet in ADO.NET, but I guess its better to have 1 dbml file here as an DataBase.
__________________
Always,
Hovik Melkomian.
 
Old November 10th, 2009, 09:05 AM
Authorized User
 
Join Date: Sep 2005
Location: , , .
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by melvik View Post
hello there
I think so but I guess u should tell us ur report from seminar, where u gone?! I donno who was talking in seminar but if u gone & know him well or have any info, let us decide too ;)

I used multiple DataSet in ADO.NET, but I guess its better to have 1 dbml file here as an DataBase.
I am sorry, but I am not sure what you are asking. The instructor teaches at a local college. This was a continuing Education class. I am not sure if the teacher is correct. He might be. I don't know.
 
Old November 14th, 2009, 10:47 AM
Friend of Wrox
Points: 3,558, Level: 25
Points: 3,558, Level: 25 Points: 3,558, Level: 25 Points: 3,558, Level: 25
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: California, USA
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

well I mean if u doubt ur teacher ...
but since I heard & said before, YES!

HTH
__________________
Always,
Hovik Melkomian.




Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrating to Linq to Sql (pg. 16/18) question Rachel BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 January 19th, 2009 03:15 PM
LINQ question thangxii BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 6 July 6th, 2008 03:13 PM
design question androoo ADO.NET 1 November 13th, 2004 09:41 AM
design question androoo Classic ASP Databases 1 November 13th, 2004 09:41 AM
design question androoo .NET Web Services 1 November 13th, 2004 09:39 AM





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