http://huagati.blogspot.com/2010/12/creating-or-modifying-entity-framework.html

On Sun, Mar 13, 2011 at 7:56 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 <http://vb.net/>, C# .NET, 
> ADO.NET<http://ado.net/>,
> ASP.NET <http://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
>

-- 
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

Reply via email to