IPropertyConstraint is to Export RDBMS constraints. Take a look to some
implementation available in the code.

2009/2/24 Karron Qiu <[email protected]>

> 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
>
>
> >
>


-- 
Fabio Maulo

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to