Contracts

OMS WCF Contracts come in three different forms: Model, Data, and Response. For our purposes, requests and identifiers are not considered contracts in the .NET DataContract sense.

Model Contracts

These contracts are complex OMS models such as a Client or Person. They are only returned from a WCF web service call and will be packaged in one of the Response contracts.

Data Contracts

These contracts are used for input to methods such as a Create or Update. Most times they will have significant similarities to a Model contract. However, these contracts will only contain data that can be saved by the user.

Response Contracts

These contracts are directly returned from a WCF web service call. They contain the result from the call. This could be a Model contract or a simple boolean value marking success.

[PRINT]© Gallup, Inc. All Rights Reserved. All information contained on this site is the property of Gallup and contains proprietary trade secrets of Gallup. This information is confidential and protected under the confidentiality agreements signed by each Gallup employee, and is to be used solely by Gallup employees in the performance of their responsibilities. None of the information contained in this site is to be copied, viewed, forwarded, downloaded or shred outside of Gallup without permission.

© Gallup, Inc. All Rights Reserved. All information contained on this site is the property of Gallup and contains proprietary trade secrets of Gallup. This information is confidential and protected under the confidentiality agreements signed by each Gallup employee, and is to be used solely by Gallup employees in the performance of their responsibilities. None of the information contained in this site is to be copied, viewed, forwarded, downloaded or shred outside of Gallup without permission.