SSDS offers a simple, easy-to-understand data model. This post is an overview in order to get strated quickly. To learn more go to SQL Server Data Services Primer on MSDN.
The SSDS data model is a three-level containment model that includes authorities, containers and entities.
Depending on your application needs, you container can be a homogeneous or heterogeneous.
In SQL Server Data Services, the flexible entity is a key concept.
NOTE In the current implementation, there are limits to using the user-defined and metadata properties.
Service Interface: SSDS supports both the SOAP and REST interfaces.
The URI Space: there are four kinds of URIs that you will work with if you are using the REST head.
Examples:
https://data.beta.mssds.com/v1/
https://<authority_id>.data.beta.mssds.com/v1/
https://<authority_id>.data.beta.mssds.com/v1/<container_id>
The container URI fetches a single entity that conatins container metadata
https://<authority_id>.data.beta.mssds.com/v1/<container_id>/<entity_id>
A sample book entity is shown below:
<UsedBookKind xmlns:s="http://schemas.microsoft.com/sitka/2008/03/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:x="http://www.w3.org/2001/XMLSchema"> <s:Id>MySampleBook</s:Id> <s:Version>1</s:Version> <Title xsi:type="x:string">My Book</Title> <ISBN xsi:type="x:string">1-57880-066-36</ISBN> <Author xsi:type="x:string">Mr. Author</Author> <Publisher xsi:type="x:string">Mr. Publisher</Publisher> <InPrint xsi:type="x:boolean">false</InPrint> <NumberOfCopiesSold xsi:type="x:decimal">250</NumberOfCopiesSold> <PublicationDate xsi:type="x:dateTime">2004-01-27T00:00:00</PublicationDate> <CoverPhoto xsi:type="x:base64Binary">AQID</CoverPhoto> </UsedBookKind>