Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. LINQ
  4. ADO.NET 3.5 mapping object to Atom Entry

ADO.NET 3.5 mapping object to Atom Entry

Scheduled Pinned Locked Moved LINQ
tutorialcsharpalgorithmsquestionannouncement
3 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sidhe2442
    wrote on last edited by
    #1

    I have an ADO.NET service that by default puts my serialized object into the content element of the ATOM Entry element. I would like to assign values to the title, author, updated, link, content, etc elements of the Entry elemnets before the ATOM feed is ruturned so I can use it like a ATOM news feed. After searching for a few days I have not found a good example of how to do this in ADO.NET. Is there a way to do this, and I have been looking on all the wrong places? Or can this not be done? If it can be done how would I do it?

    H 1 Reply Last reply
    0
    • S Sidhe2442

      I have an ADO.NET service that by default puts my serialized object into the content element of the ATOM Entry element. I would like to assign values to the title, author, updated, link, content, etc elements of the Entry elemnets before the ATOM feed is ruturned so I can use it like a ATOM news feed. After searching for a few days I have not found a good example of how to do this in ADO.NET. Is there a way to do this, and I have been looking on all the wrong places? Or can this not be done? If it can be done how would I do it?

      H Offline
      H Offline
      Howard Richards
      wrote on last edited by
      #2

      As no-one has replied I will ask you clarify this question, it's not entirely clear?

      'Howard

      S 1 Reply Last reply
      0
      • H Howard Richards

        As no-one has replied I will ask you clarify this question, it's not entirely clear?

        'Howard

        S Offline
        S Offline
        Sidhe2442
        wrote on last edited by
        #3

        Well what I would like is take a NewsPost object with Auther, Content etc and return it as an Atom entry. But with the ADO Data Service the whole object is put in the content part of the Atom Entry. and I can't map it to look like an Atom news feed. Is that any clearer?

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups