-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDataSet3.xsd
101 lines (101 loc) · 11.6 KB
/
DataSet3.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
89
90
91
92
93
94
95
96
97
98
99
100
101
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DataSet3" targetNamespace="http://tempuri.org/DataSet3.xsd" xmlns:mstns="http://tempuri.org/DataSet3.xsd" xmlns="http://tempuri.org/DataSet3.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" GeneratorFunctionsComponentClassName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" UserFunctionsComponentName="QueriesTableAdapter" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections>
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="ConnectionString1" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ConnectionString1 (Settings)" ParameterPrefix=":" PropertyReference="ApplicationSettings.WindowsFormsApplication3.Properties.Settings.GlobalReference.Default.ConnectionString1" Provider="Oracle.DataAccess.Client" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="COUNTRIESTableAdapter" GeneratorDataComponentClassName="COUNTRIESTableAdapter" Name="COUNTRIES" UserDataComponentName="COUNTRIESTableAdapter">
<MainSource>
<DbSource ConnectionRef="ConnectionString1 (Settings)" DbObjectName="HR.COUNTRIES" 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 "HR"."COUNTRIES" WHERE (("COUNTRY_ID" = :Original_COUNTRY_ID) AND ((:IsNull_COUNTRY_NAME = 1 AND "COUNTRY_NAME" IS NULL) OR ("COUNTRY_NAME" = :Original_COUNTRY_NAME)) AND ((:IsNull_REGION_ID = 1 AND "REGION_ID" IS NULL) OR ("REGION_ID" = :Original_REGION_ID)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="Original_COUNTRY_ID" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="COUNTRY_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_COUNTRY_NAME" Precision="0" ProviderType="Int32" Scale="0" Size="0" SourceColumn="COUNTRY_NAME" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_COUNTRY_NAME" Precision="0" ProviderType="Varchar2" Scale="0" Size="0" SourceColumn="COUNTRY_NAME" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_REGION_ID" Precision="0" ProviderType="Int32" Scale="0" Size="0" SourceColumn="REGION_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_REGION_ID" Precision="0" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="REGION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO "HR"."COUNTRIES" ("COUNTRY_ID", "COUNTRY_NAME", "REGION_ID") VALUES (:COUNTRY_ID, :COUNTRY_NAME, :REGION_ID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="COUNTRY_ID" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="COUNTRY_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="COUNTRY_NAME" Precision="0" ProviderType="Varchar2" Scale="0" Size="0" SourceColumn="COUNTRY_NAME" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="REGION_ID" Precision="0" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="REGION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT COUNTRY_ID, COUNTRY_NAME, REGION_ID FROM HR.COUNTRIES</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE "HR"."COUNTRIES" SET "COUNTRY_ID" = :COUNTRY_ID, "COUNTRY_NAME" = :COUNTRY_NAME, "REGION_ID" = :REGION_ID WHERE (("COUNTRY_ID" = :Original_COUNTRY_ID) AND ((:IsNull_COUNTRY_NAME = 1 AND "COUNTRY_NAME" IS NULL) OR ("COUNTRY_NAME" = :Original_COUNTRY_NAME)) AND ((:IsNull_REGION_ID = 1 AND "REGION_ID" IS NULL) OR ("REGION_ID" = :Original_REGION_ID)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="COUNTRY_ID" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="COUNTRY_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="COUNTRY_NAME" Precision="0" ProviderType="Varchar2" Scale="0" Size="0" SourceColumn="COUNTRY_NAME" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="REGION_ID" Precision="0" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="REGION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="Original_COUNTRY_ID" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="COUNTRY_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_COUNTRY_NAME" Precision="0" ProviderType="Int32" Scale="0" Size="0" SourceColumn="COUNTRY_NAME" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_COUNTRY_NAME" Precision="0" ProviderType="Varchar2" Scale="0" Size="0" SourceColumn="COUNTRY_NAME" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_REGION_ID" Precision="0" ProviderType="Int32" Scale="0" Size="0" SourceColumn="REGION_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="Original_REGION_ID" Precision="0" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="REGION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="COUNTRY_ID" DataSetColumn="COUNTRY_ID" />
<Mapping SourceColumn="COUNTRY_NAME" DataSetColumn="COUNTRY_NAME" />
<Mapping SourceColumn="REGION_ID" DataSetColumn="REGION_ID" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="DataSet3" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="DataSet3" msprop:Generator_UserDSName="DataSet3">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="COUNTRIES" msprop:Generator_TableClassName="COUNTRIESDataTable" msprop:Generator_TableVarName="tableCOUNTRIES" msprop:Generator_RowChangedName="COUNTRIESRowChanged" msprop:Generator_TablePropName="COUNTRIES" msprop:Generator_RowDeletingName="COUNTRIESRowDeleting" msprop:Generator_RowChangingName="COUNTRIESRowChanging" msprop:Generator_RowEvHandlerName="COUNTRIESRowChangeEventHandler" msprop:Generator_RowDeletedName="COUNTRIESRowDeleted" msprop:Generator_RowClassName="COUNTRIESRow" msprop:Generator_UserTableName="COUNTRIES" msprop:Generator_RowEvArgName="COUNTRIESRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="COUNTRY_ID" msprop:Generator_ColumnVarNameInTable="columnCOUNTRY_ID" msprop:Generator_ColumnPropNameInRow="COUNTRY_ID" msprop:Generator_ColumnPropNameInTable="COUNTRY_IDColumn" msprop:Generator_UserColumnName="COUNTRY_ID">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="COUNTRY_NAME" msprop:Generator_ColumnVarNameInTable="columnCOUNTRY_NAME" msprop:Generator_ColumnPropNameInRow="COUNTRY_NAME" msprop:Generator_ColumnPropNameInTable="COUNTRY_NAMEColumn" msprop:Generator_UserColumnName="COUNTRY_NAME" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="40" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="REGION_ID" msprop:Generator_ColumnVarNameInTable="columnREGION_ID" msprop:Generator_ColumnPropNameInRow="REGION_ID" msprop:Generator_ColumnPropNameInTable="REGION_IDColumn" msprop:Generator_UserColumnName="REGION_ID" type="xs:decimal" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:COUNTRIES" />
<xs:field xpath="mstns:COUNTRY_ID" />
</xs:unique>
</xs:element>
</xs:schema>