-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgramLangDataSet.xsd
More file actions
121 lines (121 loc) · 13.9 KB
/
ProgramLangDataSet.xsd
File metadata and controls
121 lines (121 loc) · 13.9 KB
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="ProgramLangDataSet" targetNamespace="http://tempuri.org/ProgramLangDataSet.xsd" xmlns:mstns="http://tempuri.org/ProgramLangDataSet.xsd" xmlns="http://tempuri.org/ProgramLangDataSet.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="MySettings" AppSettingsPropertyName="ProgramLangConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ProgramLangConnectionString (MySettings)" PropertyReference="ApplicationSettings.ProgramLangDataManagement.My.MySettings.GlobalReference.Default.ProgramLangConnectionString" Provider="System.Data.OleDb" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StudentTableAdapter" GeneratorDataComponentClassName="StudentTableAdapter" Name="Student" UserDataComponentName="StudentTableAdapter">
<MainSource>
<DbSource ConnectionRef="ProgramLangConnectionString (MySettings)" DbObjectName="Student" 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 `Student` WHERE ((`StudID` = ?) AND ((? = 1 AND `StudName` IS NULL) OR (`StudName` = ?)) AND ((? = 1 AND `StudEmail` IS NULL) OR (`StudEmail` = ?)) AND ((? = 1 AND `StudGroup` IS NULL) OR (`StudGroup` = ?)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_StudID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="StudID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_StudName" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="StudName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_StudName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="StudName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_StudEmail" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="StudEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_StudEmail" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="StudEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_StudGroup" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="StudGroup" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_StudGroup" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="StudGroup" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO `Student` (`StudID`, `StudName`, `StudEmail`, `StudGroup`) VALUES (?, ?, ?, ?)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="StudID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="StudID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="StudName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="StudName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="StudEmail" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="StudEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="StudGroup" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="StudGroup" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT StudID, StudName, StudEmail, StudGroup FROM Student</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE `Student` SET `StudID` = ?, `StudName` = ?, `StudEmail` = ?, `StudGroup` = ? WHERE ((`StudID` = ?) AND ((? = 1 AND `StudName` IS NULL) OR (`StudName` = ?)) AND ((? = 1 AND `StudEmail` IS NULL) OR (`StudEmail` = ?)) AND ((? = 1 AND `StudGroup` IS NULL) OR (`StudGroup` = ?)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="StudID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="StudID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="StudName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="StudName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="StudEmail" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="StudEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="StudGroup" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="StudGroup" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_StudID" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="StudID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_StudName" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="StudName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_StudName" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="StudName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_StudEmail" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="StudEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_StudEmail" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="StudEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_StudGroup" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="StudGroup" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_StudGroup" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="StudGroup" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="StudID" DataSetColumn="StudID" />
<Mapping SourceColumn="StudName" DataSetColumn="StudName" />
<Mapping SourceColumn="StudEmail" DataSetColumn="StudEmail" />
<Mapping SourceColumn="StudGroup" DataSetColumn="StudGroup" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="ProgramLangDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="ProgramLangDataSet" msprop:Generator_UserDSName="ProgramLangDataSet">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Student" msprop:Generator_TableClassName="StudentDataTable" msprop:Generator_TableVarName="tableStudent" msprop:Generator_TablePropName="Student" msprop:Generator_RowDeletingName="StudentRowDeleting" msprop:Generator_RowChangingName="StudentRowChanging" msprop:Generator_RowEvHandlerName="StudentRowChangeEventHandler" msprop:Generator_RowDeletedName="StudentRowDeleted" msprop:Generator_UserTableName="Student" msprop:Generator_RowChangedName="StudentRowChanged" msprop:Generator_RowEvArgName="StudentRowChangeEvent" msprop:Generator_RowClassName="StudentRow">
<xs:complexType>
<xs:sequence>
<xs:element name="StudID" msprop:Generator_ColumnVarNameInTable="columnStudID" msprop:Generator_ColumnPropNameInRow="StudID" msprop:Generator_ColumnPropNameInTable="StudIDColumn" msprop:Generator_UserColumnName="StudID">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="StudName" msprop:Generator_ColumnVarNameInTable="columnStudName" msprop:Generator_ColumnPropNameInRow="StudName" msprop:Generator_ColumnPropNameInTable="StudNameColumn" msprop:Generator_UserColumnName="StudName" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="150" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="StudEmail" msprop:Generator_ColumnVarNameInTable="columnStudEmail" msprop:Generator_ColumnPropNameInRow="StudEmail" msprop:Generator_ColumnPropNameInTable="StudEmailColumn" msprop:Generator_UserColumnName="StudEmail" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="StudGroup" msprop:Generator_ColumnVarNameInTable="columnStudGroup" msprop:Generator_ColumnPropNameInRow="StudGroup" msprop:Generator_ColumnPropNameInTable="StudGroupColumn" msprop:Generator_UserColumnName="StudGroup" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</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:Student" />
<xs:field xpath="mstns:StudID" />
</xs:unique>
</xs:element>
</xs:schema>