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

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

            relation.Upsert(value);
        }
Exemplo 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);
        }
Exemplo n.º 4
0
 public void Store(TSFileBuildCache value)
 {
     _tsRelation(_tr).Insert(value);
 }
Exemplo n.º 5
0
 public void Store(TSFileBuildCache value)
 {
 }