bool m_fGotFocus = false; // True if we have focus. public TypeAheadSupportVc(int tag, LcmCache cache) { m_tag = tag; IFwMetaDataCache mdc = cache.DomainDataByFlid.MetaDataCache; m_clid = mdc.GetOwnClsId(m_tag); m_className = mdc.GetClassName(m_clid); m_fieldName = mdc.GetFieldName(m_tag); m_type = (CellarPropertyType)(mdc.GetFieldType(m_tag) & (int)CellarPropertyTypeFilter.VirtualMask); m_sda = cache.DomainDataByFlid; Cache = cache; }
bool m_fGotFocus = false; // True if we have focus. public TypeAheadSupportVc(int tag, FdoCache cache) { m_tag = tag; IFwMetaDataCache mdc = cache.MetaDataCacheAccessor; m_clid = mdc.GetOwnClsId((uint)m_tag); m_className = mdc.GetClassName(m_clid); m_fieldName = mdc.GetFieldName((uint)m_tag); m_type = mdc.GetFieldType((uint)m_tag); m_type = m_type & 0x1f; // strip off virtual bit. m_sda = cache.MainCacheAccessor; m_cache = cache; CreateVirtualProperties(); }