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. Web Development
  3. ASP.NET
  4. Updating or inserting entities using Entity Framework

Updating or inserting entities using Entity Framework

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasehelpannouncement
2 Posts 2 Posters 0 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.
  • I Offline
    I Offline
    indian143
    wrote on last edited by
    #1

    Hi All, I have an Asp.Net application in which I am trying to insert/upate a database table in the backend. But I am getting following message. Unable to update the EntitySet 'message' because it has a DefiningQuery and no element exists in the element to support the current operation. Can anybody help me please by giving any suggestions, links or code snippet. Mean time I will be googling about the exception. Thanks in advance.

    Thanks & Regards, Abdul Aleem Mohammad St Louis MO - USA

    N 1 Reply Last reply
    0
    • I indian143

      Hi All, I have an Asp.Net application in which I am trying to insert/upate a database table in the backend. But I am getting following message. Unable to update the EntitySet 'message' because it has a DefiningQuery and no element exists in the element to support the current operation. Can anybody help me please by giving any suggestions, links or code snippet. Mean time I will be googling about the exception. Thanks in advance.

      Thanks & Regards, Abdul Aleem Mohammad St Louis MO - USA

      N Offline
      N Offline
      Niladri_Biswas
      wrote on last edited by
      #2

      Hope this[^] answers your problem

      Niladri Biswas (Code Project MVP 2012)

      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