Quantcast
Channel: Development With A Dot
Browsing all 404 articles
Browse latest View live

Entity Framework Pitfalls – Deleting Orphans

The idea for this post came from Jimmy Bogard, of AutoMapper fame.Entity Framework does not really have the notion of parents and children, only of relations. Some of these relations can be mandatory,...

View Article


Entity Framework Pitfalls – Deleting Orphans

The idea for this post came from Jimmy Bogard, of AutoMapper fame.Entity Framework does not really have the notion of parents and children, only of relations. Some of these relations can be mandatory,...

View Article


Image may be NSFW.
Clik here to view.

Getting the Topmost Hierarchical Parent in T-SQL

IntroductionIt is normal in databases to have hierarchical tables, that is, tables that are related with themselves, forming a parent-child relation. For example, consider this:The parent_id column...

View Article

NHibernate Pitfalls: Fetch and Paging

This is part of a series of posts about NHibernate Pitfalls. See the entire collection here.NHibernate allows you to force loading additional references (many to one, one to one) or collections (one to...

View Article

NHibernate Pitfalls: Loading Foreign Key Properties

This is part of a series of posts about NHibernate Pitfalls. See the entire collection here.When saving a new entity that has references to other entities (one to one, many to one), one has two options...

View Article


NHibernate Pitfalls: Querying Unmapped Classes

This is part of a series of posts about NHibernate Pitfalls. See the entire collection here.The idea for this post came from Kelly Brownsberger (@kbrowns).When asking NHibernate to query an unmapped...

View Article

Blog Changed

This blog has moved to using Orchard. In the next few days, things may not be working exactly as they should; please bear with me, I will try my best to make the transition as smooth as possible.In the...

View Article

Image may be NSFW.
Clik here to view.

NHibernate Pitfalls: XML Mappings

This is part of a series of posts about NHibernate Pitfalls. See the entire collection here.If you are still using XML mappings – .hbm.xml files –, there’s nothing wrong with that, but you may run into...

View Article


Image may be NSFW.
Clik here to view.

Entity Framework Code First Succinctly

It’s official: now I’m a writer! It so happens that the good guys at Syncfusion invited me to write a title to their very popular collection of free technical ebooks, known popularly as the Succinctly...

View Article


Image may be NSFW.
Clik here to view.

Looping Through List Items in SharePoint 2013 Designer Workflows

SharePoint 2013 Designer workflows now has two new interesting options: the ability to call HTTP web services and the option to loop over some code a number of times. This, together with the new REST...

View Article

Image may be NSFW.
Clik here to view.

New Features in SharePoint Designer 2013 Workflows

SharePoint Designer 2013 workflows brought along new and quite welcome features. I will list my favorite ones.First, the ability to define stages (blocks of instructions) and to jump (yes, goto-style!)...

View Article

Image may be NSFW.
Clik here to view.

NHibernate Succinctly

It’s with great pleasure that I see the release of NHibernate Succinctly, a book that I wrote for Syncfusion’s Succinctly series! It’s my second title, more to come! Like Entity Framework Code First...

View Article

Image may be NSFW.
Clik here to view.

ASP.NET Web Forms Extensibility: Page Parser Filters

IntroductionASP.NET includes a valuable yet not well known extension point called the page parser filter. I once briefly talked about it in the context of SharePoint, but I feel a more detailed...

View Article


NHibernate 4.0

Recently, the NHibernate team released NH 4.0. You can get it as a NuGet package from https://www.nuget.org/packages/nhibernate, as a ZIP from http://sourceforge.net/projects/nhibernate/ or as source...

View Article

Entity Framework Pitfalls – Date/Time Operations

When using Entity Framework, you cannot perform date/time operations as you would normally do in .NET/LINQ to Objects. For instance, the following query throws an exception: 1: ctx.Projects.Select(x...

View Article


NHibernate Pitfalls: HQL Delete Does Not Cascade

This is part of a series of posts about NHibernate Pitfalls. See the entire collection here.When you issue an HQL delete statement over an entity, you may be surprised to find out that it will not...

View Article

Deleting Entities in NHibernate

This post was motivated by a conversation with Salvador Gascon (@salvadorgascon). Might even go to the pitfalls section… Anyway, the problem is: how many ways there are to delete an entity in...

View Article


NHibernate Pitfalls: Criteria and Collections of Non-Entities

This is part of a series of posts about NHibernate Pitfalls. See the entire collection here.Criteria API – and QueryOver, for that matter, which is just a strongly-typed wrapper around Criteria –...

View Article

NHibernate Pitfalls: Get and Filters

This is part of a series of posts about NHibernate Pitfalls. See the entire collection here.This was suggested a long time ago by Kelly Brownsberger (@kbrowns). What happens is, even if you have...

View Article

NHibernate Pitfalls: Deletes

This is part of a series of posts about NHibernate Pitfalls. See the entire collection here.While I was writing Deleting Entities in NHibernate, I noticed that actually it referred some pitfalls...

View Article
Browsing all 404 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>