theladysabine

Stories kicked by theladysabine

Table Per Subclass Inheritance Mapping with Fluent nHibernate(ang3lfir3.wordpress.com)

submitted by ang3lfir3ang3lfir3(660) 2 years, 9 months ago

This is the third in a short series of posts I am working on. While reading through NHibernate in Action I thought to my self that I should create these same examples of Inheritance mapping using Fluent nHibernate to show how simple these mappings can be. read more...

add a comment |category: |Views: 270

tags: another

Table Per Class Hierarchy Inheritance Mapping with Fluent nHibernate(ang3lfir3.wordpress.com)

submitted by ang3lfir3ang3lfir3(660) 2 years, 9 months ago

This is the second in a short series of posts I am working on. While reading through NHibernate in Action I thought to my self that I should create these same examples of Inheritance mapping using Fluent nHibernate to show how simple these mappings can be. The three types of Inheritance mappings that are mentioned on page 92 of NHibernate in Action are :Model * Table Per Concrete Class * Table Per Class Hierarchy * Table Per Subclass I will be using the example from NHibernate in Action to illustrate the mappings. This post covers the Table Per Class Hierarchy example. read more...

add a comment |category: |Views: 487

tags: another

Table Per Class Inheritance Mapping with Fluent nHibernate(ang3lfir3.wordpress.com)

submitted by ang3lfir3ang3lfir3(660) 2 years, 9 months ago

This is the first in a short series of posts I am working on. While reading through NHibernate in Action I thought to my self that I should create these same examples of Inheritance mapping using Fluent nHibernate to show how simple these mappings can be. read more...

add a comment |category: |Views: 241

tags: another

Fluent NHibernate new style mappings - powerful semantics(ang3lfir3.wordpress.com)

submitted by ang3lfir3ang3lfir3(660) 3 years, 2 months ago

So today I updated to the latest build of Fluent NHibernate. As any of you who might have done the same have discovered there are some breaking changes. I wasn’t sure I liked the new class based conventions at first, especially since it wasn’t clear at first how to tackle altering my mappings. Then it dawned on me how powerful the conventions would end up being while also promoting DRY. read more...

1 comment |category: |Views: 286

tags: another

Testing Mandated By God(devlicio.us)

submitted by theladysabinetheladysabine(10) 3 years, 3 months ago

Short and sweet... use it on any stubborn dev more senior than you who professes a Christian faith.... but won't write a line of test code to save his life. read more...

add a comment |category: |Views: 8

tags: another

8 ways to be a better programmer in 6 minutes.(secretgeek.net)

submitted by Tr3vTr3v(376) 3 years, 3 months ago

It's always nice to read a post where you already follow some of the suggestions but find the odd useful nugget, I dislike seeing literals in my source code and the hint about making them stand out with nasty color coding is something I'll be giving a go! read more...

5 comments |category: |Views: 1306

tags: another

Specification Pattern and Lambdas(ang3lfir3.wordpress.com)

submitted by ang3lfir3ang3lfir3(660) 3 years, 9 months ago

While working on my current project I decided that I had a need to use the Specification Pattern . After finding a clean implementation by Jeff Perrin I set to work creating the specifications that I needed. I quickly realized that we were going to end up having a ton of specifications and sometimes they would only apply to very special cases. Other times they would be very broad cases and they needed to be even more composable than even the fluid interface implemented in Jeff’s implementation wasn’t going to be enough. It after all still required me to create a concrete implementation for each specification, no matter how minuscule it might be. This is the part where I thought to my self that since i was really only creating implementations for a single method that I could just write a LambdaSpecification and be able to use this for all the special cases I had. read more...

add a comment |category: |Views: 334

tags: another