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); }
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; }