Omgili - forum search, search forums  
  

Discussions about navigation properties

Displaying 1 - 10 out of 6,881 discussions.  
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
Hello, I set an object entity with a stored procedure, but the navigation properties are always equals at null ... The aim is to include or join an external entity. Any idea ? Thanks
Started by on , 3 posts by 3 people.  
If the navigation issue is all foreign keys (navigation properties) are null when I set the object entity with the stored.
You have to "load" your navigation properties before accessing them.
I retrieve a collection with the following query: var numbers = _betDetailItem.GetBetDetailItems().Where(betDetailItem => betDetailItem.BetDetail.Bet.DateDrawing == resultToCreate.Date && betDetailItem.BetDetail.Bet.Status == 1).Where(condition); Right...
Started by on , 3 posts by 3 people.  
BetDetails is a navigation property which was accessible.
Once you are inside of a particular IGrouping<> , you should have access to the properties = group.Key.BetDetails; //This is what doesn't work.
Of those.
We have classes public Invoice: EntityObject { public EntityCollection<InvoicePosition> Positions { get {...}; set{...}; } ... } public InvoicePosition: EntityObject { public string GroupName { get {...}; set{...}; } } We are given IQueryable<...
Started by on , 3 posts by 3 people.  
P.GroupName == "Fuel" select i; However, that uses the navigation property Positions , which by default isn't.
Ask your Facebook Friends
I've got an Entity Data Model with Product and Family types. Each Product has one Family. I'm using this model with an ASP.NET MVC web site. I want Family DropDownLists on the Create and Edit Views of my Product controller. How Do I Use Entity Object ...
Started by on , 4 posts by 4 people.  
I believe this is set to change in 2.0 but in the meantime do a search for faking foreign key properties.
The current rev of EF doesn't support direct exposure of the foreign keys as simple properties.
I'm using VS2010 Beta 2, I have a Complex Type called Address with the following properties: Street City CountryId I have a Country Entity defined in my Model, but I can't seem to find a way to add a reference (Navigation Property) from the CountryId ...
Started by on , 3 posts by 3 people.  
Navigation....
Complex types have value semantics, rather than reference identity.
Entity, which will have all of the foreign keys it needs, and then create Navigation Properties within types and navigation properties are.
I'm using VS2010, EF4 feature CTP (latest release), and POCO objects, such as the example below: class Person { public int ID { get; set; } public string Name { get; set; } public virtual IList<Account> Accounts { get; set; } ... } class Account...
Started by on , 3 posts by 3 people.  
Dealing with navigation properties, I could see where having lazy loading turned off may make.
Hopefully I am stating that right. I have a WinForm(3.5) app that has 1 Form that is broke into two regions. 1 is the Navigation and the other, a Panel, is the Content. You select what you want in the Navigation Portion, i.e. Demographics, and then it...
Started by on , 3 posts by 3 people.  
You should at most have "several" properties, methods and events.
With its own behavior.
I'm using Zend_Navigation (sweet addition to the framework, btw) to build my menu, after which it should be rendered in the page (self-evidently). I first set the container somewhere in the controller: // $pages is the array containing all page information...
Started by on , 3 posts by 3 people.  
Into: // menu.phtml is partial, cms is module $partial = array('menu.phtml', 'cms'); $this->navigation()->menu()->setPartial($partial); echo $this->navigation()->menu()->render="navigation"> <?php $html = ....
Hi, I am building a complex Flex app, and now I am at the point where navigation becomes a problem. I make use of Viewstacks with a Menu Bar, but I am not sure how to clearly structure this. Depending on the logged in User and chosen Company by the user...
Started by on , 4 posts by 3 people.  
(Which might have properties like StateEvent.STATE a page at runtime and how to encapsulate....
Mate's EventMaps is determined, you would dispatch a custom StateEvent .
Mate is a great Flex framework for handling complex communication and navigation.
We use the SharePoint 2007 wiki, and I'd like to embed the contents of a wiki page onto our SharePoint Site's Default.aspx. There is a 'Page Viewer Web Part'. This can create an IFRAME which you can point at any URL... including the wiki page... but that...
Started by on , 3 posts by 2 people.  
Into an IFRAME and then using Javascript code to modify the properties of the controls you want to 'hide.
Page: 1   2   3   4   5   6   7   8   9   10  
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost