Unknown native SQL type 'geometry' while attempting database import

Update: The exception "Unknown native SQL type 'geometry' " is caused when datatype hierarchyid is used. The exception reports 'geometry' because "public enum SqlNativeTypes" uses the same value of...

Id #9471 | Release: None | Updated: Dec 1, 2014 at 2:39 PM by wallyh010 | Created: Dec 1, 2014 at 1:26 PM by wallyh010

Computed PK not recognized by nHydrate as PK

I have the following table imported from my database: CREATE TABLE [dbo].[Mde_Months] ( [Year] INT NOT NULL, [MonthNo] INT NOT NULL, [Id] AS [Year]*12+[MonthNo]-1 PERSISTED NOT NULL, CONSTRAINT [...

Id #9437 | Release: None | Updated: Sep 21, 2014 at 11:49 AM by valeriuz | Created: Sep 21, 2014 at 11:49 AM by valeriuz

Unable to delete when using ContextStartup

Hi everybody, this must be related to discussion item: https://nhydrate.codeplex.com/discussions/358123 I recently modified my main "SaveChanges" procedure form using (var cont = new MyEntities...

Id #9333 | Release: None | Updated: May 27, 2014 at 4:15 PM by alprinias | Created: May 17, 2014 at 9:56 AM by alprinias

Savechanges is slow

Hi all, I took the software development using nhydrate, I have problems when saving data in loops. This takes about 10 seconds to initialize 100 columns of data each containing 25 fields. Is the...

Id #9261 | Release: None | Updated: Mar 17, 2014 at 1:40 PM by NahMean | Created: Mar 17, 2014 at 1:40 PM by NahMean

cannot add xml content in the metadata of an entity object

Hi. I would like to store some xml multiline data in the metadatobject of an entity within the designer. But the generated code produces something like this : [nHydrate.EFCore.Attributes.Custom...

Id #9194 | Release: None | Updated: Jan 28, 2014 at 3:16 PM by giannik | Created: Jan 28, 2014 at 3:16 PM by giannik

when removing an entity from a module it is not reflected in the generated project

hello. I am using modules to separate my entities into various areas. When removing an entity from a module within the designer and then re-generating the project the removed entity continues to re...

Id #9125 | Release: None | Updated: Nov 13, 2013 at 8:35 AM by giannik | Created: Nov 13, 2013 at 8:35 AM by giannik

EntityState of all List items reset to unchanged

Hi everybody, I have the following method: public void SaveChanges(List<nHydrate.EFCore.DataAccess.IBusinessObject> entities) { using (var cont = new MyEntities(Connect...

Id #9115 | Release: None | Updated: Nov 4, 2013 at 5:06 PM by alprinias | Created: Nov 4, 2013 at 5:06 PM by alprinias

Generate projects in folder not root

If I create a "DataLayer" folder in solution and have the project with nHydrate model in it, all generated projects are created in solution root instead of the same level folder.

Id #9108 | Release: None | Updated: Nov 1, 2013 at 7:09 AM by valeriuz | Created: Nov 1, 2013 at 7:09 AM by valeriuz

Error in Postbuild event related w/ Build Order

Hi everybody, I wasted a day trying to understand what was going wrong, so I thought I should share my experience so that somebody may not lose their time... To summarize: Installed VS2012 Update...

Id #9090 | Release: None | Updated: Oct 22, 2013 at 11:18 PM by alprinias | Created: Oct 22, 2013 at 11:18 PM by alprinias

The model CompanyName property is useless and misleading if used only for namespace generation

The CompanyName property of the nHydrate model should not be used as part of namespace. The (ProjectName ?? DefaultNamespace) would be sufficient and quite clearly understandable. The statement(...

Id #8962 | Release: None | Updated: Aug 20, 2013 at 8:43 AM by motlajs | Created: Aug 20, 2013 at 8:43 AM by motlajs