473,602 Members | 2,764 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Provider factory for Mobile / Compact Framework

Hello,

I am about to write an app for Pocket PC 2003 / Windows CE / Mobile 5 (don't
know which yet) from which I need to query both SQL Server Express 2005 and
SQLCe. I would like to be able to use a provider factory to not have to
duplicate code.

ADO 2.0 has DbProviderFacto ry, but it is not available in the .NET Compact
framework. I could write my own provider factory "the old way" using
IDbConnection, etc., but I rather not reinvent that wheel.

Can anyone point me to source for a good data access provider factory (C #,
please) that works in .NET Compact framework?

Thanks,
Larry


Nov 24 '07 #1
2 1871
Hello Larry,

I'd recommend to look at Mobile Client Software Factory.
Not completely sure that it's exist there, but logically it might be

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
LHello,
L>
LI am about to write an app for Pocket PC 2003 / Windows CE / Mobile 5
L(don't know which yet) from which I need to query both SQL Server
LExpress 2005 and SQLCe. I would like to be able to use a provider
Lfactory to not have to duplicate code.
L>
LADO 2.0 has DbProviderFacto ry, but it is not available in the .NET
LCompact framework. I could write my own provider factory "the old
Lway" using IDbConnection, etc., but I rather not reinvent that wheel.
L>
LCan anyone point me to source for a good data access provider factory
L(C #, please) that works in .NET Compact framework?
L>
LThanks,
LLarry
Nov 25 '07 #2

"Michael Nemtsev [MVP]" <ne*****@msn.co mwrote in message
news:3d******** *************** ***@msnews.micr osoft.com...
Hello Larry,

I'd recommend to look at Mobile Client Software Factory.
Not completely sure that it's exist there, but logically it might be
Thanks for the suggestion - I'll check it out.

Larry
Nov 25 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2201
by: Nick White [MSFT] | last post by:
Hello fellow Microsoft Windows Mobile and Embedded enthusiasts: I invite you to peruse the list below of upcoming technical chats and Webcasts offered by the Windows Mobile and Embedded Devices Group. For the full list of upcoming Windows Mobile and Embedded chats, to review archived chat sessions, or to request a reminder for a chat, visit http://msdn.microsoft.com/embedded/community/community/chats/. Also, the Windows Mobile and...
3
2843
by: Robert W. | last post by:
I'm embarking on a project that will have both a desktop application and a Pocket PC application. It seems logical to have as much code as possible sitting in a shared project, which would be referenced and utilized by both the Windows Forms application and the Mobile Device application. Are there any "gotchas" (ie. warnings) that anyone knows about in following this approach? Robert W. Vancouver, BC
1
2139
by: Thomas | last post by:
Hi, I have written a Web Service using Axis C++ Server and a .Net Windows client. I considered every interoperability issue between Axis and .Net( Doc/Literal ...) The .Net Windows client can communicate with Axis without any problems. Now I want to use my Web Service on a windows CE pocket pc but the problem is that .Net don't create a client stub that can be compiled. If I try to compile in .Net the following errors occur:...
1
1350
by: Digital Fart | last post by:
what ms product do i need to buy to compile programs for the compact framework and mobile devices? looking at there vs products i only see the architect version. Very expensive as we only need to compile a sourcecode that we bought from a vendor. We only need to adjust some small pieces of code and recompile it.
7
4391
by: Jarod_24 | last post by:
I just downloaded a activex control that was written in C# and tried to view it on my PDA's Internet Explorer. At my regular PC it displayed just fine, but nothing showed up on the pda. Do ActiveX controls that are to be used by a pda need to be written in the ..net compact framework, or am i missing something else here? i have a HP iPaq 2490 with Windows Mobile Premium installed While i'm at it; does a activex control allow you to...
3
2680
by: Amy | last post by:
Hi, I'm using vs 2005 to develop a mobile application. I have tried to use a closing event to pop up a messagebox before close the form. It seems that the form is hided. And I found out that the messagebox will occure after clinking the setting -> memory -> application. Besides, I have tried the event disposed, closed, too. It seems that it doesnt pop up the messagebox.
3
4191
by: Hugh Janus | last post by:
Hi group, Using an iPaq running Windows Mobile 2003. I have a need where I will want to display a map and then using a bluetooth (or another form of connectivity) GPS unit, receive the data and then store it on a db on the device to later display points on my displayed map. I have as yet to buy any hardware so this question is really one to see if it is possible. So, is it possible to use VB2003 or VB2005 to interface with a GPS...
2
2850
markmcgookin
by: markmcgookin | last post by:
Hi, Has anyone had any problems installing the mobile client software factory? I have installed and used the smart client and the web services software factory with no problems at all. But when I go to use the Mobile one, the are compilation errors, certain things dont work, project solutions won't open etc. This is a real pain because we want to write a login block for a project and roll it out to others and this would be ideal for that...
2
1435
by: Larry | last post by:
Hello, I am about to write an app for Pocket PC 2003 / Windows CE / Mobile 5 (don't know which yet) from which I need to query both SQL Server Express 2005 and SQLCe. I would like to be able to use a provider factory to not have to duplicate code. ADO 2.0 has DbProviderFactory, but it is not available in the .NET Compact framework. I could write my own provider factory "the old way" using IDbConnection, etc., but I rather not...
0
7920
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8401
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8054
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8268
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6730
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5440
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3900
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
1510
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1254
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.