p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > .NET > Other .NET > LINQ
I forgot my password Register Now
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 p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 4th, 2009, 10:05 AM
Authorized User
Points: 131, Level: 2
Points: 131, Level: 2 Points: 131, Level: 2 Points: 131, Level: 2
Activity: 15%
Activity: 15% Activity: 15% Activity: 15%
 
Join Date: Sep 2005
Location: , , .
Posts: 31
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old November 10th, 2009, 01:50 AM
Friend of Wrox
Points: 3,152, Level: 23
Points: 3,152, Level: 23 Points: 3,152, Level: 23 Points: 3,152, Level: 23
Activity: 20%
Activity: 20% Activity: 20% Activity: 20%
 
Join Date: Jun 2003
Location: Tehran, Iran
Posts: 922
Thanks: 0
Thanked 1 Time in 1 Post
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #3 (permalink)  
Old November 10th, 2009, 09:05 AM
Authorized User
Points: 131, Level: 2
Points: 131, Level: 2 Points: 131, Level: 2 Points: 131, Level: 2
Activity: 15%
Activity: 15% Activity: 15% Activity: 15%
 
Join Date: Sep 2005
Location: , , .
Posts: 31
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #4 (permalink)  
Old November 14th, 2009, 10:47 AM
Friend of Wrox
Points: 3,152, Level: 23
Points: 3,152, Level: 23 Points: 3,152, Level: 23 Points: 3,152, Level: 23
Activity: 20%
Activity: 20% Activity: 20% Activity: 20%
 
Join Date: Jun 2003
Location: Tehran, Iran
Posts: 922
Thanks: 0
Thanked 1 Time in 1 Post
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

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 04: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 01:07 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc