Avtodrive_02DataSet.xsd 75 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="Avtodrive_02DataSet" targetNamespace="http://tempuri.org/Avtodrive_02DataSet.xsd" xmlns:mstns="http://tempuri.org/Avtodrive_02DataSet.xsd" xmlns="http://tempuri.org/Avtodrive_02DataSet.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="Avtodrive_02ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="Avtodrive_02ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Avtoprok.Properties.Settings.GlobalReference.Default.Avtodrive_02ConnectionString" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CarTableAdapter" GeneratorDataComponentClassName="CarTableAdapter" Name="Car" UserDataComponentName="CarTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="Avtodrive_02ConnectionString (Settings)" DbObjectName="Avtodrive_02.dbo.Car" 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].[Car] WHERE (([ID] = @Original_ID) AND ((@IsNull_Model = 1 AND [Model] IS NULL) OR ([Model] = @Original_Model)) AND ((@IsNull_Color = 1 AND [Color] IS NULL) OR ([Color] = @Original_Color)) AND ((@IsNull_CarManufactureDate = 1 AND [CarManufactureDate] IS NULL) OR ([CarManufactureDate] = @Original_CarManufactureDate)) AND ((@IsNull_GovermantNumber = 1 AND [GovermantNumber] IS NULL) OR ([GovermantNumber] = @Original_GovermantNumber)) AND ((@IsNull_CarInsuranceCost = 1 AND [CarInsuranceCost] IS NULL) OR ([CarInsuranceCost] = @Original_CarInsuranceCost)) AND ((@IsNull_OneDayCost = 1 AND [OneDayCost] IS NULL) OR ([OneDayCost] = @Original_OneDayCost)))</CommandText>
  16. <Parameters>
  17. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  18. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Model" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Model" SourceColumnNullMapping="true" SourceVersion="Original" />
  19. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Model" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Model" SourceColumnNullMapping="false" SourceVersion="Original" />
  20. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Color" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Color" SourceColumnNullMapping="true" SourceVersion="Original" />
  21. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Color" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Color" SourceColumnNullMapping="false" SourceVersion="Original" />
  22. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CarManufactureDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CarManufactureDate" SourceColumnNullMapping="true" SourceVersion="Original" />
  23. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_CarManufactureDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="CarManufactureDate" SourceColumnNullMapping="false" SourceVersion="Original" />
  24. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_GovermantNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="GovermantNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
  25. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_GovermantNumber" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="GovermantNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
  26. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CarInsuranceCost" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CarInsuranceCost" SourceColumnNullMapping="true" SourceVersion="Original" />
  27. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_CarInsuranceCost" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CarInsuranceCost" SourceColumnNullMapping="false" SourceVersion="Original" />
  28. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OneDayCost" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OneDayCost" SourceColumnNullMapping="true" SourceVersion="Original" />
  29. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_OneDayCost" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="OneDayCost" SourceColumnNullMapping="false" SourceVersion="Original" />
  30. </Parameters>
  31. </DbCommand>
  32. </DeleteCommand>
  33. <InsertCommand>
  34. <DbCommand CommandType="Text" ModifiedByUser="false">
  35. <CommandText>INSERT INTO [dbo].[Car] ([Model], [Color], [CarManufactureDate], [GovermantNumber], [CarInsuranceCost], [OneDayCost]) VALUES (@Model, @Color, @CarManufactureDate, @GovermantNumber, @CarInsuranceCost, @OneDayCost);
  36. SELECT ID, Model, Color, CarManufactureDate, GovermantNumber, CarInsuranceCost, OneDayCost FROM Car WHERE (ID = SCOPE_IDENTITY())</CommandText>
  37. <Parameters>
  38. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Model" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Model" SourceColumnNullMapping="false" SourceVersion="Current" />
  39. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Color" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Color" SourceColumnNullMapping="false" SourceVersion="Current" />
  40. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@CarManufactureDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="CarManufactureDate" SourceColumnNullMapping="false" SourceVersion="Current" />
  41. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@GovermantNumber" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="GovermantNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
  42. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@CarInsuranceCost" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CarInsuranceCost" SourceColumnNullMapping="false" SourceVersion="Current" />
  43. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@OneDayCost" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="OneDayCost" SourceColumnNullMapping="false" SourceVersion="Current" />
  44. </Parameters>
  45. </DbCommand>
  46. </InsertCommand>
  47. <SelectCommand>
  48. <DbCommand CommandType="Text" ModifiedByUser="false">
  49. <CommandText>SELECT ID, Model, Color, CarManufactureDate, GovermantNumber, CarInsuranceCost, OneDayCost FROM dbo.Car</CommandText>
  50. <Parameters />
  51. </DbCommand>
  52. </SelectCommand>
  53. <UpdateCommand>
  54. <DbCommand CommandType="Text" ModifiedByUser="false">
  55. <CommandText>UPDATE [dbo].[Car] SET [Model] = @Model, [Color] = @Color, [CarManufactureDate] = @CarManufactureDate, [GovermantNumber] = @GovermantNumber, [CarInsuranceCost] = @CarInsuranceCost, [OneDayCost] = @OneDayCost WHERE (([ID] = @Original_ID) AND ((@IsNull_Model = 1 AND [Model] IS NULL) OR ([Model] = @Original_Model)) AND ((@IsNull_Color = 1 AND [Color] IS NULL) OR ([Color] = @Original_Color)) AND ((@IsNull_CarManufactureDate = 1 AND [CarManufactureDate] IS NULL) OR ([CarManufactureDate] = @Original_CarManufactureDate)) AND ((@IsNull_GovermantNumber = 1 AND [GovermantNumber] IS NULL) OR ([GovermantNumber] = @Original_GovermantNumber)) AND ((@IsNull_CarInsuranceCost = 1 AND [CarInsuranceCost] IS NULL) OR ([CarInsuranceCost] = @Original_CarInsuranceCost)) AND ((@IsNull_OneDayCost = 1 AND [OneDayCost] IS NULL) OR ([OneDayCost] = @Original_OneDayCost)));
  56. SELECT ID, Model, Color, CarManufactureDate, GovermantNumber, CarInsuranceCost, OneDayCost FROM Car WHERE (ID = @ID)</CommandText>
  57. <Parameters>
  58. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Model" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Model" SourceColumnNullMapping="false" SourceVersion="Current" />
  59. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Color" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Color" SourceColumnNullMapping="false" SourceVersion="Current" />
  60. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@CarManufactureDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="CarManufactureDate" SourceColumnNullMapping="false" SourceVersion="Current" />
  61. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@GovermantNumber" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="GovermantNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
  62. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@CarInsuranceCost" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CarInsuranceCost" SourceColumnNullMapping="false" SourceVersion="Current" />
  63. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@OneDayCost" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="OneDayCost" SourceColumnNullMapping="false" SourceVersion="Current" />
  64. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  65. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Model" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Model" SourceColumnNullMapping="true" SourceVersion="Original" />
  66. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Model" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Model" SourceColumnNullMapping="false" SourceVersion="Original" />
  67. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Color" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Color" SourceColumnNullMapping="true" SourceVersion="Original" />
  68. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Color" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Color" SourceColumnNullMapping="false" SourceVersion="Original" />
  69. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CarManufactureDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CarManufactureDate" SourceColumnNullMapping="true" SourceVersion="Original" />
  70. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_CarManufactureDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="CarManufactureDate" SourceColumnNullMapping="false" SourceVersion="Original" />
  71. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_GovermantNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="GovermantNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
  72. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_GovermantNumber" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="GovermantNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
  73. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CarInsuranceCost" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CarInsuranceCost" SourceColumnNullMapping="true" SourceVersion="Original" />
  74. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_CarInsuranceCost" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CarInsuranceCost" SourceColumnNullMapping="false" SourceVersion="Original" />
  75. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OneDayCost" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OneDayCost" SourceColumnNullMapping="true" SourceVersion="Original" />
  76. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_OneDayCost" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="OneDayCost" SourceColumnNullMapping="false" SourceVersion="Original" />
  77. <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="Avtodrive_02.dbo.Car" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  78. </Parameters>
  79. </DbCommand>
  80. </UpdateCommand>
  81. </DbSource>
  82. </MainSource>
  83. <Mappings>
  84. <Mapping SourceColumn="ID" DataSetColumn="ID" />
  85. <Mapping SourceColumn="Model" DataSetColumn="Model" />
  86. <Mapping SourceColumn="Color" DataSetColumn="Color" />
  87. <Mapping SourceColumn="CarManufactureDate" DataSetColumn="CarManufactureDate" />
  88. <Mapping SourceColumn="GovermantNumber" DataSetColumn="GovermantNumber" />
  89. <Mapping SourceColumn="CarInsuranceCost" DataSetColumn="CarInsuranceCost" />
  90. <Mapping SourceColumn="OneDayCost" DataSetColumn="OneDayCost" />
  91. </Mappings>
  92. <Sources />
  93. </TableAdapter>
  94. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ClientTableAdapter" GeneratorDataComponentClassName="ClientTableAdapter" Name="Client" UserDataComponentName="ClientTableAdapter">
  95. <MainSource>
  96. <DbSource ConnectionRef="Avtodrive_02ConnectionString (Settings)" DbObjectName="Avtodrive_02.dbo.Client" 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">
  97. <DeleteCommand>
  98. <DbCommand CommandType="Text" ModifiedByUser="false">
  99. <CommandText>DELETE FROM [dbo].[Client] WHERE (([ID] = @Original_ID) AND ((@IsNull_FIO = 1 AND [FIO] IS NULL) OR ([FIO] = @Original_FIO)) AND ((@IsNull_Pasport = 1 AND [Pasport] IS NULL) OR ([Pasport] = @Original_Pasport)) AND ((@IsNull_Phone = 1 AND [Phone] IS NULL) OR ([Phone] = @Original_Phone)) AND ((@IsNull_Address = 1 AND [Address] IS NULL) OR ([Address] = @Original_Address)))</CommandText>
  100. <Parameters>
  101. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  102. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FIO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FIO" SourceColumnNullMapping="true" SourceVersion="Original" />
  103. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_FIO" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="FIO" SourceColumnNullMapping="false" SourceVersion="Original" />
  104. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Pasport" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Pasport" SourceColumnNullMapping="true" SourceVersion="Original" />
  105. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Pasport" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Pasport" SourceColumnNullMapping="false" SourceVersion="Original" />
  106. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Phone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="true" SourceVersion="Original" />
  107. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Phone" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="false" SourceVersion="Original" />
  108. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Address" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="true" SourceVersion="Original" />
  109. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Address" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Original" />
  110. </Parameters>
  111. </DbCommand>
  112. </DeleteCommand>
  113. <InsertCommand>
  114. <DbCommand CommandType="Text" ModifiedByUser="false">
  115. <CommandText>INSERT INTO [dbo].[Client] ([FIO], [Pasport], [Phone], [Address]) VALUES (@FIO, @Pasport, @Phone, @Address);
  116. SELECT ID, FIO, Pasport, Phone, Address FROM Client WHERE (ID = SCOPE_IDENTITY())</CommandText>
  117. <Parameters>
  118. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@FIO" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="FIO" SourceColumnNullMapping="false" SourceVersion="Current" />
  119. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Pasport" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Pasport" SourceColumnNullMapping="false" SourceVersion="Current" />
  120. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Phone" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="false" SourceVersion="Current" />
  121. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
  122. </Parameters>
  123. </DbCommand>
  124. </InsertCommand>
  125. <SelectCommand>
  126. <DbCommand CommandType="Text" ModifiedByUser="false">
  127. <CommandText>SELECT ID, FIO, Pasport, Phone, Address FROM dbo.Client</CommandText>
  128. <Parameters />
  129. </DbCommand>
  130. </SelectCommand>
  131. <UpdateCommand>
  132. <DbCommand CommandType="Text" ModifiedByUser="false">
  133. <CommandText>UPDATE [dbo].[Client] SET [FIO] = @FIO, [Pasport] = @Pasport, [Phone] = @Phone, [Address] = @Address WHERE (([ID] = @Original_ID) AND ((@IsNull_FIO = 1 AND [FIO] IS NULL) OR ([FIO] = @Original_FIO)) AND ((@IsNull_Pasport = 1 AND [Pasport] IS NULL) OR ([Pasport] = @Original_Pasport)) AND ((@IsNull_Phone = 1 AND [Phone] IS NULL) OR ([Phone] = @Original_Phone)) AND ((@IsNull_Address = 1 AND [Address] IS NULL) OR ([Address] = @Original_Address)));
  134. SELECT ID, FIO, Pasport, Phone, Address FROM Client WHERE (ID = @ID)</CommandText>
  135. <Parameters>
  136. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@FIO" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="FIO" SourceColumnNullMapping="false" SourceVersion="Current" />
  137. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Pasport" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Pasport" SourceColumnNullMapping="false" SourceVersion="Current" />
  138. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Phone" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="false" SourceVersion="Current" />
  139. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
  140. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  141. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FIO" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FIO" SourceColumnNullMapping="true" SourceVersion="Original" />
  142. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_FIO" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="FIO" SourceColumnNullMapping="false" SourceVersion="Original" />
  143. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Pasport" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Pasport" SourceColumnNullMapping="true" SourceVersion="Original" />
  144. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Pasport" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Pasport" SourceColumnNullMapping="false" SourceVersion="Original" />
  145. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Phone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="true" SourceVersion="Original" />
  146. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Phone" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="false" SourceVersion="Original" />
  147. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Address" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="true" SourceVersion="Original" />
  148. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Address" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Original" />
  149. <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="Avtodrive_02.dbo.Client" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  150. </Parameters>
  151. </DbCommand>
  152. </UpdateCommand>
  153. </DbSource>
  154. </MainSource>
  155. <Mappings>
  156. <Mapping SourceColumn="ID" DataSetColumn="ID" />
  157. <Mapping SourceColumn="FIO" DataSetColumn="FIO" />
  158. <Mapping SourceColumn="Pasport" DataSetColumn="Pasport" />
  159. <Mapping SourceColumn="Phone" DataSetColumn="Phone" />
  160. <Mapping SourceColumn="Address" DataSetColumn="Address" />
  161. </Mappings>
  162. <Sources />
  163. </TableAdapter>
  164. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Order_TableAdapter" GeneratorDataComponentClassName="Order_TableAdapter" Name="Order_" UserDataComponentName="Order_TableAdapter">
  165. <MainSource>
  166. <DbSource ConnectionRef="Avtodrive_02ConnectionString (Settings)" DbObjectName="Avtodrive_02.dbo.Order_" 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">
  167. <DeleteCommand>
  168. <DbCommand CommandType="Text" ModifiedByUser="false">
  169. <CommandText>DELETE FROM [dbo].[Order_] WHERE (([ID] = @Original_ID) AND ((@IsNull_ID_Client = 1 AND [ID_Client] IS NULL) OR ([ID_Client] = @Original_ID_Client)) AND ((@IsNull_ID_Car = 1 AND [ID_Car] IS NULL) OR ([ID_Car] = @Original_ID_Car)) AND ((@IsNull_Date_order = 1 AND [Date_order] IS NULL) OR ([Date_order] = @Original_Date_order)) AND ((@IsNull_OrderTimeDay = 1 AND [OrderTimeDay] IS NULL) OR ([OrderTimeDay] = @Original_OrderTimeDay)))</CommandText>
  170. <Parameters>
  171. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  172. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ID_Client" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Client" SourceColumnNullMapping="true" SourceVersion="Original" />
  173. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_Client" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Client" SourceColumnNullMapping="false" SourceVersion="Original" />
  174. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ID_Car" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Car" SourceColumnNullMapping="true" SourceVersion="Original" />
  175. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_Car" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Car" SourceColumnNullMapping="false" SourceVersion="Original" />
  176. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Date_order" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Date_order" SourceColumnNullMapping="true" SourceVersion="Original" />
  177. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Date_order" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Date_order" SourceColumnNullMapping="false" SourceVersion="Original" />
  178. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OrderTimeDay" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderTimeDay" SourceColumnNullMapping="true" SourceVersion="Original" />
  179. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrderTimeDay" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderTimeDay" SourceColumnNullMapping="false" SourceVersion="Original" />
  180. </Parameters>
  181. </DbCommand>
  182. </DeleteCommand>
  183. <InsertCommand>
  184. <DbCommand CommandType="Text" ModifiedByUser="false">
  185. <CommandText>INSERT INTO [dbo].[Order_] ([ID_Client], [ID_Car], [Date_order], [OrderTimeDay]) VALUES (@ID_Client, @ID_Car, @Date_order, @OrderTimeDay);
  186. SELECT ID, ID_Client, ID_Car, Date_order, OrderTimeDay FROM Order_ WHERE (ID = SCOPE_IDENTITY())</CommandText>
  187. <Parameters>
  188. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_Client" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Client" SourceColumnNullMapping="false" SourceVersion="Current" />
  189. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_Car" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Car" SourceColumnNullMapping="false" SourceVersion="Current" />
  190. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Date_order" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Date_order" SourceColumnNullMapping="false" SourceVersion="Current" />
  191. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OrderTimeDay" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderTimeDay" SourceColumnNullMapping="false" SourceVersion="Current" />
  192. </Parameters>
  193. </DbCommand>
  194. </InsertCommand>
  195. <SelectCommand>
  196. <DbCommand CommandType="Text" ModifiedByUser="false">
  197. <CommandText>SELECT ID, ID_Client, ID_Car, Date_order, OrderTimeDay FROM dbo.Order_</CommandText>
  198. <Parameters />
  199. </DbCommand>
  200. </SelectCommand>
  201. <UpdateCommand>
  202. <DbCommand CommandType="Text" ModifiedByUser="false">
  203. <CommandText>UPDATE [dbo].[Order_] SET [ID_Client] = @ID_Client, [ID_Car] = @ID_Car, [Date_order] = @Date_order, [OrderTimeDay] = @OrderTimeDay WHERE (([ID] = @Original_ID) AND ((@IsNull_ID_Client = 1 AND [ID_Client] IS NULL) OR ([ID_Client] = @Original_ID_Client)) AND ((@IsNull_ID_Car = 1 AND [ID_Car] IS NULL) OR ([ID_Car] = @Original_ID_Car)) AND ((@IsNull_Date_order = 1 AND [Date_order] IS NULL) OR ([Date_order] = @Original_Date_order)) AND ((@IsNull_OrderTimeDay = 1 AND [OrderTimeDay] IS NULL) OR ([OrderTimeDay] = @Original_OrderTimeDay)));
  204. SELECT ID, ID_Client, ID_Car, Date_order, OrderTimeDay FROM Order_ WHERE (ID = @ID)</CommandText>
  205. <Parameters>
  206. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_Client" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Client" SourceColumnNullMapping="false" SourceVersion="Current" />
  207. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID_Car" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Car" SourceColumnNullMapping="false" SourceVersion="Current" />
  208. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Date_order" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Date_order" SourceColumnNullMapping="false" SourceVersion="Current" />
  209. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OrderTimeDay" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderTimeDay" SourceColumnNullMapping="false" SourceVersion="Current" />
  210. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  211. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ID_Client" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Client" SourceColumnNullMapping="true" SourceVersion="Original" />
  212. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_Client" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Client" SourceColumnNullMapping="false" SourceVersion="Original" />
  213. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ID_Car" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Car" SourceColumnNullMapping="true" SourceVersion="Original" />
  214. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID_Car" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID_Car" SourceColumnNullMapping="false" SourceVersion="Original" />
  215. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Date_order" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Date_order" SourceColumnNullMapping="true" SourceVersion="Original" />
  216. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Date_order" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Date_order" SourceColumnNullMapping="false" SourceVersion="Original" />
  217. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OrderTimeDay" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderTimeDay" SourceColumnNullMapping="true" SourceVersion="Original" />
  218. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrderTimeDay" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderTimeDay" SourceColumnNullMapping="false" SourceVersion="Original" />
  219. <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="Avtodrive_02.dbo.Order_" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  220. </Parameters>
  221. </DbCommand>
  222. </UpdateCommand>
  223. </DbSource>
  224. </MainSource>
  225. <Mappings>
  226. <Mapping SourceColumn="ID" DataSetColumn="ID" />
  227. <Mapping SourceColumn="ID_Client" DataSetColumn="ID_Client" />
  228. <Mapping SourceColumn="ID_Car" DataSetColumn="ID_Car" />
  229. <Mapping SourceColumn="Date_order" DataSetColumn="Date_order" />
  230. <Mapping SourceColumn="OrderTimeDay" DataSetColumn="OrderTimeDay" />
  231. </Mappings>
  232. <Sources />
  233. </TableAdapter>
  234. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Task1TableAdapter" GeneratorDataComponentClassName="Task1TableAdapter" Name="Task1" UserDataComponentName="Task1TableAdapter">
  235. <MainSource>
  236. <DbSource ConnectionRef="Avtodrive_02ConnectionString (Settings)" DbObjectName="Avtodrive_02.dbo.Task1" DbObjectType="StoredProcedure" 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">
  237. <SelectCommand>
  238. <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
  239. <CommandText>dbo.Task1</CommandText>
  240. <Parameters>
  241. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
  242. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="date" DbType="Date" Direction="Input" ParameterName="@value1" Precision="10" ProviderType="Date" Scale="0" Size="3" SourceColumnNullMapping="false" SourceVersion="Current" />
  243. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nchar" DbType="StringFixedLength" Direction="Input" ParameterName="@value2" Precision="0" ProviderType="NChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
  244. </Parameters>
  245. </DbCommand>
  246. </SelectCommand>
  247. </DbSource>
  248. </MainSource>
  249. <Mappings>
  250. <Mapping SourceColumn="ID" DataSetColumn="ID" />
  251. <Mapping SourceColumn="Model" DataSetColumn="Model" />
  252. <Mapping SourceColumn="Color" DataSetColumn="Color" />
  253. <Mapping SourceColumn="CarManufactureDate" DataSetColumn="CarManufactureDate" />
  254. <Mapping SourceColumn="GovermantNumber" DataSetColumn="GovermantNumber" />
  255. <Mapping SourceColumn="CarInsuranceCost" DataSetColumn="CarInsuranceCost" />
  256. <Mapping SourceColumn="OneDayCost" DataSetColumn="OneDayCost" />
  257. </Mappings>
  258. <Sources />
  259. </TableAdapter>
  260. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Task2TableAdapter" GeneratorDataComponentClassName="Task2TableAdapter" Name="Task2" UserDataComponentName="Task2TableAdapter">
  261. <MainSource>
  262. <DbSource ConnectionRef="Avtodrive_02ConnectionString (Settings)" DbObjectName="Avtodrive_02.dbo.Task2" DbObjectType="StoredProcedure" 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">
  263. <SelectCommand>
  264. <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
  265. <CommandText>dbo.Task2</CommandText>
  266. <Parameters>
  267. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
  268. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nchar" DbType="StringFixedLength" Direction="Input" ParameterName="@Value1" Precision="0" ProviderType="NChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
  269. </Parameters>
  270. </DbCommand>
  271. </SelectCommand>
  272. </DbSource>
  273. </MainSource>
  274. <Mappings>
  275. <Mapping SourceColumn="ID" DataSetColumn="ID" />
  276. <Mapping SourceColumn="Model" DataSetColumn="Model" />
  277. <Mapping SourceColumn="Color" DataSetColumn="Color" />
  278. <Mapping SourceColumn="CarManufactureDate" DataSetColumn="CarManufactureDate" />
  279. <Mapping SourceColumn="GovermantNumber" DataSetColumn="GovermantNumber" />
  280. <Mapping SourceColumn="CarInsuranceCost" DataSetColumn="CarInsuranceCost" />
  281. <Mapping SourceColumn="OneDayCost" DataSetColumn="OneDayCost" />
  282. </Mappings>
  283. <Sources />
  284. </TableAdapter>
  285. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Task3TableAdapter" GeneratorDataComponentClassName="Task3TableAdapter" Name="Task3" UserDataComponentName="Task3TableAdapter">
  286. <MainSource>
  287. <DbSource ConnectionRef="Avtodrive_02ConnectionString (Settings)" DbObjectName="Avtodrive_02.dbo.Task3" DbObjectType="StoredProcedure" 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">
  288. <SelectCommand>
  289. <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
  290. <CommandText>dbo.Task3</CommandText>
  291. <Parameters>
  292. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
  293. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="date" DbType="Date" Direction="Input" ParameterName="@value1" Precision="10" ProviderType="Date" Scale="0" Size="3" SourceColumnNullMapping="false" SourceVersion="Current" />
  294. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="date" DbType="Date" Direction="Input" ParameterName="@value2" Precision="10" ProviderType="Date" Scale="0" Size="3" SourceColumnNullMapping="false" SourceVersion="Current" />
  295. </Parameters>
  296. </DbCommand>
  297. </SelectCommand>
  298. </DbSource>
  299. </MainSource>
  300. <Mappings>
  301. <Mapping SourceColumn="FIO" DataSetColumn="FIO" />
  302. <Mapping SourceColumn="Model" DataSetColumn="Model" />
  303. <Mapping SourceColumn="GovermantNumber" DataSetColumn="GovermantNumber" />
  304. <Mapping SourceColumn="Date_order" DataSetColumn="Date_order" />
  305. </Mappings>
  306. <Sources />
  307. </TableAdapter>
  308. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Task4TableAdapter" GeneratorDataComponentClassName="Task4TableAdapter" Name="Task4" UserDataComponentName="Task4TableAdapter">
  309. <MainSource>
  310. <DbSource ConnectionRef="Avtodrive_02ConnectionString (Settings)" DbObjectName="Avtodrive_02.dbo.Task4" DbObjectType="StoredProcedure" 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">
  311. <SelectCommand>
  312. <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
  313. <CommandText>dbo.Task4</CommandText>
  314. <Parameters>
  315. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
  316. </Parameters>
  317. </DbCommand>
  318. </SelectCommand>
  319. </DbSource>
  320. </MainSource>
  321. <Mappings>
  322. <Mapping SourceColumn="GovermantNumber" DataSetColumn="GovermantNumber" />
  323. <Mapping SourceColumn="Model" DataSetColumn="Model" />
  324. <Mapping SourceColumn="OneDayCost" DataSetColumn="OneDayCost" />
  325. <Mapping SourceColumn="OrderTimeDay" DataSetColumn="OrderTimeDay" />
  326. <Mapping SourceColumn="Стоимость" DataSetColumn="Стоимость" />
  327. </Mappings>
  328. <Sources />
  329. </TableAdapter>
  330. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Task5TableAdapter" GeneratorDataComponentClassName="Task5TableAdapter" Name="Task5" UserDataComponentName="Task5TableAdapter">
  331. <MainSource>
  332. <DbSource ConnectionRef="Avtodrive_02ConnectionString (Settings)" DbObjectName="Avtodrive_02.dbo.Task5" DbObjectType="StoredProcedure" 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">
  333. <SelectCommand>
  334. <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
  335. <CommandText>dbo.Task5</CommandText>
  336. <Parameters>
  337. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
  338. </Parameters>
  339. </DbCommand>
  340. </SelectCommand>
  341. </DbSource>
  342. </MainSource>
  343. <Mappings>
  344. <Mapping SourceColumn="Model" DataSetColumn="Model" />
  345. </Mappings>
  346. <Sources />
  347. </TableAdapter>
  348. </Tables>
  349. <Sources />
  350. </DataSource>
  351. </xs:appinfo>
  352. </xs:annotation>
  353. <xs:element name="Avtodrive_02DataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="Avtodrive_02DataSet" msprop:Generator_UserDSName="Avtodrive_02DataSet">
  354. <xs:complexType>
  355. <xs:choice minOccurs="0" maxOccurs="unbounded">
  356. <xs:element name="Car" msprop:Generator_TableClassName="CarDataTable" msprop:Generator_TableVarName="tableCar" msprop:Generator_TablePropName="Car" msprop:Generator_RowDeletingName="CarRowDeleting" msprop:Generator_RowChangingName="CarRowChanging" msprop:Generator_RowEvHandlerName="CarRowChangeEventHandler" msprop:Generator_RowDeletedName="CarRowDeleted" msprop:Generator_UserTableName="Car" msprop:Generator_RowChangedName="CarRowChanged" msprop:Generator_RowEvArgName="CarRowChangeEvent" msprop:Generator_RowClassName="CarRow">
  357. <xs:complexType>
  358. <xs:sequence>
  359. <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
  360. <xs:element name="Model" msprop:Generator_ColumnVarNameInTable="columnModel" msprop:Generator_ColumnPropNameInRow="Model" msprop:Generator_ColumnPropNameInTable="ModelColumn" msprop:Generator_UserColumnName="Model" minOccurs="0">
  361. <xs:simpleType>
  362. <xs:restriction base="xs:string">
  363. <xs:maxLength value="50" />
  364. </xs:restriction>
  365. </xs:simpleType>
  366. </xs:element>
  367. <xs:element name="Color" msprop:Generator_ColumnVarNameInTable="columnColor" msprop:Generator_ColumnPropNameInRow="Color" msprop:Generator_ColumnPropNameInTable="ColorColumn" msprop:Generator_UserColumnName="Color" minOccurs="0">
  368. <xs:simpleType>
  369. <xs:restriction base="xs:string">
  370. <xs:maxLength value="50" />
  371. </xs:restriction>
  372. </xs:simpleType>
  373. </xs:element>
  374. <xs:element name="CarManufactureDate" msprop:Generator_ColumnVarNameInTable="columnCarManufactureDate" msprop:Generator_ColumnPropNameInRow="CarManufactureDate" msprop:Generator_ColumnPropNameInTable="CarManufactureDateColumn" msprop:Generator_UserColumnName="CarManufactureDate" type="xs:dateTime" minOccurs="0" />
  375. <xs:element name="GovermantNumber" msprop:Generator_ColumnVarNameInTable="columnGovermantNumber" msprop:Generator_ColumnPropNameInRow="GovermantNumber" msprop:Generator_ColumnPropNameInTable="GovermantNumberColumn" msprop:Generator_UserColumnName="GovermantNumber" minOccurs="0">
  376. <xs:simpleType>
  377. <xs:restriction base="xs:string">
  378. <xs:maxLength value="50" />
  379. </xs:restriction>
  380. </xs:simpleType>
  381. </xs:element>
  382. <xs:element name="CarInsuranceCost" msprop:Generator_ColumnVarNameInTable="columnCarInsuranceCost" msprop:Generator_ColumnPropNameInRow="CarInsuranceCost" msprop:Generator_ColumnPropNameInTable="CarInsuranceCostColumn" msprop:Generator_UserColumnName="CarInsuranceCost" type="xs:decimal" minOccurs="0" />
  383. <xs:element name="OneDayCost" msprop:Generator_ColumnVarNameInTable="columnOneDayCost" msprop:Generator_ColumnPropNameInRow="OneDayCost" msprop:Generator_ColumnPropNameInTable="OneDayCostColumn" msprop:Generator_UserColumnName="OneDayCost" type="xs:decimal" minOccurs="0" />
  384. </xs:sequence>
  385. </xs:complexType>
  386. </xs:element>
  387. <xs:element name="Client" msprop:Generator_TableClassName="ClientDataTable" msprop:Generator_TableVarName="tableClient" msprop:Generator_TablePropName="Client" msprop:Generator_RowDeletingName="ClientRowDeleting" msprop:Generator_RowChangingName="ClientRowChanging" msprop:Generator_RowEvHandlerName="ClientRowChangeEventHandler" msprop:Generator_RowDeletedName="ClientRowDeleted" msprop:Generator_UserTableName="Client" msprop:Generator_RowChangedName="ClientRowChanged" msprop:Generator_RowEvArgName="ClientRowChangeEvent" msprop:Generator_RowClassName="ClientRow">
  388. <xs:complexType>
  389. <xs:sequence>
  390. <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
  391. <xs:element name="FIO" msprop:Generator_ColumnVarNameInTable="columnFIO" msprop:Generator_ColumnPropNameInRow="FIO" msprop:Generator_ColumnPropNameInTable="FIOColumn" msprop:Generator_UserColumnName="FIO" minOccurs="0">
  392. <xs:simpleType>
  393. <xs:restriction base="xs:string">
  394. <xs:maxLength value="50" />
  395. </xs:restriction>
  396. </xs:simpleType>
  397. </xs:element>
  398. <xs:element name="Pasport" msprop:Generator_ColumnVarNameInTable="columnPasport" msprop:Generator_ColumnPropNameInRow="Pasport" msprop:Generator_ColumnPropNameInTable="PasportColumn" msprop:Generator_UserColumnName="Pasport" minOccurs="0">
  399. <xs:simpleType>
  400. <xs:restriction base="xs:string">
  401. <xs:maxLength value="50" />
  402. </xs:restriction>
  403. </xs:simpleType>
  404. </xs:element>
  405. <xs:element name="Phone" msprop:Generator_ColumnVarNameInTable="columnPhone" msprop:Generator_ColumnPropNameInRow="Phone" msprop:Generator_ColumnPropNameInTable="PhoneColumn" msprop:Generator_UserColumnName="Phone" minOccurs="0">
  406. <xs:simpleType>
  407. <xs:restriction base="xs:string">
  408. <xs:maxLength value="20" />
  409. </xs:restriction>
  410. </xs:simpleType>
  411. </xs:element>
  412. <xs:element name="Address" msprop:Generator_ColumnVarNameInTable="columnAddress" msprop:Generator_ColumnPropNameInRow="Address" msprop:Generator_ColumnPropNameInTable="AddressColumn" msprop:Generator_UserColumnName="Address" minOccurs="0">
  413. <xs:simpleType>
  414. <xs:restriction base="xs:string">
  415. <xs:maxLength value="100" />
  416. </xs:restriction>
  417. </xs:simpleType>
  418. </xs:element>
  419. </xs:sequence>
  420. </xs:complexType>
  421. </xs:element>
  422. <xs:element name="Order_" msprop:Generator_TableClassName="Order_DataTable" msprop:Generator_TableVarName="tableOrder_" msprop:Generator_TablePropName="Order_" msprop:Generator_RowDeletingName="Order_RowDeleting" msprop:Generator_RowChangingName="Order_RowChanging" msprop:Generator_RowEvHandlerName="Order_RowChangeEventHandler" msprop:Generator_RowDeletedName="Order_RowDeleted" msprop:Generator_UserTableName="Order_" msprop:Generator_RowChangedName="Order_RowChanged" msprop:Generator_RowEvArgName="Order_RowChangeEvent" msprop:Generator_RowClassName="Order_Row">
  423. <xs:complexType>
  424. <xs:sequence>
  425. <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
  426. <xs:element name="ID_Client" msprop:Generator_ColumnVarNameInTable="columnID_Client" msprop:Generator_ColumnPropNameInRow="ID_Client" msprop:Generator_ColumnPropNameInTable="ID_ClientColumn" msprop:Generator_UserColumnName="ID_Client" type="xs:int" minOccurs="0" />
  427. <xs:element name="ID_Car" msprop:Generator_ColumnVarNameInTable="columnID_Car" msprop:Generator_ColumnPropNameInRow="ID_Car" msprop:Generator_ColumnPropNameInTable="ID_CarColumn" msprop:Generator_UserColumnName="ID_Car" type="xs:int" minOccurs="0" />
  428. <xs:element name="Date_order" msprop:Generator_ColumnVarNameInTable="columnDate_order" msprop:Generator_ColumnPropNameInRow="Date_order" msprop:Generator_ColumnPropNameInTable="Date_orderColumn" msprop:Generator_UserColumnName="Date_order" type="xs:dateTime" minOccurs="0" />
  429. <xs:element name="OrderTimeDay" msprop:Generator_ColumnVarNameInTable="columnOrderTimeDay" msprop:Generator_ColumnPropNameInRow="OrderTimeDay" msprop:Generator_ColumnPropNameInTable="OrderTimeDayColumn" msprop:Generator_UserColumnName="OrderTimeDay" type="xs:int" minOccurs="0" />
  430. </xs:sequence>
  431. </xs:complexType>
  432. </xs:element>
  433. <xs:element name="Task1" msprop:Generator_TableClassName="Task1DataTable" msprop:Generator_TableVarName="tableTask1" msprop:Generator_TablePropName="Task1" msprop:Generator_RowDeletingName="Task1RowDeleting" msprop:Generator_RowChangingName="Task1RowChanging" msprop:Generator_RowEvHandlerName="Task1RowChangeEventHandler" msprop:Generator_RowDeletedName="Task1RowDeleted" msprop:Generator_UserTableName="Task1" msprop:Generator_RowChangedName="Task1RowChanged" msprop:Generator_RowEvArgName="Task1RowChangeEvent" msprop:Generator_RowClassName="Task1Row">
  434. <xs:complexType>
  435. <xs:sequence>
  436. <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
  437. <xs:element name="Model" msprop:Generator_ColumnVarNameInTable="columnModel" msprop:Generator_ColumnPropNameInRow="Model" msprop:Generator_ColumnPropNameInTable="ModelColumn" msprop:Generator_UserColumnName="Model" minOccurs="0">
  438. <xs:simpleType>
  439. <xs:restriction base="xs:string">
  440. <xs:maxLength value="50" />
  441. </xs:restriction>
  442. </xs:simpleType>
  443. </xs:element>
  444. <xs:element name="Color" msprop:Generator_ColumnVarNameInTable="columnColor" msprop:Generator_ColumnPropNameInRow="Color" msprop:Generator_ColumnPropNameInTable="ColorColumn" msprop:Generator_UserColumnName="Color" minOccurs="0">
  445. <xs:simpleType>
  446. <xs:restriction base="xs:string">
  447. <xs:maxLength value="50" />
  448. </xs:restriction>
  449. </xs:simpleType>
  450. </xs:element>
  451. <xs:element name="CarManufactureDate" msprop:Generator_ColumnVarNameInTable="columnCarManufactureDate" msprop:Generator_ColumnPropNameInRow="CarManufactureDate" msprop:Generator_ColumnPropNameInTable="CarManufactureDateColumn" msprop:Generator_UserColumnName="CarManufactureDate" type="xs:dateTime" minOccurs="0" />
  452. <xs:element name="GovermantNumber" msprop:Generator_ColumnVarNameInTable="columnGovermantNumber" msprop:Generator_ColumnPropNameInRow="GovermantNumber" msprop:Generator_ColumnPropNameInTable="GovermantNumberColumn" msprop:Generator_UserColumnName="GovermantNumber" minOccurs="0">
  453. <xs:simpleType>
  454. <xs:restriction base="xs:string">
  455. <xs:maxLength value="50" />
  456. </xs:restriction>
  457. </xs:simpleType>
  458. </xs:element>
  459. <xs:element name="CarInsuranceCost" msprop:Generator_ColumnVarNameInTable="columnCarInsuranceCost" msprop:Generator_ColumnPropNameInRow="CarInsuranceCost" msprop:Generator_ColumnPropNameInTable="CarInsuranceCostColumn" msprop:Generator_UserColumnName="CarInsuranceCost" type="xs:decimal" minOccurs="0" />
  460. <xs:element name="OneDayCost" msprop:Generator_ColumnVarNameInTable="columnOneDayCost" msprop:Generator_ColumnPropNameInRow="OneDayCost" msprop:Generator_ColumnPropNameInTable="OneDayCostColumn" msprop:Generator_UserColumnName="OneDayCost" type="xs:decimal" minOccurs="0" />
  461. </xs:sequence>
  462. </xs:complexType>
  463. </xs:element>
  464. <xs:element name="Task2" msprop:Generator_TableClassName="Task2DataTable" msprop:Generator_TableVarName="tableTask2" msprop:Generator_TablePropName="Task2" msprop:Generator_RowDeletingName="Task2RowDeleting" msprop:Generator_RowChangingName="Task2RowChanging" msprop:Generator_RowEvHandlerName="Task2RowChangeEventHandler" msprop:Generator_RowDeletedName="Task2RowDeleted" msprop:Generator_UserTableName="Task2" msprop:Generator_RowChangedName="Task2RowChanged" msprop:Generator_RowEvArgName="Task2RowChangeEvent" msprop:Generator_RowClassName="Task2Row">
  465. <xs:complexType>
  466. <xs:sequence>
  467. <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
  468. <xs:element name="Model" msprop:Generator_ColumnVarNameInTable="columnModel" msprop:Generator_ColumnPropNameInRow="Model" msprop:Generator_ColumnPropNameInTable="ModelColumn" msprop:Generator_UserColumnName="Model" minOccurs="0">
  469. <xs:simpleType>
  470. <xs:restriction base="xs:string">
  471. <xs:maxLength value="50" />
  472. </xs:restriction>
  473. </xs:simpleType>
  474. </xs:element>
  475. <xs:element name="Color" msprop:Generator_ColumnVarNameInTable="columnColor" msprop:Generator_ColumnPropNameInRow="Color" msprop:Generator_ColumnPropNameInTable="ColorColumn" msprop:Generator_UserColumnName="Color" minOccurs="0">
  476. <xs:simpleType>
  477. <xs:restriction base="xs:string">
  478. <xs:maxLength value="50" />
  479. </xs:restriction>
  480. </xs:simpleType>
  481. </xs:element>
  482. <xs:element name="CarManufactureDate" msprop:Generator_ColumnVarNameInTable="columnCarManufactureDate" msprop:Generator_ColumnPropNameInRow="CarManufactureDate" msprop:Generator_ColumnPropNameInTable="CarManufactureDateColumn" msprop:Generator_UserColumnName="CarManufactureDate" type="xs:dateTime" minOccurs="0" />
  483. <xs:element name="GovermantNumber" msprop:Generator_ColumnVarNameInTable="columnGovermantNumber" msprop:Generator_ColumnPropNameInRow="GovermantNumber" msprop:Generator_ColumnPropNameInTable="GovermantNumberColumn" msprop:Generator_UserColumnName="GovermantNumber" minOccurs="0">
  484. <xs:simpleType>
  485. <xs:restriction base="xs:string">
  486. <xs:maxLength value="50" />
  487. </xs:restriction>
  488. </xs:simpleType>
  489. </xs:element>
  490. <xs:element name="CarInsuranceCost" msprop:Generator_ColumnVarNameInTable="columnCarInsuranceCost" msprop:Generator_ColumnPropNameInRow="CarInsuranceCost" msprop:Generator_ColumnPropNameInTable="CarInsuranceCostColumn" msprop:Generator_UserColumnName="CarInsuranceCost" type="xs:decimal" minOccurs="0" />
  491. <xs:element name="OneDayCost" msprop:Generator_ColumnVarNameInTable="columnOneDayCost" msprop:Generator_ColumnPropNameInRow="OneDayCost" msprop:Generator_ColumnPropNameInTable="OneDayCostColumn" msprop:Generator_UserColumnName="OneDayCost" type="xs:decimal" minOccurs="0" />
  492. </xs:sequence>
  493. </xs:complexType>
  494. </xs:element>
  495. <xs:element name="Task3" msprop:Generator_TableClassName="Task3DataTable" msprop:Generator_TableVarName="tableTask3" msprop:Generator_TablePropName="Task3" msprop:Generator_RowDeletingName="Task3RowDeleting" msprop:Generator_RowChangingName="Task3RowChanging" msprop:Generator_RowEvHandlerName="Task3RowChangeEventHandler" msprop:Generator_RowDeletedName="Task3RowDeleted" msprop:Generator_UserTableName="Task3" msprop:Generator_RowChangedName="Task3RowChanged" msprop:Generator_RowEvArgName="Task3RowChangeEvent" msprop:Generator_RowClassName="Task3Row">
  496. <xs:complexType>
  497. <xs:sequence>
  498. <xs:element name="FIO" msprop:Generator_ColumnVarNameInTable="columnFIO" msprop:Generator_ColumnPropNameInRow="FIO" msprop:Generator_ColumnPropNameInTable="FIOColumn" msprop:Generator_UserColumnName="FIO" minOccurs="0">
  499. <xs:simpleType>
  500. <xs:restriction base="xs:string">
  501. <xs:maxLength value="50" />
  502. </xs:restriction>
  503. </xs:simpleType>
  504. </xs:element>
  505. <xs:element name="Model" msprop:Generator_ColumnVarNameInTable="columnModel" msprop:Generator_ColumnPropNameInRow="Model" msprop:Generator_ColumnPropNameInTable="ModelColumn" msprop:Generator_UserColumnName="Model" minOccurs="0">
  506. <xs:simpleType>
  507. <xs:restriction base="xs:string">
  508. <xs:maxLength value="50" />
  509. </xs:restriction>
  510. </xs:simpleType>
  511. </xs:element>
  512. <xs:element name="GovermantNumber" msprop:Generator_ColumnVarNameInTable="columnGovermantNumber" msprop:Generator_ColumnPropNameInRow="GovermantNumber" msprop:Generator_ColumnPropNameInTable="GovermantNumberColumn" msprop:Generator_UserColumnName="GovermantNumber" minOccurs="0">
  513. <xs:simpleType>
  514. <xs:restriction base="xs:string">
  515. <xs:maxLength value="50" />
  516. </xs:restriction>
  517. </xs:simpleType>
  518. </xs:element>
  519. <xs:element name="Date_order" msprop:Generator_ColumnVarNameInTable="columnDate_order" msprop:Generator_ColumnPropNameInRow="Date_order" msprop:Generator_ColumnPropNameInTable="Date_orderColumn" msprop:Generator_UserColumnName="Date_order" type="xs:dateTime" minOccurs="0" />
  520. </xs:sequence>
  521. </xs:complexType>
  522. </xs:element>
  523. <xs:element name="Task4" msprop:Generator_TableClassName="Task4DataTable" msprop:Generator_TableVarName="tableTask4" msprop:Generator_TablePropName="Task4" msprop:Generator_RowDeletingName="Task4RowDeleting" msprop:Generator_RowChangingName="Task4RowChanging" msprop:Generator_RowEvHandlerName="Task4RowChangeEventHandler" msprop:Generator_RowDeletedName="Task4RowDeleted" msprop:Generator_UserTableName="Task4" msprop:Generator_RowChangedName="Task4RowChanged" msprop:Generator_RowEvArgName="Task4RowChangeEvent" msprop:Generator_RowClassName="Task4Row">
  524. <xs:complexType>
  525. <xs:sequence>
  526. <xs:element name="GovermantNumber" msprop:Generator_ColumnVarNameInTable="columnGovermantNumber" msprop:Generator_ColumnPropNameInRow="GovermantNumber" msprop:Generator_ColumnPropNameInTable="GovermantNumberColumn" msprop:Generator_UserColumnName="GovermantNumber" minOccurs="0">
  527. <xs:simpleType>
  528. <xs:restriction base="xs:string">
  529. <xs:maxLength value="50" />
  530. </xs:restriction>
  531. </xs:simpleType>
  532. </xs:element>
  533. <xs:element name="Model" msprop:Generator_ColumnVarNameInTable="columnModel" msprop:Generator_ColumnPropNameInRow="Model" msprop:Generator_ColumnPropNameInTable="ModelColumn" msprop:Generator_UserColumnName="Model" minOccurs="0">
  534. <xs:simpleType>
  535. <xs:restriction base="xs:string">
  536. <xs:maxLength value="50" />
  537. </xs:restriction>
  538. </xs:simpleType>
  539. </xs:element>
  540. <xs:element name="OneDayCost" msprop:Generator_ColumnVarNameInTable="columnOneDayCost" msprop:Generator_ColumnPropNameInRow="OneDayCost" msprop:Generator_ColumnPropNameInTable="OneDayCostColumn" msprop:Generator_UserColumnName="OneDayCost" type="xs:decimal" minOccurs="0" />
  541. <xs:element name="OrderTimeDay" msprop:Generator_ColumnVarNameInTable="columnOrderTimeDay" msprop:Generator_ColumnPropNameInRow="OrderTimeDay" msprop:Generator_ColumnPropNameInTable="OrderTimeDayColumn" msprop:Generator_UserColumnName="OrderTimeDay" type="xs:int" minOccurs="0" />
  542. <xs:element name="Стоимость" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnСтоимость" msprop:Generator_ColumnPropNameInRow="Стоимость" msprop:Generator_ColumnPropNameInTable="СтоимостьColumn" msprop:Generator_UserColumnName="Стоимость" type="xs:decimal" minOccurs="0" />
  543. </xs:sequence>
  544. </xs:complexType>
  545. </xs:element>
  546. <xs:element name="Task5" msprop:Generator_TableClassName="Task5DataTable" msprop:Generator_TableVarName="tableTask5" msprop:Generator_TablePropName="Task5" msprop:Generator_RowDeletingName="Task5RowDeleting" msprop:Generator_RowChangingName="Task5RowChanging" msprop:Generator_RowEvHandlerName="Task5RowChangeEventHandler" msprop:Generator_RowDeletedName="Task5RowDeleted" msprop:Generator_UserTableName="Task5" msprop:Generator_RowChangedName="Task5RowChanged" msprop:Generator_RowEvArgName="Task5RowChangeEvent" msprop:Generator_RowClassName="Task5Row">
  547. <xs:complexType>
  548. <xs:sequence>
  549. <xs:element name="Model" msprop:Generator_ColumnVarNameInTable="columnModel" msprop:Generator_ColumnPropNameInRow="Model" msprop:Generator_ColumnPropNameInTable="ModelColumn" msprop:Generator_UserColumnName="Model" minOccurs="0">
  550. <xs:simpleType>
  551. <xs:restriction base="xs:string">
  552. <xs:maxLength value="50" />
  553. </xs:restriction>
  554. </xs:simpleType>
  555. </xs:element>
  556. </xs:sequence>
  557. </xs:complexType>
  558. </xs:element>
  559. </xs:choice>
  560. </xs:complexType>
  561. <xs:unique name="Constraint1" msdata:PrimaryKey="true">
  562. <xs:selector xpath=".//mstns:Car" />
  563. <xs:field xpath="mstns:ID" />
  564. </xs:unique>
  565. <xs:unique name="Client_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  566. <xs:selector xpath=".//mstns:Client" />
  567. <xs:field xpath="mstns:ID" />
  568. </xs:unique>
  569. <xs:unique name="Order__Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  570. <xs:selector xpath=".//mstns:Order_" />
  571. <xs:field xpath="mstns:ID" />
  572. </xs:unique>
  573. <xs:unique name="Task1_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  574. <xs:selector xpath=".//mstns:Task1" />
  575. <xs:field xpath="mstns:ID" />
  576. </xs:unique>
  577. <xs:unique name="Task2_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  578. <xs:selector xpath=".//mstns:Task2" />
  579. <xs:field xpath="mstns:ID" />
  580. </xs:unique>
  581. </xs:element>
  582. <xs:annotation>
  583. <xs:appinfo>
  584. <msdata:Relationship name="FK_Order__Car" msdata:parent="Car" msdata:child="Order_" msdata:parentkey="ID" msdata:childkey="ID_Car" msprop:Generator_UserChildTable="Order_" msprop:Generator_ChildPropName="GetOrder_Rows" msprop:Generator_UserRelationName="FK_Order__Car" msprop:Generator_ParentPropName="CarRow" msprop:Generator_RelationVarName="relationFK_Order__Car" msprop:Generator_UserParentTable="Car" />
  585. <msdata:Relationship name="FK_Order__Client" msdata:parent="Client" msdata:child="Order_" msdata:parentkey="ID" msdata:childkey="ID_Client" msprop:Generator_UserChildTable="Order_" msprop:Generator_ChildPropName="GetOrder_Rows" msprop:Generator_UserRelationName="FK_Order__Client" msprop:Generator_ParentPropName="ClientRow" msprop:Generator_RelationVarName="relationFK_Order__Client" msprop:Generator_UserParentTable="Client" />
  586. </xs:appinfo>
  587. </xs:annotation>
  588. </xs:schema>