1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <?xml version="1.0" encoding="utf-8"?>
- <xs:schema id="VINILDataSet_Pol" targetNamespace="http://tempuri.org/VINILDataSet_Pol.xsd" xmlns:mstns="http://tempuri.org/VINILDataSet_Pol.xsd" xmlns="http://tempuri.org/VINILDataSet_Pol.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">
- <xs:annotation>
- <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
- <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
- <Connections>
- <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" />
- </Connections>
- <Tables>
- <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PolTableAdapter" GeneratorDataComponentClassName="PolTableAdapter" Name="Pol" UserDataComponentName="PolTableAdapter">
- <MainSource>
- <DbSource ConnectionRef="VINILConnectionString_Country (Settings)" DbObjectName="VINIL.dbo.Pol" 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">
- <DeleteCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>DELETE FROM [dbo].[Pol] WHERE (([id_pol] = @Original_id_pol) AND ([pol] = @Original_pol))</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_pol" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_pol" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_pol" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="pol" SourceColumnNullMapping="false" SourceVersion="Original" />
- </Parameters>
- </DbCommand>
- </DeleteCommand>
- <InsertCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>INSERT INTO [dbo].[Pol] ([pol]) VALUES (@pol);
- SELECT id_pol, pol FROM Pol WHERE (id_pol = SCOPE_IDENTITY())</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@pol" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="pol" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </InsertCommand>
- <SelectCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>SELECT id_pol, pol FROM dbo.Pol</CommandText>
- <Parameters />
- </DbCommand>
- </SelectCommand>
- <UpdateCommand>
- <DbCommand CommandType="Text" ModifiedByUser="false">
- <CommandText>UPDATE [dbo].[Pol] SET [pol] = @pol WHERE (([id_pol] = @Original_id_pol) AND ([pol] = @Original_pol));
- SELECT id_pol, pol FROM Pol WHERE (id_pol = @id_pol)</CommandText>
- <Parameters>
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@pol" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="pol" SourceColumnNullMapping="false" SourceVersion="Current" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id_pol" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id_pol" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_pol" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="pol" SourceColumnNullMapping="false" SourceVersion="Original" />
- <Parameter AllowDbNull="false" AutogeneratedName="id_pol" ColumnName="id_pol" DataSourceName="VINIL.dbo.Pol" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id_pol" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id_pol" SourceColumnNullMapping="false" SourceVersion="Current" />
- </Parameters>
- </DbCommand>
- </UpdateCommand>
- </DbSource>
- </MainSource>
- <Mappings>
- <Mapping SourceColumn="id_pol" DataSetColumn="id_pol" />
- <Mapping SourceColumn="pol" DataSetColumn="pol" />
- </Mappings>
- <Sources />
- </TableAdapter>
- </Tables>
- <Sources />
- </DataSource>
- </xs:appinfo>
- </xs:annotation>
- <xs:element name="VINILDataSet_Pol" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_UserDSName="VINILDataSet_Pol" msprop:Generator_DataSetName="VINILDataSet_Pol">
- <xs:complexType>
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="Pol" msprop:Generator_RowEvHandlerName="PolRowChangeEventHandler" msprop:Generator_RowDeletedName="PolRowDeleted" msprop:Generator_RowDeletingName="PolRowDeleting" msprop:Generator_RowEvArgName="PolRowChangeEvent" msprop:Generator_TablePropName="Pol" msprop:Generator_RowChangedName="PolRowChanged" msprop:Generator_RowChangingName="PolRowChanging" msprop:Generator_TableClassName="PolDataTable" msprop:Generator_RowClassName="PolRow" msprop:Generator_TableVarName="tablePol" msprop:Generator_UserTableName="Pol">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id_pol" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnPropNameInRow="id_pol" msprop:Generator_ColumnPropNameInTable="id_polColumn" msprop:Generator_ColumnVarNameInTable="columnid_pol" msprop:Generator_UserColumnName="id_pol" type="xs:int" />
- <xs:element name="pol" msprop:Generator_ColumnPropNameInRow="pol" msprop:Generator_ColumnPropNameInTable="polColumn" msprop:Generator_ColumnVarNameInTable="columnpol" msprop:Generator_UserColumnName="pol">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="3" />
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:complexType>
- <xs:unique name="Constraint1" msdata:PrimaryKey="true">
- <xs:selector xpath=".//mstns:Pol" />
- <xs:field xpath="mstns:id_pol" />
- </xs:unique>
- </xs:element>
- </xs:schema>
|