Seperate Project for EF

I am following a example on creating a ASP web app using the entity framework, but I have a database already created I would like to access.
I would like to use the entity framework classes in a couple of projects.  Is it considered a good practice to put the entity framework. code in a separate project?
Do you put all the controller code in the entity framework project or in the web portion of the project?
When creating the project for the entity framework would I still use a web project template or would I use a DLL template?
Thanks in advance.

Hello Kazinski
>>Is it considered a good practice to put the entity framework. code in a separate project?
Personally, I would like do that puts data access code to a separate project which would make us easy to manage it.
>>Do you put all the controller code in the entity framework project or in the web portion of the project?
I do not quite understand what you mean about the controller code, if you mean business code, I would put them into a separate layer which we could call it business layer. It is not recommended to put business code and data access part code together.
>>When creating the project for the entity framework would I still use a web project template or would I use a DLL template?
If you are creating a MVC project, this project has already helped us constructed a separated layer. If it is just a common web application, you could create a class library project for your Entity Framework, and note do not forget to copy the connection
string in your class library project to your web application or it would throw an exception.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Re: Creating a seperate project for Junit Tests.

    Hello,
    I was wondering if its possible to have all the test cases form different projects in a single project(which would only contain all Junit test cases) and then fire these tests from that single project.
    So the idea is to have multiple projects but all the Junit tests would be compiled in a single project. Is there any way i can accomplish this.
    Thanks

    qwerty.123 wrote:
    Yes that is correct. But in order to do this i need my test class to be in the same package as my class which is tested. That's why one should use the same package structure in your test source directory as you do in your regular source directory.
    For example:
    myproject/src/main/java/some/package/MyClass.java
    myproject/src/test/java/some/package/MyClassTest.java
    Where myproject/src/main/java and myproject/src/test/java/ are both source folders in your project's build path.
    Is there any way i can run a test for a class which is in a different project/package altogether and my test class lying in a seperate Project/package.Sure; you just won't have access to "package-private" classes and members.
    ~

  • Projects for par files

    If i want to create a some par files and also edit some par files that came from sap, should I create a project for each PAR that I am going to edit or create.
    what is the best practice used?
    If we create a project for each PAR, should we check in all these projects into only one DTR workspace or again a workspace for each PAR.
    how to include this creating par file projects in component model (DC's and SC's).
    Could you please clarify regarding the above.
    Thank you

    Hi Shiva,
    1)If i want to create a some par files and also edit some par files that came from sap, should I create a project for each PAR that I am going to edit or create.
    You should create seperate projects for each par.
    2) If we create a project for each PAR, should we check in all these projects into only one DTR workspace or again a workspace for each PAR.
    You can check them in the same workspace.
    3)how to include this creating par file projects in component model (DC's and SC's).
    When you create a DC and there is an option of importing a par file onto your Development Component. If you have a parfile already you could use this option.
    Regards
    Prakash

  • How can we call a jar files(seperate projects jars) to each link of the tre

    how can we call a jar OR WAR files(seperate projects jars OR War) to each link of the tree.

    i want have home page that have this menu
    ========================
    -- Sale
    --- Customer
    --- Reader
    -- Energy
    --- Calc
    -- Service
    --- Chnage Name
    --- Change Code
    =======================
    For example
    --- Change Name
    ---- Page Reister
    ---- Page Confirm
    ---- Page Anoc
    ---- Page Save
    ======================
    i want user to access to every page From Each Case(Change Name) .
    i create for change name one project in my fushion web app and for other case
    How to I Can Call Page register From change name in Menu of The home page ????
    Edited by: user13151366 on Feb 4, 2013 4:44 AM

  • Error on imovie11: Unable to prepare project for publishing.

    Error on imovie11: Unable to prepare project for publishing.
    I badly need someone that is an extreme expert on Mac Pro and imovie11 and very good at troubleshooting. I have a critical project to get out and have serious problem. Mac store solutions did not work. Need a Pro that I can hire to come to my office in Raleigh NC.
    Cleared the memory space on the drive, cleared the preferences.. critical problem. Love to find someone good to hire in the Raleigh NC area that come over and work on it.
    Martin Brossman 919 847 4757
    Apple Store advice did not work.

    Rocker-65 is correct, large, long and complex projects can have problems resulting in a Error-108. Sometimes cutting a Project up into pieces or just cutting into 2 can help. Easiest way to accomplish the cutting is to create a Duplicate Project. Then just cut Project 1 in half, saving the first part. Duplicate Project gets cut in half and contains the second part.
    Then if you want to stitch them back together, export each project individually at 720p. Import each one BACK into a new Event Folder in iMovie and combine then in a new Project, export that.

  • Income Tax Projection for Retiring Employees

    Hi Folks,
    One of our Employee is getting retired in the month of August, As per SAP,In April-2009 his IT projection happens for the entire financial Year April to March 2010.
    That is his IT projection for APril to March is 5Lakhs, but his actual earnings from April to date of Separation (till august) is 3.5 Lakhs, because of this his Tax liablity from APril to July goes high and in the month of August there is a refund.
    Now for retiring Employees how can we make the IT projection happen only till the month of Retirement.  Is their any standard process available or through custom development.
    Experts Plz advice.
    Rgds,
    Sekar.

    I have personally checked this,  as facing the same problem. AND THIS IS WORKING,  THANKS FOR THE INFORMATION.
    HOWEVER THERE IS ANOTHER SOLUTION ALSO.
    One can create an retirement action,  which has to be executed for all the employees going to retire during the year.
    system will calculate the gross and project the tax only upto the retirement date.
    if exttn is required you can also config the retirement-exten action in case of extension is carried out.
    Rather than touching the standard scheme this is the best way I know?  you can also fetch the reports in the future with the help of standard reports.
    However, if anyone is having any PCR idea, that is also welcome.  Do give me a helping hand by share the same.
    Edited by: virparkash on May 23, 2011 1:19 PM

  • I have an I phone and my own account  and just purchased an ITouch for my daughter - how do i create a seperate account for her on my computer?

    I have an I phone and my own  I tunes account  and just purchased an ITouch for my daughter - how do i create a seperate account for her on my computer? I want to make sure that my apps do not sync on her I touch.

    Go into Setttings -> Messages and make sure your Caller ID setting for Messages is set properly.

  • Trying to use laf project for the first time

    hi all , i need help , please
    i am trying to use laf project for the first time as i said , and i want help on
    the installation process
    step by step please , i am soo junior here
    i've just downloaded the zip file as the site said (http://fdtool.free.fr/LAF/doc/implementation.htm)
    please go to this url and declare the steps to me
    thanks in advance

    The Forms Look and Feel Project is not an Oracle product. This product was developed by Francois Degrelle. Francois has posted numerous times in this forum that if you need help with the LAF you have to go to the Oracle Forms Look & Feel Project web site or his PJCs and Java Beans Forum for support.
    Craig...

  • How do I set up a seperate account for my wife?

    We finally purchased a nice new iPhone for my wife. But she would like her own iTunes account. How do I set up a seperate account for her? She has her own laptop, with an iTunes account on it that I was using. Should I just un-install that iTunes package and have her download a new version? I'd rather have two versions so I don't lose the music on that old iTunes account. It's not huge, but would be a PITA.

    Apple ID
    Go to iTunes > Store > Sign Out (your apple id) and sign your wife apple id in.

  • My wife and I share an iTunes account. Is there any way to set up a seperate one for her to sync her phone contacts, iCloud and music to without having to purchase all her music again and then share going forward?

    My wife and I share an iTunes account. Is there any way to set up a seperate one for her to sync her phone contacts, iCloud and music to without having to purchase all her music again and then share going forward?
    It would be so much easier having seperate accounts but we have hundreds of her purchased songs on my account and she would need to be able to access these from her account. Possible?
    Also, if we bought a song in future we would want to be able to both have access to it.
    Alternatively, what is the easy way to sync two distinctly different contact lists to one iTunes account?
    Thank you in advance.

    FYI: iTunes account (used to make purchases) is not the same as iTunes library (iTunes on your computer with music, movies, etc.).
    ecbclb wrote:
    Will we have to create a seperate account for her, or can we all have the same one?
    You can but you will not be able to limit what she syncs.
    I would like to avoid 'checking' and 'unchecking' individual songs every time one of us tries to synch our ipods to the library.
    I don't recommend using (only) the checkmarks to select what to sync.
    Each of you can create your own playlists then sync only those playlists.
    Then add/delete from your own playlists to change iPod content.
    The only time I uncheck items is if I rarely/never want to sync them to anything, such as Christmas music or old audiobooks.
    I suggest you each have your own computer login account. Then everyone has their own contacts, calendars, and everything else.
    You and your husband can share an iTunes library and let your daughter have her own.

  • I have multiple computers set up on homesharing under one itunes account. Can I use face time on all of them or do i need seperate accounts for each?

    I have multiple computers set up on homesharing under one itunes account. Can I use face time on all of them or do i need seperate accounts for each?

    I'd suggest you consider a cloud-based file sharing service such as Dropbox for this sort of use. iOS is not designed to be synched with more than one iTunes library at a time, so attempting to use it as you describe, connecting a single iPad to multiple computers, almost certainly won't work as you intend and is likely to cause nothing but headaches.
    Regads.

  • One Corporate Account for multiple departments or seperate accounts for each

    I would like to know if I can have one central account that can be shared among different departments. Or I would need to purchase seperate account for each department.
    Thank you for your help.

    You can have a master paid  account which create forms for each of your departments and have each deparment have their own account (could be a free account). The paid account can create the forms and share each form with the right deparment. This way each deparment have access to their own data only and can't mess up the other deparment forms and data.
    Really though.... I would recommand for each department to have their own paid account so that they are in full control of their forms.
    Gen

  • How to use the same UI Project for differents HumanTask's in BPM 11gR1

    When I define a User interaction activity in my Oracle BPM 11gR1 Process and associate a Human Task to it. It generates a new project to hold all my forms. Anyone knows if it's possible to use this same project for different Human Task's ?

    After you generate the UI project for your first human task, you can right click on the project in JDeveloper and select "New", click on the "All Technologies Tab", then "JSF" -> "ADF Task Flow Based on Human Task". Then browse to the .task file from your BPMN/composite project.

  • Seperate libraries for two ipods on same computer

    how can i set up seperate libraries for two ipods on same computer . running xp . after installing software for second ipod , i only have one version of itunes ,with only one library .tried setting up seperate playlists but that didnt help . thanks for help!

    The only way I know to have two entirely separate iTunes libraries on one computer is to have two Windows or Mac user accounts: How To Use Multiple iPods with One Computer

  • HT1660 Can I create a 2nd iTunes account on one PC that caters for two seperate devices for different people?

    Can I create a 2nd iTunes account on one PC that caters for two seperate devices for different people?

    For what reason would you do that?
    Simply connect the device, select the content desired to sync and sync.
    iTunes remembers the sync profile per device.

Maybe you are looking for

  • Sign-In msg:  iTunes is temporarily not available. Please try again later.

    I cannot sign into iTunes with my PC since downloading update.  The store loads, but I cannot sign in.  The message says: Itunes is temporarily not available.  Please try again later.   I have windows 7 pro, 64 bit, an authorized computer, and downlo

  • Cant get cim to recognize jboss version

    I am baffled with this one as I've done this many times before n older versions of atg. This is with ATG 10.0.3 as I am trying to test some things with installation. When selecting application server JBoss, it tells me my version is invalid. -------E

  • Where is the Content-Update for SLD?

    Hello SDN! where I can find the Content-Patch for SLD? In documentation I found: the following path Support Packages ->SAP->Technology Componennts-SAP-Masterdata for SLD. But there is no such a path in SMP. There is a Path: Support Packages and Patch

  • M3G icons needed

    I need the green man and the internet globe folder wich R animated... The m3g icons are in the z:\resource\m3gicons.... Who can help me out? I allready own 13 animated folders wich collected from several phones in2 my N95 8GB....

  • Pl.tell a query for non databsae items values as zero

    hai i have table like this emp_name     date           hours xxx          19-12-2007     3 yyy          20-12-2007     4 zzz          23-12-2007     3 i want a query to get the data for 5 days.(ie.19 to 23) In that the left two days should be placed