DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
Securing Your Software Supply Chain with JFrog and Azure
Register Today

Trending

  • What to Pay Attention to as Automation Upends the Developer Experience
  • Turbocharge Ab Initio ETL Pipelines: Simple Tweaks for Maximum Performance Boost
  • Tactics and Strategies on Software Development: How To Reach Successful Software [Video]
  • Step Into Serverless Computing

Trending

  • What to Pay Attention to as Automation Upends the Developer Experience
  • Turbocharge Ab Initio ETL Pipelines: Simple Tweaks for Maximum Performance Boost
  • Tactics and Strategies on Software Development: How To Reach Successful Software [Video]
  • Step Into Serverless Computing
  1. DZone
  2. Data Engineering
  3. Data
  4. Northwind Starter Kit Review: The parents have eaten sour grapes, and the children’s teeth are set on edge

Northwind Starter Kit Review: The parents have eaten sour grapes, and the children’s teeth are set on edge

Oren Eini user avatar by
Oren Eini
·
Jan. 13, 12 · News
Like (0)
Save
Tweet
Share
2.11K Views

Join the DZone community and get the full member experience.

Join For Free

this is a review of the northwind starter kit project , this review revision 94815 from dec 18 2011.

in my previous posts, i focused mostly on the needlessness of the repositories implementation and why you want to avoid that (especially implementing it multiple times). in this post, i want to talk about other problems regarding the data access. in this case, the sudden urge to wash my hands that occurred when i saw this:

image

i mean, you are already using an or/m . i don’t like the repository implementation, but dropping down to sql (and unparapetrized one at that) seems uncalled for.

by the way, the most logical reason for this to be done is to avoid mapping the picture column to the category, since the or/m in use here (ef) doesn’t support the notion of lazy properties.

again, this is a problem when you are trying to use multiple or/ms, and that is neither required nor really useful.

okay, enough about the low level data access details. on my next post i’ll deal with how those repositories are actually being used.

Data access POST (HTTP) Repository (version control) sql Data (computing) Implementation Notion (music software) Property (programming)

Published at DZone with permission of Oren Eini, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Trending

  • What to Pay Attention to as Automation Upends the Developer Experience
  • Turbocharge Ab Initio ETL Pipelines: Simple Tweaks for Maximum Performance Boost
  • Tactics and Strategies on Software Development: How To Reach Successful Software [Video]
  • Step Into Serverless Computing

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com

Let's be friends: