Esempio n. 1
0
        public void Store(TSFileBuildCache value)
        {
            if (!IsEnabled)
            {
                return;
            }
            var relation = _tr !.GetRelation <ITSFileBuildCacheTable>();

            relation.Upsert(value);
        }
Esempio n. 2
0
        public void Store(TSFileBuildCache value)
        {
            if (!IsEnabled)
            {
                return;
            }
            var relation = _tsRelation(_tr);

            relation.Upsert(value);
        }
Esempio n. 3
0
        public void Store(TSFileBuildCache value)
        {
            if (!IsEnabled)
            {
                return;
            }
            var relation = _tsRelation(_tr);
            var existing = relation.FindByIdOrDefault(value.ContentHash, value.ConfigurationId);

            if (existing != null)
            {
                if (CompareArrays(existing.LocalImports, value.LocalImports) && CompareArrays(existing.LocalImportsHashes, value.LocalImportsHashes) &&
                    CompareArrays(existing.ModuleImports, value.ModuleImports) && CompareArrays(existing.ModuleImportsHashes, value.ModuleImportsHashes))
                {
                    return;
                }
            }
            relation.Upsert(value);
        }
Esempio n. 4
0
 public void Store(TSFileBuildCache value)
 {
     _tsRelation(_tr).Insert(value);
 }
Esempio n. 5
0
 public void Store(TSFileBuildCache value)
 {
 }