Hi Marcus, here is part of my domain class:

    [ActiveRecord("Poliza"), JoinedBase]
    public class PolizaGeneral : Tramite
    {
        [BelongsTo(NotFoundBehaviour = NotFoundBehaviour.Exception,
NotNull = true)]
        public Cliente Contratante { get; set; }

        [OneToOne(Cascade = CascadeEnum.All)]
        public Slip Slip { get; set; }

        [HasMany(typeof (ComisionAsociado), ColumnKey = "Poliza",
Cascade = ManyRelationCascadeEnum.All,
            Lazy = false, Table = "ComisionAsociado")]
        public IList<ComisionAsociado> Comisiones { get; set; }

        [JsonIgnore]
        [HasMany(typeof (Siniestro), ColumnKey = "Poliza", Cascade =
ManyRelationCascadeEnum.All,
            Lazy = false, Table = "Siniestro", Inverse = false)]
        public IList<Siniestro> Siniestros { get; set; }

        [JsonIgnore]
        [HasMany(typeof (Endoso), ColumnKey = "Poliza", Cascade =
ManyRelationCascadeEnum.All, // <<< this is the property i'm testing
            Lazy = true, Table = "Endoso")]
        public IList<Endoso> Endosos { get; set; }

        [BelongsTo(NotFoundBehaviour = NotFoundBehaviour.Exception,
NotNull = true)]
        public DireccionValueObject DireccionCobro { get; set; }

...

    }

Thank you for ypur help Marcus.


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