Esempio n. 1
0
        public byte[] queryMerges(Contracts.Database.Revision rev)
        {
            Converters.Revision revcon           = rev;
            StarTree.Plugin.Database.Snapshot sn = _plugin.queryMerges(revcon);

            return(sn.serialize());
        }
Esempio n. 2
0
        public Contracts.Database.Revision getRevision(string id)
        {
            Contracts.Database.Revision cr  = null;
            Plugin.Database.Revision    rev = _plugin.getRevision(id);

            if (rev != null)
            {
                Converters.Revision revcon = rev;
                cr = revcon;
            }
            return(cr);
        }