VINILDataSet_supplier1.xsd 7.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="VINILDataSet_supplier" targetNamespace="http://tempuri.org/VINILDataSet_supplier1.xsd" xmlns:mstns="http://tempuri.org/VINILDataSet_supplier1.xsd" xmlns="http://tempuri.org/VINILDataSet_supplier1.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="VINILConnectionString_Country" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="VINILConnectionString_Country (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.proba.Properties.Settings.GlobalReference.Default.VINILConnectionString_Country" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SupplierTableAdapter" GeneratorDataComponentClassName="SupplierTableAdapter" Name="Supplier" UserDataComponentName="SupplierTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="VINILConnectionString_Country (Settings)" DbObjectName="VINIL.dbo.Supplier" 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].[Supplier] WHERE (([id_supplier] = @Original_id_supplier) AND ([name_organization] = @Original_name_organization))</CommandText>
  16. <Parameters>
  17. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_supplier" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_supplier" SourceColumnNullMapping="false" SourceVersion="Original" />
  18. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name_organization" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name_organization" SourceColumnNullMapping="false" SourceVersion="Original" />
  19. </Parameters>
  20. </DbCommand>
  21. </DeleteCommand>
  22. <SelectCommand>
  23. <DbCommand CommandType="Text" ModifiedByUser="false">
  24. <CommandText>SELECT id_supplier, name_organization FROM dbo.Supplier</CommandText>
  25. <Parameters />
  26. </DbCommand>
  27. </SelectCommand>
  28. <UpdateCommand>
  29. <DbCommand CommandType="Text" ModifiedByUser="false">
  30. <CommandText>UPDATE [dbo].[Supplier] SET [name_organization] = @name_organization WHERE (([id_supplier] = @Original_id_supplier) AND ([name_organization] = @Original_name_organization));
  31. SELECT id_supplier, name_organization FROM Supplier WHERE (id_supplier = @id_supplier)</CommandText>
  32. <Parameters>
  33. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name_organization" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name_organization" SourceColumnNullMapping="false" SourceVersion="Current" />
  34. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_supplier" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_supplier" SourceColumnNullMapping="false" SourceVersion="Original" />
  35. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name_organization" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name_organization" SourceColumnNullMapping="false" SourceVersion="Original" />
  36. <Parameter AllowDbNull="false" AutogeneratedName="id_supplier" ColumnName="id_supplier" DataSourceName="VINIL.dbo.Supplier" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id_supplier" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id_supplier" SourceColumnNullMapping="false" SourceVersion="Current" />
  37. </Parameters>
  38. </DbCommand>
  39. </UpdateCommand>
  40. </DbSource>
  41. </MainSource>
  42. <Mappings>
  43. <Mapping SourceColumn="id_supplier" DataSetColumn="id_supplier" />
  44. <Mapping SourceColumn="name_organization" DataSetColumn="name_organization" />
  45. </Mappings>
  46. <Sources />
  47. </TableAdapter>
  48. </Tables>
  49. <Sources />
  50. </DataSource>
  51. </xs:appinfo>
  52. </xs:annotation>
  53. <xs:element name="VINILDataSet_supplier" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="VINILDataSet_supplier" msprop:Generator_UserDSName="VINILDataSet_supplier">
  54. <xs:complexType>
  55. <xs:choice minOccurs="0" maxOccurs="unbounded">
  56. <xs:element name="Supplier" msprop:Generator_TableClassName="SupplierDataTable" msprop:Generator_TableVarName="tableSupplier" msprop:Generator_TablePropName="Supplier" msprop:Generator_RowDeletingName="SupplierRowDeleting" msprop:Generator_RowChangingName="SupplierRowChanging" msprop:Generator_RowEvHandlerName="SupplierRowChangeEventHandler" msprop:Generator_RowDeletedName="SupplierRowDeleted" msprop:Generator_UserTableName="Supplier" msprop:Generator_RowChangedName="SupplierRowChanged" msprop:Generator_RowEvArgName="SupplierRowChangeEvent" msprop:Generator_RowClassName="SupplierRow">
  57. <xs:complexType>
  58. <xs:sequence>
  59. <xs:element name="id_supplier" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid_supplier" msprop:Generator_ColumnPropNameInRow="id_supplier" msprop:Generator_ColumnPropNameInTable="id_supplierColumn" msprop:Generator_UserColumnName="id_supplier" type="xs:int" />
  60. <xs:element name="name_organization" msprop:Generator_ColumnVarNameInTable="columnname_organization" msprop:Generator_ColumnPropNameInRow="name_organization" msprop:Generator_ColumnPropNameInTable="name_organizationColumn" msprop:Generator_UserColumnName="name_organization">
  61. <xs:simpleType>
  62. <xs:restriction base="xs:string">
  63. <xs:maxLength value="25" />
  64. </xs:restriction>
  65. </xs:simpleType>
  66. </xs:element>
  67. </xs:sequence>
  68. </xs:complexType>
  69. </xs:element>
  70. </xs:choice>
  71. </xs:complexType>
  72. <xs:unique name="Constraint1" msdata:PrimaryKey="true">
  73. <xs:selector xpath=".//mstns:Supplier" />
  74. <xs:field xpath="mstns:id_supplier" />
  75. </xs:unique>
  76. </xs:element>
  77. </xs:schema>