How to create 3 tire application using LINQ(c-sharpcorner.com)

submitted by nareshshnareshsh(824) 2 years, 8 months ago

This article describes how to create 3 tire architecture project in LINQ to SQL.

17 comments |category: |Views: 793

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by fquednaufquednau(404) 2 years, 8 months ago 0

Actually, put another tire on it, then you'll have a full car.

Reply

posted by sgoguensgoguen(70) 2 years, 8 months ago 0

Vroom vroom!

Reply

posted by senfosenfo(881) 2 years, 8 months ago 0

This is the most awful code I have seen on DotNetKicks in a LONG time. I would bury this trash if I could.

Reply

posted by SemiNormalSemiNormal(2) 2 years, 8 months ago 0

Man, I sure am tiered of all this criticism over spelling. ;)

Reply

posted by SemiNormalSemiNormal(2) 2 years, 8 months ago 0

@senfo: Possibly. But this is why I never post my code - it works, but looks terrible.

Why not just use something like NHibernate or SubSonic? Don't re-re-re-invent the wheel.

Reply

posted by powerrushpowerrush(3873) 2 years, 8 months ago 0

Thought it was a typo on the submit, but apparently not. Clearly c-sharpcorner.com has no editors or peer approval whatsoever. Unfortunately it makes the site look really amateurish.

Reply

posted by superghostsuperghost(2260) 2 years, 8 months ago 0

Or use PLINQO!

Reply

posted by DamienGDamienG(1405) 2 years, 8 months ago 0

Typo's aside this application doesn't have three tiers, it's just an extra class library on the client tier. It also mixes data access methods with the class (REGISTER has both properties and an insert method), the stored proc is storing the password in clear text and is completely unnecessary as LINQ to SQL is capable of doing exactly what the SP does already.

In short, do not follow these practices if you want a good LINQ to SQL based app. There are much better samples available.

[)amien
LINQ to SQL team

Reply

posted by jdschwarjdschwar(365) 2 years, 8 months ago 0

This is seriously one of the worst articles I've seen linked on DotNetKicks.

Reply

posted by powerrushpowerrush(3873) 2 years, 8 months ago 0

Yeah, unfortunately, what gets published is based upon user input. It's hard to detect and prove users acting as shills and "sock-puppets".

Reply

posted by powerrushpowerrush(3873) 2 years, 8 months ago 0

DamienG +1 (given his background, consider his opinion seriously)

Reply

posted by SuperJasonSuperJason(2740) 2 years, 8 months ago 0

Oh my god this is funny.

Reply

posted by FrenchiInLAFrenchiInLA(99) 2 years, 8 months ago 0

good luck with your tires, man I am sure you will be going really far in your carrier.

Reply

posted by lysplysp(5) 2 years, 8 months ago 0

Nice bio too.

I have complite my PGDCA from SP University V.V.Nagar and MCP (Microsoft Certified Professional).With more then 2 years of exp. in the fild of Web Application.I have knowlage of .NET 3.5,LINQ,AJAX,Crystal Report etc.

Reply

posted by senfosenfo(881) 2 years, 8 months ago 0

@SemiNormal the fact that the code works only accounts for so much. This code is a perfect example of how NOT to use LINQ to SQL. But what really got to me is that the author claims to be MVP. People will see this and respect the article, despite the fact that the code/technique is awful.

Reply

posted by SemiNormalSemiNormal(2) 2 years, 8 months ago 0

@senfo: I agree 100% with you.

Reply

posted by noorani786noorani786(342) 2 years, 8 months ago 0

awful! awful! awful! a prime example of how behind universities in India still are when it comes to OOP. one my friends who recently graduated with a degree in "computer science" mentioned that they were required to write their programming assignments (as in with a pencil on a piece of a paper) because of a lack of computers in their school. she wasn't sure what compiling a program meant.

Reply

information Login or create an account to comment on this story