Hi!
I noticed something that may be a bug. In my database I have a table containing an FK defined as an Int and "Not Null". When I look at the AddValidationRules() method in the base class of the object generated for that table, I don't find any Not Null rule for the FK like the following:
ValidationRules.AddRule(Validation.CommonRules.NotNull,"someID"); //Where someID is my FK
However, I find all the necessary Not Null Rules for Strings that should not be Null.
I think it would be nice if all the rules that can be derived from the database would be added automatically.
Cheers!
JF