public DatabaseTableSolutionItemEditorProvider(IDatabaseTableDataProvider tableDataProvider, IContainerProvider containerRegistry, ITableDefinitionProvider tableDefinitionProvider) { this.tableDataProvider = tableDataProvider; this.containerRegistry = containerRegistry; this.tableDefinitionProvider = tableDefinitionProvider; }
public OpenDatabaseTableReverseCommand(IEventAggregator eventAggregator, ITableDefinitionProvider tableDefinitionProvider, Lazy <IDocumentManager> documentManager) { this.eventAggregator = eventAggregator; this.tableDefinitionProvider = tableDefinitionProvider; this.documentManager = documentManager; }
public MetaColumnsSupportService(ITableEditorPickerService tableEditorPickerService, ITableDefinitionProvider definitionProvider, IRemoteConnectorService remoteConnectorService) { this.tableEditorPickerService = tableEditorPickerService; this.definitionProvider = definitionProvider; this.remoteConnectorService = remoteConnectorService; }
public GenericTableDocumentService(ITableDefinitionProvider tableDefinitionProvider, IDocumentManager documentManager, DatabaseTableSolutionItemEditorProvider documentProvider) { this.tableDefinitionProvider = tableDefinitionProvider; this.documentManager = documentManager; this.documentProvider = documentProvider; }
public DatabaseTableSolutionItemNameProvider(IParameterFactory parameterFactory, ITableDefinitionProvider tableDefinitionProvider, IDatabaseProvider databaseProvider) { this.parameterFactory = parameterFactory; this.tableDefinitionProvider = tableDefinitionProvider; this.databaseProvider = databaseProvider; }
public DatabaseTableSolutionItemProviderProvider(ITableDefinitionProvider definitionProvider, ITableOpenService tableOpenService, IDatabaseProvider databaseProvider) { this.definitionProvider = definitionProvider; this.tableOpenService = tableOpenService; this.databaseProvider = databaseProvider; }
protected ViewModelBase(IHistoryManager history, DatabaseTableSolutionItem solutionItem, ISolutionItemNameRegistry solutionItemName, ISolutionManager solutionManager, ISolutionTasksService solutionTasksService, IEventAggregator eventAggregator, IQueryGenerator queryGenerator, IDatabaseTableDataProvider databaseTableDataProvider, IMessageBoxService messageBoxService, ITaskRunner taskRunner, IParameterFactory parameterFactory, ITableDefinitionProvider tableDefinitionProvider, IItemFromListProvider itemFromListProvider, ISolutionItemIconRegistry iconRegistry, ISessionService sessionService, IDatabaseTableCommandService commandService, IParameterPickerService parameterPickerService, IStatusBar statusBar, IMySqlExecutor mySqlExecutor) { this.solutionItemName = solutionItemName; this.solutionManager = solutionManager; this.solutionTasksService = solutionTasksService; this.queryGenerator = queryGenerator; this.databaseTableDataProvider = databaseTableDataProvider; this.messageBoxService = messageBoxService; this.taskRunner = taskRunner; this.parameterFactory = parameterFactory; this.tableDefinitionProvider = tableDefinitionProvider; this.itemFromListProvider = itemFromListProvider; this.sessionService = sessionService; this.commandService = commandService; this.parameterPickerService = parameterPickerService; this.statusBar = statusBar; this.mySqlExecutor = mySqlExecutor; this.solutionItem = solutionItem; History = history; undoCommand = new DelegateCommand(History.Undo, CanUndo); redoCommand = new DelegateCommand(History.Redo, CanRedo); Save = new AsyncAutoCommand(SaveSolutionItem); title = solutionItemName.GetName(solutionItem); Icon = iconRegistry.GetIcon(solutionItem); nameGeneratorParameter = parameterFactory.Factory("Parameter"); History.PropertyChanged += (_, _) => { undoCommand.RaiseCanExecuteChanged(); redoCommand.RaiseCanExecuteChanged(); RaisePropertyChanged(nameof(IsModified)); }; tableDefinition = tableDefinitionProvider.GetDefinition(solutionItem.DefinitionId) !; LoadAndCreateCommands(); nameGeneratorParameter = parameterFactory.Factory(tableDefinition.Picker); }
public QueryGenerator(ITableDefinitionProvider tableDefinitionProvider, ICreatureStatCalculatorService calculatorService, IParameterFactory parameterFactory, IConditionQueryGenerator conditionQueryGenerator) { this.tableDefinitionProvider = tableDefinitionProvider; this.calculatorService = calculatorService; this.parameterFactory = parameterFactory; this.conditionQueryGenerator = conditionQueryGenerator; }
public QueryParserService( ITableDefinitionProvider tableDefinitionProvider, IQueryEvaluator queryEvaluator, ISessionService sessionService, IDatabaseTableDataProvider loader) { this.tableDefinitionProvider = tableDefinitionProvider; this.queryEvaluator = queryEvaluator; this.sessionService = sessionService; this.loader = loader; }
public DatabaseTableSolutionItemProviderProvider(ITableDefinitionProvider definitionProvider, IDatabaseTableDataProvider tableDataProvider, IItemFromListProvider itemFromListProvider, IMessageBoxService messageBoxService, IParameterFactory parameterFactory) { this.definitionProvider = definitionProvider; this.tableDataProvider = tableDataProvider; this.itemFromListProvider = itemFromListProvider; this.messageBoxService = messageBoxService; this.parameterFactory = parameterFactory; }
public DatabaseTableDataProvider(ITableDefinitionProvider tableDefinitionProvider, IMySqlExecutor sqlExecutor, IMessageBoxService messageBoxService, IDatabaseProvider databaseProvider, IDatabaseTableModelGenerator tableModelGenerator) { this.tableDefinitionProvider = tableDefinitionProvider; this.sqlExecutor = sqlExecutor; this.messageBoxService = messageBoxService; this.databaseProvider = databaseProvider; this.tableModelGenerator = tableModelGenerator; }
public DatabaseTablesFindAnywhereSource(IMySqlExecutor executor, ITableDefinitionProvider definitionProvider, Lazy <IDocumentManager> documentManager, IEventAggregator eventAggregator, IParameterFactory parameterFactory) { this.executor = executor; this.definitionProvider = definitionProvider; this.documentManager = documentManager; this.eventAggregator = eventAggregator; this.parameterFactory = parameterFactory; }
public TableOpenService( IParameterFactory parameterFactory, IItemFromListProvider itemFromListProvider, IDatabaseTableDataProvider tableDataProvider, ITableDefinitionProvider definitionProvider, IMessageBoxService messageBoxService) { this.parameterFactory = parameterFactory; this.itemFromListProvider = itemFromListProvider; this.tableDataProvider = tableDataProvider; this.definitionProvider = definitionProvider; this.messageBoxService = messageBoxService; }
public SchemaProvider( ISqlObjectProvider sqlObjectProvider, ISqlExpressionDependencyProvider sqlExpressionDependencyProvider, IForeignKeyProvider foreignKeyProvider, ISqlModuleProvider sqlModuleProvider, ITableDefinitionProvider tableDefinitionProvider, IColumnProvider columnProvider) { SqlObjectProvider = sqlObjectProvider; SqlExpressionDependencyProvider = sqlExpressionDependencyProvider; ForeignKeyProvider = foreignKeyProvider; SqlModuleProvider = sqlModuleProvider; TableDefinitionProvider = tableDefinitionProvider; ColumnProvider = columnProvider; }
protected ViewModelBase(IHistoryManager history, DatabaseTableSolutionItem solutionItem, ISolutionItemNameRegistry solutionItemName, ISolutionManager solutionManager, ISolutionTasksService solutionTasksService, IEventAggregator eventAggregator, IQueryGenerator queryGenerator, IDatabaseTableDataProvider databaseTableDataProvider, IMessageBoxService messageBoxService, ITaskRunner taskRunner, IParameterFactory parameterFactory, ITableDefinitionProvider tableDefinitionProvider, IItemFromListProvider itemFromListProvider, ISolutionItemIconRegistry iconRegistry) { this.solutionItemName = solutionItemName; this.solutionManager = solutionManager; this.solutionTasksService = solutionTasksService; this.queryGenerator = queryGenerator; this.databaseTableDataProvider = databaseTableDataProvider; this.messageBoxService = messageBoxService; this.taskRunner = taskRunner; this.parameterFactory = parameterFactory; this.itemFromListProvider = itemFromListProvider; this.solutionItem = solutionItem; History = history; undoCommand = new DelegateCommand(History.Undo, CanUndo); redoCommand = new DelegateCommand(History.Redo, CanRedo); Save = new DelegateCommand(SaveSolutionItem); title = solutionItemName.GetName(solutionItem); Icon = iconRegistry.GetIcon(solutionItem); nameGeneratorParameter = parameterFactory.Factory("Parameter"); History.PropertyChanged += (_, _) => { undoCommand.RaiseCanExecuteChanged(); redoCommand.RaiseCanExecuteChanged(); RaisePropertyChanged(nameof(IsModified)); }; tableDefinition = tableDefinitionProvider.GetDefinition(solutionItem.DefinitionId) !; nameGeneratorParameter = parameterFactory.Factory(tableDefinition.Picker); AutoDispose(eventAggregator.GetEvent <EventRequestGenerateSql>() .Subscribe(ExecuteSql)); }
public TableEditorPickerService(ITableOpenService tableOpenService, ITableDefinitionProvider definitionProvider, IContainerProvider containerProvider, IMainThread mainThread, ISessionService sessionService, Lazy <IDocumentManager> documentManager, IMessageBoxService messageBoxService, IWindowManager windowManager) { this.tableOpenService = tableOpenService; this.definitionProvider = definitionProvider; this.containerProvider = containerProvider; this.mainThread = mainThread; this.sessionService = sessionService; this.documentManager = documentManager; this.messageBoxService = messageBoxService; this.windowManager = windowManager; }
public DatabaseTableSolutionItemRemoteCommandProvider(ITableDefinitionProvider tableDefinitionProvider) { this.tableDefinitionProvider = tableDefinitionProvider; }
public QueryGenerator(ITableDefinitionProvider tableDefinitionProvider, IConditionQueryGenerator conditionQueryGenerator) { this.tableDefinitionProvider = tableDefinitionProvider; this.conditionQueryGenerator = conditionQueryGenerator; }