1
0

DBAgentstvoDataSet.xsd 81 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="DBAgentstvoDataSet" targetNamespace="http://tempuri.org/DBAgentstvoDataSet.xsd" xmlns:mstns="http://tempuri.org/DBAgentstvoDataSet.xsd" xmlns="http://tempuri.org/DBAgentstvoDataSet.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="DBAgentstvoConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="DBAgentstvoConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.СУБД_Агентство.Properties.Settings.GlobalReference.Default.DBAgentstvoConnectionString" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PotrebnostTableAdapter" GeneratorDataComponentClassName="PotrebnostTableAdapter" Name="Potrebnost" UserDataComponentName="PotrebnostTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="DBAgentstvoConnectionString (Settings)" DbObjectName="DBAgentstvo.dbo.Potrebnost" 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].[Potrebnost] WHERE (([idpotrebnost] = @Original_idpotrebnost) AND ([idklient] = @Original_idklient) AND ([idrielter] = @Original_idrielter) AND ((@IsNull_minplosh = 1 AND [minplosh] IS NULL) OR ([minplosh] = @Original_minplosh)) AND ((@IsNull_maxplosh = 1 AND [maxplosh] IS NULL) OR ([maxplosh] = @Original_maxplosh)) AND ((@IsNull_minetazh = 1 AND [minetazh] IS NULL) OR ([minetazh] = @Original_minetazh)) AND ((@IsNull_maxetazh = 1 AND [maxetazh] IS NULL) OR ([maxetazh] = @Original_maxetazh)) AND ((@IsNull_minkomnat = 1 AND [minkomnat] IS NULL) OR ([minkomnat] = @Original_minkomnat)) AND ((@IsNull_maxkomnat = 1 AND [maxkomnat] IS NULL) OR ([maxkomnat] = @Original_maxkomnat)) AND ((@IsNull_mincena = 1 AND [mincena] IS NULL) OR ([mincena] = @Original_mincena)) AND ((@IsNull_maxcena = 1 AND [maxcena] IS NULL) OR ([maxcena] = @Original_maxcena)) AND ((@IsNull_zaversheno = 1 AND [zaversheno] IS NULL) OR ([zaversheno] = @Original_zaversheno)))</CommandText>
  16. <Parameters>
  17. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idpotrebnost" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idpotrebnost" SourceColumnNullMapping="false" SourceVersion="Original" />
  18. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idklient" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idklient" SourceColumnNullMapping="false" SourceVersion="Original" />
  19. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idrielter" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idrielter" SourceColumnNullMapping="false" SourceVersion="Original" />
  20. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_minplosh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="minplosh" SourceColumnNullMapping="true" SourceVersion="Original" />
  21. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_minplosh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="minplosh" SourceColumnNullMapping="false" SourceVersion="Original" />
  22. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maxplosh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxplosh" SourceColumnNullMapping="true" SourceVersion="Original" />
  23. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_maxplosh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxplosh" SourceColumnNullMapping="false" SourceVersion="Original" />
  24. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_minetazh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="minetazh" SourceColumnNullMapping="true" SourceVersion="Original" />
  25. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_minetazh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="minetazh" SourceColumnNullMapping="false" SourceVersion="Original" />
  26. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maxetazh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxetazh" SourceColumnNullMapping="true" SourceVersion="Original" />
  27. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_maxetazh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxetazh" SourceColumnNullMapping="false" SourceVersion="Original" />
  28. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_minkomnat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="minkomnat" SourceColumnNullMapping="true" SourceVersion="Original" />
  29. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_minkomnat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="minkomnat" SourceColumnNullMapping="false" SourceVersion="Original" />
  30. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maxkomnat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxkomnat" SourceColumnNullMapping="true" SourceVersion="Original" />
  31. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_maxkomnat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxkomnat" SourceColumnNullMapping="false" SourceVersion="Original" />
  32. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mincena" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mincena" SourceColumnNullMapping="true" SourceVersion="Original" />
  33. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_mincena" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="mincena" SourceColumnNullMapping="false" SourceVersion="Original" />
  34. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maxcena" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxcena" SourceColumnNullMapping="true" SourceVersion="Original" />
  35. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_maxcena" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="maxcena" SourceColumnNullMapping="false" SourceVersion="Original" />
  36. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_zaversheno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="zaversheno" SourceColumnNullMapping="true" SourceVersion="Original" />
  37. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_zaversheno" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="zaversheno" SourceColumnNullMapping="false" SourceVersion="Original" />
  38. </Parameters>
  39. </DbCommand>
  40. </DeleteCommand>
  41. <InsertCommand>
  42. <DbCommand CommandType="Text" ModifiedByUser="false">
  43. <CommandText>INSERT INTO [dbo].[Potrebnost] ([idklient], [idrielter], [minplosh], [maxplosh], [minetazh], [maxetazh], [minkomnat], [maxkomnat], [mincena], [maxcena], [zaversheno]) VALUES (@idklient, @idrielter, @minplosh, @maxplosh, @minetazh, @maxetazh, @minkomnat, @maxkomnat, @mincena, @maxcena, @zaversheno);
  44. SELECT idpotrebnost, idklient, idrielter, minplosh, maxplosh, minetazh, maxetazh, minkomnat, maxkomnat, mincena, maxcena, zaversheno FROM Potrebnost WHERE (idpotrebnost = SCOPE_IDENTITY())</CommandText>
  45. <Parameters>
  46. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idklient" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idklient" SourceColumnNullMapping="false" SourceVersion="Current" />
  47. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idrielter" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idrielter" SourceColumnNullMapping="false" SourceVersion="Current" />
  48. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@minplosh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="minplosh" SourceColumnNullMapping="false" SourceVersion="Current" />
  49. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@maxplosh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxplosh" SourceColumnNullMapping="false" SourceVersion="Current" />
  50. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@minetazh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="minetazh" SourceColumnNullMapping="false" SourceVersion="Current" />
  51. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@maxetazh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxetazh" SourceColumnNullMapping="false" SourceVersion="Current" />
  52. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@minkomnat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="minkomnat" SourceColumnNullMapping="false" SourceVersion="Current" />
  53. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@maxkomnat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxkomnat" SourceColumnNullMapping="false" SourceVersion="Current" />
  54. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@mincena" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="mincena" SourceColumnNullMapping="false" SourceVersion="Current" />
  55. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@maxcena" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="maxcena" SourceColumnNullMapping="false" SourceVersion="Current" />
  56. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@zaversheno" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="zaversheno" SourceColumnNullMapping="false" SourceVersion="Current" />
  57. </Parameters>
  58. </DbCommand>
  59. </InsertCommand>
  60. <SelectCommand>
  61. <DbCommand CommandType="Text" ModifiedByUser="false">
  62. <CommandText>SELECT idpotrebnost, idklient, idrielter, minplosh, maxplosh, minetazh, maxetazh, minkomnat, maxkomnat, mincena, maxcena, zaversheno FROM dbo.Potrebnost</CommandText>
  63. <Parameters />
  64. </DbCommand>
  65. </SelectCommand>
  66. <UpdateCommand>
  67. <DbCommand CommandType="Text" ModifiedByUser="false">
  68. <CommandText>UPDATE [dbo].[Potrebnost] SET [idklient] = @idklient, [idrielter] = @idrielter, [minplosh] = @minplosh, [maxplosh] = @maxplosh, [minetazh] = @minetazh, [maxetazh] = @maxetazh, [minkomnat] = @minkomnat, [maxkomnat] = @maxkomnat, [mincena] = @mincena, [maxcena] = @maxcena, [zaversheno] = @zaversheno WHERE (([idpotrebnost] = @Original_idpotrebnost) AND ([idklient] = @Original_idklient) AND ([idrielter] = @Original_idrielter) AND ((@IsNull_minplosh = 1 AND [minplosh] IS NULL) OR ([minplosh] = @Original_minplosh)) AND ((@IsNull_maxplosh = 1 AND [maxplosh] IS NULL) OR ([maxplosh] = @Original_maxplosh)) AND ((@IsNull_minetazh = 1 AND [minetazh] IS NULL) OR ([minetazh] = @Original_minetazh)) AND ((@IsNull_maxetazh = 1 AND [maxetazh] IS NULL) OR ([maxetazh] = @Original_maxetazh)) AND ((@IsNull_minkomnat = 1 AND [minkomnat] IS NULL) OR ([minkomnat] = @Original_minkomnat)) AND ((@IsNull_maxkomnat = 1 AND [maxkomnat] IS NULL) OR ([maxkomnat] = @Original_maxkomnat)) AND ((@IsNull_mincena = 1 AND [mincena] IS NULL) OR ([mincena] = @Original_mincena)) AND ((@IsNull_maxcena = 1 AND [maxcena] IS NULL) OR ([maxcena] = @Original_maxcena)) AND ((@IsNull_zaversheno = 1 AND [zaversheno] IS NULL) OR ([zaversheno] = @Original_zaversheno)));
  69. SELECT idpotrebnost, idklient, idrielter, minplosh, maxplosh, minetazh, maxetazh, minkomnat, maxkomnat, mincena, maxcena, zaversheno FROM Potrebnost WHERE (idpotrebnost = @idpotrebnost)</CommandText>
  70. <Parameters>
  71. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idklient" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idklient" SourceColumnNullMapping="false" SourceVersion="Current" />
  72. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idrielter" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idrielter" SourceColumnNullMapping="false" SourceVersion="Current" />
  73. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@minplosh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="minplosh" SourceColumnNullMapping="false" SourceVersion="Current" />
  74. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@maxplosh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxplosh" SourceColumnNullMapping="false" SourceVersion="Current" />
  75. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@minetazh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="minetazh" SourceColumnNullMapping="false" SourceVersion="Current" />
  76. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@maxetazh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxetazh" SourceColumnNullMapping="false" SourceVersion="Current" />
  77. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@minkomnat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="minkomnat" SourceColumnNullMapping="false" SourceVersion="Current" />
  78. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@maxkomnat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxkomnat" SourceColumnNullMapping="false" SourceVersion="Current" />
  79. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@mincena" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="mincena" SourceColumnNullMapping="false" SourceVersion="Current" />
  80. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@maxcena" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="maxcena" SourceColumnNullMapping="false" SourceVersion="Current" />
  81. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@zaversheno" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="zaversheno" SourceColumnNullMapping="false" SourceVersion="Current" />
  82. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idpotrebnost" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idpotrebnost" SourceColumnNullMapping="false" SourceVersion="Original" />
  83. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idklient" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idklient" SourceColumnNullMapping="false" SourceVersion="Original" />
  84. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idrielter" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idrielter" SourceColumnNullMapping="false" SourceVersion="Original" />
  85. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_minplosh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="minplosh" SourceColumnNullMapping="true" SourceVersion="Original" />
  86. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_minplosh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="minplosh" SourceColumnNullMapping="false" SourceVersion="Original" />
  87. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maxplosh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxplosh" SourceColumnNullMapping="true" SourceVersion="Original" />
  88. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_maxplosh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxplosh" SourceColumnNullMapping="false" SourceVersion="Original" />
  89. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_minetazh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="minetazh" SourceColumnNullMapping="true" SourceVersion="Original" />
  90. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_minetazh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="minetazh" SourceColumnNullMapping="false" SourceVersion="Original" />
  91. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maxetazh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxetazh" SourceColumnNullMapping="true" SourceVersion="Original" />
  92. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_maxetazh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxetazh" SourceColumnNullMapping="false" SourceVersion="Original" />
  93. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_minkomnat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="minkomnat" SourceColumnNullMapping="true" SourceVersion="Original" />
  94. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_minkomnat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="minkomnat" SourceColumnNullMapping="false" SourceVersion="Original" />
  95. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maxkomnat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxkomnat" SourceColumnNullMapping="true" SourceVersion="Original" />
  96. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_maxkomnat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxkomnat" SourceColumnNullMapping="false" SourceVersion="Original" />
  97. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mincena" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mincena" SourceColumnNullMapping="true" SourceVersion="Original" />
  98. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_mincena" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="mincena" SourceColumnNullMapping="false" SourceVersion="Original" />
  99. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_maxcena" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxcena" SourceColumnNullMapping="true" SourceVersion="Original" />
  100. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_maxcena" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="maxcena" SourceColumnNullMapping="false" SourceVersion="Original" />
  101. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_zaversheno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="zaversheno" SourceColumnNullMapping="true" SourceVersion="Original" />
  102. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_zaversheno" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="zaversheno" SourceColumnNullMapping="false" SourceVersion="Original" />
  103. <Parameter AllowDbNull="false" AutogeneratedName="idpotrebnost" ColumnName="idpotrebnost" DataSourceName="DBAgentstvo.dbo.Potrebnost" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idpotrebnost" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idpotrebnost" SourceColumnNullMapping="false" SourceVersion="Current" />
  104. </Parameters>
  105. </DbCommand>
  106. </UpdateCommand>
  107. </DbSource>
  108. </MainSource>
  109. <Mappings>
  110. <Mapping SourceColumn="idpotrebnost" DataSetColumn="idpotrebnost" />
  111. <Mapping SourceColumn="idklient" DataSetColumn="idklient" />
  112. <Mapping SourceColumn="idrielter" DataSetColumn="idrielter" />
  113. <Mapping SourceColumn="minplosh" DataSetColumn="minplosh" />
  114. <Mapping SourceColumn="maxplosh" DataSetColumn="maxplosh" />
  115. <Mapping SourceColumn="minetazh" DataSetColumn="minetazh" />
  116. <Mapping SourceColumn="maxetazh" DataSetColumn="maxetazh" />
  117. <Mapping SourceColumn="minkomnat" DataSetColumn="minkomnat" />
  118. <Mapping SourceColumn="maxkomnat" DataSetColumn="maxkomnat" />
  119. <Mapping SourceColumn="mincena" DataSetColumn="mincena" />
  120. <Mapping SourceColumn="maxcena" DataSetColumn="maxcena" />
  121. <Mapping SourceColumn="zaversheno" DataSetColumn="zaversheno" />
  122. </Mappings>
  123. <Sources />
  124. </TableAdapter>
  125. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="predlozhenieTableAdapter" GeneratorDataComponentClassName="predlozhenieTableAdapter" Name="predlozhenie" UserDataComponentName="predlozhenieTableAdapter">
  126. <MainSource>
  127. <DbSource ConnectionRef="DBAgentstvoConnectionString (Settings)" DbObjectName="DBAgentstvo.dbo.predlozhenie" 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">
  128. <DeleteCommand>
  129. <DbCommand CommandType="Text" ModifiedByUser="false">
  130. <CommandText>DELETE FROM [dbo].[predlozhenie] WHERE (([idpredlozhenie] = @Original_idpredlozhenie) AND ([idklient] = @Original_idklient) AND ([idrielter] = @Original_idrielter) AND ((@IsNull_adres = 1 AND [adres] IS NULL) OR ([adres] = @Original_adres)) AND ((@IsNull_plosh = 1 AND [plosh] IS NULL) OR ([plosh] = @Original_plosh)) AND ((@IsNull_etazh = 1 AND [etazh] IS NULL) OR ([etazh] = @Original_etazh)) AND ((@IsNull_komnat = 1 AND [komnat] IS NULL) OR ([komnat] = @Original_komnat)) AND ((@IsNull_cena = 1 AND [cena] IS NULL) OR ([cena] = @Original_cena)) AND ((@IsNull_zaversheno = 1 AND [zaversheno] IS NULL) OR ([zaversheno] = @Original_zaversheno)))</CommandText>
  131. <Parameters>
  132. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idpredlozhenie" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idpredlozhenie" SourceColumnNullMapping="false" SourceVersion="Original" />
  133. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idklient" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idklient" SourceColumnNullMapping="false" SourceVersion="Original" />
  134. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idrielter" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idrielter" SourceColumnNullMapping="false" SourceVersion="Original" />
  135. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_adres" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="adres" SourceColumnNullMapping="true" SourceVersion="Original" />
  136. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_adres" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="adres" SourceColumnNullMapping="false" SourceVersion="Original" />
  137. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_plosh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="plosh" SourceColumnNullMapping="true" SourceVersion="Original" />
  138. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_plosh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="plosh" SourceColumnNullMapping="false" SourceVersion="Original" />
  139. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_etazh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="etazh" SourceColumnNullMapping="true" SourceVersion="Original" />
  140. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_etazh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="etazh" SourceColumnNullMapping="false" SourceVersion="Original" />
  141. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_komnat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="komnat" SourceColumnNullMapping="true" SourceVersion="Original" />
  142. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_komnat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="komnat" SourceColumnNullMapping="false" SourceVersion="Original" />
  143. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cena" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cena" SourceColumnNullMapping="true" SourceVersion="Original" />
  144. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_cena" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="cena" SourceColumnNullMapping="false" SourceVersion="Original" />
  145. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_zaversheno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="zaversheno" SourceColumnNullMapping="true" SourceVersion="Original" />
  146. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_zaversheno" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="zaversheno" SourceColumnNullMapping="false" SourceVersion="Original" />
  147. </Parameters>
  148. </DbCommand>
  149. </DeleteCommand>
  150. <InsertCommand>
  151. <DbCommand CommandType="Text" ModifiedByUser="false">
  152. <CommandText>INSERT INTO [dbo].[predlozhenie] ([idklient], [idrielter], [adres], [plosh], [etazh], [komnat], [cena], [zaversheno]) VALUES (@idklient, @idrielter, @adres, @plosh, @etazh, @komnat, @cena, @zaversheno);
  153. SELECT idpredlozhenie, idklient, idrielter, adres, plosh, etazh, komnat, cena, zaversheno FROM predlozhenie WHERE (idpredlozhenie = SCOPE_IDENTITY())</CommandText>
  154. <Parameters>
  155. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idklient" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idklient" SourceColumnNullMapping="false" SourceVersion="Current" />
  156. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idrielter" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idrielter" SourceColumnNullMapping="false" SourceVersion="Current" />
  157. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@adres" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="adres" SourceColumnNullMapping="false" SourceVersion="Current" />
  158. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@plosh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="plosh" SourceColumnNullMapping="false" SourceVersion="Current" />
  159. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@etazh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="etazh" SourceColumnNullMapping="false" SourceVersion="Current" />
  160. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@komnat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="komnat" SourceColumnNullMapping="false" SourceVersion="Current" />
  161. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@cena" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="cena" SourceColumnNullMapping="false" SourceVersion="Current" />
  162. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@zaversheno" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="zaversheno" SourceColumnNullMapping="false" SourceVersion="Current" />
  163. </Parameters>
  164. </DbCommand>
  165. </InsertCommand>
  166. <SelectCommand>
  167. <DbCommand CommandType="Text" ModifiedByUser="false">
  168. <CommandText>SELECT idpredlozhenie, idklient, idrielter, adres, plosh, etazh, komnat, cena, zaversheno FROM dbo.predlozhenie</CommandText>
  169. <Parameters />
  170. </DbCommand>
  171. </SelectCommand>
  172. <UpdateCommand>
  173. <DbCommand CommandType="Text" ModifiedByUser="false">
  174. <CommandText>UPDATE [dbo].[predlozhenie] SET [idklient] = @idklient, [idrielter] = @idrielter, [adres] = @adres, [plosh] = @plosh, [etazh] = @etazh, [komnat] = @komnat, [cena] = @cena, [zaversheno] = @zaversheno WHERE (([idpredlozhenie] = @Original_idpredlozhenie) AND ([idklient] = @Original_idklient) AND ([idrielter] = @Original_idrielter) AND ((@IsNull_adres = 1 AND [adres] IS NULL) OR ([adres] = @Original_adres)) AND ((@IsNull_plosh = 1 AND [plosh] IS NULL) OR ([plosh] = @Original_plosh)) AND ((@IsNull_etazh = 1 AND [etazh] IS NULL) OR ([etazh] = @Original_etazh)) AND ((@IsNull_komnat = 1 AND [komnat] IS NULL) OR ([komnat] = @Original_komnat)) AND ((@IsNull_cena = 1 AND [cena] IS NULL) OR ([cena] = @Original_cena)) AND ((@IsNull_zaversheno = 1 AND [zaversheno] IS NULL) OR ([zaversheno] = @Original_zaversheno)));
  175. SELECT idpredlozhenie, idklient, idrielter, adres, plosh, etazh, komnat, cena, zaversheno FROM predlozhenie WHERE (idpredlozhenie = @idpredlozhenie)</CommandText>
  176. <Parameters>
  177. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idklient" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idklient" SourceColumnNullMapping="false" SourceVersion="Current" />
  178. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idrielter" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idrielter" SourceColumnNullMapping="false" SourceVersion="Current" />
  179. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@adres" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="adres" SourceColumnNullMapping="false" SourceVersion="Current" />
  180. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@plosh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="plosh" SourceColumnNullMapping="false" SourceVersion="Current" />
  181. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@etazh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="etazh" SourceColumnNullMapping="false" SourceVersion="Current" />
  182. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@komnat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="komnat" SourceColumnNullMapping="false" SourceVersion="Current" />
  183. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@cena" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="cena" SourceColumnNullMapping="false" SourceVersion="Current" />
  184. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@zaversheno" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="zaversheno" SourceColumnNullMapping="false" SourceVersion="Current" />
  185. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idpredlozhenie" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idpredlozhenie" SourceColumnNullMapping="false" SourceVersion="Original" />
  186. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idklient" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idklient" SourceColumnNullMapping="false" SourceVersion="Original" />
  187. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idrielter" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idrielter" SourceColumnNullMapping="false" SourceVersion="Original" />
  188. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_adres" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="adres" SourceColumnNullMapping="true" SourceVersion="Original" />
  189. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_adres" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="adres" SourceColumnNullMapping="false" SourceVersion="Original" />
  190. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_plosh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="plosh" SourceColumnNullMapping="true" SourceVersion="Original" />
  191. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_plosh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="plosh" SourceColumnNullMapping="false" SourceVersion="Original" />
  192. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_etazh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="etazh" SourceColumnNullMapping="true" SourceVersion="Original" />
  193. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_etazh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="etazh" SourceColumnNullMapping="false" SourceVersion="Original" />
  194. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_komnat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="komnat" SourceColumnNullMapping="true" SourceVersion="Original" />
  195. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_komnat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="komnat" SourceColumnNullMapping="false" SourceVersion="Original" />
  196. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_cena" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cena" SourceColumnNullMapping="true" SourceVersion="Original" />
  197. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_cena" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="cena" SourceColumnNullMapping="false" SourceVersion="Original" />
  198. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_zaversheno" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="zaversheno" SourceColumnNullMapping="true" SourceVersion="Original" />
  199. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_zaversheno" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="zaversheno" SourceColumnNullMapping="false" SourceVersion="Original" />
  200. <Parameter AllowDbNull="false" AutogeneratedName="idpredlozhenie" ColumnName="idpredlozhenie" DataSourceName="DBAgentstvo.dbo.predlozhenie" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idpredlozhenie" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idpredlozhenie" SourceColumnNullMapping="false" SourceVersion="Current" />
  201. </Parameters>
  202. </DbCommand>
  203. </UpdateCommand>
  204. </DbSource>
  205. </MainSource>
  206. <Mappings>
  207. <Mapping SourceColumn="idpredlozhenie" DataSetColumn="idpredlozhenie" />
  208. <Mapping SourceColumn="idklient" DataSetColumn="idklient" />
  209. <Mapping SourceColumn="idrielter" DataSetColumn="idrielter" />
  210. <Mapping SourceColumn="adres" DataSetColumn="adres" />
  211. <Mapping SourceColumn="plosh" DataSetColumn="plosh" />
  212. <Mapping SourceColumn="etazh" DataSetColumn="etazh" />
  213. <Mapping SourceColumn="komnat" DataSetColumn="komnat" />
  214. <Mapping SourceColumn="cena" DataSetColumn="cena" />
  215. <Mapping SourceColumn="zaversheno" DataSetColumn="zaversheno" />
  216. </Mappings>
  217. <Sources />
  218. </TableAdapter>
  219. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SdelkaTableAdapter" GeneratorDataComponentClassName="SdelkaTableAdapter" Name="Sdelka" UserDataComponentName="SdelkaTableAdapter">
  220. <MainSource>
  221. <DbSource ConnectionRef="DBAgentstvoConnectionString (Settings)" DbObjectName="DBAgentstvo.dbo.Sdelka" 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">
  222. <DeleteCommand>
  223. <DbCommand CommandType="Text" ModifiedByUser="false">
  224. <CommandText>DELETE FROM [dbo].[Sdelka] WHERE (([idsdelka] = @Original_idsdelka) AND ([idpotrebnost] = @Original_idpotrebnost) AND ([idpredlozhenie] = @Original_idpredlozhenie) AND ((@IsNull_datesdelka = 1 AND [datesdelka] IS NULL) OR ([datesdelka] = @Original_datesdelka)))</CommandText>
  225. <Parameters>
  226. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idsdelka" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idsdelka" SourceColumnNullMapping="false" SourceVersion="Original" />
  227. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idpotrebnost" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idpotrebnost" SourceColumnNullMapping="false" SourceVersion="Original" />
  228. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idpredlozhenie" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idpredlozhenie" SourceColumnNullMapping="false" SourceVersion="Original" />
  229. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_datesdelka" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="datesdelka" SourceColumnNullMapping="true" SourceVersion="Original" />
  230. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_datesdelka" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="datesdelka" SourceColumnNullMapping="false" SourceVersion="Original" />
  231. </Parameters>
  232. </DbCommand>
  233. </DeleteCommand>
  234. <InsertCommand>
  235. <DbCommand CommandType="Text" ModifiedByUser="false">
  236. <CommandText>INSERT INTO [dbo].[Sdelka] ([idpotrebnost], [idpredlozhenie], [datesdelka]) VALUES (@idpotrebnost, @idpredlozhenie, @datesdelka);
  237. SELECT idsdelka, idpotrebnost, idpredlozhenie, datesdelka FROM Sdelka WHERE (idsdelka = SCOPE_IDENTITY())</CommandText>
  238. <Parameters>
  239. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idpotrebnost" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idpotrebnost" SourceColumnNullMapping="false" SourceVersion="Current" />
  240. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idpredlozhenie" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idpredlozhenie" SourceColumnNullMapping="false" SourceVersion="Current" />
  241. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@datesdelka" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="datesdelka" SourceColumnNullMapping="false" SourceVersion="Current" />
  242. </Parameters>
  243. </DbCommand>
  244. </InsertCommand>
  245. <SelectCommand>
  246. <DbCommand CommandType="Text" ModifiedByUser="false">
  247. <CommandText>SELECT idsdelka, idpotrebnost, idpredlozhenie, datesdelka FROM dbo.Sdelka</CommandText>
  248. <Parameters />
  249. </DbCommand>
  250. </SelectCommand>
  251. <UpdateCommand>
  252. <DbCommand CommandType="Text" ModifiedByUser="false">
  253. <CommandText>UPDATE [dbo].[Sdelka] SET [idpotrebnost] = @idpotrebnost, [idpredlozhenie] = @idpredlozhenie, [datesdelka] = @datesdelka WHERE (([idsdelka] = @Original_idsdelka) AND ([idpotrebnost] = @Original_idpotrebnost) AND ([idpredlozhenie] = @Original_idpredlozhenie) AND ((@IsNull_datesdelka = 1 AND [datesdelka] IS NULL) OR ([datesdelka] = @Original_datesdelka)));
  254. SELECT idsdelka, idpotrebnost, idpredlozhenie, datesdelka FROM Sdelka WHERE (idsdelka = @idsdelka)</CommandText>
  255. <Parameters>
  256. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idpotrebnost" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idpotrebnost" SourceColumnNullMapping="false" SourceVersion="Current" />
  257. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idpredlozhenie" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idpredlozhenie" SourceColumnNullMapping="false" SourceVersion="Current" />
  258. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@datesdelka" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="datesdelka" SourceColumnNullMapping="false" SourceVersion="Current" />
  259. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idsdelka" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idsdelka" SourceColumnNullMapping="false" SourceVersion="Original" />
  260. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idpotrebnost" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idpotrebnost" SourceColumnNullMapping="false" SourceVersion="Original" />
  261. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idpredlozhenie" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idpredlozhenie" SourceColumnNullMapping="false" SourceVersion="Original" />
  262. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_datesdelka" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="datesdelka" SourceColumnNullMapping="true" SourceVersion="Original" />
  263. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_datesdelka" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="datesdelka" SourceColumnNullMapping="false" SourceVersion="Original" />
  264. <Parameter AllowDbNull="false" AutogeneratedName="idsdelka" ColumnName="idsdelka" DataSourceName="DBAgentstvo.dbo.Sdelka" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idsdelka" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idsdelka" SourceColumnNullMapping="false" SourceVersion="Current" />
  265. </Parameters>
  266. </DbCommand>
  267. </UpdateCommand>
  268. </DbSource>
  269. </MainSource>
  270. <Mappings>
  271. <Mapping SourceColumn="idsdelka" DataSetColumn="idsdelka" />
  272. <Mapping SourceColumn="idpotrebnost" DataSetColumn="idpotrebnost" />
  273. <Mapping SourceColumn="idpredlozhenie" DataSetColumn="idpredlozhenie" />
  274. <Mapping SourceColumn="datesdelka" DataSetColumn="datesdelka" />
  275. </Mappings>
  276. <Sources />
  277. </TableAdapter>
  278. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UsersTableAdapter" GeneratorDataComponentClassName="UsersTableAdapter" Name="Users" UserDataComponentName="UsersTableAdapter">
  279. <MainSource>
  280. <DbSource ConnectionRef="DBAgentstvoConnectionString (Settings)" DbObjectName="DBAgentstvo.dbo.Users" 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">
  281. <DeleteCommand>
  282. <DbCommand CommandType="Text" ModifiedByUser="false">
  283. <CommandText>DELETE FROM [dbo].[Users] WHERE (([idusers] = @Original_idusers) AND ((@IsNull_fam = 1 AND [fam] IS NULL) OR ([fam] = @Original_fam)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ([login] = @Original_login) AND ([password] = @Original_password) AND ([type] = @Original_type))</CommandText>
  284. <Parameters>
  285. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idusers" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idusers" SourceColumnNullMapping="false" SourceVersion="Original" />
  286. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fam" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fam" SourceColumnNullMapping="true" SourceVersion="Original" />
  287. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_fam" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fam" SourceColumnNullMapping="false" SourceVersion="Original" />
  288. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
  289. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
  290. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_login" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="login" SourceColumnNullMapping="false" SourceVersion="Original" />
  291. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="password" SourceColumnNullMapping="false" SourceVersion="Original" />
  292. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_type" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Original" />
  293. </Parameters>
  294. </DbCommand>
  295. </DeleteCommand>
  296. <InsertCommand>
  297. <DbCommand CommandType="Text" ModifiedByUser="false">
  298. <CommandText>INSERT INTO [dbo].[Users] ([fam], [name], [login], [password], [type], [photo]) VALUES (@fam, @name, @login, @password, @type, @photo);
  299. SELECT idusers, fam, name, login, password, type, photo FROM Users WHERE (idusers = SCOPE_IDENTITY())</CommandText>
  300. <Parameters>
  301. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fam" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fam" SourceColumnNullMapping="false" SourceVersion="Current" />
  302. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
  303. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@login" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="login" SourceColumnNullMapping="false" SourceVersion="Current" />
  304. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="password" SourceColumnNullMapping="false" SourceVersion="Current" />
  305. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@type" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Current" />
  306. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@photo" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="photo" SourceColumnNullMapping="false" SourceVersion="Current" />
  307. </Parameters>
  308. </DbCommand>
  309. </InsertCommand>
  310. <SelectCommand>
  311. <DbCommand CommandType="Text" ModifiedByUser="false">
  312. <CommandText>SELECT idusers, fam, name, login, password, type, photo FROM dbo.Users</CommandText>
  313. <Parameters />
  314. </DbCommand>
  315. </SelectCommand>
  316. <UpdateCommand>
  317. <DbCommand CommandType="Text" ModifiedByUser="false">
  318. <CommandText>UPDATE [dbo].[Users] SET [fam] = @fam, [name] = @name, [login] = @login, [password] = @password, [type] = @type, [photo] = @photo WHERE (([idusers] = @Original_idusers) AND ((@IsNull_fam = 1 AND [fam] IS NULL) OR ([fam] = @Original_fam)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ([login] = @Original_login) AND ([password] = @Original_password) AND ([type] = @Original_type));
  319. SELECT idusers, fam, name, login, password, type, photo FROM Users WHERE (idusers = @idusers)</CommandText>
  320. <Parameters>
  321. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@fam" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fam" SourceColumnNullMapping="false" SourceVersion="Current" />
  322. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
  323. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@login" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="login" SourceColumnNullMapping="false" SourceVersion="Current" />
  324. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="password" SourceColumnNullMapping="false" SourceVersion="Current" />
  325. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@type" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Current" />
  326. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@photo" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="photo" SourceColumnNullMapping="false" SourceVersion="Current" />
  327. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idusers" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idusers" SourceColumnNullMapping="false" SourceVersion="Original" />
  328. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fam" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fam" SourceColumnNullMapping="true" SourceVersion="Original" />
  329. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_fam" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fam" SourceColumnNullMapping="false" SourceVersion="Original" />
  330. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
  331. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
  332. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_login" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="login" SourceColumnNullMapping="false" SourceVersion="Original" />
  333. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_password" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="password" SourceColumnNullMapping="false" SourceVersion="Original" />
  334. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_type" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Original" />
  335. <Parameter AllowDbNull="false" AutogeneratedName="idusers" ColumnName="idusers" DataSourceName="DBAgentstvo.dbo.Users" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idusers" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idusers" SourceColumnNullMapping="false" SourceVersion="Current" />
  336. </Parameters>
  337. </DbCommand>
  338. </UpdateCommand>
  339. </DbSource>
  340. </MainSource>
  341. <Mappings>
  342. <Mapping SourceColumn="idusers" DataSetColumn="idusers" />
  343. <Mapping SourceColumn="fam" DataSetColumn="fam" />
  344. <Mapping SourceColumn="name" DataSetColumn="name" />
  345. <Mapping SourceColumn="login" DataSetColumn="login" />
  346. <Mapping SourceColumn="password" DataSetColumn="password" />
  347. <Mapping SourceColumn="type" DataSetColumn="type" />
  348. <Mapping SourceColumn="photo" DataSetColumn="photo" />
  349. </Mappings>
  350. <Sources />
  351. </TableAdapter>
  352. </Tables>
  353. <Sources />
  354. </DataSource>
  355. </xs:appinfo>
  356. </xs:annotation>
  357. <xs:element name="DBAgentstvoDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="DBAgentstvoDataSet" msprop:Generator_UserDSName="DBAgentstvoDataSet">
  358. <xs:complexType>
  359. <xs:choice minOccurs="0" maxOccurs="unbounded">
  360. <xs:element name="Potrebnost" msprop:Generator_TableClassName="PotrebnostDataTable" msprop:Generator_TableVarName="tablePotrebnost" msprop:Generator_TablePropName="Potrebnost" msprop:Generator_RowDeletingName="PotrebnostRowDeleting" msprop:Generator_RowChangingName="PotrebnostRowChanging" msprop:Generator_RowEvHandlerName="PotrebnostRowChangeEventHandler" msprop:Generator_RowDeletedName="PotrebnostRowDeleted" msprop:Generator_UserTableName="Potrebnost" msprop:Generator_RowChangedName="PotrebnostRowChanged" msprop:Generator_RowEvArgName="PotrebnostRowChangeEvent" msprop:Generator_RowClassName="PotrebnostRow">
  361. <xs:complexType>
  362. <xs:sequence>
  363. <xs:element name="idpotrebnost" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnidpotrebnost" msprop:Generator_ColumnPropNameInRow="idpotrebnost" msprop:Generator_ColumnPropNameInTable="idpotrebnostColumn" msprop:Generator_UserColumnName="idpotrebnost" type="xs:int" />
  364. <xs:element name="idklient" msprop:Generator_ColumnVarNameInTable="columnidklient" msprop:Generator_ColumnPropNameInRow="idklient" msprop:Generator_ColumnPropNameInTable="idklientColumn" msprop:Generator_UserColumnName="idklient" type="xs:int" />
  365. <xs:element name="idrielter" msprop:Generator_ColumnVarNameInTable="columnidrielter" msprop:Generator_ColumnPropNameInRow="idrielter" msprop:Generator_ColumnPropNameInTable="idrielterColumn" msprop:Generator_UserColumnName="idrielter" type="xs:int" />
  366. <xs:element name="minplosh" msprop:Generator_ColumnVarNameInTable="columnminplosh" msprop:Generator_ColumnPropNameInRow="minplosh" msprop:Generator_ColumnPropNameInTable="minploshColumn" msprop:Generator_UserColumnName="minplosh" type="xs:int" minOccurs="0" />
  367. <xs:element name="maxplosh" msprop:Generator_ColumnVarNameInTable="columnmaxplosh" msprop:Generator_ColumnPropNameInRow="maxplosh" msprop:Generator_ColumnPropNameInTable="maxploshColumn" msprop:Generator_UserColumnName="maxplosh" type="xs:int" minOccurs="0" />
  368. <xs:element name="minetazh" msprop:Generator_ColumnVarNameInTable="columnminetazh" msprop:Generator_ColumnPropNameInRow="minetazh" msprop:Generator_ColumnPropNameInTable="minetazhColumn" msprop:Generator_UserColumnName="minetazh" type="xs:int" minOccurs="0" />
  369. <xs:element name="maxetazh" msprop:Generator_ColumnVarNameInTable="columnmaxetazh" msprop:Generator_ColumnPropNameInRow="maxetazh" msprop:Generator_ColumnPropNameInTable="maxetazhColumn" msprop:Generator_UserColumnName="maxetazh" type="xs:int" minOccurs="0" />
  370. <xs:element name="minkomnat" msprop:Generator_ColumnVarNameInTable="columnminkomnat" msprop:Generator_ColumnPropNameInRow="minkomnat" msprop:Generator_ColumnPropNameInTable="minkomnatColumn" msprop:Generator_UserColumnName="minkomnat" type="xs:int" minOccurs="0" />
  371. <xs:element name="maxkomnat" msprop:Generator_ColumnVarNameInTable="columnmaxkomnat" msprop:Generator_ColumnPropNameInRow="maxkomnat" msprop:Generator_ColumnPropNameInTable="maxkomnatColumn" msprop:Generator_UserColumnName="maxkomnat" type="xs:int" minOccurs="0" />
  372. <xs:element name="mincena" msprop:Generator_ColumnVarNameInTable="columnmincena" msprop:Generator_ColumnPropNameInRow="mincena" msprop:Generator_ColumnPropNameInTable="mincenaColumn" msprop:Generator_UserColumnName="mincena" type="xs:decimal" minOccurs="0" />
  373. <xs:element name="maxcena" msprop:Generator_ColumnVarNameInTable="columnmaxcena" msprop:Generator_ColumnPropNameInRow="maxcena" msprop:Generator_ColumnPropNameInTable="maxcenaColumn" msprop:Generator_UserColumnName="maxcena" type="xs:decimal" minOccurs="0" />
  374. <xs:element name="zaversheno" msprop:Generator_ColumnVarNameInTable="columnzaversheno" msprop:Generator_ColumnPropNameInRow="zaversheno" msprop:Generator_ColumnPropNameInTable="zavershenoColumn" msprop:Generator_UserColumnName="zaversheno" type="xs:boolean" minOccurs="0" />
  375. </xs:sequence>
  376. </xs:complexType>
  377. </xs:element>
  378. <xs:element name="predlozhenie" msprop:Generator_TableClassName="predlozhenieDataTable" msprop:Generator_TableVarName="tablepredlozhenie" msprop:Generator_TablePropName="predlozhenie" msprop:Generator_RowDeletingName="predlozhenieRowDeleting" msprop:Generator_RowChangingName="predlozhenieRowChanging" msprop:Generator_RowEvHandlerName="predlozhenieRowChangeEventHandler" msprop:Generator_RowDeletedName="predlozhenieRowDeleted" msprop:Generator_UserTableName="predlozhenie" msprop:Generator_RowChangedName="predlozhenieRowChanged" msprop:Generator_RowEvArgName="predlozhenieRowChangeEvent" msprop:Generator_RowClassName="predlozhenieRow">
  379. <xs:complexType>
  380. <xs:sequence>
  381. <xs:element name="idpredlozhenie" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnidpredlozhenie" msprop:Generator_ColumnPropNameInRow="idpredlozhenie" msprop:Generator_ColumnPropNameInTable="idpredlozhenieColumn" msprop:Generator_UserColumnName="idpredlozhenie" type="xs:int" />
  382. <xs:element name="idklient" msprop:Generator_ColumnVarNameInTable="columnidklient" msprop:Generator_ColumnPropNameInRow="idklient" msprop:Generator_ColumnPropNameInTable="idklientColumn" msprop:Generator_UserColumnName="idklient" type="xs:int" />
  383. <xs:element name="idrielter" msprop:Generator_ColumnVarNameInTable="columnidrielter" msprop:Generator_ColumnPropNameInRow="idrielter" msprop:Generator_ColumnPropNameInTable="idrielterColumn" msprop:Generator_UserColumnName="idrielter" type="xs:int" />
  384. <xs:element name="adres" msprop:Generator_ColumnVarNameInTable="columnadres" msprop:Generator_ColumnPropNameInRow="adres" msprop:Generator_ColumnPropNameInTable="adresColumn" msprop:Generator_UserColumnName="adres" minOccurs="0">
  385. <xs:simpleType>
  386. <xs:restriction base="xs:string">
  387. <xs:maxLength value="50" />
  388. </xs:restriction>
  389. </xs:simpleType>
  390. </xs:element>
  391. <xs:element name="plosh" msprop:Generator_ColumnVarNameInTable="columnplosh" msprop:Generator_ColumnPropNameInRow="plosh" msprop:Generator_ColumnPropNameInTable="ploshColumn" msprop:Generator_UserColumnName="plosh" type="xs:int" minOccurs="0" />
  392. <xs:element name="etazh" msprop:Generator_ColumnVarNameInTable="columnetazh" msprop:Generator_ColumnPropNameInRow="etazh" msprop:Generator_ColumnPropNameInTable="etazhColumn" msprop:Generator_UserColumnName="etazh" type="xs:int" minOccurs="0" />
  393. <xs:element name="komnat" msprop:Generator_ColumnVarNameInTable="columnkomnat" msprop:Generator_ColumnPropNameInRow="komnat" msprop:Generator_ColumnPropNameInTable="komnatColumn" msprop:Generator_UserColumnName="komnat" type="xs:int" minOccurs="0" />
  394. <xs:element name="cena" msprop:Generator_ColumnVarNameInTable="columncena" msprop:Generator_ColumnPropNameInRow="cena" msprop:Generator_ColumnPropNameInTable="cenaColumn" msprop:Generator_UserColumnName="cena" type="xs:decimal" minOccurs="0" />
  395. <xs:element name="zaversheno" msprop:Generator_ColumnVarNameInTable="columnzaversheno" msprop:Generator_ColumnPropNameInRow="zaversheno" msprop:Generator_ColumnPropNameInTable="zavershenoColumn" msprop:Generator_UserColumnName="zaversheno" type="xs:boolean" minOccurs="0" />
  396. </xs:sequence>
  397. </xs:complexType>
  398. </xs:element>
  399. <xs:element name="Sdelka" msprop:Generator_TableClassName="SdelkaDataTable" msprop:Generator_TableVarName="tableSdelka" msprop:Generator_TablePropName="Sdelka" msprop:Generator_RowDeletingName="SdelkaRowDeleting" msprop:Generator_RowChangingName="SdelkaRowChanging" msprop:Generator_RowEvHandlerName="SdelkaRowChangeEventHandler" msprop:Generator_RowDeletedName="SdelkaRowDeleted" msprop:Generator_UserTableName="Sdelka" msprop:Generator_RowChangedName="SdelkaRowChanged" msprop:Generator_RowEvArgName="SdelkaRowChangeEvent" msprop:Generator_RowClassName="SdelkaRow">
  400. <xs:complexType>
  401. <xs:sequence>
  402. <xs:element name="idsdelka" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnidsdelka" msprop:Generator_ColumnPropNameInRow="idsdelka" msprop:Generator_ColumnPropNameInTable="idsdelkaColumn" msprop:Generator_UserColumnName="idsdelka" type="xs:int" />
  403. <xs:element name="idpotrebnost" msprop:Generator_ColumnVarNameInTable="columnidpotrebnost" msprop:Generator_ColumnPropNameInRow="idpotrebnost" msprop:Generator_ColumnPropNameInTable="idpotrebnostColumn" msprop:Generator_UserColumnName="idpotrebnost" type="xs:int" />
  404. <xs:element name="idpredlozhenie" msprop:Generator_ColumnVarNameInTable="columnidpredlozhenie" msprop:Generator_ColumnPropNameInRow="idpredlozhenie" msprop:Generator_ColumnPropNameInTable="idpredlozhenieColumn" msprop:Generator_UserColumnName="idpredlozhenie" type="xs:int" />
  405. <xs:element name="datesdelka" msprop:Generator_ColumnVarNameInTable="columndatesdelka" msprop:Generator_ColumnPropNameInRow="datesdelka" msprop:Generator_ColumnPropNameInTable="datesdelkaColumn" msprop:Generator_UserColumnName="datesdelka" type="xs:dateTime" minOccurs="0" />
  406. </xs:sequence>
  407. </xs:complexType>
  408. </xs:element>
  409. <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">
  410. <xs:complexType>
  411. <xs:sequence>
  412. <xs:element name="idusers" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="1" msprop:Generator_ColumnVarNameInTable="columnidusers" msprop:Generator_ColumnPropNameInRow="idusers" msprop:Generator_ColumnPropNameInTable="idusersColumn" msprop:Generator_UserColumnName="idusers" type="xs:int" />
  413. <xs:element name="fam" msprop:Generator_ColumnVarNameInTable="columnfam" msprop:Generator_ColumnPropNameInRow="fam" msprop:Generator_ColumnPropNameInTable="famColumn" msprop:Generator_UserColumnName="fam" minOccurs="0">
  414. <xs:simpleType>
  415. <xs:restriction base="xs:string">
  416. <xs:maxLength value="50" />
  417. </xs:restriction>
  418. </xs:simpleType>
  419. </xs:element>
  420. <xs:element name="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0">
  421. <xs:simpleType>
  422. <xs:restriction base="xs:string">
  423. <xs:maxLength value="50" />
  424. </xs:restriction>
  425. </xs:simpleType>
  426. </xs:element>
  427. <xs:element name="login" msprop:Generator_ColumnVarNameInTable="columnlogin" msprop:Generator_ColumnPropNameInRow="login" msprop:Generator_ColumnPropNameInTable="loginColumn" msprop:Generator_UserColumnName="login">
  428. <xs:simpleType>
  429. <xs:restriction base="xs:string">
  430. <xs:maxLength value="50" />
  431. </xs:restriction>
  432. </xs:simpleType>
  433. </xs:element>
  434. <xs:element name="password" msprop:Generator_ColumnVarNameInTable="columnpassword" msprop:Generator_ColumnPropNameInRow="password" msprop:Generator_ColumnPropNameInTable="passwordColumn" msprop:Generator_UserColumnName="password">
  435. <xs:simpleType>
  436. <xs:restriction base="xs:string">
  437. <xs:maxLength value="50" />
  438. </xs:restriction>
  439. </xs:simpleType>
  440. </xs:element>
  441. <xs:element name="type" msprop:Generator_ColumnVarNameInTable="columntype" msprop:Generator_ColumnPropNameInRow="type" msprop:Generator_ColumnPropNameInTable="typeColumn" msprop:Generator_UserColumnName="type" default="1">
  442. <xs:simpleType>
  443. <xs:restriction base="xs:string">
  444. <xs:maxLength value="50" />
  445. </xs:restriction>
  446. </xs:simpleType>
  447. </xs:element>
  448. <xs:element name="photo" msprop:Generator_ColumnVarNameInTable="columnphoto" msprop:Generator_ColumnPropNameInRow="photo" msprop:Generator_ColumnPropNameInTable="photoColumn" msprop:Generator_UserColumnName="photo" type="xs:base64Binary" minOccurs="0" />
  449. </xs:sequence>
  450. </xs:complexType>
  451. </xs:element>
  452. </xs:choice>
  453. </xs:complexType>
  454. <xs:unique name="Constraint1" msdata:PrimaryKey="true">
  455. <xs:selector xpath=".//mstns:Potrebnost" />
  456. <xs:field xpath="mstns:idpotrebnost" />
  457. </xs:unique>
  458. <xs:unique name="predlozhenie_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  459. <xs:selector xpath=".//mstns:predlozhenie" />
  460. <xs:field xpath="mstns:idpredlozhenie" />
  461. </xs:unique>
  462. <xs:unique name="Sdelka_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  463. <xs:selector xpath=".//mstns:Sdelka" />
  464. <xs:field xpath="mstns:idsdelka" />
  465. </xs:unique>
  466. <xs:unique name="Users_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  467. <xs:selector xpath=".//mstns:Users" />
  468. <xs:field xpath="mstns:idusers" />
  469. </xs:unique>
  470. </xs:element>
  471. <xs:annotation>
  472. <xs:appinfo>
  473. <msdata:Relationship name="FK_Potrebnost_Users" msdata:parent="Users" msdata:child="Potrebnost" msdata:parentkey="idusers" msdata:childkey="idklient" msprop:Generator_UserChildTable="Potrebnost" msprop:Generator_ChildPropName="GetPotrebnostRowsByFK_Potrebnost_Users" msprop:Generator_UserRelationName="FK_Potrebnost_Users" msprop:Generator_RelationVarName="relationFK_Potrebnost_Users" msprop:Generator_UserParentTable="Users" msprop:Generator_ParentPropName="UsersRowByFK_Potrebnost_Users" />
  474. <msdata:Relationship name="FK_Potrebnost_Users1" msdata:parent="Users" msdata:child="Potrebnost" msdata:parentkey="idusers" msdata:childkey="idrielter" msprop:Generator_UserChildTable="Potrebnost" msprop:Generator_ChildPropName="GetPotrebnostRowsByFK_Potrebnost_Users1" msprop:Generator_UserRelationName="FK_Potrebnost_Users1" msprop:Generator_RelationVarName="relationFK_Potrebnost_Users1" msprop:Generator_UserParentTable="Users" msprop:Generator_ParentPropName="UsersRowByFK_Potrebnost_Users1" />
  475. <msdata:Relationship name="FK_predlozhenie_Users" msdata:parent="Users" msdata:child="predlozhenie" msdata:parentkey="idusers" msdata:childkey="idklient" msprop:Generator_UserChildTable="predlozhenie" msprop:Generator_ChildPropName="GetpredlozhenieRowsByFK_predlozhenie_Users" msprop:Generator_UserRelationName="FK_predlozhenie_Users" msprop:Generator_RelationVarName="relationFK_predlozhenie_Users" msprop:Generator_UserParentTable="Users" msprop:Generator_ParentPropName="UsersRowByFK_predlozhenie_Users" />
  476. <msdata:Relationship name="FK_predlozhenie_Users1" msdata:parent="Users" msdata:child="predlozhenie" msdata:parentkey="idusers" msdata:childkey="idrielter" msprop:Generator_UserChildTable="predlozhenie" msprop:Generator_ChildPropName="GetpredlozhenieRowsByFK_predlozhenie_Users1" msprop:Generator_UserRelationName="FK_predlozhenie_Users1" msprop:Generator_RelationVarName="relationFK_predlozhenie_Users1" msprop:Generator_UserParentTable="Users" msprop:Generator_ParentPropName="UsersRowByFK_predlozhenie_Users1" />
  477. <msdata:Relationship name="FK_Sdelka_Potrebnost" msdata:parent="Potrebnost" msdata:child="Sdelka" msdata:parentkey="idpotrebnost" msdata:childkey="idpotrebnost" msprop:Generator_UserChildTable="Sdelka" msprop:Generator_ChildPropName="GetSdelkaRows" msprop:Generator_UserRelationName="FK_Sdelka_Potrebnost" msprop:Generator_ParentPropName="PotrebnostRow" msprop:Generator_RelationVarName="relationFK_Sdelka_Potrebnost" msprop:Generator_UserParentTable="Potrebnost" />
  478. <msdata:Relationship name="FK_Sdelka_predlozhenie" msdata:parent="predlozhenie" msdata:child="Sdelka" msdata:parentkey="idpredlozhenie" msdata:childkey="idpredlozhenie" msprop:Generator_UserChildTable="Sdelka" msprop:Generator_ChildPropName="GetSdelkaRows" msprop:Generator_UserRelationName="FK_Sdelka_predlozhenie" msprop:Generator_ParentPropName="predlozhenieRow" msprop:Generator_RelationVarName="relationFK_Sdelka_predlozhenie" msprop:Generator_UserParentTable="predlozhenie" />
  479. </xs:appinfo>
  480. </xs:annotation>
  481. </xs:schema>