-
Notifications
You must be signed in to change notification settings - Fork 0
/
DB_FWDDataSet2024.xsd
88 lines (88 loc) · 8.66 KB
/
DB_FWDDataSet2024.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DB_FWDDataSet2024" targetNamespace="http://tempuri.org/DB_FWDDataSet2024.xsd" xmlns:mstns="http://tempuri.org/DB_FWDDataSet2024.xsd" xmlns="http://tempuri.org/DB_FWDDataSet2024.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="DB_FWDConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="DB_FWDConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.FWD.Properties.Settings.GlobalReference.Default.DB_FWDConnectionString" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TB_SUPPTableAdapter" GeneratorDataComponentClassName="TB_SUPPTableAdapter" Name="TB_SUPP" UserDataComponentName="TB_SUPPTableAdapter">
<MainSource>
<DbSource ConnectionRef="DB_FWDConnectionString (Settings)" DbObjectName="DB_FWD.dbo.TB_SUPP" 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].[TB_SUPP] WHERE (([ID] = @Original_ID) AND ((@IsNull_SUPP_Name = 1 AND [SUPP_Name] IS NULL) OR ([SUPP_Name] = @Original_SUPP_Name)))</CommandText>
<Parameters>
<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" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SUPP_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SUPP_Name" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SUPP_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SUPP_Name" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[TB_SUPP] ([SUPP_Name]) VALUES (@SUPP_Name);
SELECT ID, SUPP_Name FROM TB_SUPP WHERE (ID = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SUPP_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SUPP_Name" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT ID, SUPP_Name FROM dbo.TB_SUPP</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[TB_SUPP] SET [SUPP_Name] = @SUPP_Name WHERE (([ID] = @Original_ID) AND ((@IsNull_SUPP_Name = 1 AND [SUPP_Name] IS NULL) OR ([SUPP_Name] = @Original_SUPP_Name)));
SELECT ID, SUPP_Name FROM TB_SUPP WHERE (ID = @ID)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SUPP_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SUPP_Name" SourceColumnNullMapping="false" SourceVersion="Current" />
<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" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SUPP_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SUPP_Name" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SUPP_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SUPP_Name" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="DB_FWD.dbo.TB_SUPP" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="ID" DataSetColumn="ID" />
<Mapping SourceColumn="SUPP_Name" DataSetColumn="SUPP_Name" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="DB_FWDDataSet2024" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="DB_FWDDataSet2024" msprop:Generator_UserDSName="DB_FWDDataSet2024">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="TB_SUPP" msprop:Generator_TableClassName="TB_SUPPDataTable" msprop:Generator_TableVarName="tableTB_SUPP" msprop:Generator_TablePropName="TB_SUPP" msprop:Generator_RowDeletingName="TB_SUPPRowDeleting" msprop:Generator_RowChangingName="TB_SUPPRowChanging" msprop:Generator_RowEvHandlerName="TB_SUPPRowChangeEventHandler" msprop:Generator_RowDeletedName="TB_SUPPRowDeleted" msprop:Generator_UserTableName="TB_SUPP" msprop:Generator_RowChangedName="TB_SUPPRowChanged" msprop:Generator_RowEvArgName="TB_SUPPRowChangeEvent" msprop:Generator_RowClassName="TB_SUPPRow">
<xs:complexType>
<xs:sequence>
<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" />
<xs:element name="SUPP_Name" msprop:Generator_ColumnVarNameInTable="columnSUPP_Name" msprop:Generator_ColumnPropNameInRow="SUPP_Name" msprop:Generator_ColumnPropNameInTable="SUPP_NameColumn" msprop:Generator_UserColumnName="SUPP_Name" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</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:TB_SUPP" />
<xs:field xpath="mstns:ID" />
</xs:unique>
</xs:element>
</xs:schema>