Development With A Dot

Blog on development in general, and specifically on .NET

Sponsors

News

My Friends

My Links

Permanent Posts

Portuguese Communities

Browse by Tags

All Tags » .NET (RSS)
Intercepting LINQ Queries
A common request when working with LINQ queries (Entity Framework, NHibernate, etc) is the ability to intercept them, that is, inspect an existing query and possibly modify something in it. This is not extremely difficult to do “by hand”, but Microsoft...
Posted: May 23 2013, 10:03 AM by Ricardo Peres | with no comments
Filed under: ,
Entity Framework Code First Fluent Validation
Back to Entity Framework Code First (EFCF) validation. On my previous post I mentioned that EFCF did not support fluent validation. While this is true, it isn’t too hard to implement one such mechanism, which is exactly why I am writing this! I will be...
Entity Framework Code First Validation
Introduction Most persistence frameworks implement some kind of custom validation of entities before they are sent to the database. By custom I mean something more than just “is not null”, “has XX characters”, etc. This typically includes individual properties...
Blogs Portugueses Sobre SharePoint
This post is in portuguese only, sorry! A partir de um comentário no LinkedIn , no grupo da Comunidade Portuguesa de SharePoint ( http://www.linkedin.com/groups?home=&gid=996587&trk=anet_ug_hm ) foi começada uma lista dos blogs de autores portugueses...
Filter Collections Automatically With Entity Framework Code First
Introduction In some O/RMs, it is possible to specify automatic filters for entity collections such as one-to-many or many-to-many. These are applied automatically whenever these collections are being populated. Entity Framework does not offer one such...
Querying Entity Framework Code First Inheritance
This is a short post to complement my previous one on Entity Framework Code First Inheritance : how to query for a specific class. The options are: From the DbContext collection: 1: IEnumerable<DerivedA> derived = ctx.Bases.OfType<DerivedA>...
Visual Studio 2012 and .NET 4.5 Expert Development Cookbook Review
Visual Studio 2012 and .NET 4.5 Expert Development Cookbook I recently started reading Packt Publishing ’s Visual Studio 2012 and .NET 4.5 Expert Development Cookbook . It is a book focused primarily on the new features of .NET 4.5 and Visual Studio 2012...
Entity Framework Code First Inheritance
Introduction Another post for self reference, this time, how to map inheritance strategies with Entity Framework Code First. Single Table Inheritance / Table Per Class Hierarchy First, the default strategy: one table for all classes in the hierarchy....
Entity Framework Code First Relations
Introduction This post is more for self-reference than anything else. Basically, I tend to forget some options for mapping relations with Entity Framework Code First, so I wrote this. If in doing so it helps someone, even better! One-to-Many First, the...
Unity – Part 3: Aspect Oriented Programming
AOP This is my third post on Unity. See the first here for an introduction and the second here for how to apply dependency injection. Aspect Oriented Programming (AOP) is a technique for applying cross-cutting concerns to existing implementations, without...
More Posts Next page »