<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>MicrosoftNLayerApp Issue Tracker Rss Feed</title><link>http://microsoftnlayerapp.codeplex.com/WorkItem/List.aspx</link><description>MicrosoftNLayerApp Issue Tracker Rss Description</description><item><title>Closed Issue: Classes Namespaces bug [4019]</title><link>http://microsoftnlayerapp.codeplex.com/workitem/4019</link><description>The following clasess have a wrong NameSpace. They&amp;#39;re missing first namespace part &amp;#40;Microsoft.Samples.NLayerApp&amp;#8230;. etc.&amp;#41;.&lt;br /&gt;&amp;#160;&lt;br /&gt;BankAccountServiceTest&lt;br /&gt;SpecificationTests.&lt;br /&gt;SpecificationTests.TEntity &amp;#40;Nested Class&amp;#41;&lt;br /&gt;&amp;#160;&lt;br /&gt;Check and correct it.&lt;br /&gt;&amp;#160;&lt;br /&gt;Cesar&lt;br /&gt;</description><author>UnaiZorrilla</author><pubDate>Thu, 16 May 2013 11:32:23 GMT</pubDate><guid isPermaLink="false">Closed Issue: Classes Namespaces bug [4019] 20130516113223A</guid></item><item><title>Closed Issue: Consider changing Domain Contracts Namespaces - They are a bit mess [4020]</title><link>http://microsoftnlayerapp.codeplex.com/workitem/4020</link><description>We should consider to separate Contracts &amp;#40;Repositories &amp;#38; Specifications&amp;#41; by Entity.&lt;br /&gt;Instead of having a single namespace like&amp;#58;&lt;br /&gt;Microsoft.Samples.NLayerApp.Domain.MainModule.Contracts&lt;br /&gt;And all the contracts classes within it. We could have the following namespaces&amp;#58;&lt;br /&gt;&amp;#160;&lt;br /&gt;Microsoft.Samples.NLayerApp.Domain.MainModule.Contracts.Customer&lt;br /&gt;Microsoft.Samples.NLayerApp.Domain.MainModule.Contracts.BankAccount&lt;br /&gt;&amp;#160;&lt;br /&gt;Then, just the contracts for each entity within each..&lt;br /&gt;&amp;#160;&lt;br /&gt;Cesar.&lt;br /&gt;</description><author>UnaiZorrilla</author><pubDate>Thu, 16 May 2013 11:32:23 GMT</pubDate><guid isPermaLink="false">Closed Issue: Consider changing Domain Contracts Namespaces - They are a bit mess [4020] 20130516113223A</guid></item><item><title>Commented Issue: Remove OrderLine [6842]</title><link>http://microsoftnlayerapp.codeplex.com/workitem/6842</link><description>&amp;#60;p&amp;#62;Hi Team, thanks for share your knowledge with example and book for us.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;I would like to address the issue of removing a child of an aggregate, such as a use case that would remove a OrderLine of an Order. This does not make much sense for your business logic it is only a good example to respond a situation that is hitting a lot of developer.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;I found several solutions to the problem but no transparent clean code that maintains a good performance, which makes it seem all the code as a former professor of mine said, touched by god.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Here is some link the problem with some solutions&amp;#58;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;5344477&amp;#47;unable-to-delete-child-entities-from-a-poco-using-unit-of-work-pattern&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;http&amp;#58;&amp;#47;&amp;#47;weblogs.asp.net&amp;#47;zeeshanhirani&amp;#47;archive&amp;#47;2010&amp;#47;07&amp;#47;23&amp;#47;removing-entity-from-a-related-collection.aspx&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;5889886&amp;#47;mvc-3-ef-4-1-dbcontext-deleting-one-to-many-data-object-with-non-nullable-fore&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;6125871&amp;#47;ef-4-1-removing-child-object-from-collection-does-not-delete-it-why&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;best regards&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Reinier&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&lt;br /&gt;Comments: ** Comment from web user: deumber ** &lt;p&gt;Here &lt;/p&gt;&lt;p&gt;http://stackoverflow.com/questions/3635071/update-relationships-when-saving-changes-of-ef4-poco-objects/3635326#3635326&lt;/p&gt;&lt;p&gt;and&lt;/p&gt;&lt;p&gt;http://social.msdn.microsoft.com/Forums/en-US/adodotnetentityframework/thread/65eca787-dced-4040-8836-dd5ee437cfca&lt;/p&gt;&lt;p&gt;There is a nice response to this problem&lt;/p&gt;</description><author>deumber</author><pubDate>Thu, 25 Oct 2012 17:15:34 GMT</pubDate><guid isPermaLink="false">Commented Issue: Remove OrderLine [6842] 20121025051534P</guid></item><item><title>Commented Issue: Remove OrderLine [6842]</title><link>http://microsoftnlayerapp.codeplex.com/workitem/6842</link><description>&amp;#60;p&amp;#62;Hi Team, thanks for share your knowledge with example and book for us.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;I would like to address the issue of removing a child of an aggregate, such as a use case that would remove a OrderLine of an Order. This does not make much sense for your business logic it is only a good example to respond a situation that is hitting a lot of developer.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;I found several solutions to the problem but no transparent clean code that maintains a good performance, which makes it seem all the code as a former professor of mine said, touched by god.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Here is some link the problem with some solutions&amp;#58;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;5344477&amp;#47;unable-to-delete-child-entities-from-a-poco-using-unit-of-work-pattern&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;http&amp;#58;&amp;#47;&amp;#47;weblogs.asp.net&amp;#47;zeeshanhirani&amp;#47;archive&amp;#47;2010&amp;#47;07&amp;#47;23&amp;#47;removing-entity-from-a-related-collection.aspx&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;5889886&amp;#47;mvc-3-ef-4-1-dbcontext-deleting-one-to-many-data-object-with-non-nullable-fore&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;6125871&amp;#47;ef-4-1-removing-child-object-from-collection-does-not-delete-it-why&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;best regards&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;Reinier&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&lt;br /&gt;Comments: ** Comment from web user: deumber ** &lt;p&gt;Hi BassemMohsenFarid,&lt;/p&gt;&lt;p&gt;My case is update or delete any item from a collection inside an aggregate. This is not the case in Order and OrderLines but in some use case when you need to update data of an OrderLine and OrderLine it is not an entity because it only life reason is inside a Order, how update OrderLines data? &lt;/p&gt;&lt;p&gt;If you get the Order from the Context and in a perfect OO world you just user RemoveItem from the OrderLine collection and you expect when you said SaveChange the change reflect to the DB.&lt;/p&gt;&lt;p&gt;Maybe this is a Entity Framework lack with all the tracking thing maybe i can do it with self tracking entities or maybe using NHibernate.&lt;/p&gt;</description><author>deumber</author><pubDate>Sat, 20 Oct 2012 18:32:57 GMT</pubDate><guid isPermaLink="false">Commented Issue: Remove OrderLine [6842] 20121020063257P</guid></item><item><title>Commented Issue: Remove OrderLine [6842]</title><link>http://microsoftnlayerapp.codeplex.com/workitem/6842</link><description>Hi Team, thanks for share your knowledge with example and book for us.&lt;br /&gt;&lt;br /&gt;I would like to address the issue of removing a child of an aggregate, such as a use case that would remove a OrderLine of an Order. This does not make much sense for your business logic it is only a good example to respond a situation that is hitting a lot of developer.&lt;br /&gt;&lt;br /&gt;I found several solutions to the problem but no transparent clean code that maintains a good performance, which makes it seem all the code as a former professor of mine said, touched by god.&lt;br /&gt;&lt;br /&gt;Here is some link the problem with some solutions&amp;#58;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;5344477&amp;#47;unable-to-delete-child-entities-from-a-poco-using-unit-of-work-pattern&lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;weblogs.asp.net&amp;#47;zeeshanhirani&amp;#47;archive&amp;#47;2010&amp;#47;07&amp;#47;23&amp;#47;removing-entity-from-a-related-collection.aspx&lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;5889886&amp;#47;mvc-3-ef-4-1-dbcontext-deleting-one-to-many-data-object-with-non-nullable-fore&lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;6125871&amp;#47;ef-4-1-removing-child-object-from-collection-does-not-delete-it-why&lt;br /&gt;&lt;br /&gt;best regards&lt;br /&gt;Reinier&lt;br /&gt;Comments: ** Comment from web user: BassemMohsenFarid ** &lt;p&gt;You can remove the &amp;#39;OrderId&amp;#39; property from the &amp;#39;OrderLine&amp;#39; entity. Generally a mutual reference between domain entities is not a good idea. You will never need to navigate from the OrderLine to the Order, right&amp;#63;&lt;/p&gt;&lt;p&gt;One problem is that the OrderLine record will not be deleted from the database. It will just be disconnected from the Order record. But this is not a big problem in my opinion.&lt;/p&gt;</description><author>BassemMohsenFarid</author><pubDate>Tue, 18 Sep 2012 12:50:31 GMT</pubDate><guid isPermaLink="false">Commented Issue: Remove OrderLine [6842] 20120918125031P</guid></item><item><title>Created Issue: Remove OrderLine [6842]</title><link>http://microsoftnlayerapp.codeplex.com/workitem/6842</link><description>Hi Team, thanks for share your knowledge with example and book for us.&lt;br /&gt;&lt;br /&gt;I would like to address the issue of removing a child of an aggregate, such as a use case that would remove a OrderLine of an Order. This does not make much sense for your business logic it is only a good example to respond a situation that is hitting a lot of developer.&lt;br /&gt;&lt;br /&gt;I found several solutions to the problem but no transparent clean code that maintains a good performance, which makes it seem all the code as a former professor of mine said, touched by god.&lt;br /&gt;&lt;br /&gt;Here is some link the problem with some solutions&amp;#58;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;5344477&amp;#47;unable-to-delete-child-entities-from-a-poco-using-unit-of-work-pattern&lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;weblogs.asp.net&amp;#47;zeeshanhirani&amp;#47;archive&amp;#47;2010&amp;#47;07&amp;#47;23&amp;#47;removing-entity-from-a-related-collection.aspx&lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;5889886&amp;#47;mvc-3-ef-4-1-dbcontext-deleting-one-to-many-data-object-with-non-nullable-fore&lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;questions&amp;#47;6125871&amp;#47;ef-4-1-removing-child-object-from-collection-does-not-delete-it-why&lt;br /&gt;&lt;br /&gt;best regards&lt;br /&gt;Reinier&lt;br /&gt;</description><author>deumber</author><pubDate>Fri, 23 Mar 2012 15:57:12 GMT</pubDate><guid isPermaLink="false">Created Issue: Remove OrderLine [6842] 20120323035712P</guid></item><item><title>Created Issue: Cannot run NLayerAppV2 [6687]</title><link>http://microsoftnlayerapp.codeplex.com/workitem/6687</link><description>Hello,&lt;br /&gt;I&amp;#39;ve just hit this great guidance, but I cannot get the app running.&lt;br /&gt;I see everything is ok with the WCF service at port 2626 and the web at port 1792.&lt;br /&gt;I try to figure the problem with developer tools of IE9 and see that the Silverlight app cannot touch the 2 WCF services, but it received the crossdomain.xml correctly.&lt;br /&gt;Any suggestions for me&amp;#63;&lt;br /&gt;Thanks.&lt;br /&gt;</description><author>conglee</author><pubDate>Fri, 23 Dec 2011 16:27:12 GMT</pubDate><guid isPermaLink="false">Created Issue: Cannot run NLayerAppV2 [6687] 20111223042712P</guid></item><item><title>Created Issue: 项目有重复提交SQL至数据库的BUG [6648]</title><link>http://microsoftnlayerapp.codeplex.com/workitem/6648</link><description>项目有重复提交SQL至数据库的BUG&lt;br /&gt;例如&amp;#65306;&lt;br /&gt;   &amp;#47;&amp;#47;get customers&lt;br /&gt;            var customers &amp;#61; _customerRepository.GetEnabled&amp;#40;pageIndex, pageCount&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;            if &amp;#40;customers &amp;#33;&amp;#61; null&lt;br /&gt;                &amp;#38;&amp;#38;&lt;br /&gt;                customers.Any&amp;#40;&amp;#41;&amp;#41;  &amp;#47;&amp;#47;First&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return _typesAdapter.Adapt&amp;#60;IEnumerable&amp;#60;Customer&amp;#62;, List&amp;#60;CustomerListDTO&amp;#62;&amp;#62;&amp;#40;customers&amp;#41;&amp;#59;  &amp;#47;&amp;#47;Second &lt;br /&gt;            &amp;#125;&lt;br /&gt;            else&lt;br /&gt;                return null&amp;#59;&lt;br /&gt;&lt;br /&gt;我做如下修改可以避免&amp;#65306;&lt;br /&gt;   &amp;#47;&amp;#47;get customers&lt;br /&gt;            List&amp;#60;Customer&amp;#62; customers &amp;#61; _customerRepository.GetEnabled&amp;#40;pageIndex, pageCount&amp;#41;.ToList&amp;#60;Customer&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;            if &amp;#40;customers &amp;#33;&amp;#61; null&lt;br /&gt;                &amp;#38;&amp;#38;&lt;br /&gt;                customers.Any&amp;#40;&amp;#41;&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                return _typesAdapter.Adapt&amp;#60;IEnumerable&amp;#60;Customer&amp;#62;, List&amp;#60;CustomerListDTO&amp;#62;&amp;#62;&amp;#40;customers&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;            else&lt;br /&gt;                return null&amp;#59;&lt;br /&gt;</description><author>zhuang1125</author><pubDate>Sat, 03 Dec 2011 14:57:00 GMT</pubDate><guid isPermaLink="false">Created Issue: 项目有重复提交SQL至数据库的BUG [6648] 20111203025700P</guid></item><item><title>Created Issue: How can I add a property which exists only in Domain ? [6373]</title><link>http://microsoftnlayerapp.codeplex.com/workitem/6373</link><description>Hello,&lt;br /&gt;        I want to add a property in my Business Object which is not available in the Database Table.  I want this property in the Domain level Business Objects only not in the Data Tear related BO. Please can anyone tell me how can I achive this&amp;#63; I am using EF4.0 POCO Repository pattern. &lt;br /&gt;&lt;br /&gt;Nilkanth Desai&lt;br /&gt;</description><author>nsdesai</author><pubDate>Fri, 12 Aug 2011 09:50:55 GMT</pubDate><guid isPermaLink="false">Created Issue: How can I add a property which exists only in Domain ? [6373] 20110812095055A</guid></item><item><title>Commented Issue: Redundant string verification in specifications [6313]</title><link>http://microsoftnlayerapp.codeplex.com/workitem/6313</link><description>In many specification implementations there is used both string.IsNullOrEmpty and string.IsNullOrWhitespace. The IsNullOrWhitespace makes the IsNullOrEmpty redundant because it also returns true for a empty string.&lt;br /&gt;Comments: ** Comment from web user: santo_pendorcho ** &lt;p&gt;http&amp;#58;&amp;#47;&amp;#47;msdn.microsoft.com&amp;#47;en-us&amp;#47;library&amp;#47;system.string.isnullorempty.aspx&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;msdn.microsoft.com&amp;#47;en-us&amp;#47;library&amp;#47;system.string.isnullorwhitespace.aspx&lt;/p&gt;</description><author>santo_pendorcho</author><pubDate>Mon, 25 Jul 2011 14:11:21 GMT</pubDate><guid isPermaLink="false">Commented Issue: Redundant string verification in specifications [6313] 20110725021121P</guid></item><item><title>Commented Issue: IObjectWithChangeTracker [5698]</title><link>http://microsoftnlayerapp.codeplex.com/workitem/5698</link><description>Hola, estoy leyendo la 1era edicion del libro &amp;#40;Noviembre 2010&amp;#41; y estoy teniendo inconvenientes con la parte de Entity Framework. Primero no me genera los archivos con los mismos nombres que en el libro, es decir el .type.tt no lo genera, lo genera directamente como MainModule.tt y contiene las clases, hasta ahi todo bien. Cuando muevo ese archivo a Domain Entities y ejectuto el Custom Tool, obtengo errores del tipo&amp;#58;  &amp;#34;Cannot resolve symbol IObjectWithChangeTracker&amp;#34;&lt;br /&gt;&lt;br /&gt;El libro es realmente excelente, los felicito.&lt;br /&gt;Comments: ** Comment from web user: santo_pendorcho ** &lt;p&gt;No pierdas tiempo con la guia de la version 1.0, baja la version 2.0 borrador, y la version alpha del ejemplo, ahi se esta implementando la ultima version de E.F. 4.1&lt;br /&gt;Saludos&lt;/p&gt;</description><author>santo_pendorcho</author><pubDate>Mon, 25 Jul 2011 13:43:17 GMT</pubDate><guid isPermaLink="false">Commented Issue: IObjectWithChangeTracker [5698] 20110725014317P</guid></item><item><title>Commented Issue: Redundant string verification in specifications [6313]</title><link>http://microsoftnlayerapp.codeplex.com/workitem/6313</link><description>In many specification implementations there is used both string.IsNullOrEmpty and string.IsNullOrWhitespace. The IsNullOrWhitespace makes the IsNullOrEmpty redundant because it also returns true for a empty string.&lt;br /&gt;Comments: ** Comment from web user: santo_pendorcho ** &lt;p&gt;IsNullOrEmpty&amp;#58;&lt;br /&gt;return value &amp;#63;&amp;#63; String.Empty&amp;#59;&lt;/p&gt;&lt;p&gt;IsNullOrWhiteSpace&amp;#58;&lt;br /&gt;return String.IsNullOrEmpty&amp;#40;value&amp;#41; &amp;#124;&amp;#124; value.Trim&amp;#40;&amp;#41;.Length &amp;#61;&amp;#61; 0&amp;#59;&lt;/p&gt;</description><author>santo_pendorcho</author><pubDate>Mon, 25 Jul 2011 13:32:57 GMT</pubDate><guid isPermaLink="false">Commented Issue: Redundant string verification in specifications [6313] 20110725013257P</guid></item><item><title>Created Issue: Redundant string verification in specifications [6313]</title><link>http://microsoftnlayerapp.codeplex.com/workitem/6313</link><description>In many specification implementations there is used both string.IsNullOrEmpty and string.IsNullOrWhitespace. The IsNullOrWhitespace makes the IsNullOrEmpty redundant because it also returns true for a empty string.&lt;br /&gt;</description><author>eiaro</author><pubDate>Thu, 21 Jul 2011 07:42:41 GMT</pubDate><guid isPermaLink="false">Created Issue: Redundant string verification in specifications [6313] 20110721074241A</guid></item><item><title>Commented Issue: Cannot open all projects in solution [6274]</title><link>http://microsoftnlayerapp.codeplex.com/workitem/6274</link><description>When opening the solution for the first time after getting a fresh copy from SVN, I get an error saying &amp;#34;NLayerAppModeling.modelproj cannot be opened because it&amp;#39;s project type is not supported&amp;#34;.   I&amp;#39;m using VS2010 Pro.  Do I need Ultimate to open the solution&amp;#63;&lt;br /&gt;&lt;br /&gt;EDIT&amp;#58;  I have another machine with VS2010 Premium and that was able to open the proj.  Both Pro and Premium can build the app so apparently NLayerAppModeling.modelproj is not required.&lt;br /&gt;&lt;br /&gt;Also, I meant to put this thread in Discussions.  Can someone move it for me&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: tojo_gd72 ** &lt;p&gt;Only with VS Ultimate can you create modeling projects.&lt;br /&gt;Premium can open the project for viewing, but you can&amp;#39;t create new UML diagrams etc.&lt;br /&gt;Pro can&amp;#39;t even open the project&lt;/p&gt;</description><author>tojo_gd72</author><pubDate>Sun, 17 Jul 2011 15:18:42 GMT</pubDate><guid isPermaLink="false">Commented Issue: Cannot open all projects in solution [6274] 20110717031842P</guid></item><item><title>Commented Issue: The name of primary key must be "Id" ? [6248]</title><link>http://microsoftnlayerapp.codeplex.com/workitem/6248</link><description>If I use another name like &amp;#34;CountryId&amp;#34; for Country entity , &amp;#34;ID&amp;#34; column will be automatically generated .&lt;br /&gt;Comments: ** Comment from web user: rclanan ** &lt;p&gt;I could be completely wrong on this but I believe the reason you are experiencing this is because the ID field &amp;#40;column&amp;#41; resides on the base Entity class found in the Domain.Seedwork project. If you don&amp;#39;t rename that field or remove it and include it in each entity outside of the base class then you will have the ID column automatically generated. &lt;/p&gt;&lt;p&gt;Again though, that&amp;#39;s just my assumption as to why you are experiencing that. &lt;br /&gt;&lt;/p&gt;</description><author>rclanan</author><pubDate>Tue, 12 Jul 2011 15:38:04 GMT</pubDate><guid isPermaLink="false">Commented Issue: The name of primary key must be "Id" ? [6248] 20110712033804P</guid></item><item><title>Created Issue: Cannot open all projects in solution [6274]</title><link>http://microsoftnlayerapp.codeplex.com/workitem/6274</link><description>When opening the solution for the first time after getting a fresh copy from SVN, I get an error saying &amp;#34;NLayerAppModeling.modelproj cannot be opened because it&amp;#39;s project type is not supported&amp;#34;.   I&amp;#39;m using VS2010 Pro.  Do I need Ultimate to open the solution&amp;#63;&lt;br /&gt;</description><author>bradirby</author><pubDate>Fri, 08 Jul 2011 15:25:25 GMT</pubDate><guid isPermaLink="false">Created Issue: Cannot open all projects in solution [6274] 20110708032525P</guid></item><item><title>Created Issue: The name of primary key must be "Id" ? [6248]</title><link>http://microsoftnlayerapp.codeplex.com/workitem/6248</link><description>If I use another name like &amp;#34;CountryId&amp;#34; for Country entity , &amp;#34;ID&amp;#34; column will be automatically generated .&lt;br /&gt;</description><author>alexpan</author><pubDate>Fri, 01 Jul 2011 10:00:22 GMT</pubDate><guid isPermaLink="false">Created Issue: The name of primary key must be "Id" ? [6248] 20110701100022A</guid></item><item><title>Created Issue: ViewModels referencing user controls [6237]</title><link>http://microsoftnlayerapp.codeplex.com/workitem/6237</link><description>In the sample app some of the ViewModels reference user controls. this is not fully complaint with MVVM guidelines where view models should be decoupled from views. Suggest using typeconvertors or something like the EventAggregator in Prism to ensure the guidance is correct.&lt;br /&gt;e.g &lt;br /&gt;Here are some instances&amp;#58; &lt;br /&gt;&lt;br /&gt;WPF client &amp;#40;VMMAinWindow&amp;#41;&lt;br /&gt;&lt;br /&gt;   private void MinimizeWindowExecute&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            App.Current.MainWindow.WindowState &amp;#61; System.Windows.WindowState.Minimized&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        private void MaximizeWindowExecute&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            if &amp;#40;App.Current.MainWindow.WindowState &amp;#61;&amp;#61; System.Windows.WindowState.Maximized&amp;#41;&lt;br /&gt;                App.Current.MainWindow.WindowState &amp;#61; System.Windows.WindowState.Normal&amp;#59;&lt;br /&gt;            else&lt;br /&gt;                App.Current.MainWindow.WindowState &amp;#61; System.Windows.WindowState.Maximized&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;SL client &amp;#40;VMAddCustomer&amp;#41;&lt;br /&gt;  private void AddPictureExecute&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            &amp;#47;&amp;#47;Create a file dialog&lt;br /&gt;            OpenFileDialog selectPictureDialog &amp;#61; new OpenFileDialog&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;            &amp;#47;&amp;#47;set properties for this dialog &amp;#40; only once file, title and check that file exist &amp;#41;&lt;br /&gt;            selectPictureDialog.Multiselect &amp;#61; false&amp;#59;&lt;br /&gt;&lt;br /&gt;            if &amp;#40;selectPictureDialog.ShowDialog&amp;#40;&amp;#41; &amp;#61;&amp;#61; true&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                string picturePath &amp;#61; selectPictureDialog.File.FullName&lt;br /&gt;</description><author>Manikrish</author><pubDate>Tue, 28 Jun 2011 01:24:39 GMT</pubDate><guid isPermaLink="false">Created Issue: ViewModels referencing user controls [6237] 20110628012439A</guid></item><item><title>Created Issue: ViewModels referencing user controls [6236]</title><link>http://microsoftnlayerapp.codeplex.com/workitem/6236</link><description>In the sample app some of the ViewModels reference user controls. this is not fully complaint with MVVM guidelines where view models should be decoupled from views. Suggest using typeconvertors or something like the EventAggregator in Prism to ensure the guidance is correct.&lt;br /&gt;e.g &lt;br /&gt;Here are some instances&amp;#58; &lt;br /&gt;&lt;br /&gt;WPF client &amp;#40;VMMAinWindow&amp;#41;&lt;br /&gt;&lt;br /&gt;   private void MinimizeWindowExecute&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            App.Current.MainWindow.WindowState &amp;#61; System.Windows.WindowState.Minimized&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;        private void MaximizeWindowExecute&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            if &amp;#40;App.Current.MainWindow.WindowState &amp;#61;&amp;#61; System.Windows.WindowState.Maximized&amp;#41;&lt;br /&gt;                App.Current.MainWindow.WindowState &amp;#61; System.Windows.WindowState.Normal&amp;#59;&lt;br /&gt;            else&lt;br /&gt;                App.Current.MainWindow.WindowState &amp;#61; System.Windows.WindowState.Maximized&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;SL client &amp;#40;VMAddCustomer&amp;#41;&lt;br /&gt;  private void AddPictureExecute&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            &amp;#47;&amp;#47;Create a file dialog&lt;br /&gt;            OpenFileDialog selectPictureDialog &amp;#61; new OpenFileDialog&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;            &amp;#47;&amp;#47;set properties for this dialog &amp;#40; only once file, title and check that file exist &amp;#41;&lt;br /&gt;            selectPictureDialog.Multiselect &amp;#61; false&amp;#59;&lt;br /&gt;&lt;br /&gt;            if &amp;#40;selectPictureDialog.ShowDialog&amp;#40;&amp;#41; &amp;#61;&amp;#61; true&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                string picturePath &amp;#61; selectPictureDialog.File.FullName&lt;br /&gt;</description><author>Manikrish</author><pubDate>Tue, 28 Jun 2011 01:24:35 GMT</pubDate><guid isPermaLink="false">Created Issue: ViewModels referencing user controls [6236] 20110628012435A</guid></item><item><title>Created Issue: Diferencias entre el comportamiento del objeto MemorySet y EF [6181]</title><link>http://microsoftnlayerapp.codeplex.com/workitem/6181</link><description>He observado que cuando lanzo una consulta con un join contra la bd si el include lo hago al principio de la consulta este es ignorado. Sin embargo si lo pongo al fina lo realiza correctamente.&lt;br /&gt;Esto hasta cierto punto es normal. El problema es que MemorySet no se comporta igual de manera que cuando la consulta ya lleva el join el siguiente cast devuelve una excepci&amp;#243;n&amp;#58;&lt;br /&gt;&lt;br /&gt;MemorySet&amp;#60;TEntity&amp;#62; fakeQuery &amp;#61; queryable as MemorySet&amp;#60;TEntity&amp;#62;&amp;#59;&lt;br /&gt;&lt;br /&gt;Sin embargo si hago el include antes funciona correctamente &amp;#40;al contrario que EF&amp;#41;. &amp;#191;Se puede hacer algo en el objeto MemorySet para remediar esto&amp;#63;&lt;br /&gt;</description><author>jersiovic</author><pubDate>Sat, 04 Jun 2011 18:45:27 GMT</pubDate><guid isPermaLink="false">Created Issue: Diferencias entre el comportamiento del objeto MemorySet y EF [6181] 20110604064527P</guid></item></channel></rss>