|
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CarSelector.Web" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CarSelector.Web" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import schemaLocation="http://localhost:52379/CarService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/System.Data.Linq" />
<xs:complexType name="ArrayOfSimpleCar">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="SimpleCar" nillable="true" type="tns:SimpleCar" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfSimpleCar" nillable="true" type="tns:ArrayOfSimpleCar" />
<xs:complexType name="SimpleCar">
<xs:sequence>
<xs:element minOccurs="0" name="ID" type="xs:int" />
<xs:element minOccurs="0" name="Make" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Model" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Type" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="SimpleCar" nillable="true" type="tns:SimpleCar" />
<xs:complexType name="Car">
<xs:sequence>
<xs:element minOccurs="0" name="CO2" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Doors" type="xs:int" />
<xs:element minOccurs="0" name="Gears" type="xs:int" />
<xs:element minOccurs="0" name="Id" type="xs:int" />
<xs:element minOccurs="0" name="Make" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Model" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Picture" nillable="true" type="xs:base64Binary" />
<xs:element minOccurs="0" name="Price" type="xs:decimal" />
<xs:element minOccurs="0" name="Type" nillable="true" type="xs:string" />
<xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/System.Data.Linq" minOccurs="0" name="Version" nillable="true" type="q1:Binary" />
<xs:element minOccurs="0" name="Weight" type="xs:int" />
</xs:sequence>
</xs:complexType>
<xs:element name="Car" nillable="true" type="tns:Car" />
</xs:schema>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I'm working since 1999 in an IT environment: started developing in PROGRESS 4GL, then VB6 and am working since 2003 with C#. I'm currently transitioning to HTML5, CSS3 and JavaScript for the front-end development.
I started my own company (TRI-S) in 2007 and co-founded another one (Cogenius) in 2012.
Besides being a Microsoft Certified Professional Developer (MCPD) I'm also a Microsoft Certified Trainer (MCT) and am teaching .NET and JavaScript courses.