Re: SQLServer2005/SQLC 3.5 Merge Replication
- From: "ErikEJ" <ejlskov@xxxxxxxxxxx>
- Date: Sat, 17 May 2008 16:40:55 +0200
Yes, that is the only way, the AddSubscription call will add extra fields to
the subscribed tables, used for change tracking, and also add some system
tables to the sdf file.
--
Erik Ejlskov Jensen, Mobile App Dev MCTS
Check out my SQL Compact blog at
http://erikej.blogspot.com
"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:Oe$mqW2tIHA.2068@xxxxxxxxxxxxxxxxxxxxxxx
Yes. Is that the only way to create a subscription? I guess that's the
crux of my question...
Thanks for the pointers!
Paul T.
"ErikEJ" <ejlskov@xxxxxxxxxxx> wrote in message
news:OGY6mcxtIHA.2208@xxxxxxxxxxxxxxxxxxxxxxx
Have you looked at this topic in Books Online:
How to: Create a Subscription (Programmatically)
and this:
How to: Create a SQL Server Compact Subscription (SQL Server Management
Studio)
(this will also generate code for you).
also the book by Rob Tiffany has some code samples:
http://www.amazon.co.uk/Windows-Mobile-Synchronization-Server-Compact/dp/0979891205/ref=sr_1_7?ie=UTF8&s=books&qid=1210916299&sr=8-7
(and lots of good advice)
--
Erik Ejlskov Jensen, Mobile App Dev MCTS
Check out my SQL Compact blog at
http://erikej.blogspot.com
"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam
DOT com> wrote in message news:uQiPhTttIHA.3804@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
Can anyone point me to a smart device sample for merge replication that
would work with SQL Server 2005 and SQL Compact 3.5? I have what I
think is a suitably-prepared server database, publication, etc., but
don't see how to create a subscription with the tools, and can't figure
out how to do it in code, either.
There are obviously suitable classes in the SQL Compact 3.5 components,
but the right values for parameters are not documented worth anything
and my instincts have, so far, been wrong.
Thanks,
Paul T.
.
- Follow-Ups:
- Re: SQLServer2005/SQLC 3.5 Merge Replication
- From: Paul G. Tobey [eMVP]
- Re: SQLServer2005/SQLC 3.5 Merge Replication
- References:
- SQLServer2005/SQLC 3.5 Merge Replication
- From: Paul G. Tobey [eMVP]
- Re: SQLServer2005/SQLC 3.5 Merge Replication
- From: ErikEJ
- Re: SQLServer2005/SQLC 3.5 Merge Replication
- From: Paul G. Tobey [eMVP]
- SQLServer2005/SQLC 3.5 Merge Replication
- Prev by Date: Re: Which database for WM3 and WM5 development using CS.NET
- Next by Date: Re: Which database for WM3 and WM5 development using CS.NET
- Previous by thread: Re: SQLServer2005/SQLC 3.5 Merge Replication
- Next by thread: Re: SQLServer2005/SQLC 3.5 Merge Replication
- Index(es):
Relevant Pages
|