Click here to Skip to main content
13,201,050 members (55,929 online)
Rate this:
Please Sign up or sign in to vote.
See more:
When i adding new Product and ProductDetails at the same time in a screen I have a problem with Computed Properties in ProductDetails Entity Because There is no ProductID yet and other ID's that are Foreign key in ProductDetails was not selected yet so Computed Properties in ProductDetails such as AutoName(that Computed based on ProductProperties),CategoryName, ... face to exception.
how we can handle these 2 Problem:

1) There is no ProductID as a Parent yet
2) how to select set Of property for a product as a ProductDetails by selecting Productkind when click on add button in ProductDetails child screen

Actually we want to show a modal window to select category before add a ProductProperty to a new Product, to add related Properties automaticlly at ProductDetails Grid, how can we do now?
Posted 27-Mar-12 10:06am
Updated 27-Mar-12 22:28pm
wizardzz 27-Mar-12 16:39pm
What have you tried?
ManOnABoat 12-Dec-13 12:38pm
Maybe try making the Product a base class, ProductDetails a sub-class and in there create a method for ProductID, so that is accessible by Product base class

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.171020.1 | Last Updated 28 Mar 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100