Can you see if the check is being written to the hbm.xml ?

On Mar 2, 10:09 am, Juan Fernandez <[email protected]> wrote:
> Hi
>
> I've been trying to add a check constraint to a property, but that
> doesn't get generated on the SQL creation scripts nor in the database.
> I'm using a code like this one
>
> [ActiveRecord]
> public class A : ActiveRecordBase {
>
>     [Property (Check = "Name <> 'a' ")]
>     public string Name { get; set; }
>
> }
>
> Is there a way to do it?
>
> Thanks !!!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to