c# - How to use custom attributes over a web service? -


I am currently trying to add a custom "column name" for a property in a web service here in my class

Public Class OrderCost {Public Ent OrderName {Received; Set; } Public IR Orderline {Received; Set; } Public int orderRel {get; Set; } Public Date Time Order Date {Received; Set; } Public String Partnum {get; Set; } Public string description {get; Set; } Public decimal quantity {get; Set; } Public String Salesum {get; Set; } Public decimal cost {get; Set; } Public decimal value {received; Set; } Public Decimal Net {Received; Set; } Public decimal margins {received; Set; } Public String EntryPerson {get; Set; } Public string CustID {get; Set; } Public string customer {receives; Set; }}

Actually, I have another class (on the Silverlight side) which is a thief through all the properties and creates a column for each property. The thing is, For example, I want to show "Order number" instead of Order number. I have tried to use custom features, but this does not seem like. Is there a way that I can give these properties a different name on the web service with the use of a particular service? Is there another way I am trying to do?

No, neither properties, nor anything specific .net used between client and service can go . See why not to know.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -