Пример #1
0
 // Try version of Join
 //bool TryJoin(L1T top, L2TRaw rawBot, out ExKeyT exKey);
 public bool TryJoin(ObjectIdType top, PropNameType rawBot, out ExKeyT exKey)
 {
     if (TryJoinComp(top, rawBot, out CompositeKeyType cKey, out PropIdType bot))
     {
         exKey = new SimpleExKey(cKey);
         return(true);
     }
Пример #2
0
        // Join and split exploded key from L1 and L2
        //ExKeyT Join(L1T top, L2T bot);
        public SimpleExKey Join(ObjectIdType top, PropIdType bot)
        {
            //CompositeKeyType cKey = JoinComp(top, bot);
            SimpleExKey result = new SimpleExKey(top, bot);

            return(result);
        }
Пример #3
0
        // Join and split exploded key from L1 and L2Raw.
        //ExKeyT Join(L1T top, L2TRaw bot);
        public ExKeyT Join(ObjectIdType top, PropNameType rawBot)
        {
            PropIdType bot = Level2KeyMan.FromRaw(rawBot);
            //CompositeKeyType cKey = JoinComp(top, bot);

            ExKeyT result = new SimpleExKey(top, bot);

            return(result);
        }
Пример #4
0
        // Join and split exploded key from L1 and L2
        //ExKeyT Join(L1T top, L2T bot);
        public ExKeyT Join(ObjectIdType top, PropIdType bot)
        {
            ExKeyT result = new SimpleExKey(top, bot);

            return(result);
        }
Пример #5
0
 //L1T Split(ExKeyT exKey, out L2T bot);
 public ObjectIdType Split(SimpleExKey exKey, out PropIdType bot)
 {
     throw new NotImplementedException();
 }