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 6175565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:56:48+00:00 2026-05-23T23:56:48+00:00

I have class in my SVC file. I originally created it with only few

  • 0

I have class in my SVC file. I originally created it with only few data members. I have since add more. The problem is that when add these members don’t appear when I call the service. I have a select query that populates these fields that appears to work because I can have them populate a different field and see my information. I don’t even know how to began to trouble shoot this. I have attached my class.

public class LightOrder 
{
    public string SKU { get; set; }
    public string productname { get; set; }
    public string itemnumber { get; set; }
    public string asin { get; set; }
    public string amazon { get; set; }
    public double ourprice { get; set; }
    public string bbprice { get; set; }
    public int w1 { get; set; }
    public int w2 { get; set; }
    public int w3 { get; set; }
    public string w4 { get; set; }
    public int quantity { get; set; }
    public string rank { get; set; }
    public string ranking { get; set; }
    public string pendingorder { get; set; }
    public string afner { get; set; }
    public int cost { get; set; }
    public string order { get; set; }
    public string total { get; set; }
    public string profit { get; set; }
    public string percent { get; set; }


}
  • 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-23T23:56:49+00:00Added an answer on May 23, 2026 at 11:56 pm

    I don’t see any DataContract or DataMember attributes. Is this class part of the service contract via the ServiceKnownType attribute? If so, did you update the service reference after adding the new properties?

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

Sidebar

Related Questions

I have created many class as my data class i.e: [DataContract] public class pCity
I have class that represents users. Users are divided into two groups with different
I have a WCF solution that consists of the following class libraries: Exercise.Services: Contains
In my web project I have a TestStreamingService.svc file containing a REST service. The
I have a WCF service that runs in my web application that provides data
I have multiple WCF services that share some data contracts and need to generate
I am getting strange error when i run Service.svc file : I have used
I have class A, which exposes an event. an object of class B subscribed
I have class A: public B { ...} vector<A*> v; I want to do
I have class Fred { public: void inspect() const {}; void modify(){}; }; int

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.