Support for .NET Standard?

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
kindbergs.dk
Posts: 15
Joined: Sun 27 Jan 2013 21:14

Support for .NET Standard?

Post by kindbergs.dk » Thu 21 Mar 2019 12:32

Hi,
Just created a new solution for .NET Core and thought to use Entity Developer in a .NET Standard project - but its file type is not available in Visual Studio 2017 Enterprice's "add new item" dialogue!?
Does Entity Developer (just updated to latest version for NHibernate) only work for .NET Framework projects, or am I not seeing something?

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Support for .NET Standard?

Post by Shalex » Fri 22 Mar 2019 12:02

The only model templates supported in .NET Core / .NET Standard projects are Devart EF Core Model and Devart LinqConnect Model.

You can find them in Add > New Item > the ASP.NET Core node.

kindbergs.dk
Posts: 15
Joined: Sun 27 Jan 2013 21:14

Re: Support for .NET Standard?

Post by kindbergs.dk » Wed 27 Mar 2019 08:44

Sad, and those two are of course not available in my version of Entity Developer for NHibernate :(
No plan to support NHibernate models in .NET Standard projects?

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Support for .NET Standard?

Post by Shalex » Tue 09 Apr 2019 13:55

The feature is on our roadmap. There is no timeframe at the moment.

As a workaround, you can add *.hbml model and generate the code in a separate .NET Framework class library, then add the reference to this .NET Framework assembly in your .NET Standard project.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Support for .NET Standard?

Post by Shalex » Sat 04 Apr 2020 13:40

Devart NHibernate Model is supported in .NET Standard / .NET Core projects in v6.7: viewtopic.php?f=32&t=40473.

Post Reply