some thing missing! when you use ORMs like EF and L2S,these ORMs only build the needed class for you and then map that entities with real table,view and ... !
after running and Building your project these class built.you cant change them. I suggest you to work with EF Code first.it can help you better that EF Code generation. MDP On Mar 13, 6:26 am, Pat <[email protected]> wrote: > Learned Experts, > > I'm going through Lerman's Programming EF, and Murach's ADO.NET4 > looking for just one answer: > > How can I programmatically (run time) change an EDM's conceptual model > (edmx) and it's underlying database structure? > > One simple example: > > case 1: I have an entity, but at run time a user (or program) of the > system determines another "scalar property" (column in the db table) > is needed. > > You see, I want my program/system to be able to adjust to external/ > environmental changes in the structure (scalars) of an entity (class), > and then act upon this new structure. Since the classes are determined > from the .edmx file, perhaps that file needs to be edited, then re- > parsed (as if the change was made in the Update Wizard)? That would > be... awful! > > If it can be done in the designer and wizard(s), then shouldn't it be > possible to do at run time? (I hope so!) > > TIA!!! > > pat > :) -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
