コード例 #1
0
 private void GetValue()
 {
     _originalModels = _storedProcedureAccessService.GetStoredProcedureInfoList(_database);
     Models.Clear();
     _originalModels.ToList().ForEach(Models.Add);
     SearchValue.Text = string.Empty;
 }
コード例 #2
0
 public StoredProceduresListPage(IStoredProcedureAccessService storedProcedureAccessService, IDatabaseAccessService dataBaseAccessService, string database)
 {
     _storedProcedureAccessService = storedProcedureAccessService;
     _dataBaseAccessService        = dataBaseAccessService;
     _database       = database;
     _originalModels = storedProcedureAccessService.GetStoredProcedureInfoList(database);
     Models          = new ObservableCollection <StoredProcedureViewModel>(_originalModels);
     InitializeComponent();
 }