1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <xs : schema id =" MindQADataSet" targetNamespace =" http://tempuri.org/MindQADataSet.xsd" xmlns : mstns =" http://tempuri.org/MindQADataSet.xsd" xmlns =" http://tempuri.org/MindQADataSet.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" >
3+ <xs : annotation >
4+ <xs : appinfo source =" urn:schemas-microsoft-com:xml-msdatasource" >
5+ <DataSource DefaultConnectionIndex =" 0" FunctionsComponentName =" QueriesTableAdapter" Modifier =" AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode =" IncludeSchema" xmlns =" urn:schemas-microsoft-com:xml-msdatasource" >
6+ <Connections >
7+ <Connection AppSettingsObjectName =" MySettings" AppSettingsPropertyName =" MindQAConnectionString" ConnectionStringObject =" " IsAppSettingsProperty =" true" Modifier =" Assembly" Name =" MindQAConnectionString (MySettings)" PropertyReference =" ApplicationSettings.Chatbot_2020_Tutorial.My.MySettings.GlobalReference.Default.MindQAConnectionString" Provider =" System.Data.OleDb" />
8+ </Connections >
9+ <Tables >
10+ <TableAdapter BaseClass =" System.ComponentModel.Component" DataAccessorModifier =" AutoLayout, AnsiClass, Class, Public" DataAccessorName =" GeneralQuestionsTableAdapter" GeneratorDataComponentClassName =" GeneralQuestionsTableAdapter" Name =" GeneralQuestions" UserDataComponentName =" GeneralQuestionsTableAdapter" >
11+ <MainSource >
12+ <DbSource ConnectionRef =" MindQAConnectionString (MySettings)" DbObjectName =" GeneralQuestions" 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" >
13+ <DeleteCommand >
14+ <DbCommand CommandType =" Text" ModifiedByUser =" false" >
15+ <CommandText >DELETE FROM `GeneralQuestions` WHERE ((`ID` = ?))</CommandText >
16+ <Parameters >
17+ <Parameter AllowDbNull =" false" AutogeneratedName =" " DataSourceName =" " DbType =" Int32" Direction =" Input" ParameterName =" Original_ID" Precision =" 0" ProviderType =" Integer" Scale =" 0" Size =" 0" SourceColumn =" ID" SourceColumnNullMapping =" false" SourceVersion =" Original" />
18+ </Parameters >
19+ </DbCommand >
20+ </DeleteCommand >
21+ <InsertCommand >
22+ <DbCommand CommandType =" Text" ModifiedByUser =" false" >
23+ <CommandText >INSERT INTO `GeneralQuestions` (`Question`) VALUES (?)</CommandText >
24+ <Parameters >
25+ <Parameter AllowDbNull =" true" AutogeneratedName =" " DataSourceName =" " DbType =" String" Direction =" Input" ParameterName =" Question" Precision =" 0" ProviderType =" LongVarWChar" Scale =" 0" Size =" 0" SourceColumn =" Question" SourceColumnNullMapping =" false" SourceVersion =" Current" />
26+ </Parameters >
27+ </DbCommand >
28+ </InsertCommand >
29+ <SelectCommand >
30+ <DbCommand CommandType =" Text" ModifiedByUser =" false" >
31+ <CommandText >SELECT ID, Question FROM GeneralQuestions</CommandText >
32+ <Parameters />
33+ </DbCommand >
34+ </SelectCommand >
35+ <UpdateCommand >
36+ <DbCommand CommandType =" Text" ModifiedByUser =" false" >
37+ <CommandText >UPDATE `GeneralQuestions` SET `Question` = ? WHERE ((`ID` = ?))</CommandText >
38+ <Parameters >
39+ <Parameter AllowDbNull =" true" AutogeneratedName =" " DataSourceName =" " DbType =" String" Direction =" Input" ParameterName =" Question" Precision =" 0" ProviderType =" LongVarWChar" Scale =" 0" Size =" 0" SourceColumn =" Question" SourceColumnNullMapping =" false" SourceVersion =" Current" />
40+ <Parameter AllowDbNull =" false" AutogeneratedName =" " DataSourceName =" " DbType =" Int32" Direction =" Input" ParameterName =" Original_ID" Precision =" 0" ProviderType =" Integer" Scale =" 0" Size =" 0" SourceColumn =" ID" SourceColumnNullMapping =" false" SourceVersion =" Original" />
41+ </Parameters >
42+ </DbCommand >
43+ </UpdateCommand >
44+ </DbSource >
45+ </MainSource >
46+ <Mappings >
47+ <Mapping SourceColumn =" ID" DataSetColumn =" ID" />
48+ <Mapping SourceColumn =" Question" DataSetColumn =" Question" />
49+ </Mappings >
50+ <Sources />
51+ </TableAdapter >
52+ <TableAdapter BaseClass =" System.ComponentModel.Component" DataAccessorModifier =" AutoLayout, AnsiClass, Class, Public" DataAccessorName =" MindQATableAdapter" GeneratorDataComponentClassName =" MindQATableAdapter" Name =" MindQA" UserDataComponentName =" MindQATableAdapter" >
53+ <MainSource >
54+ <DbSource ConnectionRef =" MindQAConnectionString (MySettings)" DbObjectName =" MindQA" 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" >
55+ <InsertCommand >
56+ <DbCommand CommandType =" Text" ModifiedByUser =" false" >
57+ <CommandText >INSERT INTO `MindQA` (`QUESTION`, `Answer`) VALUES (?, ?)</CommandText >
58+ <Parameters >
59+ <Parameter AllowDbNull =" true" AutogeneratedName =" " DataSourceName =" " DbType =" String" Direction =" Input" ParameterName =" QUESTION" Precision =" 0" ProviderType =" VarWChar" Scale =" 0" Size =" 0" SourceColumn =" QUESTION" SourceColumnNullMapping =" false" SourceVersion =" Current" />
60+ <Parameter AllowDbNull =" true" AutogeneratedName =" " DataSourceName =" " DbType =" String" Direction =" Input" ParameterName =" Answer" Precision =" 0" ProviderType =" VarWChar" Scale =" 0" Size =" 0" SourceColumn =" Answer" SourceColumnNullMapping =" false" SourceVersion =" Current" />
61+ </Parameters >
62+ </DbCommand >
63+ </InsertCommand >
64+ <SelectCommand >
65+ <DbCommand CommandType =" Text" ModifiedByUser =" false" >
66+ <CommandText >SELECT QUESTION, Answer FROM MindQA</CommandText >
67+ <Parameters />
68+ </DbCommand >
69+ </SelectCommand >
70+ </DbSource >
71+ </MainSource >
72+ <Mappings >
73+ <Mapping SourceColumn =" QUESTION" DataSetColumn =" QUESTION" />
74+ <Mapping SourceColumn =" Answer" DataSetColumn =" Answer" />
75+ </Mappings >
76+ <Sources />
77+ </TableAdapter >
78+ <TableAdapter BaseClass =" System.ComponentModel.Component" DataAccessorModifier =" AutoLayout, AnsiClass, Class, Public" DataAccessorName =" QAMINDTableAdapter" GeneratorDataComponentClassName =" QAMINDTableAdapter" Name =" QAMIND" UserDataComponentName =" QAMINDTableAdapter" >
79+ <MainSource >
80+ <DbSource ConnectionRef =" MindQAConnectionString (MySettings)" DbObjectName =" QAMIND" 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" >
81+ <InsertCommand >
82+ <DbCommand CommandType =" Text" ModifiedByUser =" false" >
83+ <CommandText >INSERT INTO `QAMIND` (`QUESTION`, `Answer`) VALUES (?, ?)</CommandText >
84+ <Parameters >
85+ <Parameter AllowDbNull =" false" AutogeneratedName =" " DataSourceName =" " DbType =" String" Direction =" Input" ParameterName =" QUESTION" Precision =" 0" ProviderType =" VarWChar" Scale =" 0" Size =" 0" SourceColumn =" QUESTION" SourceColumnNullMapping =" false" SourceVersion =" Current" />
86+ <Parameter AllowDbNull =" true" AutogeneratedName =" " DataSourceName =" " DbType =" String" Direction =" Input" ParameterName =" Answer" Precision =" 0" ProviderType =" VarWChar" Scale =" 0" Size =" 0" SourceColumn =" Answer" SourceColumnNullMapping =" false" SourceVersion =" Current" />
87+ </Parameters >
88+ </DbCommand >
89+ </InsertCommand >
90+ <SelectCommand >
91+ <DbCommand CommandType =" Text" ModifiedByUser =" false" >
92+ <CommandText >SELECT QUESTION, Answer FROM QAMIND</CommandText >
93+ <Parameters />
94+ </DbCommand >
95+ </SelectCommand >
96+ </DbSource >
97+ </MainSource >
98+ <Mappings >
99+ <Mapping SourceColumn =" QUESTION" DataSetColumn =" QUESTION" />
100+ <Mapping SourceColumn =" Answer" DataSetColumn =" Answer" />
101+ </Mappings >
102+ <Sources />
103+ </TableAdapter >
104+ </Tables >
105+ <Sources />
106+ </DataSource >
107+ </xs : appinfo >
108+ </xs : annotation >
109+ <xs : element name =" MindQADataSet" msdata : IsDataSet =" true" msdata : UseCurrentLocale =" true" msprop : EnableTableAdapterManager =" True" msprop : Generator_DataSetName =" MindQADataSet" msprop : Generator_UserDSName =" MindQADataSet" >
110+ <xs : complexType >
111+ <xs : choice minOccurs =" 0" maxOccurs =" unbounded" >
112+ <xs : element name =" GeneralQuestions" msprop : Generator_TableClassName =" GeneralQuestionsDataTable" msprop : Generator_TableVarName =" tableGeneralQuestions" msprop : Generator_TablePropName =" GeneralQuestions" msprop : Generator_RowDeletingName =" GeneralQuestionsRowDeleting" msprop : Generator_RowChangingName =" GeneralQuestionsRowChanging" msprop : Generator_RowEvHandlerName =" GeneralQuestionsRowChangeEventHandler" msprop : Generator_RowDeletedName =" GeneralQuestionsRowDeleted" msprop : Generator_UserTableName =" GeneralQuestions" msprop : Generator_RowChangedName =" GeneralQuestionsRowChanged" msprop : Generator_RowEvArgName =" GeneralQuestionsRowChangeEvent" msprop : Generator_RowClassName =" GeneralQuestionsRow" >
113+ <xs : complexType >
114+ <xs : sequence >
115+ <xs : element name =" ID" 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" />
116+ <xs : element name =" Question" msprop : Generator_ColumnVarNameInTable =" columnQuestion" msprop : Generator_ColumnPropNameInRow =" Question" msprop : Generator_ColumnPropNameInTable =" QuestionColumn" msprop : Generator_UserColumnName =" Question" minOccurs =" 0" >
117+ <xs : simpleType >
118+ <xs : restriction base =" xs:string" >
119+ <xs : maxLength value =" 536870910" />
120+ </xs : restriction >
121+ </xs : simpleType >
122+ </xs : element >
123+ </xs : sequence >
124+ </xs : complexType >
125+ </xs : element >
126+ <xs : element name =" MindQA" msprop : Generator_TableClassName =" MindQADataTable" msprop : Generator_TableVarName =" tableMindQA" msprop : Generator_TablePropName =" MindQA" msprop : Generator_RowDeletingName =" MindQARowDeleting" msprop : Generator_RowChangingName =" MindQARowChanging" msprop : Generator_RowEvHandlerName =" MindQARowChangeEventHandler" msprop : Generator_RowDeletedName =" MindQARowDeleted" msprop : Generator_UserTableName =" MindQA" msprop : Generator_RowChangedName =" MindQARowChanged" msprop : Generator_RowEvArgName =" MindQARowChangeEvent" msprop : Generator_RowClassName =" MindQARow" >
127+ <xs : complexType >
128+ <xs : sequence >
129+ <xs : element name =" QUESTION" msprop : Generator_ColumnVarNameInTable =" columnQUESTION" msprop : Generator_ColumnPropNameInRow =" QUESTION" msprop : Generator_ColumnPropNameInTable =" QUESTIONColumn" msprop : Generator_UserColumnName =" QUESTION" minOccurs =" 0" >
130+ <xs : simpleType >
131+ <xs : restriction base =" xs:string" >
132+ <xs : maxLength value =" 255" />
133+ </xs : restriction >
134+ </xs : simpleType >
135+ </xs : element >
136+ <xs : element name =" Answer" msprop : Generator_ColumnVarNameInTable =" columnAnswer" msprop : Generator_ColumnPropNameInRow =" Answer" msprop : Generator_ColumnPropNameInTable =" AnswerColumn" msprop : Generator_UserColumnName =" Answer" minOccurs =" 0" >
137+ <xs : simpleType >
138+ <xs : restriction base =" xs:string" >
139+ <xs : maxLength value =" 255" />
140+ </xs : restriction >
141+ </xs : simpleType >
142+ </xs : element >
143+ </xs : sequence >
144+ </xs : complexType >
145+ </xs : element >
146+ <xs : element name =" QAMIND" msprop : Generator_TableClassName =" QAMINDDataTable" msprop : Generator_TableVarName =" tableQAMIND" msprop : Generator_TablePropName =" QAMIND" msprop : Generator_RowDeletingName =" QAMINDRowDeleting" msprop : Generator_RowChangingName =" QAMINDRowChanging" msprop : Generator_RowEvHandlerName =" QAMINDRowChangeEventHandler" msprop : Generator_RowDeletedName =" QAMINDRowDeleted" msprop : Generator_UserTableName =" QAMIND" msprop : Generator_RowChangedName =" QAMINDRowChanged" msprop : Generator_RowEvArgName =" QAMINDRowChangeEvent" msprop : Generator_RowClassName =" QAMINDRow" >
147+ <xs : complexType >
148+ <xs : sequence >
149+ <xs : element name =" QUESTION" msprop : Generator_ColumnVarNameInTable =" columnQUESTION" msprop : Generator_ColumnPropNameInRow =" QUESTION" msprop : Generator_ColumnPropNameInTable =" QUESTIONColumn" msprop : Generator_UserColumnName =" QUESTION" minOccurs =" 0" >
150+ <xs : simpleType >
151+ <xs : restriction base =" xs:string" >
152+ <xs : maxLength value =" 255" />
153+ </xs : restriction >
154+ </xs : simpleType >
155+ </xs : element >
156+ <xs : element name =" Answer" msprop : Generator_ColumnVarNameInTable =" columnAnswer" msprop : Generator_ColumnPropNameInRow =" Answer" msprop : Generator_ColumnPropNameInTable =" AnswerColumn" msprop : Generator_UserColumnName =" Answer" minOccurs =" 0" >
157+ <xs : simpleType >
158+ <xs : restriction base =" xs:string" >
159+ <xs : maxLength value =" 255" />
160+ </xs : restriction >
161+ </xs : simpleType >
162+ </xs : element >
163+ </xs : sequence >
164+ </xs : complexType >
165+ </xs : element >
166+ </xs : choice >
167+ </xs : complexType >
168+ <xs : unique name =" Constraint1" msdata : PrimaryKey =" true" >
169+ <xs : selector xpath =" .//mstns:GeneralQuestions" />
170+ <xs : field xpath =" mstns:ID" />
171+ </xs : unique >
172+ <xs : unique name =" QAMIND_Constraint1" msdata : ConstraintName =" Constraint1" >
173+ <xs : selector xpath =" .//mstns:QAMIND" />
174+ <xs : field xpath =" mstns:QUESTION" />
175+ </xs : unique >
176+ </xs : element >
177+ </xs : schema >
0 commit comments