SQL 2008 & Occasionally Connected Client Support in Visual Studio SP1

Sign in to queue

The Discussion

  • User profile image
    Gregory

    The moment the tables are synchronized (13:21) the order data changes! The customer jumps from "Vins et alcools Chevalier" to "Alfreds Futterkiste", employee from "Buchanari" to "Davolio.", and shipper from "Federal Shipping" to "Speedy Express"... But I guess we didn't change that after our sync... How come?

    Sincerely, Greg.

  • User profile image
    vesuvius
    I really enjoyed the first video on sync, but this does make things so much easier.Having an employees table, suppliers etc. on a local machine does reduce the amount of hits on a server significantly. This is another reason why (for me at least) using the Linq to SQL ORM instead of datasets is a no brainer. Even the Entity framework will not have this level of support and I predict it will be some time before it does.

    Keep up the great work!
  • User profile image
    aL_
    again with the letterboxing.. :/

    the small pip of the interview during on screen demos are awsome though Smiley
  • User profile image
    aL_
    btw does the syncing stuff work other databases as well? the sql server spesific stuff dosnt work of course, but there was some mention of another technique with tables that vs generated? that would be awsome Smiley
  • User profile image
    Murtaza
    @Gregory:

    Its possible that when the dataset got repopulated, the current record was reset to the first record.
  • User profile image
    MilindL
    >> The moment the tables are synchronized (13:21) the order data changes
    Indeed. Smiley

    This is because after the sync I did a fill for the datasets. This clears and refills that dataset.
    A better approach is to use merge.

    Me.NorthwindDataSet.Shippers.Merge(Me.ShippersTableAdapter.GetData())

  • User profile image
    MilindL
    >>btw does the syncing stuff work other databases as well?
    Unfortunately, no. The Sync Services runtime does not support non-SQL Server databases.
  • User profile image
    michael1047
    Javascript error on page, cannot see video

Add Your 2 Cents