ICmLocation ICmLocationFactory.Create(Guid guid, ICmLocation owner) { if (owner == null) throw new ArgumentNullException("owner"); int hvo = ((IDataReader)m_cache.ServiceLocator.GetInstance<IDataSetup>()).GetNextRealHvo(); int flid = m_cache.MetaDataCache.GetFieldId("CmPossibility", "SubPossibilities", false); var retval = new CmLocation(m_cache, hvo, guid); owner.SubPossibilitiesOS.Add(retval); return retval; }
private void ExportLocationFields(TextWriter w, ICmLocation item) { if (item != null) ExportMultiUnicode(w, item.Alias); }