AdminUsersDataSet.xsd 4.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="courseDataSet" targetNamespace="http://tempuri.org/courseDataSet.xsd" xmlns:mstns="http://tempuri.org/courseDataSet.xsd" xmlns="http://tempuri.org/courseDataSet.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. <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="courseConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="courseConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Course_Project.Properties.Settings.GlobalReference.Default.courseConnectionString" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UsersTableAdapter" GeneratorDataComponentClassName="UsersTableAdapter" Name="Users" UserDataComponentName="UsersTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="courseConnectionString (Settings)" DbObjectName="course.dbo.Users" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  13. <SelectCommand>
  14. <DbCommand CommandType="Text" ModifiedByUser="false">
  15. <CommandText>SELECT Login, UserGroup FROM dbo.Users</CommandText>
  16. <Parameters />
  17. </DbCommand>
  18. </SelectCommand>
  19. </DbSource>
  20. </MainSource>
  21. <Mappings>
  22. <Mapping SourceColumn="Login" DataSetColumn="Login" />
  23. <Mapping SourceColumn="UserGroup" DataSetColumn="UserGroup" />
  24. </Mappings>
  25. <Sources />
  26. </TableAdapter>
  27. </Tables>
  28. <Sources />
  29. </DataSource>
  30. </xs:appinfo>
  31. </xs:annotation>
  32. <xs:element name="courseDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="courseDataSet" msprop:Generator_UserDSName="courseDataSet">
  33. <xs:complexType>
  34. <xs:choice minOccurs="0" maxOccurs="unbounded">
  35. <xs:element name="Users" msprop:Generator_TableClassName="UsersDataTable" msprop:Generator_TableVarName="tableUsers" msprop:Generator_TablePropName="Users" msprop:Generator_RowDeletingName="UsersRowDeleting" msprop:Generator_RowChangingName="UsersRowChanging" msprop:Generator_RowEvHandlerName="UsersRowChangeEventHandler" msprop:Generator_RowDeletedName="UsersRowDeleted" msprop:Generator_UserTableName="Users" msprop:Generator_RowChangedName="UsersRowChanged" msprop:Generator_RowEvArgName="UsersRowChangeEvent" msprop:Generator_RowClassName="UsersRow">
  36. <xs:complexType>
  37. <xs:sequence>
  38. <xs:element name="Login" msprop:Generator_ColumnVarNameInTable="columnLogin" msprop:Generator_ColumnPropNameInRow="Login" msprop:Generator_ColumnPropNameInTable="LoginColumn" msprop:Generator_UserColumnName="Login">
  39. <xs:simpleType>
  40. <xs:restriction base="xs:string">
  41. <xs:maxLength value="50" />
  42. </xs:restriction>
  43. </xs:simpleType>
  44. </xs:element>
  45. <xs:element name="UserGroup" msprop:Generator_ColumnVarNameInTable="columnUserGroup" msprop:Generator_ColumnPropNameInRow="UserGroup" msprop:Generator_ColumnPropNameInTable="UserGroupColumn" msprop:Generator_UserColumnName="UserGroup">
  46. <xs:simpleType>
  47. <xs:restriction base="xs:string">
  48. <xs:maxLength value="50" />
  49. </xs:restriction>
  50. </xs:simpleType>
  51. </xs:element>
  52. </xs:sequence>
  53. </xs:complexType>
  54. </xs:element>
  55. </xs:choice>
  56. </xs:complexType>
  57. </xs:element>
  58. </xs:schema>