Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > LINQ
Password Reminder
Register
| 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 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.
  #2 (permalink)  
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.
  #3 (permalink)  
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.
  #4 (permalink)  
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.
 


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
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



All times are GMT -4. The time now is 11:04 PM.


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