Inheritance: AsyncViewModelBase, IMsSqlCreator
コード例 #1
0
        public ClassPreviewViewModel(TableInfoViewModel sourceElement, SqlEntityCreatorViewModel compilerInfos)
        {
            _compilerInfos = compilerInfos;
            SourceElement  = sourceElement;

            this.HightlightProvider = HighlightingManager.Instance.GetDefinition("C#");

            Refresh();
        }
コード例 #2
0
 public TableInfoViewModel(ITableInfoModel sourceElement, SqlEntityCreatorViewModel compilerOptions)
 {
     _compilerOptions     = compilerOptions;
     SourceElement        = sourceElement;
     CreatePreviewCommand = new DelegateCommand(CreatePreviewExecute, CanCreatePreviewExecute);
     AddColumnCommand     = new DelegateCommand(AddColumnExecute, CanAddColumnExecute);
     RemoveColumnCommand  = new DelegateCommand(RemoveColumnExecute, CanRemoveColumnExecute);
     ColumnInfoModels     = new ThreadSaveObservableCollection <ColumnInfoViewModel>();
     Refresh();
 }
コード例 #3
0
 public MainWindowViewModel()
 {
     SelectedProvider = new MsSQL.ViewModel.SqlEntityCreatorViewModel();
 }
コード例 #4
0
		public MainWindowViewModel()
		{
			SelectedProvider = new MsSQL.ViewModel.SqlEntityCreatorViewModel();
		}