Ejemplo n.º 1
0
        public RubricaContattiType(RubricaContatti r)
            : base(r)
        {
            if (r == null || r.IsValid == false)
            {
                return;
            }

            this.AFF_IPAIsNull         = !(r.AffIPA.HasValue);
            this.ID_CONTACTIsNull      = !(r.IdContact.HasValue);
            this.REF_ID_REFERRALIsNull = !(r.RefIdReferral.HasValue);

            this.m_FLG_IPA       = Convert.ToInt32(r.IsIPA).ToString();
            this.m_FLG_PEC       = Convert.ToInt16(r.IsPec);
            this.m_FLG_PECIsNull = false;
            this.m_TIPO_REF      = r.TipoContatto.ToString();
            if (r.MappedAppsId == null)
            {
                this.m_MAPPED_APPS = MappedAppsListType.Null;
            }
            else
            {
                this.m_MAPPED_APPS             = new MappedAppsListType();
                this.m_MAPPED_APPS.MappedApps  = r.MappedAppsId.ToArray();
                this.m_MAPPED_APPS.StatusArray = new OracleTypes.OracleUdtStatus[r.MappedAppsId.Count];
                Array.ForEach(this.m_MAPPED_APPS.StatusArray, x => x = OracleTypes.OracleUdtStatus.NotNull);
            }
        }
Ejemplo n.º 2
0
        public virtual OracleTypes.IOracleCustomType CreateObject()
        {
            MappedAppsListType obj = new MappedAppsListType();

            return(obj);
        }