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. .NET (Core and Framework)
  4. Simply create an Entity Framework Project

Simply create an Entity Framework Project

Scheduled Pinned Locked Moved .NET (Core and Framework)
questioncsharp
4 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.
  • C Offline
    C Offline
    Clodetta del Mar
    wrote on last edited by
    #1

    Hi @all:-) This seems to me like a , eh, quite ridiculous question, but I´m absolutely unable to find out where to get the Project Template for Entity Framework in VS2012...trying to do so since round about 50 minutes :mad: What I can do is rightclick under my webproject, select 'Data' and then add a new ADO.NET Entity data model which then will be created under my WebApp-branch... What I want to do is to add an independent Project in the solution in order to reference it from any project within the solution... I know this is possible; I've done it two or three times before, but I regrettably forgot how I've done that... Can anyone please point me to the right direction?? Thanks in advance, Clodetta

    C 1 Reply Last reply
    0
    • C Clodetta del Mar

      Hi @all:-) This seems to me like a , eh, quite ridiculous question, but I´m absolutely unable to find out where to get the Project Template for Entity Framework in VS2012...trying to do so since round about 50 minutes :mad: What I can do is rightclick under my webproject, select 'Data' and then add a new ADO.NET Entity data model which then will be created under my WebApp-branch... What I want to do is to add an independent Project in the solution in order to reference it from any project within the solution... I know this is possible; I've done it two or three times before, but I regrettably forgot how I've done that... Can anyone please point me to the right direction?? Thanks in advance, Clodetta

      C Offline
      C Offline
      Clodetta del Mar
      wrote on last edited by
      #2

      ok, this is a perfect example of someone failing to use google/bing/whatsoever the correct way with the correct keywords... But just in case, someone else stumbles over my problem, here´s the solution:

      dotnetcurry.com:

      The answer is – To consume an Entity model in separate projects, you have to create the model in its own project, i.e. a class library project.

      complete article as albert einstein once stated: "human stupidity and the universe are endless... for the second i´m not that sure..." :-O

      D 1 Reply Last reply
      0
      • C Clodetta del Mar

        ok, this is a perfect example of someone failing to use google/bing/whatsoever the correct way with the correct keywords... But just in case, someone else stumbles over my problem, here´s the solution:

        dotnetcurry.com:

        The answer is – To consume an Entity model in separate projects, you have to create the model in its own project, i.e. a class library project.

        complete article as albert einstein once stated: "human stupidity and the universe are endless... for the second i´m not that sure..." :-O

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        You don't have to put it in a sperate project, but it's probably recommended. There's really isn't a project template. That's why it's so difficult to find! YOu can create a Class Library project, then open the Package Manager console and type Install-Package EntityFramework. Once that's done, you've got a few ways you can go. You can find out about those from here[^].

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak

        C 1 Reply Last reply
        0
        • D Dave Kreskowiak

          You don't have to put it in a sperate project, but it's probably recommended. There's really isn't a project template. That's why it's so difficult to find! YOu can create a Class Library project, then open the Package Manager console and type Install-Package EntityFramework. Once that's done, you've got a few ways you can go. You can find out about those from here[^].

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak

          C Offline
          C Offline
          Clodetta del Mar
          wrote on last edited by
          #4

          oh, ok. few more "tricks" to "entityframework" my solution... ;) Since this is no day to day job one most likely will forget how to do it after a few weeks... Thanks for the link! Kind regards :-D

          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