konkursDataSet1.xsd 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="konkursDataSet1" targetNamespace="http://tempuri.org/konkursDataSet1.xsd" xmlns:mstns="http://tempuri.org/konkursDataSet1.xsd" xmlns="http://tempuri.org/konkursDataSet1.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="konkursConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="konkursConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.konkurs.Properties.Settings.GlobalReference.Default.konkursConnectionString" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="komfortTableAdapter" GeneratorDataComponentClassName="komfortTableAdapter" Name="komfort" UserDataComponentName="komfortTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="konkursConnectionString (Settings)" DbObjectName="konkurs.dbo.komfort" 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. <DeleteCommand>
  14. <DbCommand CommandType="Text" ModifiedByUser="false">
  15. <CommandText>DELETE FROM [dbo].[komfort] WHERE (([lvl_comfort] = @Original_lvl_comfort) AND ((@IsNull_price_broni = 1 AND [price_broni] IS NULL) OR ([price_broni] = @Original_price_broni)) AND ((@IsNull_price_projiv = 1 AND [price_projiv] IS NULL) OR ([price_projiv] = @Original_price_projiv)))</CommandText>
  16. <Parameters>
  17. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_lvl_comfort" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lvl_comfort" SourceColumnNullMapping="false" SourceVersion="Original" />
  18. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_price_broni" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="price_broni" SourceColumnNullMapping="true" SourceVersion="Original" />
  19. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_price_broni" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="price_broni" SourceColumnNullMapping="false" SourceVersion="Original" />
  20. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_price_projiv" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="price_projiv" SourceColumnNullMapping="true" SourceVersion="Original" />
  21. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_price_projiv" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="price_projiv" SourceColumnNullMapping="false" SourceVersion="Original" />
  22. </Parameters>
  23. </DbCommand>
  24. </DeleteCommand>
  25. <InsertCommand>
  26. <DbCommand CommandType="Text" ModifiedByUser="false">
  27. <CommandText>INSERT INTO [dbo].[komfort] ([lvl_comfort], [price_broni], [price_projiv]) VALUES (@lvl_comfort, @price_broni, @price_projiv);
  28. SELECT lvl_comfort, price_broni, price_projiv FROM komfort WHERE (lvl_comfort = @lvl_comfort)</CommandText>
  29. <Parameters>
  30. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@lvl_comfort" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lvl_comfort" SourceColumnNullMapping="false" SourceVersion="Current" />
  31. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@price_broni" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="price_broni" SourceColumnNullMapping="false" SourceVersion="Current" />
  32. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@price_projiv" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="price_projiv" SourceColumnNullMapping="false" SourceVersion="Current" />
  33. </Parameters>
  34. </DbCommand>
  35. </InsertCommand>
  36. <SelectCommand>
  37. <DbCommand CommandType="Text" ModifiedByUser="false">
  38. <CommandText>SELECT lvl_comfort, price_broni, price_projiv FROM dbo.komfort</CommandText>
  39. <Parameters />
  40. </DbCommand>
  41. </SelectCommand>
  42. <UpdateCommand>
  43. <DbCommand CommandType="Text" ModifiedByUser="false">
  44. <CommandText>UPDATE [dbo].[komfort] SET [lvl_comfort] = @lvl_comfort, [price_broni] = @price_broni, [price_projiv] = @price_projiv WHERE (([lvl_comfort] = @Original_lvl_comfort) AND ((@IsNull_price_broni = 1 AND [price_broni] IS NULL) OR ([price_broni] = @Original_price_broni)) AND ((@IsNull_price_projiv = 1 AND [price_projiv] IS NULL) OR ([price_projiv] = @Original_price_projiv)));
  45. SELECT lvl_comfort, price_broni, price_projiv FROM komfort WHERE (lvl_comfort = @lvl_comfort)</CommandText>
  46. <Parameters>
  47. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@lvl_comfort" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lvl_comfort" SourceColumnNullMapping="false" SourceVersion="Current" />
  48. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@price_broni" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="price_broni" SourceColumnNullMapping="false" SourceVersion="Current" />
  49. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@price_projiv" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="price_projiv" SourceColumnNullMapping="false" SourceVersion="Current" />
  50. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_lvl_comfort" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lvl_comfort" SourceColumnNullMapping="false" SourceVersion="Original" />
  51. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_price_broni" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="price_broni" SourceColumnNullMapping="true" SourceVersion="Original" />
  52. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_price_broni" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="price_broni" SourceColumnNullMapping="false" SourceVersion="Original" />
  53. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_price_projiv" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="price_projiv" SourceColumnNullMapping="true" SourceVersion="Original" />
  54. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_price_projiv" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="price_projiv" SourceColumnNullMapping="false" SourceVersion="Original" />
  55. </Parameters>
  56. </DbCommand>
  57. </UpdateCommand>
  58. </DbSource>
  59. </MainSource>
  60. <Mappings>
  61. <Mapping SourceColumn="lvl_comfort" DataSetColumn="lvl_comfort" />
  62. <Mapping SourceColumn="price_broni" DataSetColumn="price_broni" />
  63. <Mapping SourceColumn="price_projiv" DataSetColumn="price_projiv" />
  64. </Mappings>
  65. <Sources />
  66. </TableAdapter>
  67. </Tables>
  68. <Sources />
  69. </DataSource>
  70. </xs:appinfo>
  71. </xs:annotation>
  72. <xs:element name="konkursDataSet1" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="konkursDataSet1" msprop:Generator_UserDSName="konkursDataSet1">
  73. <xs:complexType>
  74. <xs:choice minOccurs="0" maxOccurs="unbounded">
  75. <xs:element name="komfort" msprop:Generator_TableClassName="komfortDataTable" msprop:Generator_TableVarName="tablekomfort" msprop:Generator_TablePropName="komfort" msprop:Generator_RowDeletingName="komfortRowDeleting" msprop:Generator_RowChangingName="komfortRowChanging" msprop:Generator_RowEvHandlerName="komfortRowChangeEventHandler" msprop:Generator_RowDeletedName="komfortRowDeleted" msprop:Generator_UserTableName="komfort" msprop:Generator_RowChangedName="komfortRowChanged" msprop:Generator_RowEvArgName="komfortRowChangeEvent" msprop:Generator_RowClassName="komfortRow">
  76. <xs:complexType>
  77. <xs:sequence>
  78. <xs:element name="lvl_comfort" msprop:Generator_ColumnVarNameInTable="columnlvl_comfort" msprop:Generator_ColumnPropNameInRow="lvl_comfort" msprop:Generator_ColumnPropNameInTable="lvl_comfortColumn" msprop:Generator_UserColumnName="lvl_comfort" type="xs:int" />
  79. <xs:element name="price_broni" msprop:Generator_ColumnVarNameInTable="columnprice_broni" msprop:Generator_ColumnPropNameInRow="price_broni" msprop:Generator_ColumnPropNameInTable="price_broniColumn" msprop:Generator_UserColumnName="price_broni" minOccurs="0">
  80. <xs:simpleType>
  81. <xs:restriction base="xs:string">
  82. <xs:maxLength value="10" />
  83. </xs:restriction>
  84. </xs:simpleType>
  85. </xs:element>
  86. <xs:element name="price_projiv" msprop:Generator_ColumnVarNameInTable="columnprice_projiv" msprop:Generator_ColumnPropNameInRow="price_projiv" msprop:Generator_ColumnPropNameInTable="price_projivColumn" msprop:Generator_UserColumnName="price_projiv" minOccurs="0">
  87. <xs:simpleType>
  88. <xs:restriction base="xs:string">
  89. <xs:maxLength value="10" />
  90. </xs:restriction>
  91. </xs:simpleType>
  92. </xs:element>
  93. </xs:sequence>
  94. </xs:complexType>
  95. </xs:element>
  96. </xs:choice>
  97. </xs:complexType>
  98. <xs:unique name="Constraint1" msdata:PrimaryKey="true">
  99. <xs:selector xpath=".//mstns:komfort" />
  100. <xs:field xpath="mstns:lvl_comfort" />
  101. </xs:unique>
  102. </xs:element>
  103. </xs:schema>