Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8368699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:26:53+00:00 2026-06-09T13:26:53+00:00

We currently have a desktop app which uses data from SQL CE. We used

  • 0

We currently have a desktop app which uses data from SQL CE. We used Entity Framework for our ORM layer to the database and all data access methods are built around this.

Now we have to build a smaller scaled down “clone” of this app for Windows CE 6.0 on the Compact Framework, also using the same SQL CE database design as on the desktop version. The problem is that compact framework does not support Entity Framework, so we are forced to access the database the old fashioned way (ADO.net, datasets, etc). However this is causing duplication of our whole data access layer and maintenance on these two apps looks like it can turn into a nightmare.

Ideally I would like to switch to the lowest common denominator that will work for both platforms – with current information I guess that means using old ADO.net will be the way to go, compiled into a separate assembly, but I just wanted to ask if anybody here has any other suggestions, or have perhaps faced a similar situation? Are there any good alternatives to EF that could work on both compact and full framework?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T13:26:54+00:00Added an answer on June 9, 2026 at 1:26 pm

    We use the OpenNETCF ORM in Windows CE (backed with SQLCE), Desktop (backed with SQLCE) and Android (backed with SQLite) which uses nearly identical code for all three. I say “nearly” because the data store initialization code differs between them (target file name, where to store it, etc). You could pretty easily add a full SQL Server implementation as well – it’s probably a near 1:1 copy of the SQLite stuff. I’ve never done it simply becasue I’ve not needed it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have written a java program which currently runs as a desktop app, it
I currently have an iOS app that can 'bootstrap' it's database from a bunch
I am currently working on a web app which requires a standard desktop application
I have a Winform app that has 16 SQL Connections currently stored in the
I have a Delphi 2010 app which shows/hides the desktop icons under XP fine.
I am currently developing my first iOS app which i have tested on simulator
We currently have a number of desktop applications (PowerBuilder, Winforms, WPF) that make use
I currently have a Firebird server on Windows and Windows desktop client applications for
Currently have a drop down menu that is activated on a hover (from display:none
I currently have a table of concentrations, which are linked to a table of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.