AuthorizationKomadinDataSet.xsd 8.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="AuthorizationKomadinDataSet" targetNamespace="http://tempuri.org/AuthorizationKomadinDataSet.xsd" xmlns:mstns="http://tempuri.org/AuthorizationKomadinDataSet.xsd" xmlns="http://tempuri.org/AuthorizationKomadinDataSet.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="AuthorizationKomadinConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="AuthorizationKomadinConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.AuthorizationKomadin.Properties.Settings.GlobalReference.Default.AuthorizationKomadinConnectionString" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UserTableAdapter" GeneratorDataComponentClassName="UserTableAdapter" Name="User" UserDataComponentName="UserTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="AuthorizationKomadinConnectionString (Settings)" DbObjectName="AuthorizationKomadin.dbo.[User]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" 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. <InsertCommand>
  14. <DbCommand CommandType="Text" ModifiedByUser="false">
  15. <CommandText>INSERT INTO [dbo].[User] ([id], [Login], [Password], [Role], [Name], [Foto]) VALUES (@id, @Login, @Password, @Role, @Name, @Foto)</CommandText>
  16. <Parameters>
  17. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  18. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Login" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Login" SourceColumnNullMapping="false" SourceVersion="Current" />
  19. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
  20. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Role" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Role" SourceColumnNullMapping="false" SourceVersion="Current" />
  21. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
  22. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Foto" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="Foto" SourceColumnNullMapping="false" SourceVersion="Current" />
  23. </Parameters>
  24. </DbCommand>
  25. </InsertCommand>
  26. <SelectCommand>
  27. <DbCommand CommandType="Text" ModifiedByUser="false">
  28. <CommandText>SELECT id, Login, Password, Role, Name, Foto FROM dbo.[User]</CommandText>
  29. <Parameters />
  30. </DbCommand>
  31. </SelectCommand>
  32. </DbSource>
  33. </MainSource>
  34. <Mappings>
  35. <Mapping SourceColumn="id" DataSetColumn="id" />
  36. <Mapping SourceColumn="Login" DataSetColumn="Login" />
  37. <Mapping SourceColumn="Password" DataSetColumn="Password" />
  38. <Mapping SourceColumn="Role" DataSetColumn="Role" />
  39. <Mapping SourceColumn="Name" DataSetColumn="Name" />
  40. <Mapping SourceColumn="Foto" DataSetColumn="Foto" />
  41. </Mappings>
  42. <Sources />
  43. </TableAdapter>
  44. </Tables>
  45. <Sources />
  46. </DataSource>
  47. </xs:appinfo>
  48. </xs:annotation>
  49. <xs:element name="AuthorizationKomadinDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="AuthorizationKomadinDataSet" msprop:Generator_UserDSName="AuthorizationKomadinDataSet">
  50. <xs:complexType>
  51. <xs:choice minOccurs="0" maxOccurs="unbounded">
  52. <xs:element name="User" msprop:Generator_TableClassName="UserDataTable" msprop:Generator_TableVarName="tableUser" msprop:Generator_TablePropName="User" msprop:Generator_RowDeletingName="UserRowDeleting" msprop:Generator_RowChangingName="UserRowChanging" msprop:Generator_RowEvHandlerName="UserRowChangeEventHandler" msprop:Generator_RowDeletedName="UserRowDeleted" msprop:Generator_UserTableName="User" msprop:Generator_RowChangedName="UserRowChanged" msprop:Generator_RowEvArgName="UserRowChangeEvent" msprop:Generator_RowClassName="UserRow">
  53. <xs:complexType>
  54. <xs:sequence>
  55. <xs:element name="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" minOccurs="0" />
  56. <xs:element name="Login" msprop:Generator_ColumnVarNameInTable="columnLogin" msprop:Generator_ColumnPropNameInRow="Login" msprop:Generator_ColumnPropNameInTable="LoginColumn" msprop:Generator_UserColumnName="Login" minOccurs="0">
  57. <xs:simpleType>
  58. <xs:restriction base="xs:string">
  59. <xs:maxLength value="10" />
  60. </xs:restriction>
  61. </xs:simpleType>
  62. </xs:element>
  63. <xs:element name="Password" msprop:Generator_ColumnVarNameInTable="columnPassword" msprop:Generator_ColumnPropNameInRow="Password" msprop:Generator_ColumnPropNameInTable="PasswordColumn" msprop:Generator_UserColumnName="Password" minOccurs="0">
  64. <xs:simpleType>
  65. <xs:restriction base="xs:string">
  66. <xs:maxLength value="10" />
  67. </xs:restriction>
  68. </xs:simpleType>
  69. </xs:element>
  70. <xs:element name="Role" msprop:Generator_ColumnVarNameInTable="columnRole" msprop:Generator_ColumnPropNameInRow="Role" msprop:Generator_ColumnPropNameInTable="RoleColumn" msprop:Generator_UserColumnName="Role" minOccurs="0">
  71. <xs:simpleType>
  72. <xs:restriction base="xs:string">
  73. <xs:maxLength value="10" />
  74. </xs:restriction>
  75. </xs:simpleType>
  76. </xs:element>
  77. <xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name" minOccurs="0">
  78. <xs:simpleType>
  79. <xs:restriction base="xs:string">
  80. <xs:maxLength value="10" />
  81. </xs:restriction>
  82. </xs:simpleType>
  83. </xs:element>
  84. <xs:element name="Foto" msprop:Generator_ColumnVarNameInTable="columnFoto" msprop:Generator_ColumnPropNameInRow="Foto" msprop:Generator_ColumnPropNameInTable="FotoColumn" msprop:Generator_UserColumnName="Foto" type="xs:base64Binary" minOccurs="0" />
  85. </xs:sequence>
  86. </xs:complexType>
  87. </xs:element>
  88. </xs:choice>
  89. </xs:complexType>
  90. </xs:element>
  91. </xs:schema>