One of the most basic validation rule for Entities that are stored in databases, is to be sure that String Properties are not too long for the corresponding field in database. There are a lot of validation framework over there, most of them using attributes to specify constraints on properties or fields, but what happens [...]

Continue reading about Browse NHibernate metadata to validate property Length

One of the most important stuff in a project build, is the ability to mark the assemblies with unique numbers that permits us to reproduce the build. Tfs does not have a standard way of doing this, but with a couple of MsBuild actions it is really simple to overcome this limitation. This is a [...]

Continue reading about Take control of assembly numbering during a tfs build

I’have a virtual machine with TFS2010 Beta, everything was ok, I’ve not worked with it for the last month, this morning I fire the virtual machine again, open visual studio and found that the TFS is not working. It gave me error TF31002, so I begin to investigate the reason for failure. When TFS does [...]

Continue reading about Problem with TFS2010 Beta, error TF31002

In the first part I showed how to validate an entire object with the help of BindingGroup class, now I want to extend the discussion to handle a typical problem that arise with it. Suppose your business object has a property of type Int32, and you bind this property to a standard textbox, what happens [...]

Continue reading about Validate Business Entities with WPF – Take 2

Validate Business Entities with WPF
on August 14th, 2009
On category: WPF

With Guardian we were investigating about a strategy to validate business entities in a project we work into. You can find a lot of examples around the web on how to use validators, but most of them deal with basic textbox, and property validation stuff. What we need is the ability to use a validation [...]

Continue reading about Validate Business Entities with WPF