Ejemplo n.º 1
0
        public override void RunUnSilent(IStore store)
        {
            switch (Graph.SparqlGrpahRefTypeEnum)
            {
            case SparqlGrpahRefTypeEnum.Setted:
                store.NamedGraphs.DropGraph(Graph.Name);
                break;

            case SparqlGrpahRefTypeEnum.Default:
                store.Clear();
                break;

            case SparqlGrpahRefTypeEnum.Named:
                store.NamedGraphs.ClearAllNamedGraphs();
                break;

            case SparqlGrpahRefTypeEnum.All:
                store.ClearAll();
                break;

            default:
                throw new ArgumentOutOfRangeException();
            }
        }