Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ADO.NET For discussion about ADO.NET.††Topics such as question regarding the System.Data namespace are appropriate.††Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old October 7th, 2008, 12:47 AM
Friend of Wrox
 
Join Date: Dec 2006
Location: , , .
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default confusing in ADO.NET Entity Data Model,Linq to sql

i'm confused with ADO.NET Entity Data Model.it maked many question for me.

when we create a ado.net data entity model in visual studio (edmx file), we should create it in data Layer? or business layer?

if it should be create in DL, then what object(s) or class(es) must be create in business layer?

i saw very articles about entity framework.unfortunately all of them didn't explained this thecnology multi layer application.

what is difference between LINQ to SQL and ado.net entity data model?

which of them is better for data access application?

********

can any one solve this questions and explain this thecnology and scenarios that we can or we should use it?

or any sample of using this (EDM) in multi layer application...

thanx so much
Reply With Quote
  #2 (permalink)  
Old October 7th, 2008, 03:28 AM
Friend of Wrox
Points: 793, Level: 10
Points: 793, Level: 10 Points: 793, Level: 10 Points: 793, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2005
Location: OKC, OK, USA.
Posts: 227
Thanks: 1
Thanked 7 Times in 7 Posts
Default

Angelboy:

Need more information:
   Are your questions referencing any particular model in a WROX Book? If so, please give name of book, page number, etc.
   Where is the Entity Model that was referenced in the LINQ to SQL question?
   What are you trying to show or model in your Entity-Relationship Model?




========================
Disclaimer:††The above comments are solely the opinion of one person and not to be construed as a directive or an incentive to commit fraudulent acts.
Reply With Quote
  #3 (permalink)  
Old October 7th, 2008, 04:33 PM
Friend of Wrox
 
Join Date: Dec 2006
Location: , , .
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi peace95
first thank to you for your reply.
let me to explain problem with an example(very very simple example).

sepose you have a table in database (say it Customers), that it has 3 fields (id,firstName,lastName).
i want to model it, with EDM(Ado.net Entity Data Model).
for this,i create a ado.net entity data model item(a file with edmx extension) by right click on the project in solution explorer window and choose add new item. right?
i create my edmx base on existing my data base. result is a edmx file that contains a object (Customers) that maped to Customers table in my Database.

and then i can get Customers with creating query with Linq To Entity and bind data to controls in the form.

all of these works fine. but my application will be not in N-Layer Architecture. i want to know whwn i want to creat this application in N-Layer architecture, what kind of layers i should create and what objects are exist in what layers?

the edmx files must be create in DL(Data access layer)? or in BL?
when i want to athenticate user inputs, where classe i should create and where i should perform athentication ruls? in BLL, but how?

can you explain the above example,in 3-teri application?
one layer for presentation (it can be windows form application).
one tier for Data access ( i think the edmsx files must be locate in this layer)
one layer for application ruls ( sepose the customer first name and last name must be checked for correct data. for example the name and family can not be contains numberic inputs. and others ruls such as length checking of inputs and ...)
***
thanx so much
Reply With Quote
  #4 (permalink)  
Old October 11th, 2008, 12:29 AM
Friend of Wrox
 
Join Date: Dec 2006
Location: , , .
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi,
any other answers?
Reply With Quote
  #5 (permalink)  
Old November 21st, 2008, 03:56 PM
Registered User
 
Join Date: Nov 2008
Location: Tirupur, Tamilnadu, India.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi dude.. Anyway i dont know the solution for this current post..
but i wanna ask u one thing which is u have posted one forum that ur keyboard is not calling onpaint method in toolstripmenu item right.

now i got that same trouble..
l have override that paint method.. when mouse enter it responds.. but when via keyboard its not responding..

Pls Pls let me know the solution dude..

this is my mail id:
alavu_deen@rediffmail.com (and)
aabdulsukkoor@inautix.co.in
Reply With Quote
  #6 (permalink)  
Old November 21st, 2008, 04:01 PM
Registered User
 
Join Date: Nov 2008
Location: Tirupur, Tamilnadu, India.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Pls reply regarding that Toolstripmenu item onpaint() ..
i got serious trouble with that error..
Looking forward to ur reply
Reply With Quote
Reply


Thread Tools
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
graphical model of ADO.NET zdu Visual Basic 2005 Basics 0 March 31st, 2008 05:41 AM
Should I learn ado.net Or linq? chobo2 LINQ 2 January 4th, 2008 05:59 PM
.NET model vs. pre .NET model. raychoudhury BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 0 January 11th, 2007 05:11 AM
Using ado.net and data binding Brettvan1 VB.NET 2002/2003 Basics 18 February 6th, 2006 12:39 PM
MSDE and SQL CE (using VB.NET and ADO.NET) LEGS ADO.NET 0 July 12th, 2003 11:27 AM



All times are GMT -4. The time now is 02:04 AM.


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