VINILDataSet_Edition.xsd 8.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="VINILDataSet_Edition" targetNamespace="http://tempuri.org/VINILDataSet_Edition.xsd" xmlns:mstns="http://tempuri.org/VINILDataSet_Edition.xsd" xmlns="http://tempuri.org/VINILDataSet_Edition.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="EditionTableAdapter" GeneratorDataComponentClassName="EditionTableAdapter" Name="Edition" UserDataComponentName="EditionTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="VINILConnectionString_Country (Settings)" DbObjectName="VINIL.dbo.Edition" 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].[Edition] WHERE (([id_edition] = @Original_id_edition) AND ([edition] = @Original_edition))</CommandText>
  16. <Parameters>
  17. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_edition" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_edition" SourceColumnNullMapping="false" SourceVersion="Original" />
  18. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_edition" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="edition" SourceColumnNullMapping="false" SourceVersion="Original" />
  19. </Parameters>
  20. </DbCommand>
  21. </DeleteCommand>
  22. <InsertCommand>
  23. <DbCommand CommandType="Text" ModifiedByUser="false">
  24. <CommandText>INSERT INTO [dbo].[Edition] ([edition]) VALUES (@edition);
  25. SELECT id_edition, edition FROM Edition WHERE (id_edition = SCOPE_IDENTITY())</CommandText>
  26. <Parameters>
  27. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@edition" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="edition" SourceColumnNullMapping="false" SourceVersion="Current" />
  28. </Parameters>
  29. </DbCommand>
  30. </InsertCommand>
  31. <SelectCommand>
  32. <DbCommand CommandType="Text" ModifiedByUser="false">
  33. <CommandText>SELECT id_edition, edition FROM dbo.Edition</CommandText>
  34. <Parameters />
  35. </DbCommand>
  36. </SelectCommand>
  37. <UpdateCommand>
  38. <DbCommand CommandType="Text" ModifiedByUser="false">
  39. <CommandText>UPDATE [dbo].[Edition] SET [edition] = @edition WHERE (([id_edition] = @Original_id_edition) AND ([edition] = @Original_edition));
  40. SELECT id_edition, edition FROM Edition WHERE (id_edition = @id_edition)</CommandText>
  41. <Parameters>
  42. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@edition" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="edition" SourceColumnNullMapping="false" SourceVersion="Current" />
  43. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_edition" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_edition" SourceColumnNullMapping="false" SourceVersion="Original" />
  44. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_edition" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="edition" SourceColumnNullMapping="false" SourceVersion="Original" />
  45. <Parameter AllowDbNull="false" AutogeneratedName="id_edition" ColumnName="id_edition" DataSourceName="VINIL.dbo.Edition" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id_edition" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id_edition" SourceColumnNullMapping="false" SourceVersion="Current" />
  46. </Parameters>
  47. </DbCommand>
  48. </UpdateCommand>
  49. </DbSource>
  50. </MainSource>
  51. <Mappings>
  52. <Mapping SourceColumn="id_edition" DataSetColumn="id_edition" />
  53. <Mapping SourceColumn="edition" DataSetColumn="edition" />
  54. </Mappings>
  55. <Sources />
  56. </TableAdapter>
  57. </Tables>
  58. <Sources />
  59. </DataSource>
  60. </xs:appinfo>
  61. </xs:annotation>
  62. <xs:element name="VINILDataSet_Edition" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_UserDSName="VINILDataSet_Edition" msprop:Generator_DataSetName="VINILDataSet_Edition">
  63. <xs:complexType>
  64. <xs:choice minOccurs="0" maxOccurs="unbounded">
  65. <xs:element name="Edition" msprop:Generator_RowEvHandlerName="EditionRowChangeEventHandler" msprop:Generator_RowDeletedName="EditionRowDeleted" msprop:Generator_RowDeletingName="EditionRowDeleting" msprop:Generator_RowEvArgName="EditionRowChangeEvent" msprop:Generator_TablePropName="Edition" msprop:Generator_RowChangedName="EditionRowChanged" msprop:Generator_RowChangingName="EditionRowChanging" msprop:Generator_TableClassName="EditionDataTable" msprop:Generator_RowClassName="EditionRow" msprop:Generator_TableVarName="tableEdition" msprop:Generator_UserTableName="Edition">
  66. <xs:complexType>
  67. <xs:sequence>
  68. <xs:element name="id_edition" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="id_edition" msprop:Generator_ColumnPropNameInTable="id_editionColumn" msprop:Generator_ColumnVarNameInTable="columnid_edition" msprop:Generator_UserColumnName="id_edition" type="xs:int" />
  69. <xs:element name="edition" msprop:Generator_ColumnPropNameInRow="edition" msprop:Generator_ColumnPropNameInTable="editionColumn" msprop:Generator_ColumnVarNameInTable="columnedition" msprop:Generator_UserColumnName="edition">
  70. <xs:simpleType>
  71. <xs:restriction base="xs:string">
  72. <xs:maxLength value="10" />
  73. </xs:restriction>
  74. </xs:simpleType>
  75. </xs:element>
  76. </xs:sequence>
  77. </xs:complexType>
  78. </xs:element>
  79. </xs:choice>
  80. </xs:complexType>
  81. <xs:unique name="Constraint1" msdata:PrimaryKey="true">
  82. <xs:selector xpath=".//mstns:Edition" />
  83. <xs:field xpath="mstns:id_edition" />
  84. </xs:unique>
  85. </xs:element>
  86. </xs:schema>