Le réseau pour les développeurs > Forums - Accueil > Live Framework > how do i get Sync Entries based on eTag
Poser une questionPoser une question
 

Traitéehow do i get Sync Entries based on eTag

  • vendredi 26 juin 2009 16:25krskumar Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    Hi,
    Is it possible to retrieve SyncEntries based on eTag?

    e.g. Get me all the Entries of a Feed whose eTag>2.. This should return me all the entries (including deleted) whose sequence is > 2

    Thanks,
    Kumar Subramanian

Réponses

Toutes les réponses

  • jeudi 2 juillet 2009 03:15Neil Mackenzie Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    I believe the intent is that you treat the ETag as an entity tag the internal representation of which is opaque. In other words, you should not rely on the numerical ordering of the integer representation of the ETag. Consequently, there is no reason to and you should not perform the query you seek to perform.
  • jeudi 2 juillet 2009 06:06Vikas-AhujaMSFT, ModérateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     Traitée
    Thanks Neil.

    For GETing an incremental feed, Kumar would need to put the Etag value in the "If-None-Match" header.
    This posting is provided "AS IS" with no warranties, and confers no rights.