开发者

Is there any FREE ORM for .NET Compact Framework (Windows Mobile 6.1, SQLServerCE)?

开发者 https://www.devze.com 2022-12-15 16:59 出处:网络
Looks like I found a good commercial variant, but I开发者_StackOverflow中文版\'m looking exactly for Free one. Does someone know some?How about the OpenNETCF ORM?It\'s free, lightweight, and was built

Looks like I found a good commercial variant, but I开发者_StackOverflow中文版'm looking exactly for Free one. Does someone know some?


How about the OpenNETCF ORM? It's free, lightweight, and was built specifically for the Compact Framework, then ported to other platforms (as opposed to someone shoehorning a desktop ORM into the CF).


I am currently looking for a free .net ORM for use on Windows CE. So far I have found these commerical options:

  • DevXpress XPO
  • LLBLGenPro
  • EntitySpaces

NHibernate sadly is not an option because it uses features that are not available in the Compact Framework (e.g. reflection related functionality).

If using a SQL database as your underlying data store is not absolutely necessary then Karvonite is worth consideration. It is a free (Ms-PL) object persistence framework compatable with the .net Compact Framework. Do you need to use SQL Server Compact or are you really just wanting an easy way to persist your domain?

I will update you if I find more options.


I built DapperLite to work on .NET Compact Framework and full .NET. It's basically a Dapper clone, so it's a single file under 200 lines you can drop into your project.

I had tried OpenNETCF.ORM but found it too opinionated. I love using Dapper in my desktop apps but unfortunately it doesn't work with .NET Compact Framework.

I also built a Micro-ORM layer over the top of DapperLite to make it a bit easier to use, which is essentially a clone of Dapper.Rainbow

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号