<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>nhydrate Issue Tracker Rss Feed</title><link>http://nhydrate.codeplex.com/WorkItem/List.aspx</link><description>nhydrate Issue Tracker Rss Description</description><item><title>Commented Issue: error using audit tracking -conn string not set. [8714]</title><link>http://nhydrate.codeplex.com/workitem/8714</link><description>Hello, &lt;br /&gt;I&amp;#39;m using the modules feature and enabled &amp;#39;&amp;#39;Allow audit tracking&amp;#39;&amp;#39; to audit changes on records. &lt;br /&gt;&lt;br /&gt;I am using this code to get the audit records of a model instanse &lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;   const string cnnstr &amp;#61; &amp;#64;&amp;#34;metadata&amp;#61;&amp;#126;&amp;#92;Modules&amp;#92;company.data.Sys.EFDAL&amp;#92;Data.csdl&amp;#124;&amp;#126;&amp;#92;Modules&amp;#92;company.data.Sys.EFDAL&amp;#92;Data.ssdl&amp;#124;&amp;#126;&amp;#92;Modules&amp;#92;company.data.Sys.EFDAL&amp;#92;Data.msl&amp;#59;provider&amp;#61;System.Data.SqlClient&amp;#59;provider connection string&amp;#61;&amp;#39;server &amp;#61; 127.0.0.1,1433&amp;#92;sqlexpress&amp;#59;database &amp;#61; companydata&amp;#59;uid &amp;#61; sa&amp;#59;pwd &amp;#61; 123&amp;#39;&amp;#34;&amp;#59;&lt;br /&gt;            &lt;br /&gt;            var startup &amp;#61; new ContextStartup&amp;#40;&amp;#34;sa&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;            using &amp;#40;var db &amp;#61; new company.data.Module1.EFDAL.dataEntities&amp;#40;startup, cnnstr&amp;#41;&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                var record &amp;#61; db.ChildItem.FirstOrDefault&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;                if &amp;#40;record &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;                &amp;#123;&lt;br /&gt;                    var auditrecs&amp;#61;  record.GetAuditRecords&amp;#40;&amp;#41;.ToList&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;                &amp;#125;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;As you can see i am passing in the connection string directly to the db context.&lt;br /&gt;&lt;br /&gt;When it gets to line &amp;#58; record.GetAuditRecords&amp;#40;&amp;#41; an error is caused &amp;#58;&amp;#39;&amp;#39;Null reference object&amp;#39;&amp;#39; and i cannot get the audit records.&lt;br /&gt;I&amp;#39;ve pinpointed the problem at this line of code &amp;#58; &lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&amp;#9;var s &amp;#61; System.Configuration.ConfigurationManager.ConnectionStrings&amp;#91;&amp;#34;dataEntities&amp;#34;&amp;#93;.ConnectionString&amp;#59;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;inside file  &amp;#58; company.data.Module1.EFDAL&amp;#92;dataEntities.Generated.cs.&lt;br /&gt;&lt;br /&gt;It seems that it is assuming connection string will be in the config file &amp;#40;which it isnot because i am passing it by code&amp;#41;  and since it doesnt find it it blows.&lt;br /&gt;&lt;br /&gt;Could&amp;#39;nt find a way to get around it. I think that the audit record classes need to be aware of the db context that is calling them in order to use the same connection string.&lt;br /&gt;&lt;br /&gt;Hope this can be fixed as this is one of the best features of nhydrate , for me.&lt;br /&gt;&lt;br /&gt;see attached model file for example &lt;br /&gt;&lt;br /&gt;Thanks &lt;br /&gt;yiannis&lt;br /&gt;Comments: ** Comment from web user: giannik ** &lt;p&gt;sounds great.&lt;br&gt;Thanks Chris.&lt;br&gt;&lt;/p&gt;</description><author>giannik</author><pubDate>Wed, 01 May 2013 19:21:08 GMT</pubDate><guid isPermaLink="false">Commented Issue: error using audit tracking -conn string not set. [8714] 20130501072108P</guid></item><item><title>Commented Issue: error using audit tracking -conn string not set. [8714]</title><link>http://nhydrate.codeplex.com/workitem/8714</link><description>Hello, &lt;br /&gt;I&amp;#39;m using the modules feature and enabled &amp;#39;&amp;#39;Allow audit tracking&amp;#39;&amp;#39; to audit changes on records. &lt;br /&gt;&lt;br /&gt;I am using this code to get the audit records of a model instanse &lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;   const string cnnstr &amp;#61; &amp;#64;&amp;#34;metadata&amp;#61;&amp;#126;&amp;#92;Modules&amp;#92;company.data.Sys.EFDAL&amp;#92;Data.csdl&amp;#124;&amp;#126;&amp;#92;Modules&amp;#92;company.data.Sys.EFDAL&amp;#92;Data.ssdl&amp;#124;&amp;#126;&amp;#92;Modules&amp;#92;company.data.Sys.EFDAL&amp;#92;Data.msl&amp;#59;provider&amp;#61;System.Data.SqlClient&amp;#59;provider connection string&amp;#61;&amp;#39;server &amp;#61; 127.0.0.1,1433&amp;#92;sqlexpress&amp;#59;database &amp;#61; companydata&amp;#59;uid &amp;#61; sa&amp;#59;pwd &amp;#61; 123&amp;#39;&amp;#34;&amp;#59;&lt;br /&gt;            &lt;br /&gt;            var startup &amp;#61; new ContextStartup&amp;#40;&amp;#34;sa&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;            using &amp;#40;var db &amp;#61; new company.data.Module1.EFDAL.dataEntities&amp;#40;startup, cnnstr&amp;#41;&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                var record &amp;#61; db.ChildItem.FirstOrDefault&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;                if &amp;#40;record &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;                &amp;#123;&lt;br /&gt;                    var auditrecs&amp;#61;  record.GetAuditRecords&amp;#40;&amp;#41;.ToList&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;                &amp;#125;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;As you can see i am passing in the connection string directly to the db context.&lt;br /&gt;&lt;br /&gt;When it gets to line &amp;#58; record.GetAuditRecords&amp;#40;&amp;#41; an error is caused &amp;#58;&amp;#39;&amp;#39;Null reference object&amp;#39;&amp;#39; and i cannot get the audit records.&lt;br /&gt;I&amp;#39;ve pinpointed the problem at this line of code &amp;#58; &lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&amp;#9;var s &amp;#61; System.Configuration.ConfigurationManager.ConnectionStrings&amp;#91;&amp;#34;dataEntities&amp;#34;&amp;#93;.ConnectionString&amp;#59;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;inside file  &amp;#58; company.data.Module1.EFDAL&amp;#92;dataEntities.Generated.cs.&lt;br /&gt;&lt;br /&gt;It seems that it is assuming connection string will be in the config file &amp;#40;which it isnot because i am passing it by code&amp;#41;  and since it doesnt find it it blows.&lt;br /&gt;&lt;br /&gt;Could&amp;#39;nt find a way to get around it. I think that the audit record classes need to be aware of the db context that is calling them in order to use the same connection string.&lt;br /&gt;&lt;br /&gt;Hope this can be fixed as this is one of the best features of nhydrate , for me.&lt;br /&gt;&lt;br /&gt;see attached model file for example &lt;br /&gt;&lt;br /&gt;Thanks &lt;br /&gt;yiannis&lt;br /&gt;Comments: ** Comment from web user: codetools ** &lt;p&gt;This will be addressed in the next version in that an instance will read the connection string of its parent context. Also the context will have ConnectionString property. And finally the static audit methods will have an overload to pass in a connection string.&lt;/p&gt;</description><author>codetools</author><pubDate>Wed, 01 May 2013 18:28:22 GMT</pubDate><guid isPermaLink="false">Commented Issue: error using audit tracking -conn string not set. [8714] 20130501062822P</guid></item><item><title>Created Issue: error using audit tracking -conn string not set. [8714]</title><link>http://nhydrate.codeplex.com/workitem/8714</link><description>Hello, &lt;br /&gt;I&amp;#39;m using the modules feature and enabled &amp;#39;&amp;#39;Allow audit tracking&amp;#39;&amp;#39; to audit changes on records. &lt;br /&gt;&lt;br /&gt;I am using this code to get the audit records of a model instanse &lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;   const string cnnstr &amp;#61; &amp;#64;&amp;#34;metadata&amp;#61;&amp;#126;&amp;#92;Modules&amp;#92;company.data.Sys.EFDAL&amp;#92;Data.csdl&amp;#124;&amp;#126;&amp;#92;Modules&amp;#92;company.data.Sys.EFDAL&amp;#92;Data.ssdl&amp;#124;&amp;#126;&amp;#92;Modules&amp;#92;company.data.Sys.EFDAL&amp;#92;Data.msl&amp;#59;provider&amp;#61;System.Data.SqlClient&amp;#59;provider connection string&amp;#61;&amp;#39;server &amp;#61; 127.0.0.1,1433&amp;#92;sqlexpress&amp;#59;database &amp;#61; companydata&amp;#59;uid &amp;#61; sa&amp;#59;pwd &amp;#61; 123&amp;#39;&amp;#34;&amp;#59;&lt;br /&gt;            &lt;br /&gt;            var startup &amp;#61; new ContextStartup&amp;#40;&amp;#34;sa&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;            using &amp;#40;var db &amp;#61; new company.data.Module1.EFDAL.dataEntities&amp;#40;startup, cnnstr&amp;#41;&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                var record &amp;#61; db.ChildItem.FirstOrDefault&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;                if &amp;#40;record &amp;#33;&amp;#61; null&amp;#41;&lt;br /&gt;                &amp;#123;&lt;br /&gt;                    var auditrecs&amp;#61;  record.GetAuditRecords&amp;#40;&amp;#41;.ToList&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;                &amp;#125;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;As you can see i am passing in the connection string directly to the db context.&lt;br /&gt;&lt;br /&gt;When it gets to line &amp;#58; record.GetAuditRecords&amp;#40;&amp;#41; an error is caused &amp;#58;&amp;#39;&amp;#39;Null reference object&amp;#39;&amp;#39; and i cannot get the audit records.&lt;br /&gt;I&amp;#39;ve pinpointed the problem at this line of code &amp;#58; &lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&amp;#9;var s &amp;#61; System.Configuration.ConfigurationManager.ConnectionStrings&amp;#91;&amp;#34;dataEntities&amp;#34;&amp;#93;.ConnectionString&amp;#59;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&lt;br /&gt;inside file  &amp;#58; company.data.Module1.EFDAL&amp;#92;dataEntities.Generated.cs.&lt;br /&gt;&lt;br /&gt;It seems that it is assuming connection string will be in the config file &amp;#40;which it isnot because i am passing it by code&amp;#41;  and since it doesnt find it it blows.&lt;br /&gt;&lt;br /&gt;Could&amp;#39;nt find a way to get around it. I think that the audit record classes need to be aware of the db context that is calling them in order to use the same connection string.&lt;br /&gt;&lt;br /&gt;Hope this can be fixed as this is one of the best features of nhydrate , for me.&lt;br /&gt;&lt;br /&gt;see attached model file for example &lt;br /&gt;&lt;br /&gt;Thanks &lt;br /&gt;yiannis&lt;br /&gt;</description><author>giannik</author><pubDate>Wed, 01 May 2013 08:55:35 GMT</pubDate><guid isPermaLink="false">Created Issue: error using audit tracking -conn string not set. [8714] 20130501085535A</guid></item><item><title>Commented Issue: Unhandled exception in GetPagedResults&lt;TKey&gt; [8649]</title><link>http://nhydrate.codeplex.com/workitem/8649</link><description>I think that some form of error handling for EntityException in item.Count&amp;#40;&amp;#41; may be needed here&amp;#58;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;        public static IEnumerable&amp;#60;T&amp;#62; GetPagedResults&amp;#60;TKey&amp;#62;&amp;#40;&lt;br /&gt;                                this System.Data.Objects.ObjectSet&amp;#60;T&amp;#62; item,&lt;br /&gt;                                System.Linq.Expressions.Expression&amp;#60;Func&amp;#60;T, bool&amp;#62;&amp;#62; where,&lt;br /&gt;                                System.Linq.Expressions.Expression&amp;#60;Func&amp;#60;T, TKey&amp;#62;&amp;#62; orderBy,&lt;br /&gt;                                bool orderAscending,&lt;br /&gt;                                nHydrate.EFCore.DataAccess.Paging paging&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            var index &amp;#61; paging.PageIndex&amp;#59;&lt;br /&gt;            var rpp &amp;#61; paging.RecordsperPage&amp;#59;&lt;br /&gt;            if &amp;#40;index &amp;#60; 1&amp;#41; index &amp;#61; 1&amp;#59;&lt;br /&gt;            if &amp;#40;rpp &amp;#60; 1&amp;#41; rpp &amp;#61; 1&amp;#59;&lt;br /&gt;&lt;br /&gt;            paging.RecordCount &amp;#61; item.Count&amp;#40;where&amp;#41;&amp;#59;&lt;br /&gt;            paging.PageCount &amp;#61; paging.RecordCount &amp;#47; rpp&amp;#59;&lt;br /&gt;            if &amp;#40;&amp;#40;paging.RecordCount &amp;#37; rpp&amp;#41; &amp;#33;&amp;#61; 0&amp;#41; paging.PageCount&amp;#43;&amp;#43;&amp;#59;&lt;br /&gt;&lt;br /&gt;            var q &amp;#61; item.Where&amp;#40;where&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;            if &amp;#40;orderAscending&amp;#41;&lt;br /&gt;                q &amp;#61; q.OrderBy&amp;#40;orderBy&amp;#41;&amp;#59;&lt;br /&gt;            else&lt;br /&gt;                q &amp;#61; q.OrderByDescending&amp;#40;orderBy&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;            return q.Skip&amp;#40;&amp;#40;index - 1&amp;#41; &amp;#42; rpp&amp;#41;&lt;br /&gt;                            .Take&amp;#40;rpp&amp;#41;&lt;br /&gt;                            .ToList&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;Comments: ** Comment from web user: codetools ** &lt;p&gt;Would you please post the error your received? This might help me with this issue.&lt;/p&gt;</description><author>codetools</author><pubDate>Mon, 25 Mar 2013 15:21:22 GMT</pubDate><guid isPermaLink="false">Commented Issue: Unhandled exception in GetPagedResults&lt;TKey&gt; [8649] 20130325032122P</guid></item><item><title>Created Issue: Unhandled exception in GetPagedResults&lt;TKey&gt; [8649]</title><link>http://nhydrate.codeplex.com/workitem/8649</link><description>I think that some form of error handling for EntityException in item.Count&amp;#40;&amp;#41; may be needed here&amp;#58;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;        public static IEnumerable&amp;#60;T&amp;#62; GetPagedResults&amp;#60;TKey&amp;#62;&amp;#40;&lt;br /&gt;                                this System.Data.Objects.ObjectSet&amp;#60;T&amp;#62; item,&lt;br /&gt;                                System.Linq.Expressions.Expression&amp;#60;Func&amp;#60;T, bool&amp;#62;&amp;#62; where,&lt;br /&gt;                                System.Linq.Expressions.Expression&amp;#60;Func&amp;#60;T, TKey&amp;#62;&amp;#62; orderBy,&lt;br /&gt;                                bool orderAscending,&lt;br /&gt;                                nHydrate.EFCore.DataAccess.Paging paging&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            var index &amp;#61; paging.PageIndex&amp;#59;&lt;br /&gt;            var rpp &amp;#61; paging.RecordsperPage&amp;#59;&lt;br /&gt;            if &amp;#40;index &amp;#60; 1&amp;#41; index &amp;#61; 1&amp;#59;&lt;br /&gt;            if &amp;#40;rpp &amp;#60; 1&amp;#41; rpp &amp;#61; 1&amp;#59;&lt;br /&gt;&lt;br /&gt;            paging.RecordCount &amp;#61; item.Count&amp;#40;where&amp;#41;&amp;#59;&lt;br /&gt;            paging.PageCount &amp;#61; paging.RecordCount &amp;#47; rpp&amp;#59;&lt;br /&gt;            if &amp;#40;&amp;#40;paging.RecordCount &amp;#37; rpp&amp;#41; &amp;#33;&amp;#61; 0&amp;#41; paging.PageCount&amp;#43;&amp;#43;&amp;#59;&lt;br /&gt;&lt;br /&gt;            var q &amp;#61; item.Where&amp;#40;where&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;            if &amp;#40;orderAscending&amp;#41;&lt;br /&gt;                q &amp;#61; q.OrderBy&amp;#40;orderBy&amp;#41;&amp;#59;&lt;br /&gt;            else&lt;br /&gt;                q &amp;#61; q.OrderByDescending&amp;#40;orderBy&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;            return q.Skip&amp;#40;&amp;#40;index - 1&amp;#41; &amp;#42; rpp&amp;#41;&lt;br /&gt;                            .Take&amp;#40;rpp&amp;#41;&lt;br /&gt;                            .ToList&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;</description><author>betaphreak</author><pubDate>Mon, 25 Mar 2013 10:02:42 GMT</pubDate><guid isPermaLink="false">Created Issue: Unhandled exception in GetPagedResults&lt;TKey&gt; [8649] 20130325100242A</guid></item><item><title>Created Issue: Possible problem with inherited entities in ORMMap [8614]</title><link>http://nhydrate.codeplex.com/workitem/8614</link><description>Based on your AcmeSales sample I have been writing some ASP.NET stuff by hand. Everything&amp;#39;s nice and smooth until I get to the following situation where the DataBind&amp;#40;&amp;#41; method in ORMMap.cs triggers the following code in one of the .Generated.cs from the Item.aspx of an entity that has others inheriting from it.&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;&amp;#9;object nHydrate.EFCore.DataAccess.IReadOnlyBusinessObject.GetValue&amp;#40;System.Enum field, object defaultValue&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;if &amp;#40;field.GetType&amp;#40;&amp;#41; &amp;#33;&amp;#61; typeof&amp;#40;FieldNameConstants&amp;#41;&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;throw new Exception&amp;#40;&amp;#34;The &amp;#39;&amp;#34; &amp;#43; field.GetType&amp;#40;&amp;#41;.ReflectedType.ToString&amp;#40;&amp;#41; &amp;#43; &amp;#34;.FieldNameConstants&amp;#39; value is not valid. The field parameter must be of type &amp;#39;&amp;#34; &amp;#43; this.GetType&amp;#40;&amp;#41;.ToString&amp;#40;&amp;#41; &amp;#43; &amp;#34;.FieldNameConstants&amp;#39;.&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;return this.GetValue&amp;#40;&amp;#40;FieldNameConstants&amp;#41;field, defaultValue&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#96;&amp;#96;&amp;#96;&lt;br /&gt;It seems the FieldNameConstants of the base entity is not ok here and it should be the one in the entity that inherits from this. I don&amp;#39;t understand why its implemented this way since I am browsing the details of the base entity.&lt;br /&gt;&lt;br /&gt;Is this intentional&amp;#63;&lt;br /&gt;&lt;br /&gt;Best regards&lt;br /&gt;</description><author>betaphreak</author><pubDate>Fri, 08 Mar 2013 15:25:06 GMT</pubDate><guid isPermaLink="false">Created Issue: Possible problem with inherited entities in ORMMap [8614] 20130308032506P</guid></item><item><title>Closed Issue: Issue with VS2012 installed breaking VS2010 [8409]</title><link>http://nhydrate.codeplex.com/workitem/8409</link><description>Woe is me.&lt;br /&gt;&lt;br /&gt;I was working happily with VS2010 Pro &amp;#40;SP1&amp;#41; running my project with an nHydrate model in it.  So I thought it would be good to install VS2012 Pro on my development PC. &lt;br /&gt;&lt;br /&gt;However, no code changes after installing VS2012, I fired up the VS2010 project in VS2010.  When it tries to open the connection, I get the following stack trace&amp;#58;&lt;br /&gt;&lt;br /&gt;System.Data.MappingException occurred&lt;br /&gt;  HResult&amp;#61;-2146232032&lt;br /&gt;  Message&amp;#61;Schema specified is not valid. Errors&amp;#58; &lt;br /&gt;AttestedDevelopment.WMS.EFDAL.WMS.msl&amp;#40;4,4&amp;#41; &amp;#58; error 2094&amp;#58; Mapping of the function import &amp;#39;WMSEntities.UpGetnextuniquereportnumber&amp;#40;In Edm.Int32&amp;#40;Nullable&amp;#61;True,DefaultValue&amp;#61;&amp;#41;&amp;#41;&amp;#39; is not valid. ComplexTypeMapping is supported only for function imports returning a collection of ComplexType.&lt;br /&gt;AttestedDevelopment.WMS.EFDAL.WMS.msl&amp;#40;4,4&amp;#41; &amp;#58; error 2113&amp;#58; The number of ResultMapping elements for the FunctionImport &amp;#39;WMSEntities.UpGetnextuniquereportnumber&amp;#40;In Edm.Int32&amp;#40;Nullable&amp;#61;True,DefaultValue&amp;#61;&amp;#41;&amp;#41;&amp;#39; does not match the number of specified ReturnType elements.&lt;br /&gt;  Source&amp;#61;System.Data.Entity&lt;br /&gt;  StackTrace&amp;#58;&lt;br /&gt;       at System.Data.Mapping.StorageMappingItemCollection.Init&amp;#40;EdmItemCollection edmCollection, StoreItemCollection storeCollection, IEnumerable&amp;#96;1 xmlReaders, List&amp;#96;1 filePaths, Boolean throwOnError&amp;#41;&lt;br /&gt;       at System.Data.Mapping.StorageMappingItemCollection..ctor&amp;#40;EdmItemCollection edmCollection, StoreItemCollection storeCollection, IEnumerable&amp;#96;1 xmlReaders, List&amp;#96;1 filePaths&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.StoreMetadataEntry.LoadStoreCollection&amp;#40;EdmItemCollection edmItemCollection, MetadataArtifactLoader loader&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.StoreItemCollectionLoader.LoadItemCollection&amp;#40;StoreMetadataEntry entry&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.LoadItemCollection&amp;#91;T&amp;#93;&amp;#40;IItemCollectionLoader&amp;#96;1 itemCollectionLoader, T entry&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.GetOrCreateStoreAndMappingItemCollections&amp;#40;String cacheKey, MetadataArtifactLoader loader, EdmItemCollection edmItemCollection, Object&amp;#38;amp&amp;#59; entryToken&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.LoadStoreItemCollections&amp;#40;MetadataWorkspace workspace, DbConnection storeConnection, DbProviderFactory factory, DbConnectionOptions connectionOptions, EdmItemCollection edmItemCollection, MetadataArtifactLoader artifactLoader&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.GetMetadataWorkspace&amp;#40;Boolean initializeAllCollections&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.InitializeMetadata&amp;#40;DbConnection newConnection, DbConnection originalConnection, Boolean closeOriginalConnectionOnFailure&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.Open&amp;#40;&amp;#41;&lt;br /&gt;       at AttestedDevelopment.WMS.App.WMSMainForm.InitializeWMSData&amp;#40;&amp;#41; in E&amp;#58;&amp;#92;Projects&amp;#92;OGN&amp;#92;Code&amp;#92;trunk&amp;#92;WMS&amp;#92;WMSMainForm.vb&amp;#58;line 556&lt;br /&gt;  InnerException&amp;#58; &lt;br /&gt;&lt;br /&gt;I create my connection as follows &amp;#40;it errors on the .Open&amp;#40;&amp;#41;&amp;#41;&amp;#58;&lt;br /&gt;&lt;br /&gt;_entites &amp;#61; New AttestedDevelopment.WMS.EFDAL.WMSEntities&amp;#40;System.Configuration.ConfigurationManager.ConnectionStrings&amp;#40;&amp;#38;quot&amp;#59;WMSEntities&amp;#38;quot&amp;#59;&amp;#41;.ConnectionString&amp;#41;&lt;br /&gt;_entites.Connection.Open&amp;#40;&amp;#41;&lt;br /&gt;&lt;br /&gt;Clearly VS2012 has done some patching with Entity Framework.  I though these could live side by side.  &lt;br /&gt;&lt;br /&gt;I have tried resetting my devstudio settings with devenv &amp;#47;resetsettings which didn&amp;#39;t work.  Next I tried re-applying SP1.  Which also didn&amp;#39;t work.&lt;br /&gt;&lt;br /&gt;Not too sure what to do next.  I think I&amp;#39;m gonna uninstall VS2012 - drastic measures.&lt;br /&gt; &lt;br /&gt;Anyone had this issue&amp;#63;&lt;br /&gt;Comments: Functions must have a field. A validation rule has been added for next version.</description><author>codetools</author><pubDate>Sat, 16 Feb 2013 15:16:01 GMT</pubDate><guid isPermaLink="false">Closed Issue: Issue with VS2012 installed breaking VS2010 [8409] 20130216031601P</guid></item><item><title>Commented Issue: Issue with VS2012 installed breaking VS2010 [8409]</title><link>http://nhydrate.codeplex.com/workitem/8409</link><description>Woe is me.&lt;br /&gt;&lt;br /&gt;I was working happily with VS2010 Pro &amp;#40;SP1&amp;#41; running my project with an nHydrate model in it.  So I thought it would be good to install VS2012 Pro on my development PC. &lt;br /&gt;&lt;br /&gt;However, no code changes after installing VS2012, I fired up the VS2010 project in VS2010.  When it tries to open the connection, I get the following stack trace&amp;#58;&lt;br /&gt;&lt;br /&gt;System.Data.MappingException occurred&lt;br /&gt;  HResult&amp;#61;-2146232032&lt;br /&gt;  Message&amp;#61;Schema specified is not valid. Errors&amp;#58; &lt;br /&gt;AttestedDevelopment.WMS.EFDAL.WMS.msl&amp;#40;4,4&amp;#41; &amp;#58; error 2094&amp;#58; Mapping of the function import &amp;#39;WMSEntities.UpGetnextuniquereportnumber&amp;#40;In Edm.Int32&amp;#40;Nullable&amp;#61;True,DefaultValue&amp;#61;&amp;#41;&amp;#41;&amp;#39; is not valid. ComplexTypeMapping is supported only for function imports returning a collection of ComplexType.&lt;br /&gt;AttestedDevelopment.WMS.EFDAL.WMS.msl&amp;#40;4,4&amp;#41; &amp;#58; error 2113&amp;#58; The number of ResultMapping elements for the FunctionImport &amp;#39;WMSEntities.UpGetnextuniquereportnumber&amp;#40;In Edm.Int32&amp;#40;Nullable&amp;#61;True,DefaultValue&amp;#61;&amp;#41;&amp;#41;&amp;#39; does not match the number of specified ReturnType elements.&lt;br /&gt;  Source&amp;#61;System.Data.Entity&lt;br /&gt;  StackTrace&amp;#58;&lt;br /&gt;       at System.Data.Mapping.StorageMappingItemCollection.Init&amp;#40;EdmItemCollection edmCollection, StoreItemCollection storeCollection, IEnumerable&amp;#96;1 xmlReaders, List&amp;#96;1 filePaths, Boolean throwOnError&amp;#41;&lt;br /&gt;       at System.Data.Mapping.StorageMappingItemCollection..ctor&amp;#40;EdmItemCollection edmCollection, StoreItemCollection storeCollection, IEnumerable&amp;#96;1 xmlReaders, List&amp;#96;1 filePaths&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.StoreMetadataEntry.LoadStoreCollection&amp;#40;EdmItemCollection edmItemCollection, MetadataArtifactLoader loader&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.StoreItemCollectionLoader.LoadItemCollection&amp;#40;StoreMetadataEntry entry&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.LoadItemCollection&amp;#91;T&amp;#93;&amp;#40;IItemCollectionLoader&amp;#96;1 itemCollectionLoader, T entry&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.GetOrCreateStoreAndMappingItemCollections&amp;#40;String cacheKey, MetadataArtifactLoader loader, EdmItemCollection edmItemCollection, Object&amp;#38;amp&amp;#59; entryToken&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.LoadStoreItemCollections&amp;#40;MetadataWorkspace workspace, DbConnection storeConnection, DbProviderFactory factory, DbConnectionOptions connectionOptions, EdmItemCollection edmItemCollection, MetadataArtifactLoader artifactLoader&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.GetMetadataWorkspace&amp;#40;Boolean initializeAllCollections&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.InitializeMetadata&amp;#40;DbConnection newConnection, DbConnection originalConnection, Boolean closeOriginalConnectionOnFailure&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.Open&amp;#40;&amp;#41;&lt;br /&gt;       at AttestedDevelopment.WMS.App.WMSMainForm.InitializeWMSData&amp;#40;&amp;#41; in E&amp;#58;&amp;#92;Projects&amp;#92;OGN&amp;#92;Code&amp;#92;trunk&amp;#92;WMS&amp;#92;WMSMainForm.vb&amp;#58;line 556&lt;br /&gt;  InnerException&amp;#58; &lt;br /&gt;&lt;br /&gt;I create my connection as follows &amp;#40;it errors on the .Open&amp;#40;&amp;#41;&amp;#41;&amp;#58;&lt;br /&gt;&lt;br /&gt;_entites &amp;#61; New AttestedDevelopment.WMS.EFDAL.WMSEntities&amp;#40;System.Configuration.ConfigurationManager.ConnectionStrings&amp;#40;&amp;#38;quot&amp;#59;WMSEntities&amp;#38;quot&amp;#59;&amp;#41;.ConnectionString&amp;#41;&lt;br /&gt;_entites.Connection.Open&amp;#40;&amp;#41;&lt;br /&gt;&lt;br /&gt;Clearly VS2012 has done some patching with Entity Framework.  I though these could live side by side.  &lt;br /&gt;&lt;br /&gt;I have tried resetting my devstudio settings with devenv &amp;#47;resetsettings which didn&amp;#39;t work.  Next I tried re-applying SP1.  Which also didn&amp;#39;t work.&lt;br /&gt;&lt;br /&gt;Not too sure what to do next.  I think I&amp;#39;m gonna uninstall VS2012 - drastic measures.&lt;br /&gt; &lt;br /&gt;Anyone had this issue&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: codetools ** &lt;p&gt;When you install VS 2012 it installer EF 4.1. There is a big issue with this in one condition. If you have a stored procedure with no fields (return) EF blows up. I see your proc returns a result. Please ensure that your model has at least one defined field in the model stored procedure object.&lt;/p&gt;</description><author>codetools</author><pubDate>Wed, 13 Feb 2013 01:14:04 GMT</pubDate><guid isPermaLink="false">Commented Issue: Issue with VS2012 installed breaking VS2010 [8409] 20130213011404A</guid></item><item><title>Commented Issue: Issue with VS2012 installed breaking VS2010 [8409]</title><link>http://nhydrate.codeplex.com/workitem/8409</link><description>Woe is me.&lt;br /&gt;&lt;br /&gt;I was working happily with VS2010 Pro &amp;#40;SP1&amp;#41; running my project with an nHydrate model in it.  So I thought it would be good to install VS2012 Pro on my development PC. &lt;br /&gt;&lt;br /&gt;However, no code changes after installing VS2012, I fired up the VS2010 project in VS2010.  When it tries to open the connection, I get the following stack trace&amp;#58;&lt;br /&gt;&lt;br /&gt;System.Data.MappingException occurred&lt;br /&gt;  HResult&amp;#61;-2146232032&lt;br /&gt;  Message&amp;#61;Schema specified is not valid. Errors&amp;#58; &lt;br /&gt;AttestedDevelopment.WMS.EFDAL.WMS.msl&amp;#40;4,4&amp;#41; &amp;#58; error 2094&amp;#58; Mapping of the function import &amp;#39;WMSEntities.UpGetnextuniquereportnumber&amp;#40;In Edm.Int32&amp;#40;Nullable&amp;#61;True,DefaultValue&amp;#61;&amp;#41;&amp;#41;&amp;#39; is not valid. ComplexTypeMapping is supported only for function imports returning a collection of ComplexType.&lt;br /&gt;AttestedDevelopment.WMS.EFDAL.WMS.msl&amp;#40;4,4&amp;#41; &amp;#58; error 2113&amp;#58; The number of ResultMapping elements for the FunctionImport &amp;#39;WMSEntities.UpGetnextuniquereportnumber&amp;#40;In Edm.Int32&amp;#40;Nullable&amp;#61;True,DefaultValue&amp;#61;&amp;#41;&amp;#41;&amp;#39; does not match the number of specified ReturnType elements.&lt;br /&gt;  Source&amp;#61;System.Data.Entity&lt;br /&gt;  StackTrace&amp;#58;&lt;br /&gt;       at System.Data.Mapping.StorageMappingItemCollection.Init&amp;#40;EdmItemCollection edmCollection, StoreItemCollection storeCollection, IEnumerable&amp;#96;1 xmlReaders, List&amp;#96;1 filePaths, Boolean throwOnError&amp;#41;&lt;br /&gt;       at System.Data.Mapping.StorageMappingItemCollection..ctor&amp;#40;EdmItemCollection edmCollection, StoreItemCollection storeCollection, IEnumerable&amp;#96;1 xmlReaders, List&amp;#96;1 filePaths&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.StoreMetadataEntry.LoadStoreCollection&amp;#40;EdmItemCollection edmItemCollection, MetadataArtifactLoader loader&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.StoreItemCollectionLoader.LoadItemCollection&amp;#40;StoreMetadataEntry entry&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.LoadItemCollection&amp;#91;T&amp;#93;&amp;#40;IItemCollectionLoader&amp;#96;1 itemCollectionLoader, T entry&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.GetOrCreateStoreAndMappingItemCollections&amp;#40;String cacheKey, MetadataArtifactLoader loader, EdmItemCollection edmItemCollection, Object&amp;#38;amp&amp;#59; entryToken&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.LoadStoreItemCollections&amp;#40;MetadataWorkspace workspace, DbConnection storeConnection, DbProviderFactory factory, DbConnectionOptions connectionOptions, EdmItemCollection edmItemCollection, MetadataArtifactLoader artifactLoader&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.GetMetadataWorkspace&amp;#40;Boolean initializeAllCollections&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.InitializeMetadata&amp;#40;DbConnection newConnection, DbConnection originalConnection, Boolean closeOriginalConnectionOnFailure&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.Open&amp;#40;&amp;#41;&lt;br /&gt;       at AttestedDevelopment.WMS.App.WMSMainForm.InitializeWMSData&amp;#40;&amp;#41; in E&amp;#58;&amp;#92;Projects&amp;#92;OGN&amp;#92;Code&amp;#92;trunk&amp;#92;WMS&amp;#92;WMSMainForm.vb&amp;#58;line 556&lt;br /&gt;  InnerException&amp;#58; &lt;br /&gt;&lt;br /&gt;I create my connection as follows &amp;#40;it errors on the .Open&amp;#40;&amp;#41;&amp;#41;&amp;#58;&lt;br /&gt;&lt;br /&gt;_entites &amp;#61; New AttestedDevelopment.WMS.EFDAL.WMSEntities&amp;#40;System.Configuration.ConfigurationManager.ConnectionStrings&amp;#40;&amp;#38;quot&amp;#59;WMSEntities&amp;#38;quot&amp;#59;&amp;#41;.ConnectionString&amp;#41;&lt;br /&gt;_entites.Connection.Open&amp;#40;&amp;#41;&lt;br /&gt;&lt;br /&gt;Clearly VS2012 has done some patching with Entity Framework.  I though these could live side by side.  &lt;br /&gt;&lt;br /&gt;I have tried resetting my devstudio settings with devenv &amp;#47;resetsettings which didn&amp;#39;t work.  Next I tried re-applying SP1.  Which also didn&amp;#39;t work.&lt;br /&gt;&lt;br /&gt;Not too sure what to do next.  I think I&amp;#39;m gonna uninstall VS2012 - drastic measures.&lt;br /&gt; &lt;br /&gt;Anyone had this issue&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: andez2000 ** &lt;p&gt;It is the latest version I am using.&lt;/p&gt;&lt;p&gt;1. I've installed VS2012 on a clean Windows 8 Pro N 64-bit install with SQL 2012 Enterprise.&lt;br&gt;2. I've downloaded nHydrate and installed the February release (5.1.2.117).&lt;br&gt;3. I've removed the references to the old nHydrate files in my solution and added new nHydrate.EFCore.dll.&lt;br&gt;4. I backed up and restored the database from my Windows 7 install to Windows 8.&lt;/p&gt;&lt;p&gt;I am getting exactly the same exception as I first mentioned.&lt;/p&gt;&lt;p&gt;I am unsure if it may be the actual stored procedure.  Here is the content from SQL Server:&lt;/p&gt;&lt;p&gt;```&lt;br&gt;USE [WMS_UAT]&lt;br&gt;GO&lt;br&gt;/****** Object:  StoredProcedure [dbo].[up_GetNextUniqueReportNumber]    Script Date: 12/02/2013 22:38:59 ******/&lt;br&gt;SET ANSI_NULLS ON&lt;br&gt;GO&lt;br&gt;SET QUOTED_IDENTIFIER ON&lt;br&gt;GO&lt;br&gt;ALTER PROCEDURE [dbo].[up_GetNextUniqueReportNumber]&lt;br&gt;(&lt;br&gt;	@contract_id int = null,&lt;br&gt;	@type varchar(10)  = null&lt;br&gt;)&lt;br&gt;AS&lt;/p&gt;&lt;p&gt;BEGIN&lt;br&gt;    -- SET NOCOUNT ON added to prevent extra result sets from&lt;br&gt;    -- interfering with SELECT statements.&lt;br&gt;    SET NOCOUNT ON;&lt;/p&gt;&lt;p&gt;    DECLARE @Result INT &lt;br&gt; &lt;br&gt;    -- either insert or update depending upon type (inpsection/repair)&lt;br&gt;    IF EXISTS(SELECT * FROM [dbo].[unique_report_number] WHERE [contract_id] = @contract_id AND [type] = @type) &lt;br&gt;      BEGIN          &lt;br&gt;            UPDATE [dbo].[unique_report_number] WITH (ROWLOCK, UPDLOCK) &lt;br&gt;            SET @Result = [unique_number] = [unique_number] + 1 &lt;br&gt;            WHERE [contract_id] = @contract_id AND [type] = @type&lt;br&gt;      END&lt;br&gt;    ELSE&lt;br&gt;      BEGIN       &lt;br&gt;        INSERT INTO [dbo].[unique_report_number]&lt;br&gt;           ([contract_id]&lt;br&gt;           ,[type]&lt;br&gt;           ,[unique_number])&lt;br&gt;        VALUES&lt;br&gt;           (@contract_id&lt;br&gt;           ,@type&lt;br&gt;           ,1)&lt;/p&gt;&lt;p&gt;        -- first row, so unique number is 1   &lt;br&gt;        SET @Result = 1&lt;br&gt;      END&lt;/p&gt;&lt;p&gt;    -- all done so return result&lt;br&gt;    RETURN @Result &lt;/p&gt;&lt;p&gt;END&lt;/p&gt;&lt;p&gt;```&lt;br&gt;Cheers&lt;/p&gt;&lt;p&gt;Andez&lt;/p&gt;</description><author>andez2000</author><pubDate>Tue, 12 Feb 2013 22:58:43 GMT</pubDate><guid isPermaLink="false">Commented Issue: Issue with VS2012 installed breaking VS2010 [8409] 20130212105843P</guid></item><item><title>Commented Issue: Issue with VS2012 installed breaking VS2010 [8409]</title><link>http://nhydrate.codeplex.com/workitem/8409</link><description>Woe is me.&lt;br /&gt;&lt;br /&gt;I was working happily with VS2010 Pro &amp;#40;SP1&amp;#41; running my project with an nHydrate model in it.  So I thought it would be good to install VS2012 Pro on my development PC. &lt;br /&gt;&lt;br /&gt;However, no code changes after installing VS2012, I fired up the VS2010 project in VS2010.  When it tries to open the connection, I get the following stack trace&amp;#58;&lt;br /&gt;&lt;br /&gt;System.Data.MappingException occurred&lt;br /&gt;  HResult&amp;#61;-2146232032&lt;br /&gt;  Message&amp;#61;Schema specified is not valid. Errors&amp;#58; &lt;br /&gt;AttestedDevelopment.WMS.EFDAL.WMS.msl&amp;#40;4,4&amp;#41; &amp;#58; error 2094&amp;#58; Mapping of the function import &amp;#39;WMSEntities.UpGetnextuniquereportnumber&amp;#40;In Edm.Int32&amp;#40;Nullable&amp;#61;True,DefaultValue&amp;#61;&amp;#41;&amp;#41;&amp;#39; is not valid. ComplexTypeMapping is supported only for function imports returning a collection of ComplexType.&lt;br /&gt;AttestedDevelopment.WMS.EFDAL.WMS.msl&amp;#40;4,4&amp;#41; &amp;#58; error 2113&amp;#58; The number of ResultMapping elements for the FunctionImport &amp;#39;WMSEntities.UpGetnextuniquereportnumber&amp;#40;In Edm.Int32&amp;#40;Nullable&amp;#61;True,DefaultValue&amp;#61;&amp;#41;&amp;#41;&amp;#39; does not match the number of specified ReturnType elements.&lt;br /&gt;  Source&amp;#61;System.Data.Entity&lt;br /&gt;  StackTrace&amp;#58;&lt;br /&gt;       at System.Data.Mapping.StorageMappingItemCollection.Init&amp;#40;EdmItemCollection edmCollection, StoreItemCollection storeCollection, IEnumerable&amp;#96;1 xmlReaders, List&amp;#96;1 filePaths, Boolean throwOnError&amp;#41;&lt;br /&gt;       at System.Data.Mapping.StorageMappingItemCollection..ctor&amp;#40;EdmItemCollection edmCollection, StoreItemCollection storeCollection, IEnumerable&amp;#96;1 xmlReaders, List&amp;#96;1 filePaths&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.StoreMetadataEntry.LoadStoreCollection&amp;#40;EdmItemCollection edmItemCollection, MetadataArtifactLoader loader&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.StoreItemCollectionLoader.LoadItemCollection&amp;#40;StoreMetadataEntry entry&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.LoadItemCollection&amp;#91;T&amp;#93;&amp;#40;IItemCollectionLoader&amp;#96;1 itemCollectionLoader, T entry&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.GetOrCreateStoreAndMappingItemCollections&amp;#40;String cacheKey, MetadataArtifactLoader loader, EdmItemCollection edmItemCollection, Object&amp;#38;amp&amp;#59; entryToken&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.LoadStoreItemCollections&amp;#40;MetadataWorkspace workspace, DbConnection storeConnection, DbProviderFactory factory, DbConnectionOptions connectionOptions, EdmItemCollection edmItemCollection, MetadataArtifactLoader artifactLoader&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.GetMetadataWorkspace&amp;#40;Boolean initializeAllCollections&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.InitializeMetadata&amp;#40;DbConnection newConnection, DbConnection originalConnection, Boolean closeOriginalConnectionOnFailure&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.Open&amp;#40;&amp;#41;&lt;br /&gt;       at AttestedDevelopment.WMS.App.WMSMainForm.InitializeWMSData&amp;#40;&amp;#41; in E&amp;#58;&amp;#92;Projects&amp;#92;OGN&amp;#92;Code&amp;#92;trunk&amp;#92;WMS&amp;#92;WMSMainForm.vb&amp;#58;line 556&lt;br /&gt;  InnerException&amp;#58; &lt;br /&gt;&lt;br /&gt;I create my connection as follows &amp;#40;it errors on the .Open&amp;#40;&amp;#41;&amp;#41;&amp;#58;&lt;br /&gt;&lt;br /&gt;_entites &amp;#61; New AttestedDevelopment.WMS.EFDAL.WMSEntities&amp;#40;System.Configuration.ConfigurationManager.ConnectionStrings&amp;#40;&amp;#38;quot&amp;#59;WMSEntities&amp;#38;quot&amp;#59;&amp;#41;.ConnectionString&amp;#41;&lt;br /&gt;_entites.Connection.Open&amp;#40;&amp;#41;&lt;br /&gt;&lt;br /&gt;Clearly VS2012 has done some patching with Entity Framework.  I though these could live side by side.  &lt;br /&gt;&lt;br /&gt;I have tried resetting my devstudio settings with devenv &amp;#47;resetsettings which didn&amp;#39;t work.  Next I tried re-applying SP1.  Which also didn&amp;#39;t work.&lt;br /&gt;&lt;br /&gt;Not too sure what to do next.  I think I&amp;#39;m gonna uninstall VS2012 - drastic measures.&lt;br /&gt; &lt;br /&gt;Anyone had this issue&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: andez2000 ** &lt;p&gt;I sorted my new issue out.  Had to create a new nHydrate diagram, import database, then manually edit the new .nhydrate and .diagram files.&lt;/p&gt;&lt;p&gt;.nhydrate - copy and replace the entities, storedProcedure, and relationFields nodes from the old file to the new.  Change the GUID for nHydrateModel Id to the same in the old file.&lt;/p&gt;&lt;p&gt;.diagram - copy and replace nestedChildShapes node from the old file to the new.  Change nHydrateModelMoniker Id to the GUID in the old file.&lt;/p&gt;</description><author>andez2000</author><pubDate>Sat, 09 Feb 2013 17:18:39 GMT</pubDate><guid isPermaLink="false">Commented Issue: Issue with VS2012 installed breaking VS2010 [8409] 20130209051839P</guid></item><item><title>Commented Issue: Issue with VS2012 installed breaking VS2010 [8409]</title><link>http://nhydrate.codeplex.com/workitem/8409</link><description>Woe is me.&lt;br /&gt;&lt;br /&gt;I was working happily with VS2010 Pro &amp;#40;SP1&amp;#41; running my project with an nHydrate model in it.  So I thought it would be good to install VS2012 Pro on my development PC. &lt;br /&gt;&lt;br /&gt;However, no code changes after installing VS2012, I fired up the VS2010 project in VS2010.  When it tries to open the connection, I get the following stack trace&amp;#58;&lt;br /&gt;&lt;br /&gt;System.Data.MappingException occurred&lt;br /&gt;  HResult&amp;#61;-2146232032&lt;br /&gt;  Message&amp;#61;Schema specified is not valid. Errors&amp;#58; &lt;br /&gt;AttestedDevelopment.WMS.EFDAL.WMS.msl&amp;#40;4,4&amp;#41; &amp;#58; error 2094&amp;#58; Mapping of the function import &amp;#39;WMSEntities.UpGetnextuniquereportnumber&amp;#40;In Edm.Int32&amp;#40;Nullable&amp;#61;True,DefaultValue&amp;#61;&amp;#41;&amp;#41;&amp;#39; is not valid. ComplexTypeMapping is supported only for function imports returning a collection of ComplexType.&lt;br /&gt;AttestedDevelopment.WMS.EFDAL.WMS.msl&amp;#40;4,4&amp;#41; &amp;#58; error 2113&amp;#58; The number of ResultMapping elements for the FunctionImport &amp;#39;WMSEntities.UpGetnextuniquereportnumber&amp;#40;In Edm.Int32&amp;#40;Nullable&amp;#61;True,DefaultValue&amp;#61;&amp;#41;&amp;#41;&amp;#39; does not match the number of specified ReturnType elements.&lt;br /&gt;  Source&amp;#61;System.Data.Entity&lt;br /&gt;  StackTrace&amp;#58;&lt;br /&gt;       at System.Data.Mapping.StorageMappingItemCollection.Init&amp;#40;EdmItemCollection edmCollection, StoreItemCollection storeCollection, IEnumerable&amp;#96;1 xmlReaders, List&amp;#96;1 filePaths, Boolean throwOnError&amp;#41;&lt;br /&gt;       at System.Data.Mapping.StorageMappingItemCollection..ctor&amp;#40;EdmItemCollection edmCollection, StoreItemCollection storeCollection, IEnumerable&amp;#96;1 xmlReaders, List&amp;#96;1 filePaths&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.StoreMetadataEntry.LoadStoreCollection&amp;#40;EdmItemCollection edmItemCollection, MetadataArtifactLoader loader&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.StoreItemCollectionLoader.LoadItemCollection&amp;#40;StoreMetadataEntry entry&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.LoadItemCollection&amp;#91;T&amp;#93;&amp;#40;IItemCollectionLoader&amp;#96;1 itemCollectionLoader, T entry&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.GetOrCreateStoreAndMappingItemCollections&amp;#40;String cacheKey, MetadataArtifactLoader loader, EdmItemCollection edmItemCollection, Object&amp;#38;amp&amp;#59; entryToken&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.LoadStoreItemCollections&amp;#40;MetadataWorkspace workspace, DbConnection storeConnection, DbProviderFactory factory, DbConnectionOptions connectionOptions, EdmItemCollection edmItemCollection, MetadataArtifactLoader artifactLoader&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.GetMetadataWorkspace&amp;#40;Boolean initializeAllCollections&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.InitializeMetadata&amp;#40;DbConnection newConnection, DbConnection originalConnection, Boolean closeOriginalConnectionOnFailure&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.Open&amp;#40;&amp;#41;&lt;br /&gt;       at AttestedDevelopment.WMS.App.WMSMainForm.InitializeWMSData&amp;#40;&amp;#41; in E&amp;#58;&amp;#92;Projects&amp;#92;OGN&amp;#92;Code&amp;#92;trunk&amp;#92;WMS&amp;#92;WMSMainForm.vb&amp;#58;line 556&lt;br /&gt;  InnerException&amp;#58; &lt;br /&gt;&lt;br /&gt;I create my connection as follows &amp;#40;it errors on the .Open&amp;#40;&amp;#41;&amp;#41;&amp;#58;&lt;br /&gt;&lt;br /&gt;_entites &amp;#61; New AttestedDevelopment.WMS.EFDAL.WMSEntities&amp;#40;System.Configuration.ConfigurationManager.ConnectionStrings&amp;#40;&amp;#38;quot&amp;#59;WMSEntities&amp;#38;quot&amp;#59;&amp;#41;.ConnectionString&amp;#41;&lt;br /&gt;_entites.Connection.Open&amp;#40;&amp;#41;&lt;br /&gt;&lt;br /&gt;Clearly VS2012 has done some patching with Entity Framework.  I though these could live side by side.  &lt;br /&gt;&lt;br /&gt;I have tried resetting my devstudio settings with devenv &amp;#47;resetsettings which didn&amp;#39;t work.  Next I tried re-applying SP1.  Which also didn&amp;#39;t work.&lt;br /&gt;&lt;br /&gt;Not too sure what to do next.  I think I&amp;#39;m gonna uninstall VS2012 - drastic measures.&lt;br /&gt; &lt;br /&gt;Anyone had this issue&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: andez2000 ** &lt;p&gt;Hi Chris,&lt;/p&gt;&lt;p&gt;Will try and get round to putting VS2012 alongside VS2010 again on Windows 7.  Still working solely on 2010 with the 5+ line.  I've got 2012 on a separate partition on Windows 8 but under pressure at minute as I am mid project on things.  Will try and keep you posted.&lt;/p&gt;&lt;p&gt;However, I just installed Febuary 3rd release and I can't open my existing model now.  Will investigate this further.  I did have to uninstall November release first from Programs and Features.&lt;/p&gt;&lt;p&gt;Cheers,&lt;/p&gt;&lt;p&gt;Andez&lt;/p&gt;</description><author>andez2000</author><pubDate>Sat, 09 Feb 2013 13:26:01 GMT</pubDate><guid isPermaLink="false">Commented Issue: Issue with VS2012 installed breaking VS2010 [8409] 20130209012601P</guid></item><item><title>Closed Issue: import database doesn't work [8449]</title><link>http://nhydrate.codeplex.com/workitem/8449</link><description>Hi, I&amp;#39;m trying to import a database but it crash in the second window of the wizard, the connection is succesfull but instead of showing second window of the wizard it closes and return to the modeler. I&amp;#39;ve tested with various databases&lt;br /&gt;Comments: Could not get any user feedback so I cannot continue.</description><author>codetools</author><pubDate>Wed, 06 Feb 2013 23:40:06 GMT</pubDate><guid isPermaLink="false">Closed Issue: import database doesn't work [8449] 20130206114006P</guid></item><item><title>Commented Issue: Issue with VS2012 installed breaking VS2010 [8409]</title><link>http://nhydrate.codeplex.com/workitem/8409</link><description>Woe is me.&lt;br /&gt;&lt;br /&gt;I was working happily with VS2010 Pro &amp;#40;SP1&amp;#41; running my project with an nHydrate model in it.  So I thought it would be good to install VS2012 Pro on my development PC. &lt;br /&gt;&lt;br /&gt;However, no code changes after installing VS2012, I fired up the VS2010 project in VS2010.  When it tries to open the connection, I get the following stack trace&amp;#58;&lt;br /&gt;&lt;br /&gt;System.Data.MappingException occurred&lt;br /&gt;  HResult&amp;#61;-2146232032&lt;br /&gt;  Message&amp;#61;Schema specified is not valid. Errors&amp;#58; &lt;br /&gt;AttestedDevelopment.WMS.EFDAL.WMS.msl&amp;#40;4,4&amp;#41; &amp;#58; error 2094&amp;#58; Mapping of the function import &amp;#39;WMSEntities.UpGetnextuniquereportnumber&amp;#40;In Edm.Int32&amp;#40;Nullable&amp;#61;True,DefaultValue&amp;#61;&amp;#41;&amp;#41;&amp;#39; is not valid. ComplexTypeMapping is supported only for function imports returning a collection of ComplexType.&lt;br /&gt;AttestedDevelopment.WMS.EFDAL.WMS.msl&amp;#40;4,4&amp;#41; &amp;#58; error 2113&amp;#58; The number of ResultMapping elements for the FunctionImport &amp;#39;WMSEntities.UpGetnextuniquereportnumber&amp;#40;In Edm.Int32&amp;#40;Nullable&amp;#61;True,DefaultValue&amp;#61;&amp;#41;&amp;#41;&amp;#39; does not match the number of specified ReturnType elements.&lt;br /&gt;  Source&amp;#61;System.Data.Entity&lt;br /&gt;  StackTrace&amp;#58;&lt;br /&gt;       at System.Data.Mapping.StorageMappingItemCollection.Init&amp;#40;EdmItemCollection edmCollection, StoreItemCollection storeCollection, IEnumerable&amp;#96;1 xmlReaders, List&amp;#96;1 filePaths, Boolean throwOnError&amp;#41;&lt;br /&gt;       at System.Data.Mapping.StorageMappingItemCollection..ctor&amp;#40;EdmItemCollection edmCollection, StoreItemCollection storeCollection, IEnumerable&amp;#96;1 xmlReaders, List&amp;#96;1 filePaths&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.StoreMetadataEntry.LoadStoreCollection&amp;#40;EdmItemCollection edmItemCollection, MetadataArtifactLoader loader&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.StoreItemCollectionLoader.LoadItemCollection&amp;#40;StoreMetadataEntry entry&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.LoadItemCollection&amp;#91;T&amp;#93;&amp;#40;IItemCollectionLoader&amp;#96;1 itemCollectionLoader, T entry&amp;#41;&lt;br /&gt;       at System.Data.Metadata.Edm.MetadataCache.GetOrCreateStoreAndMappingItemCollections&amp;#40;String cacheKey, MetadataArtifactLoader loader, EdmItemCollection edmItemCollection, Object&amp;#38;amp&amp;#59; entryToken&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.LoadStoreItemCollections&amp;#40;MetadataWorkspace workspace, DbConnection storeConnection, DbProviderFactory factory, DbConnectionOptions connectionOptions, EdmItemCollection edmItemCollection, MetadataArtifactLoader artifactLoader&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.GetMetadataWorkspace&amp;#40;Boolean initializeAllCollections&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.InitializeMetadata&amp;#40;DbConnection newConnection, DbConnection originalConnection, Boolean closeOriginalConnectionOnFailure&amp;#41;&lt;br /&gt;       at System.Data.EntityClient.EntityConnection.Open&amp;#40;&amp;#41;&lt;br /&gt;       at AttestedDevelopment.WMS.App.WMSMainForm.InitializeWMSData&amp;#40;&amp;#41; in E&amp;#58;&amp;#92;Projects&amp;#92;OGN&amp;#92;Code&amp;#92;trunk&amp;#92;WMS&amp;#92;WMSMainForm.vb&amp;#58;line 556&lt;br /&gt;  InnerException&amp;#58; &lt;br /&gt;&lt;br /&gt;I create my connection as follows &amp;#40;it errors on the .Open&amp;#40;&amp;#41;&amp;#41;&amp;#58;&lt;br /&gt;&lt;br /&gt;_entites &amp;#61; New AttestedDevelopment.WMS.EFDAL.WMSEntities&amp;#40;System.Configuration.ConfigurationManager.ConnectionStrings&amp;#40;&amp;#38;quot&amp;#59;WMSEntities&amp;#38;quot&amp;#59;&amp;#41;.ConnectionString&amp;#41;&lt;br /&gt;_entites.Connection.Open&amp;#40;&amp;#41;&lt;br /&gt;&lt;br /&gt;Clearly VS2012 has done some patching with Entity Framework.  I though these could live side by side.  &lt;br /&gt;&lt;br /&gt;I have tried resetting my devstudio settings with devenv &amp;#47;resetsettings which didn&amp;#39;t work.  Next I tried re-applying SP1.  Which also didn&amp;#39;t work.&lt;br /&gt;&lt;br /&gt;Not too sure what to do next.  I think I&amp;#39;m gonna uninstall VS2012 - drastic measures.&lt;br /&gt; &lt;br /&gt;Anyone had this issue&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: codetools ** &lt;p&gt;Please tell me are you using nHydrate 4.1 or the 5+ line? There is an issue with the old 4.1 line if the .NET framework 4.5 is installed. This is not an issue using the 5+ line. Would you send some more information? If you have specific data or information to send you can reach me at chrisd@nhydrate.org.&lt;/p&gt;</description><author>codetools</author><pubDate>Wed, 06 Feb 2013 02:51:00 GMT</pubDate><guid isPermaLink="false">Commented Issue: Issue with VS2012 installed breaking VS2010 [8409] 20130206025100A</guid></item><item><title>Closed Issue: VS2012 support? [8328]</title><link>http://nhydrate.codeplex.com/workitem/8328</link><description>Hi,&lt;br /&gt;&lt;br /&gt;I installed a new machine with Windows 7, Visual Studio 2012 Ultimate and nHydrate version 5.1.2.112.&lt;br /&gt;When I try to add a new item to a project the nHydrate model template does not appear.&lt;br /&gt;When I open an old VS2010 project and I doubleclick the .nhydrate file in the solution explorer it opens in the XML editor.&lt;br /&gt;&lt;br /&gt;I also tried on a machine with Windows 8, Visual Studio 2012 and nHydrate version 5.1.2.112 with the same result. In VS2010 everything worked fine.&lt;br /&gt;&lt;br /&gt;Do I have to take extra steps to make it work in VS2012&amp;#63;&lt;br /&gt;&lt;br /&gt;Thx,&lt;br /&gt;&lt;br /&gt;Jan.&lt;br /&gt;Comments: The new version now supports 2012</description><author>codetools</author><pubDate>Wed, 06 Feb 2013 02:48:03 GMT</pubDate><guid isPermaLink="false">Closed Issue: VS2012 support? [8328] 20130206024803A</guid></item><item><title>Commented Issue: VS2012 support? [8328]</title><link>http://nhydrate.codeplex.com/workitem/8328</link><description>Hi,&lt;br /&gt;&lt;br /&gt;I installed a new machine with Windows 7, Visual Studio 2012 Ultimate and nHydrate version 5.1.2.112.&lt;br /&gt;When I try to add a new item to a project the nHydrate model template does not appear.&lt;br /&gt;When I open an old VS2010 project and I doubleclick the .nhydrate file in the solution explorer it opens in the XML editor.&lt;br /&gt;&lt;br /&gt;I also tried on a machine with Windows 8, Visual Studio 2012 and nHydrate version 5.1.2.112 with the same result. In VS2010 everything worked fine.&lt;br /&gt;&lt;br /&gt;Do I have to take extra steps to make it work in VS2012&amp;#63;&lt;br /&gt;&lt;br /&gt;Thx,&lt;br /&gt;&lt;br /&gt;Jan.&lt;br /&gt;Comments: ** Comment from web user: codetools ** &lt;p&gt;The new version now supports 2012&lt;/p&gt;</description><author>codetools</author><pubDate>Wed, 06 Feb 2013 02:47:57 GMT</pubDate><guid isPermaLink="false">Commented Issue: VS2012 support? [8328] 20130206024757A</guid></item><item><title>Closed Issue: Default value of column improperly applied to entity constructor. [8536]</title><link>http://nhydrate.codeplex.com/workitem/8536</link><description>We have a number of default values in our existing database that use the &amp;#39;newsequentialid&amp;#39; function.  When importing those tables, the &amp;#39;newsequentialid&amp;#39; value is set as the default value of the field.  When EF code is generated, an improper constructor is created that sets the private member _guid to an invalid value&amp;#58;&lt;br /&gt;&lt;br /&gt;ctor&amp;#40;&amp;#41;&lt;br /&gt;_guid &amp;#61; new Guid&amp;#40;&amp;#38;quot&amp;#59;newsequentialid&amp;#38;quot&amp;#59;&amp;#41;&lt;br /&gt;&lt;br /&gt;Here&amp;#39;s a script that sets the default constraint on a field in my table&amp;#58;&lt;br /&gt;ALTER TABLE &amp;#91;dbo&amp;#93;.&amp;#91;mytable&amp;#93; ADD  CONSTRAINT &amp;#91;DF_MyTable_Guid&amp;#93;  DEFAULT &amp;#40;newsequentialid&amp;#40;&amp;#41;&amp;#41; FOR &amp;#91;Guid&amp;#93;&lt;br /&gt;&lt;br /&gt;As a workaround, I&amp;#39;ve modified my model XML file&amp;#40;s&amp;#41; to replace the &amp;#39;default&amp;#61;&amp;#38;quot&amp;#59;newsequentialid&amp;#38;quot&amp;#59;&amp;#39; string with &amp;#39;default&amp;#61;&amp;#38;quot&amp;#59;&amp;#38;quot&amp;#59;&amp;#39; to remove the default altogether.&lt;br /&gt;Comments: This functionality will be in the next version.</description><author>codetools</author><pubDate>Sat, 02 Feb 2013 14:02:04 GMT</pubDate><guid isPermaLink="false">Closed Issue: Default value of column improperly applied to entity constructor. [8536] 20130202020204P</guid></item><item><title>Commented Issue: Default value of column improperly applied to entity constructor. [8536]</title><link>http://nhydrate.codeplex.com/workitem/8536</link><description>We have a number of default values in our existing database that use the &amp;#39;newsequentialid&amp;#39; function.  When importing those tables, the &amp;#39;newsequentialid&amp;#39; value is set as the default value of the field.  When EF code is generated, an improper constructor is created that sets the private member _guid to an invalid value&amp;#58;&lt;br /&gt;&lt;br /&gt;ctor&amp;#40;&amp;#41;&lt;br /&gt;_guid &amp;#61; new Guid&amp;#40;&amp;#38;quot&amp;#59;newsequentialid&amp;#38;quot&amp;#59;&amp;#41;&lt;br /&gt;&lt;br /&gt;Here&amp;#39;s a script that sets the default constraint on a field in my table&amp;#58;&lt;br /&gt;ALTER TABLE &amp;#91;dbo&amp;#93;.&amp;#91;mytable&amp;#93; ADD  CONSTRAINT &amp;#91;DF_MyTable_Guid&amp;#93;  DEFAULT &amp;#40;newsequentialid&amp;#40;&amp;#41;&amp;#41; FOR &amp;#91;Guid&amp;#93;&lt;br /&gt;&lt;br /&gt;As a workaround, I&amp;#39;ve modified my model XML file&amp;#40;s&amp;#41; to replace the &amp;#39;default&amp;#61;&amp;#38;quot&amp;#59;newsequentialid&amp;#38;quot&amp;#59;&amp;#39; string with &amp;#39;default&amp;#61;&amp;#38;quot&amp;#59;&amp;#38;quot&amp;#59;&amp;#39; to remove the default altogether.&lt;br /&gt;Comments: ** Comment from web user: codetools ** &lt;p&gt;This functionality will be in the next version. The SQL keyword 'newsequentialid' will be supported as a default and generated properly as well as imported from an existing database. Please look for this in the next release.&lt;/p&gt;</description><author>codetools</author><pubDate>Sat, 02 Feb 2013 14:01:08 GMT</pubDate><guid isPermaLink="false">Commented Issue: Default value of column improperly applied to entity constructor. [8536] 20130202020108P</guid></item><item><title>Created Issue: Default value of column improperly applied to entity constructor. [8536]</title><link>http://nhydrate.codeplex.com/workitem/8536</link><description>We have a number of default values in our existing database that use the &amp;#39;newsequentialid&amp;#39; function.  When importing those tables, the &amp;#39;newsequentialid&amp;#39; value is set as the default value of the field.  When EF code is generated, an improper constructor is created that sets the private member _guid to an invalid value&amp;#58;&lt;br /&gt;&lt;br /&gt;ctor&amp;#40;&amp;#41;&lt;br /&gt;_guid &amp;#61; new Guid&amp;#40;&amp;#38;quot&amp;#59;newsequentialid&amp;#38;quot&amp;#59;&amp;#41;&lt;br /&gt;&lt;br /&gt;Here&amp;#39;s a script that sets the default constraint on a field in my table&amp;#58;&lt;br /&gt;ALTER TABLE &amp;#91;dbo&amp;#93;.&amp;#91;mytable&amp;#93; ADD  CONSTRAINT &amp;#91;DF_MyTable_Guid&amp;#93;  DEFAULT &amp;#40;newsequentialid&amp;#40;&amp;#41;&amp;#41; FOR &amp;#91;Guid&amp;#93;&lt;br /&gt;&lt;br /&gt;As a workaround, I&amp;#39;ve modified my model XML file&amp;#40;s&amp;#41; to replace the &amp;#39;default&amp;#61;&amp;#38;quot&amp;#59;newsequentialid&amp;#38;quot&amp;#59;&amp;#39; string with &amp;#39;default&amp;#61;&amp;#38;quot&amp;#59;&amp;#38;quot&amp;#59;&amp;#39; to remove the default altogether.&lt;br /&gt;</description><author>slamberti</author><pubDate>Tue, 29 Jan 2013 23:53:24 GMT</pubDate><guid isPermaLink="false">Created Issue: Default value of column improperly applied to entity constructor. [8536] 20130129115324P</guid></item><item><title>Commented Issue: views and stored procs in models does not work when enabling modules [8475]</title><link>http://nhydrate.codeplex.com/workitem/8475</link><description>I have attached a sample project  &amp;#40;in vs 2010&amp;#41;   which uses modules feature and creates a view and stored proc model.&lt;br /&gt;When i try to execute the view and stored proc model from a client app  i get these errors &amp;#58;&lt;br /&gt;For view &amp;#58; &amp;#123;&amp;#38;quot&amp;#59;Invalid object name &amp;#39;dbo.OperationExt&amp;#39;.&amp;#38;quot&amp;#59;&amp;#125;&lt;br /&gt;for stored proc &amp;#58; &amp;#123;&amp;#38;quot&amp;#59;Could not find stored procedure &amp;#39;dbo.OperationExtSp&amp;#39;.&amp;#38;quot&amp;#59;&amp;#125;&lt;br /&gt;I suspect the same might happen for function models but i have&amp;#39;nt tried it out.&lt;br /&gt;Thanks&lt;br /&gt;Comments: ** Comment from web user: giannik ** &lt;p&gt;its true, i've had this version quite alot. Will update to latest version.&lt;br&gt;&lt;/p&gt;</description><author>giannik</author><pubDate>Sat, 29 Dec 2012 08:24:02 GMT</pubDate><guid isPermaLink="false">Commented Issue: views and stored procs in models does not work when enabling modules [8475] 20121229082402A</guid></item><item><title>Commented Issue: import database doesn't work [8449]</title><link>http://nhydrate.codeplex.com/workitem/8449</link><description>Hi, I&amp;#39;m trying to import a database but it crash in the second window of the wizard, the connection is succesfull but instead of showing second window of the wizard it closes and return to the modeler. I&amp;#39;ve tested with various databases&lt;br /&gt;Comments: ** Comment from web user: codetools ** &lt;p&gt;Please tell me the version you are using. Right click on the canvas. Go to Diagram|About to see the version. Could you send a copy of the actual database to chrisd@nhydrate.org?&lt;/p&gt;</description><author>codetools</author><pubDate>Fri, 28 Dec 2012 20:53:08 GMT</pubDate><guid isPermaLink="false">Commented Issue: import database doesn't work [8449] 20121228085308P</guid></item></channel></rss>