The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Using SqlCeReplication with a WinForms App

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Doug Thews

Posts: 866
Nickname: dougthews
Registered: Jul, 2003

Doug Thews is a software developer/manager for D&D Consulting Services with 18+ years of experience
Using SqlCeReplication with a WinForms App Posted: Sep 6, 2003 8:35 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Doug Thews.
Original Post: Using SqlCeReplication with a WinForms App
Feed Title: IlluminatiLand
Feed URL: http://apps5.oingo.com/apps/domainpark/domainpark.cgi?client=netw8744&s=JETBRAINS.COM
Feed Description: A technology blog for people enlightened enough to think for themselves
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Doug Thews
Latest Posts From IlluminatiLand

Advertisement

I received a question recently on my CF.NET/SQL CE article in October's issue of Visual Studio Magazine. .NET does not offer a class similar to SqlCeReplication, but I do think it's possible to use the same class in a standard WinForms application. Doing so would create a single-user file database on the local machine, but at least you could programmatically replicate to the desktop using the SqlCeReplication class. I'll be doing some initial testing and post my result.

Now, probably the better way to do this is to create your own SqlReplication class to mimic the objects and properties of SqlCeReplication, but make the destination a local MSDE database. You could make direct calls to the SQL replication stored procedures for management of the Subscriptions and Publications. Heck, it might even make a sellable add-on for .NET developers. Thoughts on this are welcome.

Read: Using SqlCeReplication with a WinForms App

Topic: NUnit 2.1 Released Previous Topic   Next Topic Topic: Busy Weekend

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use