コード例 #1
0
        /// <summary>
        /// Get by CTID - will return pending records
        /// </summary>
        /// <param name="ctid"></param>
        /// <returns></returns>
        public static ThisEntity GetSummaryByCtid(string ctid)
        {
            ThisEntity entity = new ThisEntity();

            if (string.IsNullOrWhiteSpace(ctid))
            {
                return(entity);
            }
            return(EntityMgr.GetSummaryByCtid(ctid));
        }
コード例 #2
0
        public static ThisEntity GetDetailByCtid(string ctid, bool skippingCache = false)
        {
            ThisEntity entity = new ThisEntity();

            if (string.IsNullOrWhiteSpace(ctid))
            {
                return(entity);
            }
            //21-03-06 mp - there is too much extra work doing this (would be OK if just the entity)
            var organization = EntityMgr.GetSummaryByCtid(ctid);

            return(GetDetail(organization.Id, skippingCache));
        }