public CategoriesTableView() { InitializeComponent(); _catTableModel = ((App)Application.Current).Model.CategoryTable; _CatTable = _catTableModel.CategoryTable; CategoriesDataGrid.DataContext = _CatTable.DefaultView; }
public Model() { _formats = new FormatTableModel(); _categories = new CategoryTableModel(); _authors = new AuthorTableModel(); _statuses = new StatusTableModel(); _conditions = new ConditionsTableModel(); _ratings = new RatingsTableModel(); _forSale = new ForSaleTableModel(); _ownerShip = new OwnerShipTableModel(); _publishInfo = new PublishInfoTableModel(); _purchase = new PurchaseInfoTableModel(); _bookConditionsOptions = new ConditionOptionsTableModel(); _volumeInSeries = new VolumeInSeriesTable(); _synopsis = new SynopsisTable(); }