Click here to Skip to main content
15,900,816 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
DataContracts are only used for Database or is there any major usages?
please tell me how those are used in real time?
Posted

1 solution

DataContracts are formal agreements between a service and a client[^], they are used to de-couple types from contracts.

They have nothing to do with databases, they are a way of describing what parts of a type can be serialized.

Hope this helps,
Fredrik
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900