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

  • Home
  • SEARCH
  • 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 3953652
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T02:00:03+00:00 2026-05-20T02:00:03+00:00

I was reading this book about WCF services. What it said was to create

  • 0

I was reading this book about WCF services. What it said was to create a WCF service which contained an entity model of the database. For example, lets say this database had a table called User. The author then went to create a new class called UserDto which contained almost exactly the same fields as those in the database table for the User. The reason, he said, for doing this was that when passing data through WCF you don’t want to pass the actual entity created object as it contains data that is not needed (and uses up bandwidth).

What I wanted to find out, is there some kind of class generator in order to construct these transport classes for me? If I have a database of 10 or more objects I don’t want to sit and hard code 10 objects in the business layer. Is there a tool that can do something like this for me (i.e. a code generator)?

Or can anyone suggest a better way of doing this?

  • 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-05-20T02:00:04+00:00Added an answer on May 20, 2026 at 2:00 am

    http://visualstudiogallery.msdn.microsoft.com/23df0450-5677-4926-96cc-173d02752313

    This was exactly what I was looking for!

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

Sidebar

Related Questions

I'm reading this introductory book on parsing (which is pretty good btw) and one
I was reading a book about Javascript and saw this line; JavaScript does not
I was reading a book about AJAX and the writer said that one should
i'm reading a book about Qt, there is an example about how to pop
I am reading this one JS book that talks about inheritance and I am
I'm reading a book about C++. The author shows this enum: [Flags] enum class
I'm reading page 86 in this book about string and literals and i don't
I'm reading this book and there is a chapter about prototypes with this hard
I was reading this book. Explaing about @OneToOne unidirectional, the author has taken the
I'm currently reading a book about ASP.NET MVC3 to learn working with this framework.

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.