dotConnect mobile and fluent nhibernate in compact framework 3.5 - nhibernate

We are using dotConnect mobile for connecting to Oracle DB.
I know that dotConnect can be used with NHibernate and Fluent Nhibernate ORM on the desktop but can the combination also be used with the Compact Framework (version 3.5)?

NHibernate cannot be used under the Compact Framework because the Compact Framework does not provide support for some of the fundamental classes (specifically Reflection.Emit) that NHibernate uses.
NHibernate uses Reflection.Emit, which does not exist in the Compact Framework.
Because of #1, NHibernate can't be compiled for the Compact Framework.
Becasue of #2, we know that there are no Compact Framework compatible NHibernate assemblies.
You cannot use desktop assemblies with the Compact Framework. Only assemblies compiled for the CF can be used.
So following this logic we know that anything that uses NHibernate will not work under the Compact Framework.

Seems like NHibernate doesn't support .NET Compact Framework due to usage of some Reflection classes.

Related

CockroachDB and Microsoft Entity Framework

Does CockroachDB work with Microsoft Entity Framework? If not which ORM would work?
Yes, it should work with an external driver and we suggest using http://www.npgsql.org/.
Specifically their Entity Framework nuget package:
https://www.nuget.org/packages/EntityFramework6.Npgsql/
If you encounter any issues, please open issue on either
https://github.com/npgsql/npgsql or https://github.com/cockroachdb/cockroach

Using Entity Framework 6 in ASP.NET Core

Let's say I have:
ASP.NET Core stand alone Web API project for .NET Core framework
Class Library with EF6 data model for full .NET framework
The ASP.NET Core project refers to the class library
This architecture proposed here:
https://learn.microsoft.com/en-us/aspnet/core/data/entity-framework-6
The question is: will my standalone application be able to execute on the specified target platform (Win, Linux, Mac runtime) after Release (or Publish), if it's dependency targets to full .NET Framework?
Thanks very much
It will be not possible. The same link you provided confirm that:
To use Entity Framework 6, your project has to compile against .NET Framework, as Entity Framework 6 does not support .NET Core. If you need cross-platform features you will need to upgrade to Entity Framework Core.
You can use ASP.NET Core upon .NET Framework (Not .NET CORE) and EF6 (But not cross-platform). But not ASP.NET Core upon .NET Core and use EF6. You will need to use EF Core for that project.
Disclaimer: I'm the owner of the project Entity Framework Classic
That's not possible directly Entity Framework as #Adailson answered
However, it's possible via EF Classic: http://entityframework-classic.net/
That's an EF6 fork that also supports .NET Core. We plan to integrate a ton of features & bug fix.
A community (FREE) and enterprise version (PAID) is available.
What's EF Classic
Entity Framework Classic is a supported version from the latest EF6 code base. It supports .NET Framework and .NET Core and overcomes some EF limitations by adding tons of must-haves built-in features.

Does Microsoft Moles support .NET Compact Framework?

I am currently working on unit tests for a WinCE-based application which uses .NET Compact Framework 2.0.
I could like to know, does Moles Framework support .NET Compact Framework 2.0? If not, could someone please suggest another mocking framework that supports .NET Compact Framework?

Is System.Data.SQLite is the dll for using SQLite in Compact framework?

Is System.Data.SqlLite is the dll for using SQLLite in Compact framework
Yes, there is support for the .NET Compact Framework.

NHibernate Version conflicts

Do I need to create my own build of nHibernate and tools if i want to use the following frameworks in 1 project.
nHibernate
nHibernate Validators
Fluent NHibernate
xVal NHibernate Provider
nHibernate Linq
I am getting "Could not load file or assembly 'NHibernate," errors which I believe is because each framework is built against a different version of nHibernate?
Downloaded 2.0 versions of everything solved this.
Silly me!