public override async Task UpdateViewDetailsAsync(OracleObjectIdentifier objectIdentifier, ObjectDetailsModel dataModel, CancellationToken cancellationToken) { var viewCommentDataProvider = new CommentDataProvider(dataModel, objectIdentifier, null); var columnConstraintDataProvider = new ConstraintDataProvider(dataModel, objectIdentifier, null); await UpdateModelAsync(true, cancellationToken, viewCommentDataProvider, columnConstraintDataProvider); }
public override async Task UpdateColumnDetailsAsync(OracleObjectIdentifier objectIdentifier, string columnName, ColumnDetailsModel dataModel, CancellationToken cancellationToken) { var columnDetailDataProvider = new ColumnDetailDataProvider(dataModel, objectIdentifier, columnName); var columnCommentDataProvider = new CommentDataProvider(dataModel, objectIdentifier, columnName); var columnConstraintDataProvider = new ConstraintDataProvider(dataModel, objectIdentifier, columnName); var columnIndexesDataProvider = new IndexDetailDataProvider(dataModel, objectIdentifier, columnName); var indexColumnDataProvider = new IndexColumnDataProvider(dataModel, objectIdentifier, columnName); var detailHistogramDataProvider = new ColumnDetailHistogramDataProvider(dataModel, objectIdentifier, columnName); var columnInMemoryDetailsDataProvider = new ColumnDetailInMemoryDataProvider(dataModel, objectIdentifier, columnName, Version); await UpdateModelAsync(true, cancellationToken, columnDetailDataProvider, columnCommentDataProvider, columnConstraintDataProvider, columnIndexesDataProvider, indexColumnDataProvider, detailHistogramDataProvider, columnInMemoryDetailsDataProvider); }
public override async Task UpdateTableDetailsAsync(OracleObjectIdentifier objectIdentifier, TableDetailsModel dataModel, CancellationToken cancellationToken) { var tableDetailDataProvider = new TableDetailDataProvider(dataModel, objectIdentifier); var spaceAllocationDataProvider = new TableSpaceAllocationDataProvider(dataModel, objectIdentifier, String.Empty); var tableCommentDataProvider = new CommentDataProvider(dataModel, objectIdentifier, null); var tableInMemorySpaceAllocationDataProvider = new TableInMemorySpaceAllocationDataProvider(dataModel, objectIdentifier, Version); var indexDetailDataProvider = new IndexDetailDataProvider(dataModel, objectIdentifier, null); var indexColumnDataProvider = new IndexColumnDataProvider(dataModel, objectIdentifier, null); var partitionDataProvider = new PartitionDataProvider(dataModel, objectIdentifier, Version); var tablespaceDetailDataProvider = new TablespaceDetailDataProvider(dataModel.TablespaceDataModel); var datafileDataProvider = new TablespaceFilesDataProvider(dataModel.TablespaceDataModel); await UpdateModelAsync(true, cancellationToken, tableDetailDataProvider, tableCommentDataProvider, spaceAllocationDataProvider, tableInMemorySpaceAllocationDataProvider, indexDetailDataProvider, indexColumnDataProvider, partitionDataProvider.PartitionDetailDataProvider, partitionDataProvider.SubPartitionDetailDataProvider, tablespaceDetailDataProvider, datafileDataProvider); }
public JokeBusinessLogic() { categoryData = new CategoryDataProvider(); jokeData = new JokeDataProvider(); commentData = new CommentDataProvider(); }