rlacovara

Stories kicked by rlacovara

Agile ADO.Net Persistence Layer Part 4: Writing data access for new da(rlacovara.blogspot.com)

submitted by rlacovararlacovara(60) 2 years, 4 months ago

I recently decided that I needed to take a fresh look at how to build a persistence architecture that would provide the flexibility of an ORM, that would embrace change instead of resist it (making maintenance code easier), and would use ADO.Net. I started building from the ground up, threw away any best practices that resulted in friction, and Agile ADO.Net Persistence Layer is the result. Part 1 in the series can be found here: Agile ADO.Net Persistence Layer Overview. read more...

add a comment |category: |Views: 12

tags: another

Agile ADO.Net Persistence Layer: Part 3 Service Class SingleDTO Data A(rlacovara.blogspot.com)

submitted by rlacovararlacovara(60) 2 years, 4 months ago

This BAL design embraces change. It’s written with the attitude that we know change is going to happen so we’re going to give you as few things as possible to modify, and make sure we don’t have any cross cutting dependencies, so that you can make changes easily. read more...

add a comment |category: |Views: 13

tags: another

Angry-Coders Comic: The Evolution of Tech-Guy Business Attire(rlacovara.blogspot.com)

submitted by rlacovararlacovara(60) 2 years, 8 months ago

Programmer Comic. I’m a big advocate of casual work attire for programmers. However, I’ve also decided that looking at fugly, Bilbo-Baggins toe hair is not having a positive impact on my work life. read more...

add a comment |category: |Views: 29

tags: another

Angry-Coders Strip #1(rlacovara.blogspot.com)

submitted by rlacovararlacovara(60) 2 years, 8 months ago

A comic for programmers by programmers, well, by a programmer. read more...

add a comment |category: |Views: 13

tags: another

Entity Framework Patterns: Identity Map(rlacovara.blogspot.com)

submitted by rlacovararlacovara(60) 3 years, 1 month ago

ADO.Net Entity Framework is a different way of looking at persistence than most of us are used to. It wants us to do things like add objects/entities to our data context instead of saving them, then it doesn’t save those objects to the database until we call SaveChanges(). We don’t directly save specific entities but instead EF tracks the entities we’ve loaded and then saves changes to db for any entities that it thinks have changed. My first reaction when I realized how different these concepts were from my standard way of saving data was that I hated it (this actually took place with LINQ to SQL which I still don’t care for due to the way it handles sprocs). But the promise of rapid application development and more maintainable code kept me coming back. I started reading up on architectures using ORMs (mostly in the Java world) and I discovered that most of the things I initially didn’t like about Entity Framework and LINQ to SQL are actually accepted design patterns from the ORM world that have been developed by people much smarter than me who have been working for years to solve the Impedance Mismatch problem. So I thought it might be helpful to talk about some of these patterns and how they are handled by Entity Framework. The first one we’ll look at is Identity Map. read more...

add a comment |category: |Views: 82

tags: another

Entity Framework Patterns: Unit of Work (rlacovara.blogspot.com)

submitted by rlacovararlacovara(60) 3 years, 1 month ago

The purpose of this series is to introduce some patterns used by Entity Framework which are probably a departure from the way most of us are used to handling persistence. Last time we looked at Identity Map, this time we’re going to look at a closely related pattern “Unit of Work”. read more...

add a comment |category: |Views: 696

tags: another

What is the Difference Between a DTO and a POCO? (rlacovara.blogspot.com)

submitted by rlacovararlacovara(60) 3 years, 2 months ago

Not too long ago I was at a Visual Studio User Group meeting where the question of POCOs and how they are different from DTOs came up. The presenter, who quite honestly is a much better developer than me, stated confidently that POCOs and DTOs are the same thing. I immediately clamped both hands over my mouth to keep from screaming “They are not!”. So, there seems to be a lack of good information in the .Net community about what these objects are. I’m going to try and clarify the issue. read more...

add a comment |category: |Views: 112

tags: another

High Performance Data Layer Architecture Part 3(rlacovara.blogspot.com)

submitted by rlacovararlacovara(60) 3 years, 2 months ago

This is the final post in a series that describes one design that I use for high performance data access. In Part 1 we covered overall architecture and design of the PersonDb. In Part 2 we covered the DALBase implementation. If you haven’t read those posts I would recommend going back and looking them over before getting into today’s topic, the DTOParser classes. read more...

add a comment |category: |Views: 54

tags: another