Ejemplo n.º 1
0
        //private TXLifeBuilder(TXLife_Type baseEntity) : base(baseEntity) { }

        protected override void ValidateBaseObject(TXLife_Type baseEntity)
        {
            if (baseEntity.ShouldSerializeItems())
            {
                throw new ArgumentException("The TXLife_Type.Items collection should be empty. This builder will help handle the ACORD spec logic with setting this property.", "baseEntity");
            }
        }