Ejemplo n.º 1
0
        /// <summary>
        /// Check that data is valid.
        /// </summary>
        public override void CheckData()
        {
            base.CheckData();
            if (DataConversion.IsNotNull())
            {
                throw new ApplicationException("Not yet implemented");
            }
            if (DataLimitation.IsNotNull())
            {
                throw new ApplicationException("Not yet implemented");
            }

            if (DataCondition.IsNull())
            {
                DataConversion.CheckNotNull("DataConversion");
            }
            else
            {
                DataConversion.CheckNull("DataConversion");
            }

            if (DataCondition.IsNotNull())
            {
                DataCondition.CheckData();
            }
            if (DataConversion.IsNotNull())
            {
                DataConversion.CheckData();
            }
            if (DataLimitation.IsNotNull())
            {
                DataLimitation.CheckData();
            }
        }