예제 #1
0
        private QueryCore GetSnapshotForExecution()
        {
            QueryCore core = new QueryCore();

            using (core.TransactChanges())
            {
                core.AdditionalGACReferences = base.AdditionalGACReferences;
                core.AdditionalNamespaces    = base.AdditionalNamespaces;
                core.AdditionalReferences    = base.AdditionalReferences;
                core.IncludePredicateBuilder = base.IncludePredicateBuilder;
                core.ToDataGrids             = base.ToDataGrids;
                core.FilePath       = base.FilePath;
                core.Name           = base.Name;
                core.QueryKind      = base.QueryKind;
                core.Repository     = base.Repository;
                core.Source         = base.Source;
                core.IsMyExtensions = base.IsMyExtensions;
            }
            return(core);
        }
예제 #2
0
 private QueryCore GetSnapshotForExecution()
 {
     QueryCore core = new QueryCore();
     using (core.TransactChanges())
     {
         core.AdditionalGACReferences = base.AdditionalGACReferences;
         core.AdditionalNamespaces = base.AdditionalNamespaces;
         core.AdditionalReferences = base.AdditionalReferences;
         core.IncludePredicateBuilder = base.IncludePredicateBuilder;
         core.ToDataGrids = base.ToDataGrids;
         core.FilePath = base.FilePath;
         core.Name = base.Name;
         core.QueryKind = base.QueryKind;
         core.Repository = base.Repository;
         core.Source = base.Source;
         core.IsMyExtensions = base.IsMyExtensions;
     }
     return core;
 }