PageRenderTime 38ms CodeModel.GetById 14ms RepoModel.GetById 1ms app.codeStats 0ms

/Visual Studio 2008/CSVstoGetWrapperObject/DemoData.xsd

#
XML Schema | 31 lines | 31 code | 0 blank | 0 comment | 0 complexity | 59b94b56e583444c58d9bfcb3d395361 MD5 | raw file
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="DemoData" targetNamespace="http://tempuri.org/DemoData.xsd" xmlns:mstns="http://tempuri.org/DemoData.xsd" xmlns="http://tempuri.org/DemoData.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">
  3. <xs:annotation>
  4. <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
  5. <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
  6. <Connections />
  7. <Tables />
  8. <Sources />
  9. </DataSource>
  10. </xs:appinfo>
  11. </xs:annotation>
  12. <xs:element name="DemoData" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="DemoData" msprop:Generator_DataSetName="DemoData" msprop:EnableTableAdapterManager="true">
  13. <xs:complexType>
  14. <xs:choice minOccurs="0" maxOccurs="unbounded">
  15. <xs:element name="DemoTable" msprop:Generator_UserTableName="DemoTable" msprop:Generator_RowDeletedName="DemoTableRowDeleted" msprop:Generator_RowChangedName="DemoTableRowChanged" msprop:Generator_RowClassName="DemoTableRow" msprop:Generator_RowChangingName="DemoTableRowChanging" msprop:Generator_RowEvArgName="DemoTableRowChangeEvent" msprop:Generator_RowEvHandlerName="DemoTableRowChangeEventHandler" msprop:Generator_TableClassName="DemoTableDataTable" msprop:Generator_TableVarName="tableDemoTable" msprop:Generator_RowDeletingName="DemoTableRowDeleting" msprop:Generator_TablePropName="DemoTable">
  16. <xs:complexType>
  17. <xs:sequence>
  18. <xs:element name="ID" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:int" minOccurs="0" />
  19. <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" type="xs:string" minOccurs="0" />
  20. <xs:element name="DOB" msprop:Generator_UserColumnName="DOB" msprop:Generator_ColumnVarNameInTable="columnDOB" msprop:Generator_ColumnPropNameInRow="DOB" msprop:Generator_ColumnPropNameInTable="DOBColumn" type="xs:dateTime" minOccurs="0" />
  21. </xs:sequence>
  22. </xs:complexType>
  23. </xs:element>
  24. </xs:choice>
  25. </xs:complexType>
  26. <xs:unique name="Constraint1">
  27. <xs:selector xpath=".//mstns:DemoTable" />
  28. <xs:field xpath="mstns:ID" />
  29. </xs:unique>
  30. </xs:element>
  31. </xs:schema>