/
Content.xsd
68 lines (68 loc) · 7.96 KB
/
Content.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="Content" targetNamespace="http://tempuri.org/Content.xsd" xmlns:mstns="http://tempuri.org/Content.xsd" xmlns="http://tempuri.org/Content.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:annotation>
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections />
<Tables />
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="Content" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="Content" msprop:Generator_DataSetName="Content">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Item" msprop:Generator_UserTableName="Item" msprop:Generator_RowDeletedName="ItemRowDeleted" msprop:Generator_RowChangedName="ItemRowChanged" msprop:Generator_RowClassName="ItemRow" msprop:Generator_RowChangingName="ItemRowChanging" msprop:Generator_RowEvArgName="ItemRowChangeEvent" msprop:Generator_RowEvHandlerName="ItemRowChangeEventHandler" msprop:Generator_TableClassName="ItemDataTable" msprop:Generator_TableVarName="tableItem" msprop:Generator_RowDeletingName="ItemRowDeleting" msprop:Generator_TablePropName="Item">
<xs:complexType>
<xs:sequence>
<xs:element name="ContentId" msprop:Generator_UserColumnName="ContentId" msprop:Generator_ColumnVarNameInTable="columnContentId" msprop:Generator_ColumnPropNameInRow="ContentId" msprop:Generator_ColumnPropNameInTable="ContentIdColumn" type="xs:string" />
<xs:element name="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn" type="xs:string" minOccurs="0" />
<xs:element name="VersionId" msprop:Generator_UserColumnName="VersionId" msprop:Generator_ColumnVarNameInTable="columnVersionId" msprop:Generator_ColumnPropNameInRow="VersionId" msprop:Generator_ColumnPropNameInTable="VersionIdColumn" type="xs:string" minOccurs="0" />
<xs:element name="AssetId" msprop:Generator_UserColumnName="AssetId" msprop:Generator_ColumnVarNameInTable="columnAssetId" msprop:Generator_ColumnPropNameInRow="AssetId" msprop:Generator_ColumnPropNameInTable="AssetIdColumn" type="xs:string" />
<xs:element name="Pictures" msprop:Generator_UserColumnName="Pictures" msprop:Generator_ColumnVarNameInTable="columnPictures" msprop:Generator_ColumnPropNameInRow="Pictures" msprop:Generator_ColumnPropNameInTable="PicturesColumn" type="xs:short" minOccurs="0" />
<xs:element name="Size" msprop:Generator_UserColumnName="Size" msprop:Generator_ColumnVarNameInTable="columnSize" msprop:Generator_ColumnPropNameInRow="Size" msprop:Generator_ColumnPropNameInTable="SizeColumn" type="xs:int" minOccurs="0" />
<xs:element name="Metadata" msprop:Generator_UserColumnName="Metadata" msprop:Generator_ColumnVarNameInTable="columnMetadata" msprop:Generator_ColumnPropNameInRow="Metadata" msprop:Generator_ColumnPropNameInTable="MetadataColumn" type="xs:string" minOccurs="0" />
<xs:element name="Annotations" msprop:Generator_UserColumnName="Annotations" msprop:Generator_ColumnPropNameInRow="Annotations" msprop:Generator_ColumnVarNameInTable="columnAnnotations" msprop:Generator_ColumnPropNameInTable="AnnotationsColumn" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ItemInstance" msprop:Generator_UserTableName="ItemInstance" msprop:Generator_RowDeletedName="ItemInstanceRowDeleted" msprop:Generator_RowChangedName="ItemInstanceRowChanged" msprop:Generator_RowClassName="ItemInstanceRow" msprop:Generator_RowChangingName="ItemInstanceRowChanging" msprop:Generator_RowEvArgName="ItemInstanceRowChangeEvent" msprop:Generator_RowEvHandlerName="ItemInstanceRowChangeEventHandler" msprop:Generator_TableClassName="ItemInstanceDataTable" msprop:Generator_TableVarName="tableItemInstance" msprop:Generator_RowDeletingName="ItemInstanceRowDeleting" msprop:Generator_TablePropName="ItemInstance">
<xs:complexType>
<xs:sequence>
<xs:element name="ContentId" msprop:Generator_UserColumnName="ContentId" msprop:Generator_ColumnVarNameInTable="columnContentId" msprop:Generator_ColumnPropNameInRow="ContentId" msprop:Generator_ColumnPropNameInTable="ContentIdColumn" type="xs:string" minOccurs="0" />
<xs:element name="FullPath" msprop:Generator_UserColumnName="FullPath" msprop:Generator_ColumnVarNameInTable="columnFullPath" msprop:Generator_ColumnPropNameInRow="FullPath" msprop:Generator_ColumnPropNameInTable="FullPathColumn" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Picture" msprop:Generator_UserTableName="Picture" msprop:Generator_RowDeletedName="PictureRowDeleted" msprop:Generator_RowChangedName="PictureRowChanged" msprop:Generator_RowClassName="PictureRow" msprop:Generator_RowChangingName="PictureRowChanging" msprop:Generator_RowEvArgName="PictureRowChangeEvent" msprop:Generator_RowEvHandlerName="PictureRowChangeEventHandler" msprop:Generator_TableClassName="PictureDataTable" msprop:Generator_TableVarName="tablePicture" msprop:Generator_RowDeletingName="PictureRowDeleting" msprop:Generator_TablePropName="Picture">
<xs:complexType>
<xs:sequence>
<xs:element name="ContentId" msprop:Generator_UserColumnName="ContentId" msprop:Generator_ColumnVarNameInTable="columnContentId" msprop:Generator_ColumnPropNameInRow="ContentId" msprop:Generator_ColumnPropNameInTable="ContentIdColumn" type="xs:string" minOccurs="0" />
<xs:element name="Filename" msprop:Generator_UserColumnName="Filename" msprop:Generator_ColumnVarNameInTable="columnFilename" msprop:Generator_ColumnPropNameInRow="Filename" msprop:Generator_ColumnPropNameInTable="FilenameColumn" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="ItemsKey">
<xs:selector xpath=".//mstns:Item" />
<xs:field xpath="mstns:ContentId" />
</xs:unique>
<xs:unique name="AssetIdKey" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Item" />
<xs:field xpath="mstns:AssetId" />
</xs:unique>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:ItemInstance" />
<xs:field xpath="mstns:FullPath" />
</xs:unique>
<xs:keyref name="FK_Item_Picture" refer="ItemsKey" msprop:rel_Generator_UserRelationName="FK_Item_Picture" msprop:rel_Generator_RelationVarName="relationFK_Item_Picture" msprop:rel_Generator_UserChildTable="Picture" msprop:rel_Generator_UserParentTable="Item" msprop:rel_Generator_ParentPropName="ItemRow" msprop:rel_Generator_ChildPropName="GetPictureRows">
<xs:selector xpath=".//mstns:Picture" />
<xs:field xpath="mstns:ContentId" />
</xs:keyref>
<xs:keyref name="FK_Item_ItemInstance" refer="ItemsKey" msprop:rel_Generator_UserRelationName="FK_Item_ItemInstance" msprop:rel_Generator_RelationVarName="relationFK_Item_ItemInstance" msprop:rel_Generator_UserChildTable="ItemInstance" msprop:rel_Generator_UserParentTable="Item" msprop:rel_Generator_ParentPropName="ItemRow" msprop:rel_Generator_ChildPropName="GetItemInstanceRows" msdata:AcceptRejectRule="Cascade">
<xs:selector xpath=".//mstns:ItemInstance" />
<xs:field xpath="mstns:ContentId" />
</xs:keyref>
</xs:element>
</xs:schema>