Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9157825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T13:06:45+00:00 2026-06-17T13:06:45+00:00

We are creating a website from scratch and the will be created in MVC

  • 0

We are creating a website from scratch and the will be created in MVC 4.0 With EF4.0
And we wish to create a common data access layer using EF and expose the EF using WCF. As the EF contains the CodeLogic we wish to separate the EF from the client calls. The client has to call the WCF via POCO object and the WCF will inturn return some kind of results using POCO.

And my question is this kind of logic is ok. How can I convert POCO to EF and vice versa.

Thanks for your time and patience

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T13:06:47+00:00Added an answer on June 17, 2026 at 1:06 pm

    First of all, I don’t know if it is a good idea to expose Entities directly from a webservice. Maybe you wanna use a Data Transfer Object and maybe you wanna use a WCF REST or a WebApi (webservice is quite outdated). That would be a good idea if you have your Business logic inside the WebService. If not, it’s quite weird to use Entify Framework capabilities and then hide all the advantages behind a webservice.

    Anyway, there is a awesome tool for converting from one object to another, it’s called automapper.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm creating a website using MVC framework (Yii) and I need to dynamically create
I'm creating a website from scratch and I was really into this in the
I am creating a website that pulls data from a CSV file and then
i am creating a website where i read in html data from other websites.
I'm creating website using Ruby on rails3 with twitter-bootstrap. I downloaded bootstrap.css from official
I'm creating a mobile version of my website from scratch, but I'm unsure what
I am creating an XML file from scratch using PHP's SimpleXML Object. But I
I am creating a website from scratch which would work for both desktop and
I'm making a new website. It will be blog style, but made from scratch
I'm creating a website and I'd like to prevent the user from logging in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.