IPropertyConstraint.Apply is not called when I run my unit tests, I guess that is only called when I set apply_to_ddl = true, so I still can't get any useful information.
On Tue, Feb 24, 2009 at 4:02 PM, Karron Qiu <[email protected]> wrote: > I want to write my own constraint for checking if the property's value is > unique in database. But the IValidator interface only give me the value of > the property. If I inplement IPropertyConstraint interface, I can get the > name of the property, but I still can't get the information of the entity > that will be validated. Because I need to know the type of the entity to > create a criteria. > > Anyone can give me some advice? Thanks. > > -- > Regards, > Karron > > -- Regards, Karron --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
