-
Notifications
You must be signed in to change notification settings - Fork 0
/
DB_FWDDataSet2022.xsd
88 lines (88 loc) · 8.78 KB
/
DB_FWDDataSet2022.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_FWDDataSet2022" targetNamespace="http://tempuri.org/DB_FWDDataSet2022.xsd" xmlns:mstns="http://tempuri.org/DB_FWDDataSet2022.xsd" xmlns="http://tempuri.org/DB_FWDDataSet2022.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_WL_CATTableAdapter" GeneratorDataComponentClassName="TB_WL_CATTableAdapter" Name="TB_WL_CAT" UserDataComponentName="TB_WL_CATTableAdapter">
<MainSource>
<DbSource ConnectionRef="DB_FWDConnectionString (Settings)" DbObjectName="DB_FWD.dbo.TB_WL_CAT" 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_WL_CAT] WHERE (([ID] = @Original_ID) AND ((@IsNull_WL_Category = 1 AND [WL_Category] IS NULL) OR ([WL_Category] = @Original_WL_Category)))</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_WL_Category" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="WL_Category" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_WL_Category" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="WL_Category" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[TB_WL_CAT] ([WL_Category]) VALUES (@WL_Category);
SELECT ID, WL_Category FROM TB_WL_CAT WHERE (ID = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@WL_Category" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="WL_Category" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT ID, WL_Category FROM dbo.TB_WL_CAT</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[TB_WL_CAT] SET [WL_Category] = @WL_Category WHERE (([ID] = @Original_ID) AND ((@IsNull_WL_Category = 1 AND [WL_Category] IS NULL) OR ([WL_Category] = @Original_WL_Category)));
SELECT ID, WL_Category FROM TB_WL_CAT WHERE (ID = @ID)</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@WL_Category" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="WL_Category" 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_WL_Category" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="WL_Category" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_WL_Category" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="WL_Category" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="DB_FWD.dbo.TB_WL_CAT" 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="WL_Category" DataSetColumn="WL_Category" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="DB_FWDDataSet2022" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="DB_FWDDataSet2022" msprop:Generator_UserDSName="DB_FWDDataSet2022">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="TB_WL_CAT" msprop:Generator_TableClassName="TB_WL_CATDataTable" msprop:Generator_TableVarName="tableTB_WL_CAT" msprop:Generator_TablePropName="TB_WL_CAT" msprop:Generator_RowDeletingName="TB_WL_CATRowDeleting" msprop:Generator_RowChangingName="TB_WL_CATRowChanging" msprop:Generator_RowEvHandlerName="TB_WL_CATRowChangeEventHandler" msprop:Generator_RowDeletedName="TB_WL_CATRowDeleted" msprop:Generator_UserTableName="TB_WL_CAT" msprop:Generator_RowChangedName="TB_WL_CATRowChanged" msprop:Generator_RowEvArgName="TB_WL_CATRowChangeEvent" msprop:Generator_RowClassName="TB_WL_CATRow">
<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="WL_Category" msprop:Generator_ColumnVarNameInTable="columnWL_Category" msprop:Generator_ColumnPropNameInRow="WL_Category" msprop:Generator_ColumnPropNameInTable="WL_CategoryColumn" msprop:Generator_UserColumnName="WL_Category" 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_WL_CAT" />
<xs:field xpath="mstns:ID" />
</xs:unique>
</xs:element>
</xs:schema>