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. C#
  4. Help with Entity framework approach.

Help with Entity framework approach.

Scheduled Pinned Locked Moved C#
tutorialcsharpdatabaselinqhelp
3 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.
  • S Offline
    S Offline
    SpiveyC
    wrote on last edited by
    #1

    Im new to the entity framwork approach and im planning on using it for a small application here at the office. However , i can see EF to become a very good approach in some other applications we are planning on writing in the near future. A bought a book called "Programming entity framework" from Oreilly , but it has so many errors in it so i cant really do the examples and get a clear understanding on how to accomplish the following. I need to write a class library to handle all the database calls and then return the results. I just want to send the LINQ statement to the class , and then get the result back. I have tried to find examples on the net , but i dont find anything that i could look at as an example. Can anyone please send me links or give me an example on how to handle this for Inserts , updates and deletes.

    H 1 Reply Last reply
    0
    • S SpiveyC

      Im new to the entity framwork approach and im planning on using it for a small application here at the office. However , i can see EF to become a very good approach in some other applications we are planning on writing in the near future. A bought a book called "Programming entity framework" from Oreilly , but it has so many errors in it so i cant really do the examples and get a clear understanding on how to accomplish the following. I need to write a class library to handle all the database calls and then return the results. I just want to send the LINQ statement to the class , and then get the result back. I have tried to find examples on the net , but i dont find anything that i could look at as an example. Can anyone please send me links or give me an example on how to handle this for Inserts , updates and deletes.

      H Offline
      H Offline
      Henry Minute
      wrote on last edited by
      #2

      Try Googling on linq to ef crud. I got loads of hits and the top few looked as if they concerned the type of functionality you are looking for.

      Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

      S 1 Reply Last reply
      0
      • H Henry Minute

        Try Googling on linq to ef crud. I got loads of hits and the top few looked as if they concerned the type of functionality you are looking for.

        Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

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

        Thanks. Looks like that was the approach im looking for.

        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