Ejemplo n.º 1
0
        public void Start()
        {
            var netGraphMgr = new NetGraphMgr(NetGraphCli);

            "Starting writes to storage".ToDebug <NetGraphDemo>();
            netGraphMgr.LoadRedisFromFile();

            "Starting relationship lookups".ToDebug <NetGraphDemo>();
            netGraphMgr.LookupByEed();
            netGraphMgr.LookupByPd();
            netGraphMgr.LookupBySd();

            "Starting relationship lookups by attribute".ToDebug <NetGraphDemo>();
            netGraphMgr.LookupEedByAttributes();

            "Starting relationship lookups by attribute from db only".ToDebug <NetGraphDemo>();
            netGraphMgr.LookupEedByAttributesDbOnly();
        }
Ejemplo n.º 2
0
        public void Start()
        {

            var netGraphMgr = new NetGraphMgr(NetGraphCli);

            "Starting writes to storage".ToDebug<NetGraphDemo>();
            netGraphMgr.LoadRedisFromFile();

            "Starting relationship lookups".ToDebug<NetGraphDemo>();
            netGraphMgr.LookupByEed();
            netGraphMgr.LookupByPd();
            netGraphMgr.LookupBySd();

            "Starting relationship lookups by attribute".ToDebug<NetGraphDemo>();
            netGraphMgr.LookupEedByAttributes();

            "Starting relationship lookups by attribute from db only".ToDebug<NetGraphDemo>();
            netGraphMgr.LookupEedByAttributesDbOnly();
        }