master-detail

Aggregate detail values in Master-Detail view

回眸只為那壹抹淺笑 提交于 2019-12-11 01:38:33
问题 I have a master-detail relationship in some custom entities. Say I have the following structure: class Master : INotifyPropertyChanged { public int Id { get; set; } // + property changed implementation public string Name { get; set; } // + property changed implementation public ObservableCollection<Detail> Details { get; } } class Detail : INotifyPropertyChanged { public int Id { get; private set; } public string Description { get; set; } public double Value { get; set; } // + property

Change notification in EF EntityCollection

蓝咒 提交于 2019-12-10 15:35:40
问题 In a Silverlight 4 proj i'm using WCF RIA services, MVVM principles and EF 4. I 'm running into this situation: created an entity called Category and another one called CategoryLocale (automated using VS, no POCO). The relation between them is 1 to N respectively (one Category can have many CategoryLocales), so trough this relationship one can implement master-detail scenarios. Everytime i change a property in the master record (Category) i get a notifypropertychanged notification raised. But

In an SSIS package, how do you insert master-detail records?

☆樱花仙子☆ 提交于 2019-12-10 15:16:33
问题 I have a data flow task that extracts data from one database and inserts into a SQL Server database. After each record is inserted in the master row I also need to insert rows into a detail table. The data for the detail table is pretty simple and can be calculated. How do I retrieve the value of the identity column after inserting? How can I produce the rows that must be inserted in the second table? Can I do this in a script? Do I need to use a Foreach loop at the control flow level which

SplitView - reload data in master tableView based on detail changed in swift

左心房为你撑大大i 提交于 2019-12-10 11:04:40
问题 I create splitView with tableView in master View and tableView with static cells in two details view (see on picture). App Structure Names of view controllers are: DocsTableViewController - master view (on the left) DocDetailTableViewController - detail view (on the top right) DocEditTableViewControler - second detail view (on the bottom right) DocsTVC is list of doctors, DocDetailTVC is detail of doctor user selected in DocsTVC and on DocEditTVC user can edit data of doctor showed in

Universal Master-Detail Application with Core Data and tab controller for iphone storyboard gets unrecognized selector sent to instance error

笑着哭i 提交于 2019-12-10 10:16:53
问题 I started a Master-Detail Application in X-Code. I chose the options to be universal, core data, and git repo. When the application comes up, I went into the iphone story board, added a tab view controller, moved the nav/table/detail views it starts with to be in the tab controller as the third tab (in reality I want it to be the fourth). I then chose the tab controller to be the initial view the program should start with when in iphone mode. It builds successfully but does not allow the

DrawerLayout and Multi Pane Layout

自作多情 提交于 2019-12-10 03:00:48
问题 My application uses a Multi Pane layout to display a list of assignments. Each Assignment can be put in one AssignmentCategory . I want to use a DrawerLayout to display all the AssignmentCategories so the user can switch easily between the diffirent categories. I didn't manage to create such a layout. In the official DrawerLayout tutorial the DrawerLayoutActivity replaces a Fragment when a user clicks on a item (in my case an AssignmentCategory ). The problem I facing is that a Multi Pane

Refreshing a ClientDataSet nested in a DataSetField

天大地大妈咪最大 提交于 2019-12-09 21:12:49
问题 I've nearly finished some code to solve the problem in this unanswered q from last year: Refresh Nested DataSet with poFetchDetailsOnDemand Received wisdom is that it's not possible to refresh the nested detail CDS from the server without closing and re-opening the master CDS, but obviously that can generate a disproportionate amount of network traffic, just to refresh a single master row and its detail rows. I thought of a straightforward way to refresh the detail CDS from the server and it

UISplitViewController display master view above detail in portrait orientation

拈花ヽ惹草 提交于 2019-12-09 18:13:34
问题 I have a UISplitViewController embedded in a UINavigationController with a UINavigationItem button to toggle the display of the master view in portrait orientation. I want to show the master view above the detail view when the view first loads in portrait orientation. Any similar examples I have found show the master and detail views splitting the screen in portrait orientation, but I need the detail view to be full screen in portrait with the master view covering the detail view when the

Change detail view from MasterDetail iPad app using storyboard

ε祈祈猫儿з 提交于 2019-12-09 08:51:45
问题 I'm little lost here. I have a basic master-detail aplication, and I want to change the detail view according to the selected row in MasterViewController, but the views have different content, one has an image gallery, and the other one will load a video on full screen. It's not just refresh the detail view, have to load another view. How is the better(fast) way to do that? 回答1: I'll suggest you to use a replace segue . Just create a segue to the desired view initiated by your row with a

objectiveC protocol issue Detail -> Master communication [closed]

我的梦境 提交于 2019-12-08 13:41:45
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I am using a UISplitViewController to manage the Master and Detail view. Everything is working fine going from master to detail. I can select an item from the list and through the delegate it updates the detail view. I want to be able to delete an item using a button on the detail view. This is very simple to do