Thursday, May 22, 2008

I was getting ready to suggest this feature because it's a pain to "move" properties if you are deriving types or doing entity splitting.

I actually use the method of going into the EDMX file and copying the properties around in there so that I don't have to worry about the attributes and facets. Especially when I have a lot of properties to move.

Just out of curiosity I right clicked on an scalar property in the designer and saw Copy on the context menu, so I clicked it. Then tried pasting it into another entity and VOILA! Not just copy and paste; but cut, copy and paste

The funny part is that may have existed in the previous bits but I never noticed it before.

I can go shorten my book by a whole page now!

(I also want you to know that I was a good girl and removed "Holy Crap!" from the blog title and replace it with exclamation that is there now.)

Thursday, May 22, 2008 8:21:54 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [2]  | 
Friday, May 23, 2008 3:45:27 AM (Eastern Standard Time, UTC-05:00)
It was also possible with last designer version.
I use it when I want to do TPH with a condition "is not null" (so I need to add the property on the derived type). After this, I just need to make it not nullable.
Friday, May 23, 2008 7:15:55 AM (Eastern Standard Time, UTC-05:00)
Okay - joke's on me today! :-)
Julia Lerman
All comments require the approval of the site owner before being displayed.
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Live Comment Preview