<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://code.msdn.microsoft.com/rss.xsl"?><rss version="2.0"><channel><title>EdmGen2.exe</title><link>http://code.msdn.microsoft.com/EdmGen2/Project/ProjectRss.aspx</link><description>A command-line tool for the Microsoft Entity Framework.  This tool is able to read and write the EDMX file format, as well as translate between EDMX and CSDL, SSDL &amp;#38; MSL file formats.  It can be us...</description><item><title>NEW POST: Defining Primary Keys</title><link>http://code.msdn.microsoft.com/EdmGen2/Thread/View.aspx?ThreadId=2500</link><description>&lt;div class="wikidoc"&gt;
My client has a large database provided by an upline provider. The upline periodically provides database updates, but their tables don't define the primary keys. Updating the tables with code generated from entity models requires primary keys to be generated. &lt;b&gt;grrr&lt;/b&gt; So to regenerate valid models from the new databases we need to manually define the primary keys each time a new version is issued. That's time consuming. We could run a routine that uses Alter Table to set the primary key, but I'd rather set this in the model generated from EdmGen2 (using the source in custom code) rather than having to update the database itself.&lt;br /&gt; &lt;br /&gt;At some point I had code that would parse C# code that was generated from models, and it would add &amp;quot;IsPrimaryKey = true&amp;quot; into the Column Attribute decorating key properties. I'm looking for something more elegant.&lt;br /&gt; &lt;br /&gt;Thanks!&lt;br /&gt;
&lt;/div&gt;</description><author>TonyGravagno</author><pubDate>Wed, 04 Nov 2009 07:23:41 GMT</pubDate><guid isPermaLink="false">NEW POST: Defining Primary Keys 20091104A</guid></item><item><title>NEW POST: Proprietary ConceptualEdmGen.dll ?</title><link>http://code.msdn.microsoft.com/EdmGen2/Thread/View.aspx?ThreadId=2499</link><description>&lt;div class="wikidoc"&gt;
I confess that I've been a bit adverse to using the Retrofit enhancements because they're encapsulated in ConceptualEdmGen.dll which does not come with source.  The &amp;quot;as-is&amp;quot; nature of the Ms-PL license allows for generous distribution of assets contributed to this repository, but it also implies there is no support if anything ever goes wrong. Great, we work with it. But when we don't get source &lt;b&gt;or&lt;/b&gt; support then we're putting ourselves in an awkward position by making use of &amp;quot;stuff found on the 'net&amp;quot;.&lt;br /&gt; &lt;br /&gt;On one hand, I don't want to insult the generosity of Ankit Malpani, James Terwilliger, or anyone else who have contributed, and continue to support that complex effort. I will not ask for that DLL to be published as source.&lt;br /&gt; &lt;br /&gt;On the other hand I'm hoping that this component can be reduced to simply the &amp;quot;rocket science&amp;quot; value-add which they're providing, while rolling the source for the more generic functionality into the EdmGen2 core.&lt;br /&gt; &lt;br /&gt;For example, the code that allows generation for only selected tables seems to be generic compared to the more sophisticated inheritance functionality. Actually, if someone can point me to a place where I can learn how to do this on my own, I'd be happy (teach a man how to fish...).&lt;br /&gt; &lt;br /&gt;Comments are welcome to help provide warm fuzzies for those of us who are shy about making &amp;quot;real&amp;quot; use of code that we can't control/fix/upgrade, etc.&lt;br /&gt; &lt;br /&gt;Thanks!&lt;br /&gt;
&lt;/div&gt;</description><author>TonyGravagno</author><pubDate>Wed, 04 Nov 2009 07:03:32 GMT</pubDate><guid isPermaLink="false">NEW POST: Proprietary ConceptualEdmGen.dll ? 20091104A</guid></item><item><title>NEW POST: Including Views in models</title><link>http://code.msdn.microsoft.com/EdmGen2/Thread/View.aspx?ThreadId=2498</link><description>&lt;div class="wikidoc"&gt;
I've hacked up EdmGen2 into a custom utility that generates a ready-to-use assembly from a GUI, simply by pointing it at a database. I'm going to look into the RetrofitModel enhancement to select only desired tables from the entire database. But I also need to generate models/code to query views. Can someone suggest how to do this?&lt;br /&gt; &lt;br /&gt;Thanks to all involved in the creation of EdmGen and EdmGen2, and especially for posting the source!&lt;br /&gt;
&lt;/div&gt;</description><author>TonyGravagno</author><pubDate>Wed, 04 Nov 2009 06:48:19 GMT</pubDate><guid isPermaLink="false">NEW POST: Including Views in models 20091104A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/EdmGen2/Wiki/View.aspx?title=Home&amp;version=17</link><description>&lt;div class="wikidoc"&gt;
EdmGen2 is a command-line tool for the Microsoft ADO.NET Entity Framework.  The tool can be used as a replacement for the EdmGen.exe tool that ships with the .Net framework 3.5 SP1.   EdmGen.exe can only read and write the CSDL, SSDL &amp;amp; MSL file formats.  However, EdmGen2.exe can read and write the EDMX file format used by the Visual Studio design tools.  Additionally, EdmGen2.exe can translate between EDMX and CSDL, SSDL &amp;amp; MSL formats, and the source code can act as examples on using the tooling APIs defined in the System.Data.Entity.Design assembly.&lt;br /&gt; &lt;br /&gt;Additionaly, EdmGen2.exe contains some experimental functionality not found in EdmGen.exe.  Ankit Malpani, an intern with Microsoft Research in summer of 2008, and James Terwilliger, a Post Doc researcher with MSR, updated EdmGen2.exe with the ability to identify inheritance relatationships in relational database schema.  You can access this functionality by using the &amp;quot;RetrofitModel&amp;quot; option.   The RetrofitModel option connects to a database instance and constructs an EDM model (csdl, msl, ssdl, and edmx files) that includes inheritance.  The tool uses data mining techniques to identify TPT and TPH patterns in  the database instance, as well as vertical partitioning, and constructs a suitable model and mapping.  To use the tool, launch EdmGen2 with the following arguments:&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
    /RetrofitModel &amp;quot;connection string&amp;quot; &amp;quot;provider&amp;quot; &amp;quot;entitiy name&amp;quot;
&lt;/pre&gt; &lt;br /&gt;For instance, the following will connect to a local AdventureWorks database, and create files and an EDM instance named AVWorks:&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
    EdmGen2 /RetrofitModel &amp;quot;Server=(local);Integrated Security=true;Initial Catalog=AdventureWorks;&amp;quot; &amp;quot;System.Data.SqlClient&amp;quot; &amp;quot;AVWorks&amp;quot;
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;In the previous version (version 1.0.20090401), the RetrofitModel option would bring up a dialog that would allow the user to choose the tables to include in the model.  With version 1.0.20091019, the ConceptualEdmGen dll now has two additional public methods that can set the list of tables without bringing up a dialog – one that pulls the list of tables from a file, and one where the list of tables is fed directly to the method as a list of strings.&lt;br /&gt; &lt;br /&gt;The EdmGen2 code as it appears in the package uses the “from file” option, where it looks for a file called “Tables.txt” in the current directory, and if found, feeds its contents to the dll to set the list of tables.  So for instance, if the following were the contents of the file “Tables.txt”:&lt;br /&gt; &lt;br /&gt;HumanResources.Department&lt;br /&gt;HumanResources.Employee&lt;br /&gt;HumanResources.EmployeeAddress&lt;br /&gt;HumanResources.EmployeeDepartmentHistory&lt;br /&gt;HumanResources.JobCandidate&lt;br /&gt;HumanResources.Shift&lt;br /&gt; &lt;br /&gt;EdmGen2 would generate (for the RetrofitModel option) a model for all of the tables in the HumanResources schema for AdventureWorks.  For both methods, an empty list will result in all tables in the database being added to the model.  The table selection UI will still appear if neither table selection method is called.&lt;br /&gt;
&lt;/div&gt;</description><author>MikeKaufman</author><pubDate>Mon, 19 Oct 2009 21:18:25 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20091019P</guid></item><item><title>UPDATED RELEASE: EdmGen2.Zip (version 1.0.20090401) (Mar 30, 2009)</title><link>http://code.msdn.microsoft.com/EdmGen2/Release/ProjectReleases.aspx?ReleaseId=2451</link><description></description><author></author><pubDate>Mon, 19 Oct 2009 21:17:26 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: EdmGen2.Zip (version 1.0.20090401) (Mar 30, 2009) 20091019P</guid></item><item><title>UPDATED RELEASE: EdmGen2 (version 1.0.20091019) (Oct 19, 2009)</title><link>http://code.msdn.microsoft.com/EdmGen2/Release/ProjectReleases.aspx?ReleaseId=3358</link><description></description><author></author><pubDate>Mon, 19 Oct 2009 21:17:07 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: EdmGen2 (version 1.0.20091019) (Oct 19, 2009) 20091019P</guid></item><item><title>UPDATED RELEASE: EdmGen2.Zip (version 1.0.20080601) (Jun 20, 2008)</title><link>http://code.msdn.microsoft.com/EdmGen2/Release/ProjectReleases.aspx?ReleaseId=1190</link><description></description><author></author><pubDate>Mon, 19 Oct 2009 21:16:52 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: EdmGen2.Zip (version 1.0.20080601) (Jun 20, 2008) 20091019P</guid></item><item><title>UPDATED RELEASE: EdmGen2.Zip, version 1.0.20090401 (Mar 30, 2009)</title><link>http://code.msdn.microsoft.com/EdmGen2/Release/ProjectReleases.aspx?ReleaseId=2451</link><description></description><author></author><pubDate>Mon, 19 Oct 2009 21:16:23 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: EdmGen2.Zip, version 1.0.20090401 (Mar 30, 2009) 20091019P</guid></item><item><title>UPDATED RELEASE: EdmGen2, version 1.0.20091019 (Oct 19, 2009)</title><link>http://code.msdn.microsoft.com/EdmGen2/Release/ProjectReleases.aspx?ReleaseId=3358</link><description></description><author></author><pubDate>Mon, 19 Oct 2009 21:15:32 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: EdmGen2, version 1.0.20091019 (Oct 19, 2009) 20091019P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/EdmGen2/Wiki/View.aspx?title=Home&amp;version=16</link><description>&lt;div class="wikidoc"&gt;
EdmGen2 is a command-line tool for the Microsoft ADO.NET Entity Framework.  The tool can be used as a replacement for the EdmGen.exe tool that ships with the .Net framework 3.5 SP1.   EdmGen.exe can only read and write the CSDL, SSDL &amp;amp; MSL file formats.  However, EdmGen2.exe can read and write the EDMX file format used by the Visual Studio design tools.  Additionally, EdmGen2.exe can translate between EDMX and CSDL, SSDL &amp;amp; MSL formats, and the source code can act as examples on using the tooling APIs defined in the System.Data.Entity.Design assembly.&lt;br /&gt; &lt;br /&gt;Additionaly, EdmGen2.exe contains some experimental functionality not found in EdmGen.exe.  Ankit Malpani, an intern with Microsoft Research in summer of 2008, and James Terwilliger, a Post Doc researcher with MSR, updated EdmGen2.exe with the ability to identify inheritance relatationships in relational database schema.  You can access this functionality by using the &amp;quot;RetrofitModel&amp;quot; option.   The RetrofitModel option connects to a database instance and constructs an EDM model (csdl, msl, ssdl, and edmx files) that includes inheritance.  The tool uses data mining techniques to identify TPT and TPH patterns in  the database instance, as well as vertical partitioning, and constructs a suitable model and mapping.  To use the tool, launch EdmGen2 with the following arguments:&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
    /RetrofitModel &amp;quot;connection string&amp;quot; &amp;quot;provider&amp;quot; &amp;quot;entitiy name&amp;quot;
&lt;/pre&gt; &lt;br /&gt;For instance, the following will connect to a local AdventureWorks database, and create files and an EDM instance named AVWorks:&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
    EdmGen2 /RetrofitModel &amp;quot;Server=(local);Integrated Security=true;Initial Catalog=AdventureWorks;&amp;quot; &amp;quot;System.Data.SqlClient&amp;quot; &amp;quot;AVWorks&amp;quot;
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;In the previous version, the RetrofitModel option would bring up a dialog that would allow the user to choose the tables to include in the model.  The ConceptualEdmGen dll now has two additional public methods that can set the list of tables without bringing up a dialog – one that pulls the list of tables from a file, and one where the list of tables is fed directly to the method as a list of strings.&lt;br /&gt; &lt;br /&gt;The EdmGen2 code as it appears in the package uses the “from file” option, where it looks for a file called “Tables.txt” in the current directory, and if found, feeds its contents to the dll to set the list of tables.  So for instance, if the following were the contents of the file “Tables.txt”:&lt;br /&gt; &lt;br /&gt;HumanResources.Department&lt;br /&gt;HumanResources.Employee&lt;br /&gt;HumanResources.EmployeeAddress&lt;br /&gt;HumanResources.EmployeeDepartmentHistory&lt;br /&gt;HumanResources.JobCandidate&lt;br /&gt;HumanResources.Shift&lt;br /&gt; &lt;br /&gt;EdmGen2 would generate (for the RetrofitModel option) a model for all of the tables in the HumanResources schema for AdventureWorks.  For both methods, an empty list will result in all tables in the database being added to the model.  The table selection UI will still appear if neither table selection method is called.&lt;br /&gt;
&lt;/div&gt;</description><author>MikeKaufman</author><pubDate>Mon, 19 Oct 2009 21:14:35 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20091019P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/EdmGen2/Wiki/View.aspx?title=Home&amp;version=15</link><description>&lt;div class="wikidoc"&gt;
EdmGen2 is a command-line tool for the Microsoft ADO.NET Entity Framework.  The tool can be used as a replacement for the EdmGen.exe tool that ships with the .Net framework 3.5 SP1.   EdmGen.exe can only read and write the CSDL, SSDL &amp;amp; MSL file formats.  However, EdmGen2.exe can read and write the EDMX file format used by the Visual Studio design tools.  Additionally, EdmGen2.exe can translate between EDMX and CSDL, SSDL &amp;amp; MSL formats, and the source code can act as examples on using the tooling APIs defined in the System.Data.Entity.Design assembly.&lt;br /&gt; &lt;br /&gt;Additionaly, EdmGen2.exe contains some experimental functionality not found in EdmGen.exe.  Ankit Malpani, an intern with Microsoft Research in summer of 2008, and James Terwilliger, a Post Doc researcher with MSR, updated EdmGen2.exe with the ability to identify inheritance relatationships in relational database schema.  You can access this functionality by using the &amp;quot;RetrofitModel&amp;quot; option.   The RetrofitModel option connects to a database instance and constructs an EDM model (csdl, msl, ssdl, and edmx files) that includes inheritance.  The tool uses data mining techniques to identify TPT and TPH patterns in  the database instance, as well as vertical partitioning, and constructs a suitable model and mapping.  To use the tool, launch EdmGen2 with the following arguments:&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
    /RetrofitModel &amp;quot;connection string&amp;quot; &amp;quot;provider&amp;quot; &amp;quot;entitiy name&amp;quot;
&lt;/pre&gt; &lt;br /&gt;For instance, the following will connect to a local AdventureWorks database, and create files and an EDM instance named AVWorks:&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
    EdmGen2 /RetrofitModel &amp;quot;Server=(local);Integrated Security=true;Initial Catalog=AdventureWorks;&amp;quot; &amp;quot;System.Data.SqlClient&amp;quot; &amp;quot;AVWorks&amp;quot;
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;UPDATE:  As of 10/19/2009, James added an option to select tables to retrofit from a file.  &lt;br /&gt;
&lt;/div&gt;</description><author>MikeKaufman</author><pubDate>Mon, 19 Oct 2009 18:38:44 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20091019P</guid></item><item><title>CREATED RELEASE: EdmGen2 with Reverse Engineering, with a no-UI opt (Oct 19, 2009)</title><link>http://code.msdn.microsoft.com/EdmGen2/Release/ProjectReleases.aspx?ReleaseId=3358</link><description></description><author></author><pubDate>Mon, 19 Oct 2009 18:37:42 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: EdmGen2 with Reverse Engineering, with a no-UI opt (Oct 19, 2009) 20091019P</guid></item><item><title>NEW POST: where are the generated files?</title><link>http://code.msdn.microsoft.com/EdmGen2/Thread/View.aspx?ThreadId=2243</link><description>&lt;div class="wikidoc"&gt;
Hi&lt;br /&gt; &lt;br /&gt;Your software sounds very cool, but when I try to run it I get:&lt;br /&gt;Microsoft Windows XP &lt;a href="http://code.msdn.microsoft.com/EdmGen2/Wiki/View.aspx?title=Version%205.1.2600"&gt;Version 5.1.2600&lt;/a&gt;&lt;br /&gt;(C) Copyright 1985-2001 Microsoft Corp.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;J:\&amp;gt;C:\temp\Debug\EdmGen2 /RetrofitModel &amp;quot;Server=127.0.0.1;Port=5432;User Id=pos&lt;br /&gt;tgres;Password=xxxxx;Database=xxxx;&amp;quot; &amp;quot;Npgsql&amp;quot; &amp;quot;xxxx&amp;quot;&lt;br /&gt;Warning: The data type 'geometry' is not supported, the column 'thepoint_lonlat'&lt;br /&gt; in table 'airgis2.public.airports' was excluded.&lt;br /&gt;Warning: The data type 'geometry' is not supported, the column 'thepoint_meter'&lt;br /&gt;in table 'airgis2.public.airports' was excluded.&lt;br /&gt;Executing rule: Convert Entities to Many-to-Many Relationships&lt;br /&gt;Executing rule: Search for TPH Pattern Via Foreign Key&lt;br /&gt;Executing rule: Search for TPH Pattern Via Discriminator Column&lt;br /&gt;Executing rule: Search for TPH Pattern Via Null Value Patterns&lt;br /&gt;Executing rule: Specialize Associations&lt;br /&gt;Executing rule: Check if Entities Should be Marked as Abstract&lt;br /&gt;Executing rule: Search for TPT Pattern and Vertical Partitioning Via One-to-One&lt;br /&gt;Relationships&lt;br /&gt;Completed&lt;br /&gt; &lt;br /&gt;But I cannot see any created files in the directory that I ran it from. Where can I find them?&lt;br /&gt;Thanks&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>Anton93</author><pubDate>Mon, 07 Sep 2009 07:46:57 GMT</pubDate><guid isPermaLink="false">NEW POST: where are the generated files? 20090907A</guid></item><item><title>CREATED ISSUE: hierarchies based off of foreign keys</title><link>http://code.msdn.microsoft.com/EdmGen2/WorkItem/View.aspx?WorkItemId=7</link><description>It seems that the hierarchies are based off char columns as discriminants for entity hierarchies, we always use integer columns that are foreign keys to other tables that serve as enumerations and think EdmGen2 should support foreignkey and not char columns&lt;br /&gt;</description><author>dsoltesz</author><pubDate>Wed, 29 Apr 2009 13:29:56 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: hierarchies based off of foreign keys 20090429P</guid></item><item><title>COMMENTED ISSUE: Feature Request: The ability to add Database Views to edmx</title><link>http://code.msdn.microsoft.com/EdmGen2/WorkItem/View.aspx?WorkItemId=6</link><description>Hello again.&lt;br /&gt;&lt;br /&gt;I would like to request the ability to add database views to the generated edmx from the command line.&lt;br /&gt;&lt;br /&gt;For example, to generate an edmx from all the tables &amp;#40;building upon a previous feature request&amp;#41; and views that exist in a database, I expect to be able to just run the following&amp;#58;&lt;br /&gt;EdmGen2.exe &amp;#47;ModelGen &amp;#34;Server&amp;#61;&amp;#40;local&amp;#41;&amp;#59;Integrated Security&amp;#61;true&amp;#59;Initial Catalog&amp;#61;AdventureWorks&amp;#59;&amp;#34; &amp;#34;System.Data.SqlClient&amp;#34; &amp;#34;AVWorks&amp;#34; &amp;#47;AllTables &amp;#47;AllViews&lt;br /&gt;&lt;br /&gt;Thank you.&lt;br /&gt;Comments: I am able to successfully add all tables and views in the same database within Visual Studio 2008&amp;#39;s Right-Click &amp;#62; Add &amp;#62; New Item... &amp;#62; ADO.NET Entity Data Model</description><author>rami2</author><pubDate>Fri, 10 Apr 2009 22:41:41 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Feature Request: The ability to add Database Views to edmx 20090410P</guid></item><item><title>COMMENTED ISSUE: Feature Request: The ability to add Database Views to edmx</title><link>http://code.msdn.microsoft.com/EdmGen2/WorkItem/View.aspx?WorkItemId=6</link><description>Hello again.&lt;br /&gt;&lt;br /&gt;I would like to request the ability to add database views to the generated edmx from the command line.&lt;br /&gt;&lt;br /&gt;For example, to generate an edmx from all the tables &amp;#40;building upon a previous feature request&amp;#41; and views that exist in a database, I expect to be able to just run the following&amp;#58;&lt;br /&gt;EdmGen2.exe &amp;#47;ModelGen &amp;#34;Server&amp;#61;&amp;#40;local&amp;#41;&amp;#59;Integrated Security&amp;#61;true&amp;#59;Initial Catalog&amp;#61;AdventureWorks&amp;#59;&amp;#34; &amp;#34;System.Data.SqlClient&amp;#34; &amp;#34;AVWorks&amp;#34; &amp;#47;AllTables &amp;#47;AllViews&lt;br /&gt;&lt;br /&gt;Thank you.&lt;br /&gt;Comments: It seems EdmGen2 actually tries to add database views to the model, but I am getting an error when I run&amp;#13;&amp;#10;&amp;#13;&amp;#10;EdmGen2.exe &amp;#47;ModelGen &amp;#34;Server&amp;#61;&amp;#40;local&amp;#41;&amp;#59;Integrated Security&amp;#61;true&amp;#59;Initial Catalog&amp;#61;MyDatabase&amp;#59;&amp;#34; &amp;#34;System.Data.SqlClient&amp;#34; &amp;#34;MyDatabase&amp;#34;&amp;#13;&amp;#10;&amp;#13;&amp;#10;Errors occurred during generation&amp;#58;&amp;#13;&amp;#10;Warning&amp;#58;  The table&amp;#47;view &amp;#39;MyDatabase.dbo.MyView&amp;#39; does not have a primary key defined. The key has been inferred and the definition was created as a read-only table&amp;#47;view.&amp;#13;&amp;#10;&amp;#13;&amp;#10;Any advice&amp;#63;&amp;#13;&amp;#10;&amp;#13;&amp;#10;Thank you.</description><author>rami2</author><pubDate>Fri, 10 Apr 2009 22:37:36 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Feature Request: The ability to add Database Views to edmx 20090410P</guid></item><item><title>CREATED ISSUE: Feature Request: The ability to add Database Views to edmx</title><link>http://code.msdn.microsoft.com/EdmGen2/WorkItem/View.aspx?WorkItemId=6</link><description>Hello again.&lt;br /&gt;&lt;br /&gt;I would like to request the ability to add database views to the generated edmx from the command line.&lt;br /&gt;&lt;br /&gt;For example, to generate an edmx from all the tables &amp;#40;building upon a previous feature request&amp;#41; and views that exist in a database, I expect to be able to just run the following&amp;#58;&lt;br /&gt;EdmGen2.exe &amp;#47;ModelGen &amp;#34;Server&amp;#61;&amp;#40;local&amp;#41;&amp;#59;Integrated Security&amp;#61;true&amp;#59;Initial Catalog&amp;#61;AdventureWorks&amp;#59;&amp;#34; &amp;#34;System.Data.SqlClient&amp;#34; &amp;#34;AVWorks&amp;#34; &amp;#47;AllTables &amp;#47;AllViews&lt;br /&gt;&lt;br /&gt;Thank you.&lt;br /&gt;</description><author>rami2</author><pubDate>Fri, 10 Apr 2009 22:24:21 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Feature Request: The ability to add Database Views to edmx 20090410P</guid></item><item><title>CREATED ISSUE: Feature Request: The ability to suppress displaying the "Select Tables for Consideration" dialog and just consider all existing tables</title><link>http://code.msdn.microsoft.com/EdmGen2/WorkItem/View.aspx?WorkItemId=5</link><description>Hi.&lt;br /&gt;&lt;br /&gt;I would like to request a new feature where EdmGen2.exe does not display the &amp;#34;Select Tables for Consideration&amp;#34; dialog and just considers all the existing tables.&lt;br /&gt;&lt;br /&gt;For example, I would expect an additional command line parameter similar to the following&amp;#58;&lt;br /&gt;EdmGen2.exe &amp;#47;RetrofitModel &amp;#34;Server&amp;#61;&amp;#40;local&amp;#41;&amp;#59;Integrated Security&amp;#61;true&amp;#59;Initial Catalog&amp;#61;AdventureWorks&amp;#59;&amp;#34; &amp;#34;System.Data.SqlClient&amp;#34; &amp;#34;AVWorks&amp;#34; &amp;#47;AllTables&lt;br /&gt;&lt;br /&gt;Thank you.&lt;br /&gt;</description><author>rami2</author><pubDate>Fri, 10 Apr 2009 11:55:29 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Feature Request: The ability to suppress displaying the "Select Tables for Consideration" dialog and just consider all existing tables 20090410A</guid></item><item><title>CREATED ISSUE: Feature Request: add the ability to specify the namespace the generated code is given</title><link>http://code.msdn.microsoft.com/EdmGen2/WorkItem/View.aspx?WorkItemId=4</link><description>If I were to run&amp;#58;&lt;br /&gt;EdmGen2.exe &amp;#47;ModelGen &amp;#34;Server&amp;#61;&amp;#40;local&amp;#41;&amp;#59;Integrated Security&amp;#61;true&amp;#59;Initial Catalog&amp;#61;AdventureWorks&amp;#59;&amp;#34; &amp;#34;System.Data.SqlClient&amp;#34; &amp;#34;AVWorks&amp;#34;&lt;br /&gt;and then&lt;br /&gt;EdmGen2.exe &amp;#47;CodeGen cs &amp;#34;AVWorks.edmx&amp;#34;&lt;br /&gt;The generated AVWorks.cs file will be given a namspace of AVWorksModel.&lt;br /&gt;&lt;br /&gt;I would like to request the ability to specify the namespace the generated cs file is given on the command line similar to the following&amp;#58;&lt;br /&gt;EdmGen2.exe &amp;#47;CodeGen cs &amp;#34;AVWorks.edmx&amp;#34; WebApplication.Models&lt;br /&gt;&lt;br /&gt;Thank you.&lt;br /&gt;</description><author>rami2</author><pubDate>Fri, 10 Apr 2009 11:45:01 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Feature Request: add the ability to specify the namespace the generated code is given 20090410A</guid></item><item><title>CREATED ISSUE: Feature Request: add the ability to specify the generated code file name</title><link>http://code.msdn.microsoft.com/EdmGen2/WorkItem/View.aspx?WorkItemId=3</link><description>Hi.&lt;br /&gt;&lt;br /&gt;Thank you for EdmGen2.exe.&lt;br /&gt;&lt;br /&gt;I would like to request the ability to specify the generated code file name on the command line.&lt;br /&gt;&lt;br /&gt;For example,&lt;br /&gt;If I wanted to generated code to be saved in &amp;#34;Model1.Designer.cs&amp;#34; instead of the default &amp;#34;Model1.cs&amp;#34;, I expect to run EdmGen2.exe similar to&amp;#58;&lt;br /&gt;EdmGen2.exe &amp;#47;CodeGen cs Model1.edmx Model1.Designer.cs&lt;br /&gt;&lt;br /&gt;</description><author>rami2</author><pubDate>Fri, 10 Apr 2009 11:39:40 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Feature Request: add the ability to specify the generated code file name 20090410A</guid></item></channel></rss>