Search Wiki:
Resource Page Description
The goal of the Sample EDMX Code Generator is to provide you with enough insight into how the ADO.NET Entity Designer generates code in Visual Studio and hopefully give you a head start with some sample source code.

SampleEdmxCodeGenerator is not intended for production use; instead, it demonstrates custom tool extensibility via SingleFileGenerator, code generation APIs, code generation events and EDM metadata APIs. The sample is also somewhat incomplete on error handling and has not been tuned for performance, stress, etc.

**Delete the following note before publishing **

This resource page is currently in setup mode and only available to coordinators and developers. Once you have finished setting up your resource page you can publish it to make it available to all MSDN Code Gallery visitors.

To get your Resource Page ready to publish, you should do the following:
  1. Make any changes to the details of your resource page
    1. Here you can enable or disable functions of your resource page. You might want to turn on the Issue Tracker to allow users to provide feedback on your resource, or if you have a resource that does not involve a code sample, you may want to turn off the Releases tab.
    2. Make sure your resource page description is detailed enough to let people search for your resource.
  2. Add your code sample or other resources to the resource page
    1. If you’re uploading code, go to the Releases tab and create a new release to house your code. Creating a release allows you to have the license properly displayed when people download your code, as well as provides a download count.
    2. Edit your Wiki page to attach any resources you may have that are not source code.
  3. If you want to let someone see your resource page before it is published, go to the People tab and add them to your resource page
    1. This will let you add other team members who may be contributing to your resource, or just show it off and get feedback from someone you trust.
  4. Tag your resource page with descriptive tags to make it easier for people to find your resources when browsing the gallery.
  5. Publish your resource page so it becomes visible to everyone!

Additional information on starting a new resource page is available here: Resource Page Startup Guide.
Last edited Jan 24 2008 at 9:35 PM  by elisaf_MSFT, version 1
MatthieuMEZIL wrote  Aug 21 2008 at 12:32 PM  
There is no space here: "reg delete HKLM\SOFTWARE\Microsoft\VisualStudio\9.0\Generators\{FAE04EC1-301F-11D3-BF4B-00C04F79EFBC} \SampleEdmxCodeGenerator".
It's this: "reg delete HKLM\SOFTWARE\Microsoft\VisualStudio\9.0\Generators\{FAE04EC1-301F-11D3-BF4B-00C04F79EFBC}\SampleEdmxCodeGenerator"

RobertGustafson wrote  Oct 19 2013 at 2:25 AM  
I have Visual Studio 2010 (I program in Visual Basic), .NET 4.0, Entity Framework 4.0, and SQL Express.
I need to know:
1. Does "Sample EDMX Code Generator" work with my version of VS/EF?
2. Will it allow my entity model's ObjectContext to access all DERIVED entities in any project's (VB) code? (Also, when a base entity is associated with another entity [not derived from it], will my VB code see my derived entities as also associated with the "other" entity? This is, if entity A1d inherits entity A, which is associated with entity B, how does the program see A1d relating to B?)
3. I've already started a VB using an entity model. Is it a big deal to fold SECG into my project?
4. The above directions are a little cryptic (I'm not experienced with "code generation").

Page view tracker