h-you / branches / src / ProcessManagement / ProcessManagement / lib / MySql.Data.xml @ 286
履歴 | 表示 | アノテート | ダウンロード (524 KB)
1 | 51 | bit | <?xml version="1.0"?>
|
---|---|---|---|
2 | <doc>
|
||
3 | <assembly>
|
||
4 | <name>MySql.Data</name> |
||
5 | </assembly>
|
||
6 | <members>
|
||
7 | <member name="M:MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.GetPlugin(System.String,MySql.Data.MySqlClient.NativeDriver,System.Byte[])"> |
||
8 | <summary>
|
||
9 | This is a factory method that is used only internally. It creates an auth plugin based on the method type |
||
10 | </summary>
|
||
11 | <param name="method"></param> |
||
12 | <param name="flags"></param> |
||
13 | <param name="settings"></param> |
||
14 | <returns></returns> |
||
15 | </member>
|
||
16 | <member name="M:MySql.Data.MySqlClient.Authentication.MySqlNativePasswordPlugin.Get411Password(System.String,System.Byte[])"> |
||
17 | <summary>
|
||
18 | Returns a byte array containing the proper encryption of the |
||
19 | given password/seed according to the new 4.1.1 authentication scheme. |
||
20 | </summary>
|
||
21 | <param name="password"></param> |
||
22 | <param name="seed"></param> |
||
23 | <returns></returns> |
||
24 | </member>
|
||
25 | <member name="T:MySql.Data.MySqlClient.Authentication.Sha256AuthenticationPlugin"> |
||
26 | <summary>
|
||
27 | The implementation of the sha256_password authentication plugin. |
||
28 | </summary>
|
||
29 | </member>
|
||
30 | <member name="T:MySql.Data.MySqlClient.Authentication.MySqlWindowsAuthenticationPlugin"> |
||
31 | <summary>
|
||
32 | |||
33 | </summary>
|
||
34 | </member>
|
||
35 | <member name="T:MySql.Data.MySqlClient.MySqlBulkLoader"> |
||
36 | <summary>
|
||
37 | |||
38 | </summary>
|
||
39 | </member>
|
||
40 | <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.Connection"> |
||
41 | <summary>
|
||
42 | Gets or sets the connection. |
||
43 | </summary>
|
||
44 | <value>The connection.</value> |
||
45 | </member>
|
||
46 | <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.FieldTerminator"> |
||
47 | <summary>
|
||
48 | Gets or sets the field terminator. |
||
49 | </summary>
|
||
50 | <value>The field terminator.</value> |
||
51 | </member>
|
||
52 | <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.LineTerminator"> |
||
53 | <summary>
|
||
54 | Gets or sets the line terminator. |
||
55 | </summary>
|
||
56 | <value>The line terminator.</value> |
||
57 | </member>
|
||
58 | <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.TableName"> |
||
59 | <summary>
|
||
60 | Gets or sets the name of the table. |
||
61 | </summary>
|
||
62 | <value>The name of the table.</value> |
||
63 | </member>
|
||
64 | <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.CharacterSet"> |
||
65 | <summary>
|
||
66 | Gets or sets the character set. |
||
67 | </summary>
|
||
68 | <value>The character set.</value> |
||
69 | </member>
|
||
70 | <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.FileName"> |
||
71 | <summary>
|
||
72 | Gets or sets the name of the file. |
||
73 | </summary>
|
||
74 | <value>The name of the file.</value> |
||
75 | </member>
|
||
76 | <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.Timeout"> |
||
77 | <summary>
|
||
78 | Gets or sets the timeout. |
||
79 | </summary>
|
||
80 | <value>The timeout.</value> |
||
81 | </member>
|
||
82 | <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.Local"> |
||
83 | <summary>
|
||
84 | Gets or sets a value indicating whether the filename that is to be loaded |
||
85 | is local to the client or not |
||
86 | </summary>
|
||
87 | <value><c>true</c> if local; otherwise, <c>false</c>.</value> |
||
88 | </member>
|
||
89 | <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.NumberOfLinesToSkip"> |
||
90 | <summary>
|
||
91 | Gets or sets the number of lines to skip. |
||
92 | </summary>
|
||
93 | <value>The number of lines to skip.</value> |
||
94 | </member>
|
||
95 | <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.LinePrefix"> |
||
96 | <summary>
|
||
97 | Gets or sets the line prefix. |
||
98 | </summary>
|
||
99 | <value>The line prefix.</value> |
||
100 | </member>
|
||
101 | <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.FieldQuotationCharacter"> |
||
102 | <summary>
|
||
103 | Gets or sets the field quotation character. |
||
104 | </summary>
|
||
105 | <value>The field quotation character.</value> |
||
106 | </member>
|
||
107 | <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.FieldQuotationOptional"> |
||
108 | <summary>
|
||
109 | Gets or sets a value indicating whether [field quotation optional]. |
||
110 | </summary>
|
||
111 | <value>
|
||
112 | <c>true</c> if [field quotation optional]; otherwise, <c>false</c>. |
||
113 | </value>
|
||
114 | </member>
|
||
115 | <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.EscapeCharacter"> |
||
116 | <summary>
|
||
117 | Gets or sets the escape character. |
||
118 | </summary>
|
||
119 | <value>The escape character.</value> |
||
120 | </member>
|
||
121 | <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.ConflictOption"> |
||
122 | <summary>
|
||
123 | Gets or sets the conflict option. |
||
124 | </summary>
|
||
125 | <value>The conflict option.</value> |
||
126 | </member>
|
||
127 | <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.Priority"> |
||
128 | <summary>
|
||
129 | Gets or sets the priority. |
||
130 | </summary>
|
||
131 | <value>The priority.</value> |
||
132 | </member>
|
||
133 | <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.Columns"> |
||
134 | <summary>
|
||
135 | Gets the columns. |
||
136 | </summary>
|
||
137 | <value>The columns.</value> |
||
138 | </member>
|
||
139 | <member name="P:MySql.Data.MySqlClient.MySqlBulkLoader.Expressions"> |
||
140 | <summary>
|
||
141 | Gets the expressions. |
||
142 | </summary>
|
||
143 | <value>The expressions.</value> |
||
144 | </member>
|
||
145 | <member name="M:MySql.Data.MySqlClient.MySqlBulkLoader.Load"> |
||
146 | <summary>
|
||
147 | Execute the load operation |
||
148 | </summary>
|
||
149 | <returns>The number of rows inserted.</returns> |
||
150 | </member>
|
||
151 | <member name="M:MySql.Data.MySqlClient.MySqlBulkLoader.LoadAsync"> |
||
152 | <summary>
|
||
153 | Async version of Load |
||
154 | </summary>
|
||
155 | <returns>The number of rows inserted.</returns> |
||
156 | </member>
|
||
157 | <member name="T:MySql.Data.MySqlClient.MySqlBulkLoaderPriority"> |
||
158 | <summary>
|
||
159 | |||
160 | </summary>
|
||
161 | </member>
|
||
162 | <member name="F:MySql.Data.MySqlClient.MySqlBulkLoaderPriority.None"> |
||
163 | <summary>
|
||
164 | This is the default and indicates normal priority |
||
165 | </summary>
|
||
166 | </member>
|
||
167 | <member name="F:MySql.Data.MySqlClient.MySqlBulkLoaderPriority.Low"> |
||
168 | <summary>
|
||
169 | Low priority will cause the load operation to wait until all readers of the table |
||
170 | have finished. This only affects storage engines that use only table-level locking |
||
171 | such as MyISAM, Memory, and Merge. |
||
172 | </summary>
|
||
173 | </member>
|
||
174 | <member name="F:MySql.Data.MySqlClient.MySqlBulkLoaderPriority.Concurrent"> |
||
175 | <summary>
|
||
176 | Concurrent priority is only relevant for MyISAM tables and signals that if the table |
||
177 | has no free blocks in the middle that other readers can retrieve data from the table |
||
178 | while the load operation is happening. |
||
179 | </summary>
|
||
180 | </member>
|
||
181 | <member name="T:MySql.Data.MySqlClient.MySqlBulkLoaderConflictOption"> |
||
182 | <summary>
|
||
183 | |||
184 | </summary>
|
||
185 | </member>
|
||
186 | <member name="F:MySql.Data.MySqlClient.MySqlBulkLoaderConflictOption.None"> |
||
187 | <summary>
|
||
188 | This is the default and indicates normal operation. In the event of a LOCAL load, this |
||
189 | is the same as ignore. When the data file is on the server, then a key conflict will |
||
190 | cause an error to be thrown and the rest of the data file ignored. |
||
191 | </summary>
|
||
192 | </member>
|
||
193 | <member name="F:MySql.Data.MySqlClient.MySqlBulkLoaderConflictOption.Replace"> |
||
194 | <summary>
|
||
195 | Replace column values when a key conflict occurs. |
||
196 | </summary>
|
||
197 | </member>
|
||
198 | <member name="F:MySql.Data.MySqlClient.MySqlBulkLoaderConflictOption.Ignore"> |
||
199 | <summary>
|
||
200 | Ignore any rows where the primary key conflicts. |
||
201 | </summary>
|
||
202 | </member>
|
||
203 | <member name="T:MySql.Data.MySqlClient.CharSetMap"> |
||
204 | <summary>
|
||
205 | Summary description for CharSetMap. |
||
206 | </summary>
|
||
207 | </member>
|
||
208 | <member name="M:MySql.Data.MySqlClient.CharSetMap.GetEncoding(MySql.Data.Common.DBVersion,System.String)"> |
||
209 | <summary>
|
||
210 | Returns the text encoding for a given MySQL character set name |
||
211 | </summary>
|
||
212 | <param name="version">Version of the connection requesting the encoding</param> |
||
213 | <param name="CharSetName">Name of the character set to get the encoding for</param> |
||
214 | <returns>Encoding object for the given character set name</returns> |
||
215 | </member>
|
||
216 | <member name="M:MySql.Data.MySqlClient.CharSetMap.InitializeMapping"> |
||
217 | <summary>
|
||
218 | |||
219 | </summary>
|
||
220 | </member>
|
||
221 | <member name="T:MySql.Data.MySqlClient.MySqlCommand"> |
||
222 | <summary>Represents a SQL statement to execute against a MySQL database. This class cannot be inherited.</summary><remarks> |
||
223 | <B>MySqlCommand</B> features the following methods for executing commands at a MySQL database: |
||
224 | <list type="table"> |
||
225 | <listheader>
|
||
226 | <term>Item</term> |
||
227 | <term>Description</term> |
||
228 | </listheader>
|
||
229 | <item>
|
||
230 | <term>
|
||
231 | <a href="MySql.Data.MySqlClient.MySqlCommand.ExecuteReader_overloads.html">ExecuteReader</a> |
||
232 | </term>
|
||
233 | <description>Executes commands that return rows.</description> |
||
234 | </item>
|
||
235 | <item>
|
||
236 | <term>
|
||
237 | <a href="MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery.html">ExecuteNonQuery</a> |
||
238 | </term>
|
||
239 | <description>Executes commands such as SQL INSERT, DELETE, and UPDATE statements.</description> |
||
240 | </item>
|
||
241 | <item>
|
||
242 | <term>
|
||
243 | <a href="MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar.html">ExecuteScalar</a> |
||
244 | </term>
|
||
245 | <description>Retrieves a single value (for example, an aggregate value) from a database.</description> |
||
246 | </item>
|
||
247 | </list>
|
||
248 | |||
249 | You can reset the <B>CommandText</B> property and reuse the <B>MySqlCommand</B> |
||
250 | object. However, you must close the <A href="MySql.Data.MySqlClient.MySqlDataReader.html">MySqlDataReader</A> |
||
251 | before you can execute a new or previous command. |
||
252 | |||
253 | If a <A href="MySql.Data.MySqlClient.MySqlException.html">MySqlException</A> is |
||
254 | generated by the method executing a <B>MySqlCommand</B>, the <A href="MySql.Data.MySqlClient.MySqlConnection.html">MySqlConnection</A> |
||
255 | remains open. It is the responsibility of the programmer to close the connection. |
||
256 | |||
257 | <note>
|
||
258 | Using the '@' symbol for paramters is now the preferred approach although the old pattern of using |
||
259 | '?' is still supported. Please be aware though that using '@' can cause conflicts when user variables |
||
260 | are also used. To help with this situation please see the documentation on the 'allow user variables' |
||
261 | connection string option. The 'old syntax' connection string option has now been deprecated. |
||
262 | </note>
|
||
263 | </remarks><example> |
||
264 | The following example creates a <A href="frlrfsystemdatasqlclientsqlcommandclasstopic.htm">MySqlCommand</A> and |
||
265 | a <B>MySqlConnection</B>. The <B>MySqlConnection</B> is opened and set as the <A href="frlrfsystemdatasqlclientsqlcommandclassconnectiontopic.htm">Connection</A> |
||
266 | for the <B>MySqlCommand</B>. The example then calls <A href="frlrfsystemdatasqlclientsqlcommandclassexecutenonquerytopic.htm">ExecuteNonQuery</A>, |
||
267 | and closes the connection. To accomplish this, the <B>ExecuteNonQuery</B> is |
||
268 | passed a connection string and a query string that is a SQL INSERT |
||
269 | statement. |
||
270 | <code lang="vbnet"> |
||
271 | Public Sub InsertRow(myConnectionString As String) |
||
272 | " If the connection string is null, use a default. |
||
273 | If myConnectionString = "" Then |
||
274 | myConnectionString = "Database=Test;Data Source=localhost;User Id=username;Password=pass" |
||
275 | End If |
||
276 | Dim myConnection As New MySqlConnection(myConnectionString) |
||
277 | Dim myInsertQuery As String = "INSERT INTO Orders (id, customerId, amount) Values(1001, 23, 30.66)" |
||
278 | Dim myCommand As New MySqlCommand(myInsertQuery) |
||
279 | myCommand.Connection = myConnection |
||
280 | myConnection.Open() |
||
281 | myCommand.ExecuteNonQuery() |
||
282 | myCommand.Connection.Close() |
||
283 | End Sub |
||
284 | </code>
|
||
285 | <code lang="C#"> |
||
286 | public void InsertRow(string myConnectionString) |
||
287 | { |
||
288 | // If the connection string is null, use a default. |
||
289 | if(myConnectionString == "") |
||
290 | { |
||
291 | myConnectionString = "Database=Test;Data Source=localhost;User Id=username;Password=pass"; |
||
292 | } |
||
293 | MySqlConnection myConnection = new MySqlConnection(myConnectionString); |
||
294 | string myInsertQuery = "INSERT INTO Orders (id, customerId, amount) Values(1001, 23, 30.66)"; |
||
295 | MySqlCommand myCommand = new MySqlCommand(myInsertQuery); |
||
296 | myCommand.Connection = myConnection; |
||
297 | myConnection.Open(); |
||
298 | myCommand.ExecuteNonQuery(); |
||
299 | myCommand.Connection.Close(); |
||
300 | } |
||
301 | </code>
|
||
302 | </example>
|
||
303 | </member>
|
||
304 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.#ctor"> |
||
305 | <overloads>
|
||
306 | <summary>
|
||
307 | Initializes a new instance of the MySqlCommand class. |
||
308 | </summary>
|
||
309 | <example>
|
||
310 | The following example creates a MySqlCommand and sets some of its properties. |
||
311 | <para /> |
||
312 | <note>
|
||
313 | This example shows how to use one of the overloaded |
||
314 | versions of the MySqlCommand constructor. For other examples that might be available, |
||
315 | see the individual overload topics. |
||
316 | </note>
|
||
317 | |||
318 | <code lang="vbnet"> |
||
319 | Public Sub CreateMySqlCommand() |
||
320 | Dim myConnection As New MySqlConnection _ |
||
321 | ("Persist Security Info=False;database=test;server=myServer") |
||
322 | myConnection.Open() |
||
323 | Dim myTrans As MySqlTransaction = myConnection.BeginTransaction() |
||
324 | Dim mySelectQuery As String = "SELECT * FROM MyTable" |
||
325 | Dim myCommand As New MySqlCommand(mySelectQuery, myConnection, myTrans) |
||
326 | myCommand.CommandTimeout = 20 |
||
327 | End Sub |
||
328 | </code>
|
||
329 | <code lang="C#"> |
||
330 | public void CreateMySqlCommand() |
||
331 | { |
||
332 | MySqlConnection myConnection = new MySqlConnection("Persist Security Info=False; |
||
333 | database=test;server=myServer"); |
||
334 | myConnection.Open(); |
||
335 | MySqlTransaction myTrans = myConnection.BeginTransaction(); |
||
336 | string mySelectQuery = "SELECT * FROM myTable"; |
||
337 | MySqlCommand myCommand = new MySqlCommand(mySelectQuery, myConnection,myTrans); |
||
338 | myCommand.CommandTimeout = 20; |
||
339 | } |
||
340 | </code>
|
||
341 | <code lang="C++"> |
||
342 | public: |
||
343 | void CreateMySqlCommand() |
||
344 | { |
||
345 | MySqlConnection* myConnection = new MySqlConnection(S"Persist Security Info=False; |
||
346 | database=test;server=myServer"); |
||
347 | myConnection->Open();
|
||
348 | MySqlTransaction* myTrans = myConnection->BeginTransaction();
|
||
349 | String* mySelectQuery = S"SELECT * FROM myTable"; |
||
350 | MySqlCommand* myCommand = new MySqlCommand(mySelectQuery, myConnection, myTrans); |
||
351 | myCommand->CommandTimeout = 20;
|
||
352 | }; |
||
353 | </code>
|
||
354 | </example>
|
||
355 | </overloads><summary> |
||
356 | Initializes a new instance of the MySqlCommand class. |
||
357 | </summary><remarks> |
||
358 | The base constructor initializes all fields to their default values. The |
||
359 | following table shows initial property values for an instance of <see cref="T:MySql.Data.MySqlClient.MySqlCommand" />. |
||
360 | <list type="table"> |
||
361 | <listheader>
|
||
362 | <term>Properties</term> |
||
363 | <term>Initial Value</term> |
||
364 | </listheader>
|
||
365 | <item>
|
||
366 | <term>
|
||
367 | <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandText" /> |
||
368 | </term>
|
||
369 | <term>empty string ("")</term> |
||
370 | </item>
|
||
371 | <item>
|
||
372 | <term>
|
||
373 | <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandTimeout" /> |
||
374 | </term>
|
||
375 | <term>0</term> |
||
376 | </item>
|
||
377 | <item>
|
||
378 | <term>
|
||
379 | <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandType" /> |
||
380 | </term>
|
||
381 | <term>CommandType.Text</term> |
||
382 | </item>
|
||
383 | <item>
|
||
384 | <term>
|
||
385 | <see cref="P:MySql.Data.MySqlClient.MySqlCommand.Connection" /> |
||
386 | </term>
|
||
387 | <term>Null</term> |
||
388 | </item>
|
||
389 | </list>
|
||
390 | <para>
|
||
391 | You can change the value for any of these properties through a separate call to |
||
392 | the property. |
||
393 | </para>
|
||
394 | </remarks><example> |
||
395 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> and |
||
396 | sets some of its properties. |
||
397 | |||
398 | <code lang="vbnet"> |
||
399 | Public Sub CreateMySqlCommand() |
||
400 | Dim myCommand As New MySqlCommand() |
||
401 | myCommand.CommandType = CommandType.Text |
||
402 | End Sub |
||
403 | </code>
|
||
404 | <code lang="C#"> |
||
405 | public void CreateMySqlCommand() |
||
406 | { |
||
407 | MySqlCommand myCommand = new MySqlCommand(); |
||
408 | myCommand.CommandType = CommandType.Text; |
||
409 | } |
||
410 | </code>
|
||
411 | </example>
|
||
412 | </member>
|
||
413 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.#ctor(System.String)"> |
||
414 | <summary>
|
||
415 | Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> class with the text of the query. |
||
416 | </summary><param name="cmdText">The text of the query.</param><remarks> |
||
417 | When an instance of <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> is created, |
||
418 | the following read/write properties are set to initial values. |
||
419 | |||
420 | <list type="table"> |
||
421 | <listheader>
|
||
422 | <term>Properties</term> |
||
423 | <term>Initial Value</term> |
||
424 | </listheader>
|
||
425 | <item>
|
||
426 | <term>
|
||
427 | <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandText" /> |
||
428 | </term>
|
||
429 | <term>
|
||
430 | <i>cmdText</i> |
||
431 | </term>
|
||
432 | </item>
|
||
433 | <item>
|
||
434 | <term>
|
||
435 | <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandTimeout" /> |
||
436 | </term>
|
||
437 | <term>0</term> |
||
438 | </item>
|
||
439 | <item>
|
||
440 | <term>
|
||
441 | <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandType" /> |
||
442 | </term>
|
||
443 | <term>CommandType.Text</term> |
||
444 | </item>
|
||
445 | <item>
|
||
446 | <term>
|
||
447 | <see cref="P:MySql.Data.MySqlClient.MySqlCommand.Connection" /> |
||
448 | </term>
|
||
449 | <term>Null</term> |
||
450 | </item>
|
||
451 | </list>
|
||
452 | <para>
|
||
453 | You can change the value for any of these properties through a separate call to |
||
454 | the property. |
||
455 | </para>
|
||
456 | </remarks><example> |
||
457 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> and |
||
458 | sets some of its properties. |
||
459 | |||
460 | <code lang="vbnet"> |
||
461 | Public Sub CreateMySqlCommand() |
||
462 | Dim sql as String = "SELECT * FROM mytable" |
||
463 | Dim myCommand As New MySqlCommand(sql) |
||
464 | myCommand.CommandType = CommandType.Text |
||
465 | End Sub |
||
466 | </code>
|
||
467 | <code lang="C#"> |
||
468 | public void CreateMySqlCommand() |
||
469 | { |
||
470 | string sql = "SELECT * FROM mytable"; |
||
471 | MySqlCommand myCommand = new MySqlCommand(sql); |
||
472 | myCommand.CommandType = CommandType.Text; |
||
473 | } |
||
474 | </code>
|
||
475 | </example>
|
||
476 | </member>
|
||
477 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.#ctor(System.String,MySql.Data.MySqlClient.MySqlConnection)"> |
||
478 | <summary>
|
||
479 | Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> class |
||
480 | with the text of the query and a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />. |
||
481 | </summary><param name="cmdText">The text of the query.</param><param name="connection"> |
||
482 | A <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> that represents the |
||
483 | connection to an instance of SQL Server. |
||
484 | </param><remarks> |
||
485 | When an instance of <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> is created, |
||
486 | the following read/write properties are set to initial values. |
||
487 | |||
488 | <list type="table"> |
||
489 | <listheader>
|
||
490 | <term>Properties</term> |
||
491 | <term>Initial Value</term> |
||
492 | </listheader>
|
||
493 | <item>
|
||
494 | <term>
|
||
495 | <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandText" /> |
||
496 | </term>
|
||
497 | <term>
|
||
498 | <i>cmdText</i> |
||
499 | </term>
|
||
500 | </item>
|
||
501 | <item>
|
||
502 | <term>
|
||
503 | <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandTimeout" /> |
||
504 | </term>
|
||
505 | <term>0</term> |
||
506 | </item>
|
||
507 | <item>
|
||
508 | <term>
|
||
509 | <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandType" /> |
||
510 | </term>
|
||
511 | <term>CommandType.Text</term> |
||
512 | </item>
|
||
513 | <item>
|
||
514 | <term>
|
||
515 | <see cref="P:MySql.Data.MySqlClient.MySqlCommand.Connection" /> |
||
516 | </term>
|
||
517 | <term>
|
||
518 | <i>connection</i> |
||
519 | </term>
|
||
520 | </item>
|
||
521 | </list>
|
||
522 | <para>
|
||
523 | You can change the value for any of these properties through a separate call to |
||
524 | the property. |
||
525 | </para>
|
||
526 | </remarks><example> |
||
527 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> and |
||
528 | sets some of its properties. |
||
529 | |||
530 | <code lang="vbnet"> |
||
531 | Public Sub CreateMySqlCommand() |
||
532 | Dim conn as new MySqlConnection("server=myServer") |
||
533 | Dim sql as String = "SELECT * FROM mytable" |
||
534 | Dim myCommand As New MySqlCommand(sql, conn) |
||
535 | myCommand.CommandType = CommandType.Text |
||
536 | End Sub |
||
537 | </code>
|
||
538 | <code lang="C#"> |
||
539 | public void CreateMySqlCommand() |
||
540 | { |
||
541 | MySqlConnection conn = new MySqlConnection("server=myserver") |
||
542 | string sql = "SELECT * FROM mytable"; |
||
543 | MySqlCommand myCommand = new MySqlCommand(sql, conn); |
||
544 | myCommand.CommandType = CommandType.Text; |
||
545 | } |
||
546 | </code>
|
||
547 | </example>
|
||
548 | </member>
|
||
549 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.#ctor(System.String,MySql.Data.MySqlClient.MySqlConnection,MySql.Data.MySqlClient.MySqlTransaction)"> |
||
550 | <summary>
|
||
551 | Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> class |
||
552 | with the text of the query, a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />, and the |
||
553 | <see cref="T:MySql.Data.MySqlClient.MySqlTransaction" />. |
||
554 | </summary><param name="cmdText">The text of the query.</param><param name="connection"> |
||
555 | A <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> that represents the |
||
556 | connection to an instance of SQL Server. |
||
557 | </param><param name="transaction"> |
||
558 | The <see cref="T:MySql.Data.MySqlClient.MySqlTransaction" /> in which the <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> executes. |
||
559 | </param><remarks> |
||
560 | When an instance of <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> is created, |
||
561 | the following read/write properties are set to initial values. |
||
562 | |||
563 | <list type="table"> |
||
564 | <listheader>
|
||
565 | <term>Properties</term> |
||
566 | <term>Initial Value</term> |
||
567 | </listheader>
|
||
568 | <item>
|
||
569 | <term>
|
||
570 | <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandText" /> |
||
571 | </term>
|
||
572 | <term>
|
||
573 | <i>cmdText</i> |
||
574 | </term>
|
||
575 | </item>
|
||
576 | <item>
|
||
577 | <term>
|
||
578 | <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandTimeout" /> |
||
579 | </term>
|
||
580 | <term>0</term> |
||
581 | </item>
|
||
582 | <item>
|
||
583 | <term>
|
||
584 | <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandType" /> |
||
585 | </term>
|
||
586 | <term>CommandType.Text</term> |
||
587 | </item>
|
||
588 | <item>
|
||
589 | <term>
|
||
590 | <see cref="P:MySql.Data.MySqlClient.MySqlCommand.Connection" /> |
||
591 | </term>
|
||
592 | <term>
|
||
593 | <i>connection</i> |
||
594 | </term>
|
||
595 | </item>
|
||
596 | </list>
|
||
597 | <para>
|
||
598 | You can change the value for any of these properties through a separate call to |
||
599 | the property. |
||
600 | </para>
|
||
601 | </remarks><example> |
||
602 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> and |
||
603 | sets some of its properties. |
||
604 | |||
605 | <code lang="vbnet"> |
||
606 | Public Sub CreateMySqlCommand() |
||
607 | Dim conn as new MySqlConnection("server=myServer") |
||
608 | conn.Open(); |
||
609 | Dim txn as MySqlTransaction = conn.BeginTransaction() |
||
610 | Dim sql as String = "SELECT * FROM mytable" |
||
611 | Dim myCommand As New MySqlCommand(sql, conn, txn) |
||
612 | myCommand.CommandType = CommandType.Text |
||
613 | End Sub |
||
614 | </code>
|
||
615 | <code lang="C#"> |
||
616 | public void CreateMySqlCommand() |
||
617 | { |
||
618 | MySqlConnection conn = new MySqlConnection("server=myserver") |
||
619 | conn.Open(); |
||
620 | MySqlTransaction txn = conn.BeginTransaction(); |
||
621 | string sql = "SELECT * FROM mytable"; |
||
622 | MySqlCommand myCommand = new MySqlCommand(sql, conn, txn); |
||
623 | myCommand.CommandType = CommandType.Text; |
||
624 | } |
||
625 | </code>
|
||
626 | </example>
|
||
627 | </member>
|
||
628 | <member name="P:MySql.Data.MySqlClient.MySqlCommand.LastInsertedId"> |
||
629 | <!-- No matching elements were found for the following include tag --><include file="docs/mysqlcommand.xml" path="docs/LastInseredId/*" /> |
||
630 | </member>
|
||
631 | <member name="P:MySql.Data.MySqlClient.MySqlCommand.CommandText"> |
||
632 | <summary>
|
||
633 | Gets or sets the SQL statement to execute at the data source. |
||
634 | </summary><value> |
||
635 | The SQL statement or stored procedure to execute. The default is an empty string. |
||
636 | </value><remarks> |
||
637 | <para>
|
||
638 | When the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandType" /> property is set to <B>StoredProcedure</B>, |
||
639 | the <B>CommandText</B> property should be set to the name of the stored procedure. |
||
640 | The user may be required to use escape character syntax if the stored procedure name |
||
641 | contains any special characters. The command executes this stored procedure when |
||
642 | you call one of the Execute methods. Starting with Connector/Net 5.0, having both a stored function |
||
643 | and stored procedure with the same name in the same database is not supported. It is |
||
644 | suggested that you provide unqiue names for your stored routines. |
||
645 | </para>
|
||
646 | </remarks><example> |
||
647 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> and sets some of its properties. |
||
648 | <code lang="vbnet"> |
||
649 | Public Sub CreateMySqlCommand() |
||
650 | Dim myCommand As New MySqlCommand() |
||
651 | myCommand.CommandText = "SELECT * FROM Mytable ORDER BY id" |
||
652 | myCommand.CommandType = CommandType.Text |
||
653 | End Sub |
||
654 | </code>
|
||
655 | <code lang="C#"> |
||
656 | public void CreateMySqlCommand() |
||
657 | { |
||
658 | MySqlCommand myCommand = new MySqlCommand(); |
||
659 | myCommand.CommandText = "SELECT * FROM mytable ORDER BY id"; |
||
660 | myCommand.CommandType = CommandType.Text; |
||
661 | } |
||
662 | </code>
|
||
663 | </example>
|
||
664 | </member>
|
||
665 | <member name="P:MySql.Data.MySqlClient.MySqlCommand.CommandTimeout"> |
||
666 | <summary>
|
||
667 | Gets or sets the wait time before terminating the attempt to execute a command |
||
668 | and generating an error. |
||
669 | </summary><value> |
||
670 | The time (in seconds) to wait for the command to execute. The default is 30 |
||
671 | seconds. |
||
672 | </value><remarks> |
||
673 | CommandTimeout is dependent on the ability of MySQL to cancel an executing query. |
||
674 | Because of this, CommandTimeout is only supported when connected to MySQL |
||
675 | version 5.0.0 or higher. |
||
676 | </remarks>
|
||
677 | </member>
|
||
678 | <member name="P:MySql.Data.MySqlClient.MySqlCommand.CommandType"> |
||
679 | <summary>
|
||
680 | Gets or sets a value indicating how the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandText" /> property is to be interpreted. |
||
681 | </summary><value> |
||
682 | One of the <see cref="T:System.Data.CommandType" /> values. The default is <B>Text</B>. |
||
683 | </value><remarks> |
||
684 | <para>
|
||
685 | When you set the <B>CommandType</B> property to <B>StoredProcedure</B>, you |
||
686 | should set the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandText" /> property to the name of the stored |
||
687 | procedure. The command executes this stored procedure when you call one of the |
||
688 | Execute methods. |
||
689 | </para>
|
||
690 | </remarks><example> |
||
691 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> and sets some of its properties. |
||
692 | <code lang="vbnet"> |
||
693 | Public Sub CreateMySqlCommand() |
||
694 | Dim myCommand As New MySqlCommand() |
||
695 | myCommand.CommandType = CommandType.Text |
||
696 | End Sub |
||
697 | </code>
|
||
698 | <code lang="C#"> |
||
699 | public void CreateMySqlCommand() |
||
700 | { |
||
701 | MySqlCommand myCommand = new MySqlCommand(); |
||
702 | myCommand.CommandType = CommandType.Text; |
||
703 | } |
||
704 | </code>
|
||
705 | </example>
|
||
706 | </member>
|
||
707 | <member name="P:MySql.Data.MySqlClient.MySqlCommand.IsPrepared"> |
||
708 | <!-- No matching elements were found for the following include tag --><include file="docs/mysqlcommand.xml" path="docs/IsPrepared/*" /> |
||
709 | </member>
|
||
710 | <member name="P:MySql.Data.MySqlClient.MySqlCommand.Connection"> |
||
711 | <summary>
|
||
712 | Gets or sets the <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> used by this instance of the |
||
713 | <see cref="T:MySql.Data.MySqlClient.MySqlCommand" />. |
||
714 | </summary><value> |
||
715 | The connection to a data source. The default value is a null reference |
||
716 | (<B>Nothing</B> in Visual Basic). |
||
717 | </value><remarks> |
||
718 | <para>
|
||
719 | If you set <B>Connection</B> while a transaction is in progress and the |
||
720 | <see cref="P:MySql.Data.MySqlClient.MySqlCommand.Transaction" /> property is not null, an <see cref="T:System.InvalidOperationException" /> |
||
721 | is generated. If the <B>Transaction</B> property is not null and the transaction |
||
722 | has already been committed or rolled back, <B>Transaction</B> is set to |
||
723 | null. |
||
724 | </para>
|
||
725 | </remarks><example> |
||
726 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> and sets some of its properties. |
||
727 | <code lang="vbnet"> |
||
728 | Public Sub CreateMySqlCommand() |
||
729 | Dim mySelectQuery As String = "SELECT * FROM mytable ORDER BY id" |
||
730 | Dim myConnectString As String = "Persist Security Info=False;database=test;server=myServer" |
||
731 | Dim myCommand As New MySqlCommand(mySelectQuery) |
||
732 | myCommand.Connection = New MySqlConnection(myConnectString) |
||
733 | myCommand.CommandType = CommandType.Text |
||
734 | End Sub |
||
735 | </code>
|
||
736 | <code lang="C#"> |
||
737 | public void CreateMySqlCommand() |
||
738 | { |
||
739 | string mySelectQuery = "SELECT * FROM mytable ORDER BY id"; |
||
740 | string myConnectString = "Persist Security Info=False;database=test;server=myServer"; |
||
741 | MySqlCommand myCommand = new MySqlCommand(mySelectQuery); |
||
742 | myCommand.Connection = new MySqlConnection(myConnectString); |
||
743 | myCommand.CommandType = CommandType.Text; |
||
744 | } |
||
745 | </code>
|
||
746 | </example>
|
||
747 | </member>
|
||
748 | <member name="P:MySql.Data.MySqlClient.MySqlCommand.Parameters"> |
||
749 | <summary>
|
||
750 | Get the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection" /> |
||
751 | </summary><value> |
||
752 | The parameters of the SQL statement or stored procedure. The default is |
||
753 | an empty collection. |
||
754 | </value><remarks> |
||
755 | Connector/Net does not support unnamed parameters. Every parameter added to the collection must |
||
756 | have an associated name. |
||
757 | </remarks><example> |
||
758 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> and displays its parameters. |
||
759 | To accomplish this, the method is passed a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />, a query string |
||
760 | that is a SQL SELECT statement, and an array of <see cref="T:MySql.Data.MySqlClient.MySqlParameter" /> objects. |
||
761 | <code lang="vbnet"> |
||
762 | Public Sub CreateMySqlCommand(myConnection As MySqlConnection, _ |
||
763 | mySelectQuery As String, myParamArray() As MySqlParameter) |
||
764 | Dim myCommand As New MySqlCommand(mySelectQuery, myConnection) |
||
765 | myCommand.CommandText = "SELECT id, name FROM mytable WHERE age=@age" |
||
766 | myCommand.UpdatedRowSource = UpdateRowSource.Both |
||
767 | myCommand.Parameters.Add(myParamArray) |
||
768 | Dim j As Integer |
||
769 | For j = 0 To myCommand.Parameters.Count - 1 |
||
770 | myCommand.Parameters.Add(myParamArray(j)) |
||
771 | Next j |
||
772 | Dim myMessage As String = "" |
||
773 | Dim i As Integer |
||
774 | For i = 0 To myCommand.Parameters.Count - 1 |
||
775 | myMessage += myCommand.Parameters(i).ToString() & ControlChars.Cr
|
||
776 | Next i |
||
777 | Console.WriteLine(myMessage) |
||
778 | End Sub |
||
779 | </code>
|
||
780 | <code lang="C#"> |
||
781 | public void CreateMySqlCommand(MySqlConnection myConnection, string mySelectQuery, |
||
782 | MySqlParameter[] myParamArray) |
||
783 | { |
||
784 | MySqlCommand myCommand = new MySqlCommand(mySelectQuery, myConnection); |
||
785 | myCommand.CommandText = "SELECT id, name FROM mytable WHERE age=@age"; |
||
786 | myCommand.Parameters.Add(myParamArray); |
||
787 | for (int j=0; j<myParamArray.Length; j++)
|
||
788 | { |
||
789 | myCommand.Parameters.Add(myParamArray[j]) ; |
||
790 | } |
||
791 | string myMessage = ""; |
||
792 | for (int i = 0; i < myCommand.Parameters.Count; i++)
|
||
793 | { |
||
794 | myMessage += myCommand.Parameters[i].ToString() + "\n"; |
||
795 | } |
||
796 | MessageBox.Show(myMessage); |
||
797 | } |
||
798 | </code>
|
||
799 | </example>
|
||
800 | </member>
|
||
801 | <member name="P:MySql.Data.MySqlClient.MySqlCommand.Transaction"> |
||
802 | <summary>
|
||
803 | Gets or sets the <see cref="T:MySql.Data.MySqlClient.MySqlTransaction" /> within which the <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> executes. |
||
804 | </summary><value> |
||
805 | The <see cref="T:MySql.Data.MySqlClient.MySqlTransaction" />. The default value is a null reference (<B>Nothing</B> in Visual Basic). |
||
806 | </value><remarks> |
||
807 | You cannot set the <B>Transaction</B> property if it is already set to a |
||
808 | specific value, and the command is in the process of executing. If you set the |
||
809 | transaction property to a <see cref="T:MySql.Data.MySqlClient.MySqlTransaction" /> object that is not connected |
||
810 | to the same <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> as the <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> object, |
||
811 | an exception will be thrown the next time you attempt to execute a statement. |
||
812 | </remarks>
|
||
813 | </member>
|
||
814 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.Cancel"> |
||
815 | <summary>
|
||
816 | Attempts to cancel the execution of a currently active command |
||
817 | </summary>
|
||
818 | <remarks>
|
||
819 | Cancelling a currently active query only works with MySQL versions 5.0.0 and higher. |
||
820 | </remarks>
|
||
821 | </member>
|
||
822 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.CreateParameter"> |
||
823 | <summary>
|
||
824 | Creates a new instance of a <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object. |
||
825 | </summary>
|
||
826 | <remarks>
|
||
827 | This method is a strongly-typed version of <see cref="M:System.Data.IDbCommand.CreateParameter"/>. |
||
828 | </remarks>
|
||
829 | <returns>A <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object.</returns> |
||
830 | |||
831 | </member>
|
||
832 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.CheckState"> |
||
833 | <summary>
|
||
834 | Check the connection to make sure |
||
835 | - it is open |
||
836 | - it is not currently being used by a reader |
||
837 | - and we have the right version of MySQL for the requested command type |
||
838 | </summary>
|
||
839 | </member>
|
||
840 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery"> |
||
841 | <summary>
|
||
842 | Executes a SQL statement against the connection and returns the number of rows affected. |
||
843 | </summary><returns>Number of rows affected</returns><remarks> |
||
844 | You can use ExecuteNonQuery to perform any type of database operation, |
||
845 | however any resultsets returned will not be available. Any output parameters |
||
846 | used in calling a stored procedure will be populated with data and can be |
||
847 | retrieved after execution is complete. |
||
848 | For UPDATE, INSERT, and DELETE statements, the return value is the number |
||
849 | of rows affected by the command. For all other types of statements, the return |
||
850 | value is -1. |
||
851 | </remarks><example> |
||
852 | The following example creates a MySqlCommand and then |
||
853 | executes it using ExecuteNonQuery. The example is passed a string that is a |
||
854 | SQL statement (such as UPDATE, INSERT, or DELETE) and a string to use to |
||
855 | connect to the data source. |
||
856 | <code lang="vbnet"> |
||
857 | Public Sub CreateMySqlCommand(myExecuteQuery As String, myConnection As MySqlConnection) |
||
858 | Dim myCommand As New MySqlCommand(myExecuteQuery, myConnection) |
||
859 | myCommand.Connection.Open() |
||
860 | myCommand.ExecuteNonQuery() |
||
861 | myConnection.Close() |
||
862 | End Sub |
||
863 | </code>
|
||
864 | <code lang="C#"> |
||
865 | public void CreateMySqlCommand(string myExecuteQuery, MySqlConnection myConnection) |
||
866 | { |
||
867 | MySqlCommand myCommand = new MySqlCommand(myExecuteQuery, myConnection); |
||
868 | myCommand.Connection.Open(); |
||
869 | myCommand.ExecuteNonQuery(); |
||
870 | myConnection.Close(); |
||
871 | } |
||
872 | </code>
|
||
873 | </example>
|
||
874 | </member>
|
||
875 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.ResetReader"> |
||
876 | <summary>
|
||
877 | Reset reader to null, to avoid "There is already an open data reader" |
||
878 | on the next ExecuteReader(). Used in error handling scenarios. |
||
879 | </summary>
|
||
880 | </member>
|
||
881 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.ResetSqlSelectLimit"> |
||
882 | <summary>
|
||
883 | Reset SQL_SELECT_LIMIT that could have been modified by CommandBehavior. |
||
884 | </summary>
|
||
885 | </member>
|
||
886 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.ExecuteReader"> |
||
887 | <summary>
|
||
888 | Sends the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandText" /> to the <see cref="T:MySql.Data.MySqlClient.MySqlConnection">Connection</see> |
||
889 | and builds a <see cref="T:MySql.Data.MySqlClient.MySqlDataReader" />. |
||
890 | </summary><returns> |
||
891 | A <see cref="T:MySql.Data.MySqlClient.MySqlDataReader" /> object. |
||
892 | </returns><remarks> |
||
893 | <para>
|
||
894 | When the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandType" /> property is set to <B>StoredProcedure</B>, |
||
895 | the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandText" /> property should be set to the name of the stored |
||
896 | procedure. The command executes this stored procedure when you call |
||
897 | <B>ExecuteReader</B>. |
||
898 | </para>
|
||
899 | <para>
|
||
900 | While the <see cref="T:MySql.Data.MySqlClient.MySqlDataReader" /> is in use, the associated |
||
901 | <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> is busy serving the <B>MySqlDataReader</B>. |
||
902 | While in this state, no other operations can be performed on the |
||
903 | <B>MySqlConnection</B> other than closing it. This is the case until the |
||
904 | <see cref="M:MySql.Data.MySqlClient.MySqlDataReader.Close" /> method of the <B>MySqlDataReader</B> is called. |
||
905 | </para>
|
||
906 | </remarks><example> |
||
907 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" />, then executes it by |
||
908 | passing a string that is a SQL SELECT statement, and a string to use to connect to the |
||
909 | data source. |
||
910 | <code lang="vbnet"> |
||
911 | Public Sub CreateMySqlDataReader(mySelectQuery As String, myConnection As MySqlConnection) |
||
912 | Dim myCommand As New MySqlCommand(mySelectQuery, myConnection) |
||
913 | myConnection.Open() |
||
914 | Dim myReader As MySqlDataReader |
||
915 | myReader = myCommand.ExecuteReader() |
||
916 | Try |
||
917 | While myReader.Read() |
||
918 | Console.WriteLine(myReader.GetString(0)) |
||
919 | End While |
||
920 | Finally |
||
921 | myReader.Close |
||
922 | myConnection.Close |
||
923 | End Try |
||
924 | End Sub |
||
925 | </code>
|
||
926 | <code lang="C#"> |
||
927 | public void CreateMySqlDataReader(string mySelectQuery, MySqlConnection myConnection) |
||
928 | { |
||
929 | MySqlCommand myCommand = new MySqlCommand(mySelectQuery, myConnection); |
||
930 | myConnection.Open(); |
||
931 | MMySqlDataReader myReader; |
||
932 | myReader = myCommand.ExecuteReader(); |
||
933 | try |
||
934 | { |
||
935 | while(myReader.Read()) |
||
936 | { |
||
937 | Console.WriteLine(myReader.GetString(0)); |
||
938 | } |
||
939 | } |
||
940 | finally |
||
941 | { |
||
942 | myReader.Close(); |
||
943 | myConnection.Close(); |
||
944 | } |
||
945 | } |
||
946 | </code>
|
||
947 | </example>
|
||
948 | </member>
|
||
949 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(System.Data.CommandBehavior)"> |
||
950 | <summary>
|
||
951 | Sends the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandText" /> to the <see cref="T:MySql.Data.MySqlClient.MySqlConnection">Connection</see>, |
||
952 | and builds a <see cref="T:MySql.Data.MySqlClient.MySqlDataReader" /> using one of the <see cref="T:System.Data.CommandBehavior" /> values. |
||
953 | </summary><param name="behavior"> |
||
954 | One of the <see cref="T:System.Data.CommandBehavior" /> values. |
||
955 | </param><remarks> |
||
956 | <para>
|
||
957 | When the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandType" /> property is set to <B>StoredProcedure</B>, |
||
958 | the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandText" /> property should be set to the name of the stored |
||
959 | procedure. The command executes this stored procedure when you call |
||
960 | <B>ExecuteReader</B>. |
||
961 | </para>
|
||
962 | <para>
|
||
963 | The <see cref="T:MySql.Data.MySqlClient.MySqlDataReader" /> supports a special mode that enables large binary |
||
964 | values to be read efficiently. For more information, see the <B>SequentialAccess</B> |
||
965 | setting for <see cref="T:System.Data.CommandBehavior" />. |
||
966 | </para>
|
||
967 | <para>
|
||
968 | While the <see cref="T:MySql.Data.MySqlClient.MySqlDataReader" /> is in use, the associated |
||
969 | <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> is busy serving the <B>MySqlDataReader</B>. |
||
970 | While in this state, no other operations can be performed on the |
||
971 | <B>MySqlConnection</B> other than closing it. This is the case until the |
||
972 | <see cref="M:MySql.Data.MySqlClient.MySqlDataReader.Close" /> method of the <B>MySqlDataReader</B> is called. |
||
973 | If the <B>MySqlDataReader</B> is created with <B>CommandBehavior</B> set to |
||
974 | <B>CloseConnection</B>, closing the <B>MySqlDataReader</B> closes the connection |
||
975 | automatically. |
||
976 | </para>
|
||
977 | <note>
|
||
978 | When calling ExecuteReader with the SingleRow behavior, you should be aware that using a <i>limit</i> |
||
979 | clause in your SQL will cause all rows (up to the limit given) to be retrieved by the client. The |
||
980 | <see cref="M:MySql.Data.MySqlClient.MySqlDataReader.Read" /> method will still return false after the first row but pulling all rows of data |
||
981 | into the client will have a performance impact. If the <i>limit</i> clause is not necessary, it should |
||
982 | be avoided. |
||
983 | </note>
|
||
984 | </remarks><returns> |
||
985 | A <see cref="T:MySql.Data.MySqlClient.MySqlDataReader" /> object. |
||
986 | </returns>
|
||
987 | </member>
|
||
988 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar"> |
||
989 | <summary>
|
||
990 | Executes the query, and returns the first column of the first row in the |
||
991 | result set returned by the query. Extra columns or rows are ignored. |
||
992 | </summary><returns> |
||
993 | The first column of the first row in the result set, or a null reference if the |
||
994 | result set is empty |
||
995 | </returns><remarks> |
||
996 | <para>
|
||
997 | Use the <B>ExecuteScalar</B> method to retrieve a single value (for example, |
||
998 | an aggregate value) from a database. This requires less code than using the |
||
999 | <see cref="M:MySql.Data.MySqlClient.MySqlCommand.ExecuteReader" /> method, and then performing the operations necessary |
||
1000 | to generate the single value using the data returned by a <see cref="T:MySql.Data.MySqlClient.MySqlDataReader" /> |
||
1001 | </para>
|
||
1002 | </remarks><example> |
||
1003 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> and then |
||
1004 | executes it using <B>ExecuteScalar</B>. The example is passed a string that is a |
||
1005 | SQL statement that returns an aggregate result, and a string to use to |
||
1006 | connect to the data source. |
||
1007 | |||
1008 | <code lang="vbnet"> |
||
1009 | Public Sub CreateMySqlCommand(myScalarQuery As String, myConnection As MySqlConnection) |
||
1010 | Dim myCommand As New MySqlCommand(myScalarQuery, myConnection) |
||
1011 | myCommand.Connection.Open() |
||
1012 | myCommand.ExecuteScalar() |
||
1013 | myConnection.Close() |
||
1014 | End Sub |
||
1015 | </code>
|
||
1016 | <code lang="C#"> |
||
1017 | public void CreateMySqlCommand(string myScalarQuery, MySqlConnection myConnection) |
||
1018 | { |
||
1019 | MySqlCommand myCommand = new MySqlCommand(myScalarQuery, myConnection); |
||
1020 | myCommand.Connection.Open(); |
||
1021 | myCommand.ExecuteScalar(); |
||
1022 | myConnection.Close(); |
||
1023 | } |
||
1024 | </code>
|
||
1025 | <code lang="C++"> |
||
1026 | public: |
||
1027 | void CreateMySqlCommand(String* myScalarQuery, MySqlConnection* myConnection) |
||
1028 | { |
||
1029 | MySqlCommand* myCommand = new MySqlCommand(myScalarQuery, myConnection); |
||
1030 | myCommand->Connection->Open(); |
||
1031 | myCommand->ExecuteScalar();
|
||
1032 | myConnection->Close();
|
||
1033 | } |
||
1034 | </code>
|
||
1035 | |||
1036 | </example>
|
||
1037 | </member>
|
||
1038 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.Prepare(System.Int32)"> |
||
1039 | <!-- No matching elements were found for the following include tag --><include file="docs/mysqlcommand.xml" path="docs/Prepare2/*" /> |
||
1040 | </member>
|
||
1041 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.Prepare"> |
||
1042 | <summary>
|
||
1043 | Creates a prepared version of the command on an instance of MySQL Server. |
||
1044 | </summary><remarks> |
||
1045 | <para>
|
||
1046 | Prepared statements are only supported on MySQL version 4.1 and higher. Calling |
||
1047 | prepare while connected to earlier versions of MySQL will succeed but will execute |
||
1048 | the statement in the same way as unprepared. |
||
1049 | </para>
|
||
1050 | </remarks><example> |
||
1051 | The following example demonstrates the use of the <b>Prepare</b> method. |
||
1052 | <code lang="VB.NET"> |
||
1053 | public sub PrepareExample() |
||
1054 | Dim cmd as New MySqlCommand("INSERT INTO mytable VALUES (@val)", myConnection) |
||
1055 | cmd.Parameters.Add( "@val", 10 ) |
||
1056 | cmd.Prepare() |
||
1057 | cmd.ExecuteNonQuery() |
||
1058 | |||
1059 | cmd.Parameters(0).Value = 20 |
||
1060 | cmd.ExecuteNonQuery() |
||
1061 | end sub |
||
1062 | </code>
|
||
1063 | <code lang="C#"> |
||
1064 | private void PrepareExample() |
||
1065 | { |
||
1066 | MySqlCommand cmd = new MySqlCommand("INSERT INTO mytable VALUES (@val)", myConnection); |
||
1067 | cmd.Parameters.Add( "@val", 10 ); |
||
1068 | cmd.Prepare(); |
||
1069 | cmd.ExecuteNonQuery(); |
||
1070 | |||
1071 | cmd.Parameters[0].Value = 20; |
||
1072 | cmd.ExecuteNonQuery(); |
||
1073 | } |
||
1074 | </code>
|
||
1075 | </example>
|
||
1076 | </member>
|
||
1077 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.BeginExecuteReader"> |
||
1078 | <summary>
|
||
1079 | Initiates the asynchronous execution of the SQL statement or stored procedure |
||
1080 | that is described by this <see cref="T:MySql.Data.MySqlClient.MySqlCommand"/>, and retrieves one or more |
||
1081 | result sets from the server. |
||
1082 | </summary>
|
||
1083 | <returns>An <see cref="T:System.IAsyncResult"/> that can be used to poll, wait for results, |
||
1084 | or both; this value is also needed when invoking EndExecuteReader, |
||
1085 | which returns a <see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> instance that can be used to retrieve |
||
1086 | the returned rows. </returns>
|
||
1087 | </member>
|
||
1088 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.BeginExecuteReader(System.Data.CommandBehavior)"> |
||
1089 | <summary>
|
||
1090 | Initiates the asynchronous execution of the SQL statement or stored procedure |
||
1091 | that is described by this <see cref="T:MySql.Data.MySqlClient.MySqlCommand"/> using one of the |
||
1092 | <b>CommandBehavior</b> values. |
||
1093 | </summary>
|
||
1094 | <param name="behavior">One of the <see cref="T:System.Data.CommandBehavior"/> values, indicating |
||
1095 | options for statement execution and data retrieval.</param>
|
||
1096 | <returns>An <see cref="T:System.IAsyncResult"/> that can be used to poll, wait for results, |
||
1097 | or both; this value is also needed when invoking EndExecuteReader, |
||
1098 | which returns a <see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> instance that can be used to retrieve |
||
1099 | the returned rows. </returns>
|
||
1100 | </member>
|
||
1101 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.EndExecuteReader(System.IAsyncResult)"> |
||
1102 | <summary>
|
||
1103 | Finishes asynchronous execution of a SQL statement, returning the requested |
||
1104 | <see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/>. |
||
1105 | </summary>
|
||
1106 | <param name="result">The <see cref="T:System.IAsyncResult"/> returned by the call to |
||
1107 | <see cref="M:MySql.Data.MySqlClient.MySqlCommand.BeginExecuteReader"/>.</param> |
||
1108 | <returns>A <b>MySqlDataReader</b> object that can be used to retrieve the requested rows. </returns> |
||
1109 | </member>
|
||
1110 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.BeginExecuteNonQuery(System.AsyncCallback,System.Object)"> |
||
1111 | <summary>
|
||
1112 | Initiates the asynchronous execution of the SQL statement or stored procedure |
||
1113 | that is described by this <see cref="T:MySql.Data.MySqlClient.MySqlCommand"/>. |
||
1114 | </summary>
|
||
1115 | <param name="callback"> |
||
1116 | An <see cref="T:System.AsyncCallback"/> delegate that is invoked when the command's |
||
1117 | execution has completed. Pass a null reference (<b>Nothing</b> in Visual Basic) |
||
1118 | to indicate that no callback is required.</param>
|
||
1119 | <param name="stateObject">A user-defined state object that is passed to the |
||
1120 | callback procedure. Retrieve this object from within the callback procedure |
||
1121 | using the <see cref="P:System.IAsyncResult.AsyncState"/> property.</param> |
||
1122 | <returns>An <see cref="T:System.IAsyncResult"/> that can be used to poll or wait for results, |
||
1123 | or both; this value is also needed when invoking <see cref="M:MySql.Data.MySqlClient.MySqlCommand.EndExecuteNonQuery(System.IAsyncResult)"/>, |
||
1124 | which returns the number of affected rows. </returns>
|
||
1125 | </member>
|
||
1126 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.BeginExecuteNonQuery"> |
||
1127 | <summary>
|
||
1128 | Initiates the asynchronous execution of the SQL statement or stored procedure |
||
1129 | that is described by this <see cref="T:MySql.Data.MySqlClient.MySqlCommand"/>. |
||
1130 | </summary>
|
||
1131 | <returns>An <see cref="T:System.IAsyncResult"/> that can be used to poll or wait for results, |
||
1132 | or both; this value is also needed when invoking <see cref="M:MySql.Data.MySqlClient.MySqlCommand.EndExecuteNonQuery(System.IAsyncResult)"/>, |
||
1133 | which returns the number of affected rows. </returns>
|
||
1134 | </member>
|
||
1135 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.EndExecuteNonQuery(System.IAsyncResult)"> |
||
1136 | <summary>
|
||
1137 | Finishes asynchronous execution of a SQL statement. |
||
1138 | </summary>
|
||
1139 | <param name="asyncResult">The <see cref="T:System.IAsyncResult"/> returned by the call |
||
1140 | to <see cref="M:MySql.Data.MySqlClient.MySqlCommand.BeginExecuteNonQuery"/>.</param> |
||
1141 | <returns></returns> |
||
1142 | </member>
|
||
1143 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.AddCallStatement(System.String)"> |
||
1144 | <summary>
|
||
1145 | Verifies if a query is valid even if it has not spaces or is a stored procedure call |
||
1146 | </summary>
|
||
1147 | <param name="query">Query to validate</param> |
||
1148 | <returns>If it is necessary to add call statement</returns> |
||
1149 | </member>
|
||
1150 | <member name="M:MySql.Data.MySqlClient.MySqlCommand.Clone"> |
||
1151 | <summary>
|
||
1152 | Creates a clone of this MySqlCommand object. CommandText, Connection, and Transaction properties |
||
1153 | are included as well as the entire parameter list. |
||
1154 | </summary>
|
||
1155 | <returns>The cloned MySqlCommand object</returns> |
||
1156 | </member>
|
||
1157 | <member name="P:MySql.Data.MySqlClient.MySqlCommand.UpdatedRowSource"> |
||
1158 | <summary>
|
||
1159 | Gets or sets how command results are applied to the DataRow when used by the |
||
1160 | Update method of the DbDataAdapter. |
||
1161 | </summary>
|
||
1162 | </member>
|
||
1163 | <member name="P:MySql.Data.MySqlClient.MySqlCommand.DesignTimeVisible"> |
||
1164 | <summary>
|
||
1165 | Gets or sets a value indicating whether the command object should be visible in a Windows Form Designer control. |
||
1166 | </summary>
|
||
1167 | </member>
|
||
1168 | <member name="T:MySql.Data.MySqlClient.MySqlCommandBuilder"> |
||
1169 | <summary>
|
||
1170 | Automatically generates single-table commands used to reconcile changes made to a DataSet with the associated MySQL database. This class cannot be inherited. |
||
1171 | </summary><remarks> |
||
1172 | <para>
|
||
1173 | The <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> does not automatically generate the SQL statements required to |
||
1174 | reconcile changes made to a <see cref="T:System.Data.DataSet">DataSet</see> with the associated instance of MySQL. |
||
1175 | However, you can create a <B>MySqlCommandBuilder</B> object to automatically generate SQL statements for |
||
1176 | single-table updates if you set the <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand">SelectCommand</see> property |
||
1177 | of the <B>MySqlDataAdapter</B>. Then, any additional SQL statements that you do not set are generated by the |
||
1178 | <B>MySqlCommandBuilder</B>. |
||
1179 | </para>
|
||
1180 | |||
1181 | <para>
|
||
1182 | The <B>MySqlCommandBuilder</B> registers itself as a listener for <see cref="M:MySql.Data.MySqlClient.MySqlDataAdapter.OnRowUpdating(System.Data.Common.RowUpdatingEventArgs)">RowUpdating</see> |
||
1183 | events whenever you set the <see cref="P:MySql.Data.MySqlClient.MySqlCommandBuilder.DataAdapter" /> property. You can only associate one |
||
1184 | <B>MySqlDataAdapter</B> or <B>MySqlCommandBuilder</B> object with each other at one time. |
||
1185 | </para>
|
||
1186 | |||
1187 | <para>
|
||
1188 | To generate INSERT, UPDATE, or DELETE statements, the <B>MySqlCommandBuilder</B> uses the |
||
1189 | <B>SelectCommand</B> property to retrieve a required set of metadata automatically. If you change |
||
1190 | the <B>SelectCommand</B> after the metadata has is retrieved (for example, after the first update), you |
||
1191 | should call the <see cref="!:RefreshSchema" /> method to update the metadata. |
||
1192 | </para>
|
||
1193 | |||
1194 | <para>
|
||
1195 | The <B>SelectCommand</B> must also return at least one primary key or unique |
||
1196 | column. If none are present, an <I>InvalidOperation</I> exception is generated, |
||
1197 | and the commands are not generated. |
||
1198 | </para>
|
||
1199 | |||
1200 | <para>
|
||
1201 | The <B>MySqlCommandBuilder</B> also uses the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.Connection">Connection</see>, |
||
1202 | <see cref="P:MySql.Data.MySqlClient.MySqlCommand.CommandTimeout">CommandTimeout</see>, and <see cref="P:MySql.Data.MySqlClient.MySqlCommand.Transaction">Transaction</see> |
||
1203 | properties referenced by the <B>SelectCommand</B>. The user should call |
||
1204 | <B>RefreshSchema</B> if any of these properties are modified, or if the |
||
1205 | <B>SelectCommand</B> itself is replaced. Otherwise the <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.InsertCommand">InsertCommand</see>, |
||
1206 | <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.UpdateCommand">UpdateCommand</see>, and |
||
1207 | <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.DeleteCommand">DeleteCommand</see> properties retain |
||
1208 | their previous values. |
||
1209 | </para>
|
||
1210 | |||
1211 | <para>
|
||
1212 | If you call <i>Dispose</i>, the <B>MySqlCommandBuilder</B> is disassociated |
||
1213 | from the <B>MySqlDataAdapter</B>, and the generated commands are no longer used. |
||
1214 | </para>
|
||
1215 | |||
1216 | <note>
|
||
1217 | Caution must be used when using MySqlCOmmandBuilder on MySql 4.0 systems. With MySql 4.0, |
||
1218 | database/schema information is not provided to the connector for a query. This means that |
||
1219 | a query that pulls columns from two identically named tables in two or more different databases |
||
1220 | will not cause an exception to be thrown but will not work correctly. Even more dangerous |
||
1221 | is the situation where your select statement references database X but is executed in |
||
1222 | database Y and both databases have tables with similar layouts. This situation can cause |
||
1223 | unwanted changes or deletes. |
||
1224 | This note does not apply to MySQL versions 4.1 and later. |
||
1225 | </note>
|
||
1226 | |||
1227 | </remarks><example> |
||
1228 | The following example uses the <see cref="T:MySql.Data.MySqlClient.MySqlCommand" />, along |
||
1229 | <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> and <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />, to |
||
1230 | select rows from a data source. The example is passed an initialized |
||
1231 | <see cref="T:System.Data.DataSet" />, a connection string, a |
||
1232 | query string that is a SQL SELECT statement, and a string that is the |
||
1233 | name of the database table. The example then creates a <B>MySqlCommandBuilder</B>. |
||
1234 | |||
1235 | <code lang="vbnet"> |
||
1236 | Public Shared Function SelectRows(myConnection As String, mySelectQuery As String, myTableName As String) As DataSet |
||
1237 | Dim myConn As New MySqlConnection(myConnection) |
||
1238 | Dim myDataAdapter As New MySqlDataAdapter() |
||
1239 | myDataAdapter.SelectCommand = New MySqlCommand(mySelectQuery, myConn) |
||
1240 | Dim cb As SqlCommandBuilder = New MySqlCommandBuilder(myDataAdapter) |
||
1241 | |||
1242 | myConn.Open() |
||
1243 | |||
1244 | Dim ds As DataSet = New DataSet |
||
1245 | myDataAdapter.Fill(ds, myTableName) |
||
1246 | |||
1247 | ' Code to modify data in DataSet here |
||
1248 | |||
1249 | ' Without the MySqlCommandBuilder this line would fail. |
||
1250 | myDataAdapter.Update(ds, myTableName) |
||
1251 | |||
1252 | myConn.Close() |
||
1253 | End Function 'SelectRows |
||
1254 | </code>
|
||
1255 | <code lang="C#"> |
||
1256 | public static DataSet SelectRows(string myConnection, string mySelectQuery, string myTableName) |
||
1257 | { |
||
1258 | MySqlConnection myConn = new MySqlConnection(myConnection); |
||
1259 | MySqlDataAdapter myDataAdapter = new MySqlDataAdapter(); |
||
1260 | myDataAdapter.SelectCommand = new MySqlCommand(mySelectQuery, myConn); |
||
1261 | MySqlCommandBuilder cb = new MySqlCommandBuilder(myDataAdapter); |
||
1262 | |||
1263 | myConn.Open(); |
||
1264 | |||
1265 | DataSet ds = new DataSet(); |
||
1266 | myDataAdapter.Fill(ds, myTableName); |
||
1267 | |||
1268 | //code to modify data in DataSet here |
||
1269 | |||
1270 | //Without the MySqlCommandBuilder this line would fail |
||
1271 | myDataAdapter.Update(ds, myTableName); |
||
1272 | |||
1273 | myConn.Close(); |
||
1274 | |||
1275 | return ds; |
||
1276 | } |
||
1277 | |||
1278 | </code>
|
||
1279 | </example>
|
||
1280 | </member>
|
||
1281 | <member name="M:MySql.Data.MySqlClient.MySqlCommandBuilder.#ctor"> |
||
1282 | <summary>
|
||
1283 | Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlCommandBuilder" /> class. |
||
1284 | </summary>
|
||
1285 | </member>
|
||
1286 | <member name="M:MySql.Data.MySqlClient.MySqlCommandBuilder.#ctor(MySql.Data.MySqlClient.MySqlDataAdapter)"> |
||
1287 | <summary>
|
||
1288 | Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlCommandBuilder" /> class |
||
1289 | with the associated <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> object. |
||
1290 | </summary><param name="adapter"> |
||
1291 | The <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> to use. |
||
1292 | </param><remarks> |
||
1293 | <para>
|
||
1294 | The <see cref="T:MySql.Data.MySqlClient.MySqlCommandBuilder" /> registers itself as a listener for |
||
1295 | <see cref="E:MySql.Data.MySqlClient.MySqlDataAdapter.RowUpdating" /> events that are generated by the |
||
1296 | <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> specified in this property. |
||
1297 | </para>
|
||
1298 | <para>
|
||
1299 | When you create a new instance <B>MySqlCommandBuilder</B>, any existing |
||
1300 | <B>MySqlCommandBuilder</B> associated with this <B>MySqlDataAdapter</B> |
||
1301 | is released. |
||
1302 | </para>
|
||
1303 | </remarks>
|
||
1304 | </member>
|
||
1305 | <member name="P:MySql.Data.MySqlClient.MySqlCommandBuilder.DataAdapter"> |
||
1306 | <summary>
|
||
1307 | Gets or sets a <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> object for which SQL statements are automatically generated. |
||
1308 | </summary><value> |
||
1309 | A <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> object. |
||
1310 | </value><remarks> |
||
1311 | <para>
|
||
1312 | The <see cref="T:MySql.Data.MySqlClient.MySqlCommandBuilder" /> registers itself as a listener for |
||
1313 | <see cref="E:MySql.Data.MySqlClient.MySqlDataAdapter.RowUpdating" /> events that are generated by the |
||
1314 | <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> specified in this property. |
||
1315 | </para>
|
||
1316 | <para>
|
||
1317 | When you create a new instance <B>MySqlCommandBuilder</B>, any existing |
||
1318 | <B>MySqlCommandBuilder</B> associated with this <B>MySqlDataAdapter</B> |
||
1319 | is released. |
||
1320 | </para>
|
||
1321 | </remarks>
|
||
1322 | </member>
|
||
1323 | <member name="M:MySql.Data.MySqlClient.MySqlCommandBuilder.DeriveParameters(MySql.Data.MySqlClient.MySqlCommand)"> |
||
1324 | <summary>
|
||
1325 | Retrieves parameter information from the stored procedure specified |
||
1326 | in the MySqlCommand and populates the Parameters collection of the |
||
1327 | specified MySqlCommand object. |
||
1328 | This method is not currently supported since stored procedures are |
||
1329 | not available in MySql. |
||
1330 | </summary>
|
||
1331 | <param name="command">The MySqlCommand referencing the stored |
||
1332 | procedure from which the parameter information is to be derived. |
||
1333 | The derived parameters are added to the Parameters collection of the |
||
1334 | MySqlCommand.</param>
|
||
1335 | <exception cref="T:System.InvalidOperationException">The command text is not |
||
1336 | a valid stored procedure name.</exception>
|
||
1337 | </member>
|
||
1338 | <member name="M:MySql.Data.MySqlClient.MySqlCommandBuilder.GetDeleteCommand"> |
||
1339 | <summary>
|
||
1340 | Gets the delete command. |
||
1341 | </summary>
|
||
1342 | <returns></returns> |
||
1343 | </member>
|
||
1344 | <member name="M:MySql.Data.MySqlClient.MySqlCommandBuilder.GetUpdateCommand"> |
||
1345 | <summary>
|
||
1346 | Gets the update command. |
||
1347 | </summary>
|
||
1348 | <returns></returns> |
||
1349 | </member>
|
||
1350 | <member name="M:MySql.Data.MySqlClient.MySqlCommandBuilder.GetInsertCommand"> |
||
1351 | <summary>
|
||
1352 | Gets the insert command. |
||
1353 | </summary>
|
||
1354 | <returns></returns> |
||
1355 | </member>
|
||
1356 | <member name="M:MySql.Data.MySqlClient.MySqlCommandBuilder.GetParameterName(System.String)"> |
||
1357 | <summary>
|
||
1358 | |||
1359 | </summary>
|
||
1360 | <param name="parameterName"></param> |
||
1361 | <returns></returns> |
||
1362 | </member>
|
||
1363 | <member name="M:MySql.Data.MySqlClient.MySqlTokenizer.ReadQuotedToken(System.Char)"> |
||
1364 | <summary>
|
||
1365 | Read a single quoted identifier from the stream |
||
1366 | </summary>
|
||
1367 | <param name="quoteChar"></param> |
||
1368 | <returns></returns> |
||
1369 | </member>
|
||
1370 | <member name="T:MySql.Data.MySqlClient.CompressedStream"> |
||
1371 | <summary>
|
||
1372 | Summary description for CompressedStream. |
||
1373 | </summary>
|
||
1374 | </member>
|
||
1375 | <member name="T:MySql.Data.MySqlClient.MySqlConnection"> |
||
1376 | <summary>
|
||
1377 | Represents an open connection to a MySQL Server database. This class cannot be inherited. |
||
1378 | </summary><remarks> |
||
1379 | <para>
|
||
1380 | A <b>MySqlConnection</b> object represents a session to a MySQL Server |
||
1381 | data source. When you create an instance of <B>MySqlConnection</B>, all |
||
1382 | properties are set to their initial values. For a list of these values, see the |
||
1383 | <B>MySqlConnection</B> constructor. |
||
1384 | </para>
|
||
1385 | |||
1386 | <para>
|
||
1387 | If the <B>MySqlConnection</B> goes out of scope, it is not closed. Therefore, |
||
1388 | you must explicitly close the connection by calling <see cref="M:MySql.Data.MySqlClient.MySqlConnection.Close" /> |
||
1389 | or <see cref="M:MySql.Data.MySqlClient.MySqlConnection.Dispose" />. |
||
1390 | </para>
|
||
1391 | </remarks><example> |
||
1392 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> and |
||
1393 | a <B>MySqlConnection</B>. The <B>MySqlConnection</B> is opened and set as the |
||
1394 | <see cref="P:MySql.Data.MySqlClient.MySqlCommand.Connection" /> for the <B>MySqlCommand</B>. The example then calls |
||
1395 | <see cref="M:MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery" />, and closes the connection. To accomplish this, the <B>ExecuteNonQuery</B> is |
||
1396 | passed a connection string and a query string that is a SQL INSERT |
||
1397 | statement. |
||
1398 | <code lang="vbnet"> |
||
1399 | <c>
|
||
1400 | Public Sub InsertRow(myConnectionString As String) |
||
1401 | ' If the connection string is null, use a default. |
||
1402 | If myConnectionString = "" Then |
||
1403 | myConnectionString = "Database=Test;Data Source=localhost;User Id=username;Password=pass" |
||
1404 | End If |
||
1405 | Dim myConnection As New MySqlConnection(myConnectionString) |
||
1406 | Dim myInsertQuery As String = "INSERT INTO Orders (id, customerId, amount) Values(1001, 23, 30.66)" |
||
1407 | Dim myCommand As New MySqlCommand(myInsertQuery) |
||
1408 | myCommand.Connection = myConnection |
||
1409 | myConnection.Open() |
||
1410 | myCommand.ExecuteNonQuery() |
||
1411 | myCommand.Connection.Close() |
||
1412 | End Sub |
||
1413 | </c>
|
||
1414 | </code>
|
||
1415 | <code lang="C#"> |
||
1416 | <c>
|
||
1417 | public void InsertRow(string myConnectionString) |
||
1418 | { |
||
1419 | // If the connection string is null, use a default. |
||
1420 | if(myConnectionString == "") |
||
1421 | { |
||
1422 | myConnectionString = "Database=Test;Data Source=localhost;User Id=username;Password=pass"; |
||
1423 | } |
||
1424 | MySqlConnection myConnection = new MySqlConnection(myConnectionString); |
||
1425 | string myInsertQuery = "INSERT INTO Orders (id, customerId, amount) Values(1001, 23, 30.66)"; |
||
1426 | MySqlCommand myCommand = new MySqlCommand(myInsertQuery); |
||
1427 | myCommand.Connection = myConnection; |
||
1428 | myConnection.Open(); |
||
1429 | myCommand.ExecuteNonQuery(); |
||
1430 | myCommand.Connection.Close(); |
||
1431 | } |
||
1432 | </c>
|
||
1433 | </code>
|
||
1434 | </example>
|
||
1435 | </member>
|
||
1436 | <member name="E:MySql.Data.MySqlClient.MySqlConnection.InfoMessage"> |
||
1437 | <summary>Occurs when MySQL returns warnings as a result of executing a command or query.</summary><remarks> |
||
1438 | </remarks>
|
||
1439 | </member>
|
||
1440 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.#ctor"> |
||
1441 | <summary>
|
||
1442 | Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> class. |
||
1443 | </summary><remarks> |
||
1444 | When a new instance of <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> is created, the read/write |
||
1445 | properties are set to the following initial values unless they are specifically |
||
1446 | set using their associated keywords in the <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionString" /> property. |
||
1447 | <para /> |
||
1448 | <list type="table"> |
||
1449 | <listheader>
|
||
1450 | <term>Properties</term> |
||
1451 | <term>Initial Value</term> |
||
1452 | </listheader>
|
||
1453 | <item>
|
||
1454 | <term>
|
||
1455 | <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionString" /> |
||
1456 | </term>
|
||
1457 | <term>empty string ("")</term> |
||
1458 | </item>
|
||
1459 | <item>
|
||
1460 | <term>
|
||
1461 | <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionTimeout" /> |
||
1462 | </term>
|
||
1463 | <term>15</term> |
||
1464 | </item>
|
||
1465 | <item>
|
||
1466 | <term>
|
||
1467 | <see cref="P:MySql.Data.MySqlClient.MySqlConnection.Database" /> |
||
1468 | </term>
|
||
1469 | <term>empty string ("")</term> |
||
1470 | </item>
|
||
1471 | <item>
|
||
1472 | <term>
|
||
1473 | <see cref="P:MySql.Data.MySqlClient.MySqlConnection.DataSource" /> |
||
1474 | </term>
|
||
1475 | <term>empty string ("")</term> |
||
1476 | </item>
|
||
1477 | <item>
|
||
1478 | <term>
|
||
1479 | <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ServerVersion" /> |
||
1480 | </term>
|
||
1481 | <term>empty string ("")</term> |
||
1482 | </item>
|
||
1483 | </list>
|
||
1484 | <para /> |
||
1485 | You can change the value for these properties only by using the <B>ConnectionString</B> property. |
||
1486 | </remarks><example> |
||
1487 | </example><overloads> |
||
1488 | <summary>
|
||
1489 | Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> class. |
||
1490 | </summary>
|
||
1491 | </overloads>
|
||
1492 | </member>
|
||
1493 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.#ctor(System.String)"> |
||
1494 | <summary>
|
||
1495 | Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> class when given a string containing the connection string. |
||
1496 | </summary><remarks> |
||
1497 | When a new instance of <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> is created, the read/write |
||
1498 | properties are set to the following initial values unless they are specifically |
||
1499 | set using their associated keywords in the <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionString" /> property. |
||
1500 | <para /> |
||
1501 | <list type="table"> |
||
1502 | <listheader>
|
||
1503 | <term>Properties</term> |
||
1504 | <term>Initial Value</term> |
||
1505 | </listheader>
|
||
1506 | <item>
|
||
1507 | <term>
|
||
1508 | <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionString" /> |
||
1509 | </term>
|
||
1510 | <term>empty string ("")</term> |
||
1511 | </item>
|
||
1512 | <item>
|
||
1513 | <term>
|
||
1514 | <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionTimeout" /> |
||
1515 | </term>
|
||
1516 | <term>15</term> |
||
1517 | </item>
|
||
1518 | <item>
|
||
1519 | <term>
|
||
1520 | <see cref="P:MySql.Data.MySqlClient.MySqlConnection.Database" /> |
||
1521 | </term>
|
||
1522 | <term>empty string ("")</term> |
||
1523 | </item>
|
||
1524 | <item>
|
||
1525 | <term>
|
||
1526 | <see cref="P:MySql.Data.MySqlClient.MySqlConnection.DataSource" /> |
||
1527 | </term>
|
||
1528 | <term>empty string ("")</term> |
||
1529 | </item>
|
||
1530 | <item>
|
||
1531 | <term>
|
||
1532 | <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ServerVersion" /> |
||
1533 | </term>
|
||
1534 | <term>empty string ("")</term> |
||
1535 | </item>
|
||
1536 | </list>
|
||
1537 | <para /> |
||
1538 | You can change the value for these properties only by using the <B>ConnectionString</B> property. |
||
1539 | </remarks><example> |
||
1540 | </example><param name="connectionString">The connection properties used to open the MySQL database. </param> |
||
1541 | </member>
|
||
1542 | <member name="P:MySql.Data.MySqlClient.MySqlConnection.ServerThread"> |
||
1543 | <summary>
|
||
1544 | Returns the id of the server thread this connection is executing on |
||
1545 | </summary>
|
||
1546 | </member>
|
||
1547 | <member name="P:MySql.Data.MySqlClient.MySqlConnection.DataSource"> |
||
1548 | <summary>
|
||
1549 | Gets the name of the MySQL server to which to connect. |
||
1550 | </summary>
|
||
1551 | </member>
|
||
1552 | <member name="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionTimeout"> |
||
1553 | <summary>
|
||
1554 | Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error. |
||
1555 | </summary><exception cref="T:System.ArgumentException">The value set is less than 0.</exception><remarks> |
||
1556 | A value of 0 indicates no limit, and should be avoided in a |
||
1557 | <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionString" /> because an attempt to connect |
||
1558 | will wait indefinitely. |
||
1559 | </remarks><example> |
||
1560 | The following example creates a MySqlConnection |
||
1561 | and sets some of its properties in the connection string. |
||
1562 | <code lang="vbnet"> |
||
1563 | Public Sub CreateSqlConnection() |
||
1564 | Dim myConnection As New MySqlConnection() |
||
1565 | myConnection.ConnectionString = "Persist Security Info=False;Username=user;Password=pass;database=test1;server=localhost;Connect Timeout=30" |
||
1566 | myConnection.Open() |
||
1567 | End Sub |
||
1568 | </code>
|
||
1569 | <code lang="C#"> |
||
1570 | public void CreateSqlConnection() |
||
1571 | { |
||
1572 | MySqlConnection myConnection = new MySqlConnection(); |
||
1573 | myConnection.ConnectionString = "Persist Security Info=False;Username=user;Password=pass;database=test1;server=localhost;Connect Timeout=30"; |
||
1574 | myConnection.Open(); |
||
1575 | } |
||
1576 | </code>
|
||
1577 | </example>
|
||
1578 | </member>
|
||
1579 | <member name="P:MySql.Data.MySqlClient.MySqlConnection.Database"> |
||
1580 | <summary>Gets the name of the current database or the database to be used after a connection is opened.</summary><returns>The name of the current database or the name of the database to be used after a connection is opened. The default value is an empty string.</returns><remarks> |
||
1581 | <para>
|
||
1582 | The <B>Database</B> property does not update dynamically. |
||
1583 | If you change the current database using a SQL statement, then this property |
||
1584 | may reflect the wrong value. If you change the current database using the <see cref="M:MySql.Data.MySqlClient.MySqlConnection.ChangeDatabase(System.String)" /> |
||
1585 | method, this property is updated to reflect the new database. |
||
1586 | </para>
|
||
1587 | </remarks><example> |
||
1588 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> and displays |
||
1589 | some of its read-only properties. |
||
1590 | |||
1591 | <code lang="vbnet"> |
||
1592 | Public Sub CreateMySqlConnection() |
||
1593 | Dim myConnString As String = _ |
||
1594 | "Persist Security Info=False;database=test;server=localhost;user id=joeuser;pwd=pass" |
||
1595 | Dim myConnection As New MySqlConnection( myConnString ) |
||
1596 | myConnection.Open() |
||
1597 | MessageBox.Show( "Server Version: " + myConnection.ServerVersion _ |
||
1598 | + ControlChars.NewLine + "Database: " + myConnection.Database ) |
||
1599 | myConnection.ChangeDatabase( "test2" ) |
||
1600 | MessageBox.Show( "ServerVersion: " + myConnection.ServerVersion _ |
||
1601 | + ControlChars.NewLine + "Database: " + myConnection.Database ) |
||
1602 | myConnection.Close() |
||
1603 | End Sub |
||
1604 | </code>
|
||
1605 | |||
1606 | <code lang="C#"> |
||
1607 | public void CreateMySqlConnection() |
||
1608 | { |
||
1609 | string myConnString = |
||
1610 | "Persist Security Info=False;database=test;server=localhost;user id=joeuser;pwd=pass"; |
||
1611 | MySqlConnection myConnection = new MySqlConnection( myConnString ); |
||
1612 | myConnection.Open(); |
||
1613 | MessageBox.Show( "Server Version: " + myConnection.ServerVersion |
||
1614 | + "\nDatabase: " + myConnection.Database ); |
||
1615 | myConnection.ChangeDatabase( "test2" ); |
||
1616 | MessageBox.Show( "ServerVersion: " + myConnection.ServerVersion |
||
1617 | + "\nDatabase: " + myConnection.Database ); |
||
1618 | myConnection.Close(); |
||
1619 | } |
||
1620 | </code>
|
||
1621 | </example>
|
||
1622 | </member>
|
||
1623 | <member name="P:MySql.Data.MySqlClient.MySqlConnection.UseCompression"> |
||
1624 | <summary>
|
||
1625 | Indicates if this connection should use compression when communicating with the server. |
||
1626 | </summary>
|
||
1627 | </member>
|
||
1628 | <member name="P:MySql.Data.MySqlClient.MySqlConnection.State"> |
||
1629 | <summary>Gets the current state of the connection.</summary><returns> |
||
1630 | A bitwise combination of the <see cref="T:System.Data.ConnectionState" /> values. The default is <B>Closed</B>. |
||
1631 | </returns><remarks> |
||
1632 | The allowed state changes are: |
||
1633 | <list type="bullet"> |
||
1634 | <item>
|
||
1635 | From <B>Closed</B> to <B>Open</B>, using the <B>Open</B> method of the connection object. |
||
1636 | </item>
|
||
1637 | <item>
|
||
1638 | From <B>Open</B> to <B>Closed</B>, using either the <B>Close</B> method or the <B>Dispose</B> method of the connection object. |
||
1639 | </item>
|
||
1640 | </list>
|
||
1641 | </remarks><example> |
||
1642 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />, opens it, |
||
1643 | displays some of its properties, then closes the connection. |
||
1644 | |||
1645 | <code lang="vbnet"> |
||
1646 | Public Sub CreateMySqlConnection(myConnString As String) |
||
1647 | Dim myConnection As New MySqlConnection(myConnString) |
||
1648 | myConnection.Open() |
||
1649 | MessageBox.Show("ServerVersion: " + myConnection.ServerVersion _ |
||
1650 | + ControlChars.Cr + "State: " + myConnection.State.ToString()) |
||
1651 | myConnection.Close() |
||
1652 | End Sub |
||
1653 | </code>
|
||
1654 | <code lang="C#"> |
||
1655 | public void CreateMySqlConnection(string myConnString) |
||
1656 | { |
||
1657 | MySqlConnection myConnection = new MySqlConnection(myConnString); |
||
1658 | myConnection.Open(); |
||
1659 | MessageBox.Show("ServerVersion: " + myConnection.ServerVersion + |
||
1660 | "\nState: " + myConnection.State.ToString()); |
||
1661 | myConnection.Close(); |
||
1662 | } |
||
1663 | </code>
|
||
1664 | </example>
|
||
1665 | </member>
|
||
1666 | <member name="P:MySql.Data.MySqlClient.MySqlConnection.ServerVersion"> |
||
1667 | <summary>Gets a string containing the version of the MySQL server to which the client is connected.</summary><returns>The version of the instance of MySQL.</returns><exception cref="T:System.InvalidOperationException">The connection is closed.</exception><example> |
||
1668 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />, opens it, |
||
1669 | displays some of its properties, then closes the connection. |
||
1670 | |||
1671 | <code lang="vbnet"> |
||
1672 | Public Sub CreateMySqlConnection(myConnString As String) |
||
1673 | Dim myConnection As New MySqlConnection(myConnString) |
||
1674 | myConnection.Open() |
||
1675 | MessageBox.Show("ServerVersion: " + myConnection.ServerVersion _ |
||
1676 | + ControlChars.Cr + "State: " + myConnection.State.ToString()) |
||
1677 | myConnection.Close() |
||
1678 | End Sub |
||
1679 | </code>
|
||
1680 | <code lang="C#"> |
||
1681 | public void CreateMySqlConnection(string myConnString) |
||
1682 | { |
||
1683 | MySqlConnection myConnection = new MySqlConnection(myConnString); |
||
1684 | myConnection.Open(); |
||
1685 | MessageBox.Show("ServerVersion: " + myConnection.ServerVersion + |
||
1686 | "\nState: " + myConnection.State.ToString()); |
||
1687 | myConnection.Close(); |
||
1688 | } |
||
1689 | </code>
|
||
1690 | </example>
|
||
1691 | </member>
|
||
1692 | <member name="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionString"> |
||
1693 | <summary>
|
||
1694 | Gets or sets the string used to connect to a MySQL Server database. |
||
1695 | </summary><remarks> |
||
1696 | <para>
|
||
1697 | The <B>ConnectionString</B> returned may not be exactly like what was originally |
||
1698 | set but will be indentical in terms of keyword/value pairs. Security information |
||
1699 | will not be included unless the Persist Security Info value is set to true. |
||
1700 | </para>
|
||
1701 | <para>
|
||
1702 | You can use the <B>ConnectionString</B> property to connect to a database. |
||
1703 | The following example illustrates a typical connection string. |
||
1704 | </para>
|
||
1705 | <c>"Persist Security Info=False;database=MyDB;server=MySqlServer;user id=myUser;Password=myPass"</c> |
||
1706 | <para>
|
||
1707 | The <B>ConnectionString</B> property can be set only when the connection is |
||
1708 | closed. Many of the connection string values have corresponding read-only |
||
1709 | properties. When the connection string is set, all of these properties are |
||
1710 | updated, except when an error is detected. In this case, none of the properties |
||
1711 | are updated. <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> properties return only those settings contained in the |
||
1712 | <B>ConnectionString</B>. |
||
1713 | </para>
|
||
1714 | <para>
|
||
1715 | To connect to a local machine, specify "localhost" for the server. If you do not |
||
1716 | specify a server, localhost is assumed. |
||
1717 | </para>
|
||
1718 | <para>
|
||
1719 | Resetting the <B>ConnectionString</B> on a closed connection resets all |
||
1720 | connection string values (and related properties) including the password. For |
||
1721 | example, if you set a connection string that includes "Database= MyDb", and |
||
1722 | then reset the connection string to "Data Source=myserver;User Id=myUser;Password=myPass", |
||
1723 | the <see cref="P:MySql.Data.MySqlClient.MySqlConnection.Database" /> property is no longer set to MyDb. |
||
1724 | </para>
|
||
1725 | <para>
|
||
1726 | The connection string is parsed immediately after being set. If errors in |
||
1727 | syntax are found when parsing, a runtime exception, such as <see cref="T:System.ArgumentException" />, |
||
1728 | is generated. Other errors can be found only when an attempt is made to open the |
||
1729 | connection. |
||
1730 | </para>
|
||
1731 | <para>
|
||
1732 | The basic format of a connection string consists of a series of keyword/value |
||
1733 | pairs separated by semicolons. The equal sign (=) connects each keyword and its |
||
1734 | value. To include values that contain a semicolon, single-quote character, or |
||
1735 | double-quote character, the value must be enclosed in double quotes. If the |
||
1736 | value contains both a semicolon and a double-quote character, the value can be |
||
1737 | enclosed in single quotes. The single quote is also useful if the value begins |
||
1738 | with a double-quote character. Conversely, the double quote can be used if the |
||
1739 | value begins with a single quote. If the value contains both single-quote and |
||
1740 | double-quote characters, the quote character used to enclose the value must be |
||
1741 | doubled each time it occurs within the value. |
||
1742 | </para>
|
||
1743 | <para>
|
||
1744 | To include preceding or trailing spaces in the string value, the value must |
||
1745 | be enclosed in either single quotes or double quotes. Any leading or trailing |
||
1746 | spaces around integer, Boolean, or enumerated values are ignored, even if |
||
1747 | enclosed in quotes. However, spaces within a string literal keyword or value are |
||
1748 | preserved. Using .NET Framework version 1.1, single or double quotes may be used |
||
1749 | within a connection string without using delimiters (for example, Data Source= |
||
1750 | my'Server or Data Source= my"Server), unless a quote character is the first or |
||
1751 | last character in the value. |
||
1752 | </para>
|
||
1753 | <para>
|
||
1754 | To include an equal sign (=) in a keyword or value, it must be preceded by |
||
1755 | another equal sign. For example, in the hypothetical connection string |
||
1756 | </para>
|
||
1757 | <c>"key==word=value"</c> |
||
1758 | <para /> |
||
1759 | <para>the keyword is "key=word" and the value is "value".</para> |
||
1760 | <para>
|
||
1761 | If a specific keyword in a keyword= value pair occurs multiple times in a |
||
1762 | connection string, the last occurrence listed is used in the value set. |
||
1763 | </para>
|
||
1764 | <para>Keywords are not case sensitive.</para> |
||
1765 | <para>
|
||
1766 | The following table lists the valid names for keyword values within the |
||
1767 | <B>ConnectionString</B>. |
||
1768 | </para>
|
||
1769 | |||
1770 | <div class="tablediv"> |
||
1771 | <table class="dtTABLE" cellspacing="0"> |
||
1772 | <tr valign="top"> |
||
1773 | <th width="33%">Name</th> |
||
1774 | <th width="33%">Default</th> |
||
1775 | <th width="33%">Description</th> |
||
1776 | </tr>
|
||
1777 | <tr>
|
||
1778 | <td>
|
||
1779 | Connect Timeout<para> -or- </para>Connection Timeout |
||
1780 | </td>
|
||
1781 | <td>15</td> |
||
1782 | <td>
|
||
1783 | The length of time (in seconds) to wait for a connection to the server before |
||
1784 | terminating the attempt and generating an error. |
||
1785 | </td>
|
||
1786 | </tr>
|
||
1787 | <tr>
|
||
1788 | <td>
|
||
1789 | Host<para> -or- </para>Server<para> -or- </para>Data Source<para> -or- </para> |
||
1790 | DataSource<para> -or- </para>Address<para> -or- </para>Addr<para> -or- </para> |
||
1791 | Network Address |
||
1792 | </td>
|
||
1793 | <td>localhost</td> |
||
1794 | <td>
|
||
1795 | <para>
|
||
1796 | The name or network address of the instance of MySQL to which to connect. Multiple hosts can be |
||
1797 | specified separated by &. This can be useful where multiple MySQL servers are configured for replication
|
||
1798 | and you are not concerned about the precise server you are connecting to. No attempt is made by the provider to |
||
1799 | synchronize writes to the database so care should be taken when using this option. |
||
1800 | </para>
|
||
1801 | <para>
|
||
1802 | In Unix environment with Mono, this can be a fully qualified path to MySQL socket filename. With this configuration, the Unix socket will be used instead of TCP/IP socket. |
||
1803 | Currently only a single socket name can be given so accessing MySQL in a replicated environment using Unix sockets is not currently supported. |
||
1804 | </para>
|
||
1805 | </td>
|
||
1806 | </tr>
|
||
1807 | <tr>
|
||
1808 | <td>Port</td> |
||
1809 | <td>3306</td> |
||
1810 | <td>
|
||
1811 | The port MySQL is using to listen for connections. This value is ignored if the connection protocol |
||
1812 | is anything but socket. |
||
1813 | </td>
|
||
1814 | </tr>
|
||
1815 | <tr>
|
||
1816 | <td>Protocol</td> |
||
1817 | <td>socket</td> |
||
1818 | <td>
|
||
1819 | Specifies the type of connection to make to the server.<para>Values can be:</para> |
||
1820 | socket or tcp for a socket connection<br /> |
||
1821 | pipe for a named pipe connection<br /> |
||
1822 | unix for a Unix socket connection<br /> |
||
1823 | memory to use MySQL shared memory |
||
1824 | </td>
|
||
1825 | </tr>
|
||
1826 | <tr>
|
||
1827 | <td>
|
||
1828 | CharSet<para> -or </para>Character Set |
||
1829 | </td>
|
||
1830 | <td /> |
||
1831 | <td>
|
||
1832 | Specifies the character set that should be used to encode all queries sent to the server. |
||
1833 | Resultsets are still returned in the character set of the data returned. |
||
1834 | </td>
|
||
1835 | </tr>
|
||
1836 | <tr>
|
||
1837 | <td>Logging</td> |
||
1838 | <td>false</td> |
||
1839 | <td>When true, various pieces of information is output to any configured TraceListeners.</td> |
||
1840 | </tr>
|
||
1841 | <tr>
|
||
1842 | <td>Allow Batch</td> |
||
1843 | <td>true</td> |
||
1844 | <td>
|
||
1845 | When true, multiple SQL statements can be sent with one command execution.<br /><br /> |
||
1846 | -Note-<br /> |
||
1847 | Starting with MySQL 4.1.1, batch statements should be separated by the server-defined seperator character.<br /> |
||
1848 | Commands sent to earlier versions of MySQL should be seperated with ';'. |
||
1849 | </td>
|
||
1850 | </tr>
|
||
1851 | <tr>
|
||
1852 | <td>Encrypt</td> |
||
1853 | <td>false</td> |
||
1854 | <td>
|
||
1855 | When <B>true</B>, SSL/TLS encryption is used for all data sent between the |
||
1856 | client and server if the server has a certificate installed. Recognized values |
||
1857 | are <B>true</B>, <B>false</B>, <B>yes</B>, and <B>no</B>. |
||
1858 | </td>
|
||
1859 | </tr>
|
||
1860 | <tr>
|
||
1861 | <td>
|
||
1862 | Initial Catalog<para> -or- </para>Database |
||
1863 | </td>
|
||
1864 | <td>mysql</td> |
||
1865 | <td>The name of the database to use intially</td> |
||
1866 | </tr>
|
||
1867 | <tr>
|
||
1868 | <td>
|
||
1869 | Password<para> -or- </para>pwd |
||
1870 | </td>
|
||
1871 | <td /> |
||
1872 | <td>The password for the MySQL account being used.</td> |
||
1873 | </tr>
|
||
1874 | <tr>
|
||
1875 | <td>Persist Security Info</td> |
||
1876 | <td>false</td> |
||
1877 | <td>
|
||
1878 | When set to <B>false</B> or <B>no</B> (strongly recommended), security-sensitive |
||
1879 | information, such as the password, is not returned as part of the connection if |
||
1880 | the connection is open or has ever been in an open state. Resetting the |
||
1881 | connection string resets all connection string values including the password. |
||
1882 | Recognized values are <B>true</B>, <B>false</B>, <B>yes</B>, and <B>no</B>. |
||
1883 | </td>
|
||
1884 | </tr>
|
||
1885 | <tr>
|
||
1886 | <td>
|
||
1887 | User Id<para> -or- </para>Username<para> -or- </para>Uid<para> -or- </para>User name |
||
1888 | </td>
|
||
1889 | <td /> |
||
1890 | <td>The MySQL login account being used.</td> |
||
1891 | </tr>
|
||
1892 | <tr>
|
||
1893 | <td>Shared Memory Name</td> |
||
1894 | <td>MYSQL</td> |
||
1895 | <td>The name of the shared memory object to use for communication if the connection protocol is set to memory.</td> |
||
1896 | </tr>
|
||
1897 | <tr>
|
||
1898 | <td>Allow Zero Datetime</td> |
||
1899 | <td>false</td> |
||
1900 | <td>
|
||
1901 | True to have MySqlDataReader.GetValue() return a MySqlDateTime for date or datetime columns that have illegal values. |
||
1902 | False will cause a DateTime object to be returned for legal values and an exception will be thrown for illegal values. |
||
1903 | </td>
|
||
1904 | </tr>
|
||
1905 | <tr>
|
||
1906 | <td>Convert Zero Datetime</td> |
||
1907 | <td>false</td> |
||
1908 | <td>
|
||
1909 | True to have MySqlDataReader.GetValue() and MySqlDataReader.GetDateTime() |
||
1910 | return DateTime.MinValue for date or datetime columns that have illegal values. |
||
1911 | </td>
|
||
1912 | </tr>
|
||
1913 | <tr>
|
||
1914 | <td>
|
||
1915 | Pipe Name<para> -or- </para>Pipe |
||
1916 | </td>
|
||
1917 | <td>mysql</td> |
||
1918 | <td>
|
||
1919 | When set to the name of a named pipe, the <B>MySqlConnection</B> will attempt to connect to MySQL |
||
1920 | on that named pipe.<br /><br />This settings only applies to the Windows platform. |
||
1921 | </td>
|
||
1922 | </tr>
|
||
1923 | <tr>
|
||
1924 | <td>
|
||
1925 | Use Performance Monitor<para> -or- </para>UsePerformanceMonitor |
||
1926 | </td>
|
||
1927 | <td>false</td> |
||
1928 | <td>
|
||
1929 | Posts performance data that can be tracked using perfmon |
||
1930 | </td>
|
||
1931 | </tr>
|
||
1932 | <tr>
|
||
1933 | <td>
|
||
1934 | Procedure Cache Size |
||
1935 | </td>
|
||
1936 | <td>25</td> |
||
1937 | <td>
|
||
1938 | How many stored procedure definitions can be held in the cache |
||
1939 | </td>
|
||
1940 | </tr>
|
||
1941 | <tr>
|
||
1942 | <td>
|
||
1943 | Ignore Prepare |
||
1944 | </td>
|
||
1945 | <td>true</td> |
||
1946 | <td>
|
||
1947 | Instructs the provider to ignore any attempts to prepare commands. This option |
||
1948 | was added to allow a user to disable prepared statements in an entire application |
||
1949 | without modifying the code. A user might want to do this if errors or bugs are |
||
1950 | encountered with MySQL prepared statements. |
||
1951 | </td>
|
||
1952 | </tr>
|
||
1953 | <tr>
|
||
1954 | <td>Use Procedure Bodies</td> |
||
1955 | <td>true</td> |
||
1956 | <td>
|
||
1957 | Instructs the provider to attempt to call the procedure without first resolving the metadata. This |
||
1958 | is useful in situations where the calling user does not have access to the mysql.proc table. To |
||
1959 | use this mode, the parameters for the procedure must be added to the command in the same order |
||
1960 | as they appear in the procedure definition and their types must be explicitly set. |
||
1961 | </td>
|
||
1962 | </tr>
|
||
1963 | <tr>
|
||
1964 | <td>Auto Enlist</td> |
||
1965 | <td>true</td> |
||
1966 | <td>
|
||
1967 | Indicates whether the connection should automatically enlist in the current transaction, |
||
1968 | if there is one. |
||
1969 | </td>
|
||
1970 | </tr>
|
||
1971 | <tr>
|
||
1972 | <td>Respect Binary Flags</td> |
||
1973 | <td>true</td> |
||
1974 | <td>
|
||
1975 | Indicates whether the connection should respect all binary flags sent to the client |
||
1976 | as part of column metadata. False will cause the connector to behave like |
||
1977 | Connector/Net 5.0 and earlier. |
||
1978 | </td>
|
||
1979 | </tr>
|
||
1980 | <tr>
|
||
1981 | <td>BlobAsUTF8IncludePattern</td> |
||
1982 | <td>null</td> |
||
1983 | <td>
|
||
1984 | Pattern that should be used to indicate which blob columns should be treated as UTF-8. |
||
1985 | </td>
|
||
1986 | </tr>
|
||
1987 | <tr>
|
||
1988 | <td>BlobAsUTF8ExcludePattern</td> |
||
1989 | <td>null</td> |
||
1990 | <td>
|
||
1991 | Pattern that should be used to indicate which blob columns should not be treated as UTF-8. |
||
1992 | </td>
|
||
1993 | </tr>
|
||
1994 | <tr>
|
||
1995 | <td>Default Command Timeout</td> |
||
1996 | <td>30</td> |
||
1997 | <td>
|
||
1998 | The default timeout that new MySqlCommand objects will use unless changed. |
||
1999 | </td>
|
||
2000 | </tr>
|
||
2001 | <tr>
|
||
2002 | <td>Allow User Variables</td> |
||
2003 | <td>false</td> |
||
2004 | <td>
|
||
2005 | Should the provider expect user variables in the SQL. |
||
2006 | </td>
|
||
2007 | </tr>
|
||
2008 | <tr>
|
||
2009 | <td>Interactive -or- Interactive Session</td> |
||
2010 | <td>false</td> |
||
2011 | <td>
|
||
2012 | Should this session be considered interactive? |
||
2013 | </td>
|
||
2014 | </tr>
|
||
2015 | <tr>
|
||
2016 | <td>Functions Return String</td> |
||
2017 | <td>false</td> |
||
2018 | <td>
|
||
2019 | Set this option to true to force the return value of SQL functions to be string. |
||
2020 | </td>
|
||
2021 | </tr>
|
||
2022 | <tr>
|
||
2023 | <td>Use Affected Rows</td> |
||
2024 | <td>false</td> |
||
2025 | <td>
|
||
2026 | Set this option to true to cause the affected rows reported to reflect only the |
||
2027 | rows that are actually changed. By default, the number of rows that are matched |
||
2028 | is returned. |
||
2029 | </td>
|
||
2030 | </tr>
|
||
2031 | </table>
|
||
2032 | </div>
|
||
2033 | <para>
|
||
2034 | The following table lists the valid names for connection pooling values within |
||
2035 | the <B>ConnectionString</B>. For more information about connection pooling, see |
||
2036 | Connection Pooling for the MySql Data Provider. |
||
2037 | </para>
|
||
2038 | <div class="tablediv"> |
||
2039 | <table class="dtTABLE" cellspacing="0"> |
||
2040 | <tr valign="top"> |
||
2041 | <th width="33%">Name</th> |
||
2042 | <th width="33%">Default</th> |
||
2043 | <th width="33%">Description</th> |
||
2044 | </tr>
|
||
2045 | <tr>
|
||
2046 | <td>Connection Lifetime</td> |
||
2047 | <td>0</td> |
||
2048 | <td>
|
||
2049 | When a connection is returned to the pool, its creation time is compared with |
||
2050 | the current time, and the connection is destroyed if that time span (in seconds) |
||
2051 | exceeds the value specified by <B>Connection Lifetime</B>. This is useful in |
||
2052 | clustered configurations to force load balancing between a running server and a |
||
2053 | server just brought online. |
||
2054 | <para>
|
||
2055 | A value of zero (0) causes pooled connections to have the maximum connection |
||
2056 | timeout. |
||
2057 | </para>
|
||
2058 | </td>
|
||
2059 | </tr>
|
||
2060 | <tr>
|
||
2061 | <td>Max Pool Size</td> |
||
2062 | <td>100</td> |
||
2063 | <td>The maximum number of connections allowed in the pool.</td> |
||
2064 | </tr>
|
||
2065 | <tr>
|
||
2066 | <td>Min Pool Size</td> |
||
2067 | <td>0</td> |
||
2068 | <td>The minimum number of connections allowed in the pool.</td> |
||
2069 | </tr>
|
||
2070 | <tr>
|
||
2071 | <td>Pooling</td> |
||
2072 | <td>true</td> |
||
2073 | <td>
|
||
2074 | When <B>true</B>, the <B>MySqlConnection</B> object is drawn from the appropriate |
||
2075 | pool, or if necessary, is created and added to the appropriate pool. Recognized |
||
2076 | values are <B>true</B>, <B>false</B>, <B>yes</B>, and <B>no</B>. |
||
2077 | </td>
|
||
2078 | </tr>
|
||
2079 | <tr>
|
||
2080 | <td>Connection Reset</td> |
||
2081 | <td>false</td> |
||
2082 | <td>
|
||
2083 | Specifies whether the database connection should be reset when being |
||
2084 | drawn from the pool. Leaving this as <b>false</b> will yeild much faster |
||
2085 | connection opens but the user should understand the side effects |
||
2086 | of doing this such as temporary tables and user variables from the previous |
||
2087 | session not being cleared out. |
||
2088 | </td>
|
||
2089 | </tr>
|
||
2090 | <tr>
|
||
2091 | <td>Cache Server Properties</td> |
||
2092 | <td>false</td> |
||
2093 | <td>
|
||
2094 | Specifies whether the server variables are cached between pooled connections. |
||
2095 | On systems where the variables change infrequently and there are lots of |
||
2096 | connection attempts, this can speed up things dramatically. |
||
2097 | </td>
|
||
2098 | </tr>
|
||
2099 | </table>
|
||
2100 | </div>
|
||
2101 | <para>
|
||
2102 | When setting keyword or connection pooling values that require a Boolean |
||
2103 | value, you can use 'yes' instead of 'true', and 'no' instead of 'false'. |
||
2104 | </para>
|
||
2105 | <para>
|
||
2106 | <B>Note</B> The MySql Data Provider uses the native socket protocol to |
||
2107 | communicate with MySQL. Therefore, it does not support the use of an ODBC data source name (DSN) when |
||
2108 | connecting to MySQL because it does not add an ODBC layer. |
||
2109 | </para>
|
||
2110 | <para>
|
||
2111 | <B>CAUTION</B> In this release, the application should use caution when constructing a |
||
2112 | connection string based on user input (for example when retrieving user ID and password information from a |
||
2113 | dialog box, and appending it to the connection string). The application should |
||
2114 | ensure that a user cannot embed extra connection string parameters in these |
||
2115 | values (for example, entering a password as "validpassword;database=somedb" in |
||
2116 | an attempt to attach to a different database). |
||
2117 | </para>
|
||
2118 | </remarks><example> |
||
2119 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> and sets some of its properties |
||
2120 | <code lang="vbnet"> |
||
2121 | Public Sub CreateConnection() |
||
2122 | Dim myConnection As New MySqlConnection() |
||
2123 | myConnection.ConnectionString = "Persist Security Info=False;database=myDB;server=myHost;Connect Timeout=30;user id=myUser; pwd=myPass" |
||
2124 | myConnection.Open() |
||
2125 | End Sub 'CreateConnection |
||
2126 | </code>
|
||
2127 | <code lang="C#"> |
||
2128 | public void CreateConnection() |
||
2129 | { |
||
2130 | MySqlConnection myConnection = new MySqlConnection(); |
||
2131 | myConnection.ConnectionString = "Persist Security Info=False;database=myDB;server=myHost;Connect Timeout=30;user id=myUser; pwd=myPass"; |
||
2132 | myConnection.Open(); |
||
2133 | } |
||
2134 | </code>
|
||
2135 | </example><example> |
||
2136 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> in Unix environment with Mono installed. MySQL socket filename used in this example is "/var/lib/mysql/mysql.sock". The actual filename depends on your MySQL configuration. |
||
2137 | <code lang="vbnet"> |
||
2138 | Public Sub CreateConnection() |
||
2139 | Dim myConnection As New MySqlConnection() |
||
2140 | myConnection.ConnectionString = "database=myDB;server=/var/lib/mysql/mysql.sock;user id=myUser; pwd=myPass" |
||
2141 | myConnection.Open() |
||
2142 | End Sub 'CreateConnection |
||
2143 | </code>
|
||
2144 | <code lang="C#"> |
||
2145 | public void CreateConnection() |
||
2146 | { |
||
2147 | MySqlConnection myConnection = new MySqlConnection(); |
||
2148 | myConnection.ConnectionString = "database=myDB;server=/var/lib/mysql/mysql.sock;user id=myUser; pwd=myPass"; |
||
2149 | myConnection.Open(); |
||
2150 | } |
||
2151 | </code>
|
||
2152 | </example>
|
||
2153 | </member>
|
||
2154 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.EnlistTransaction(System.Transactions.Transaction)"> |
||
2155 | <summary>
|
||
2156 | Enlists in the specified transaction. |
||
2157 | </summary>
|
||
2158 | <param name="transaction"> |
||
2159 | A reference to an existing <see cref="T:System.Transactions.Transaction"/> in which to enlist. |
||
2160 | </param>
|
||
2161 | </member>
|
||
2162 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.BeginTransaction"> |
||
2163 | <summary>Begins a database transaction.</summary><returns>An object representing the new transaction.</returns><exception cref="T:System.InvalidOperationException">Parallel transactions are not supported.</exception><remarks> |
||
2164 | <para>This command is equivalent to the MySQL BEGIN TRANSACTION command.</para> |
||
2165 | <para>
|
||
2166 | You must explicitly commit or roll back the transaction using the <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Commit" /> or |
||
2167 | <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Rollback" /> method. |
||
2168 | <note>
|
||
2169 | If you do not specify an isolation level, the default isolation level is used. To specify an isolation |
||
2170 | level with the <see cref="M:MySql.Data.MySqlClient.MySqlConnection.BeginTransaction" /> method, use the overload that takes the <I>iso</I> parameter. Also |
||
2171 | note that any attempt to begin a transaction while a transaction is in progress will throw an exception on MySQL 4.1 and higher. |
||
2172 | On MySQL 4.0, an exception will not be thrown because servers 4.0 and earlier did not report their transacation status. |
||
2173 | </note>
|
||
2174 | </para>
|
||
2175 | </remarks><example> |
||
2176 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> and a |
||
2177 | <see cref="T:MySql.Data.MySqlClient.MySqlTransaction" />. It also demonstrates how to use the <B>BeginTransaction</B>, a |
||
2178 | <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Commit" />, and <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Rollback" /> methods. |
||
2179 | <code lang="vbnet"> |
||
2180 | Public Sub RunTransaction(myConnString As String) |
||
2181 | Dim myConnection As New MySqlConnection(myConnString) |
||
2182 | myConnection.Open() |
||
2183 | |||
2184 | Dim myCommand As MySqlCommand = myConnection.CreateCommand() |
||
2185 | Dim myTrans As MySqlTransaction |
||
2186 | |||
2187 | ' Start a local transaction |
||
2188 | myTrans = myConnection.BeginTransaction() |
||
2189 | ' Must assign both transaction object and connection |
||
2190 | ' to Command object for a pending local transaction |
||
2191 | myCommand.Connection = myConnection |
||
2192 | myCommand.Transaction = myTrans |
||
2193 | |||
2194 | Try |
||
2195 | myCommand.CommandText = "Insert into Test (id, desc) VALUES (100, 'Description')" |
||
2196 | myCommand.ExecuteNonQuery() |
||
2197 | myCommand.CommandText = "Insert into Test (id, desc) VALUES (101, 'Description')" |
||
2198 | myCommand.ExecuteNonQuery() |
||
2199 | myTrans.Commit() |
||
2200 | Console.WriteLine("Both records are written to database.") |
||
2201 | Catch e As Exception |
||
2202 | Try |
||
2203 | myTrans.Rollback() |
||
2204 | Catch ex As MySqlException |
||
2205 | If Not myTrans.Connection Is Nothing Then |
||
2206 | Console.WriteLine("An exception of type " + ex.GetType().ToString() + _ |
||
2207 | " was encountered while attempting to roll back the transaction.") |
||
2208 | End If |
||
2209 | End Try |
||
2210 | |||
2211 | Console.WriteLine("An exception of type " + e.GetType().ToString() + _ |
||
2212 | "was encountered while inserting the data.") |
||
2213 | Console.WriteLine("Neither record was written to database.") |
||
2214 | Finally |
||
2215 | myConnection.Close() |
||
2216 | End Try |
||
2217 | End Sub |
||
2218 | </code>
|
||
2219 | <code lang="C#"> |
||
2220 | public void RunTransaction(string myConnString) |
||
2221 | { |
||
2222 | MySqlConnection myConnection = new MySqlConnection(myConnString); |
||
2223 | myConnection.Open(); |
||
2224 | |||
2225 | MySqlCommand myCommand = myConnection.CreateCommand(); |
||
2226 | MySqlTransaction myTrans; |
||
2227 | |||
2228 | // Start a local transaction |
||
2229 | myTrans = myConnection.BeginTransaction(); |
||
2230 | // Must assign both transaction object and connection |
||
2231 | // to Command object for a pending local transaction |
||
2232 | myCommand.Connection = myConnection; |
||
2233 | myCommand.Transaction = myTrans; |
||
2234 | |||
2235 | try |
||
2236 | { |
||
2237 | myCommand.CommandText = "insert into Test (id, desc) VALUES (100, 'Description')"; |
||
2238 | myCommand.ExecuteNonQuery(); |
||
2239 | myCommand.CommandText = "insert into Test (id, desc) VALUES (101, 'Description')"; |
||
2240 | myCommand.ExecuteNonQuery(); |
||
2241 | myTrans.Commit(); |
||
2242 | Console.WriteLine("Both records are written to database."); |
||
2243 | } |
||
2244 | catch(Exception e) |
||
2245 | { |
||
2246 | try |
||
2247 | { |
||
2248 | myTrans.Rollback(); |
||
2249 | } |
||
2250 | catch (SqlException ex) |
||
2251 | { |
||
2252 | if (myTrans.Connection != null) |
||
2253 | { |
||
2254 | Console.WriteLine("An exception of type " + ex.GetType() + |
||
2255 | " was encountered while attempting to roll back the transaction."); |
||
2256 | } |
||
2257 | } |
||
2258 | |||
2259 | Console.WriteLine("An exception of type " + e.GetType() + |
||
2260 | " was encountered while inserting the data."); |
||
2261 | Console.WriteLine("Neither record was written to database."); |
||
2262 | } |
||
2263 | finally |
||
2264 | { |
||
2265 | myConnection.Close(); |
||
2266 | } |
||
2267 | } |
||
2268 | </code>
|
||
2269 | </example>
|
||
2270 | </member>
|
||
2271 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.BeginTransaction(System.Data.IsolationLevel)"> |
||
2272 | <summary>Begins a database transaction with the specified isolation level.</summary><param name="iso">The isolation level under which the transaction should run. </param><returns>An object representing the new transaction.</returns><exception cref="T:System.InvalidOperationException">Parallel exceptions are not supported.</exception><remarks> |
||
2273 | <para>This command is equivalent to the MySQL BEGIN TRANSACTION command.</para> |
||
2274 | <para>
|
||
2275 | You must explicitly commit or roll back the transaction using the <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Commit" /> or |
||
2276 | <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Rollback" /> method. |
||
2277 | <note>
|
||
2278 | If you do not specify an isolation level, the default isolation level is used. To specify an isolation |
||
2279 | level with the <see cref="M:MySql.Data.MySqlClient.MySqlConnection.BeginTransaction" /> method, use the overload that takes the <I>iso</I> parameter. |
||
2280 | Also note that any attempt to begin a transaction while a transaction is in progress will throw an exception on MySQL 4.1 and higher. |
||
2281 | On MySQL 4.0, an exception will not be thrown because servers 4.0 and earlier did not report their transacation status. |
||
2282 | </note>
|
||
2283 | </para>
|
||
2284 | </remarks><example> |
||
2285 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> and a |
||
2286 | <see cref="T:MySql.Data.MySqlClient.MySqlTransaction" />. It also demonstrates how to use the <B>BeginTransaction</B>, a |
||
2287 | <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Commit" />, and <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Rollback" /> methods. |
||
2288 | <code lang="vbnet"> |
||
2289 | Public Sub RunTransaction(myConnString As String) |
||
2290 | Dim myConnection As New MySqlConnection(myConnString) |
||
2291 | myConnection.Open() |
||
2292 | |||
2293 | Dim myCommand As MySqlCommand = myConnection.CreateCommand() |
||
2294 | Dim myTrans As MySqlTransaction |
||
2295 | |||
2296 | ' Start a local transaction |
||
2297 | myTrans = myConnection.BeginTransaction() |
||
2298 | ' Must assign both transaction object and connection |
||
2299 | ' to Command object for a pending local transaction |
||
2300 | myCommand.Connection = myConnection |
||
2301 | myCommand.Transaction = myTrans |
||
2302 | |||
2303 | Try |
||
2304 | myCommand.CommandText = "Insert into Test (id, desc) VALUES (100, 'Description')" |
||
2305 | myCommand.ExecuteNonQuery() |
||
2306 | myCommand.CommandText = "Insert into Test (id, desc) VALUES (101, 'Description')" |
||
2307 | myCommand.ExecuteNonQuery() |
||
2308 | myTrans.Commit() |
||
2309 | Console.WriteLine("Both records are written to database.") |
||
2310 | Catch e As Exception |
||
2311 | Try |
||
2312 | myTrans.Rollback() |
||
2313 | Catch ex As MySqlException |
||
2314 | If Not myTrans.Connection Is Nothing Then |
||
2315 | Console.WriteLine("An exception of type " + ex.GetType().ToString() + _ |
||
2316 | " was encountered while attempting to roll back the transaction.") |
||
2317 | End If |
||
2318 | End Try |
||
2319 | |||
2320 | Console.WriteLine("An exception of type " + e.GetType().ToString() + _ |
||
2321 | "was encountered while inserting the data.") |
||
2322 | Console.WriteLine("Neither record was written to database.") |
||
2323 | Finally |
||
2324 | myConnection.Close() |
||
2325 | End Try |
||
2326 | End Sub |
||
2327 | </code>
|
||
2328 | <code lang="C#"> |
||
2329 | public void RunTransaction(string myConnString) |
||
2330 | { |
||
2331 | MySqlConnection myConnection = new MySqlConnection(myConnString); |
||
2332 | myConnection.Open(); |
||
2333 | |||
2334 | MySqlCommand myCommand = myConnection.CreateCommand(); |
||
2335 | MySqlTransaction myTrans; |
||
2336 | |||
2337 | // Start a local transaction |
||
2338 | myTrans = myConnection.BeginTransaction(); |
||
2339 | // Must assign both transaction object and connection |
||
2340 | // to Command object for a pending local transaction |
||
2341 | myCommand.Connection = myConnection; |
||
2342 | myCommand.Transaction = myTrans; |
||
2343 | |||
2344 | try |
||
2345 | { |
||
2346 | myCommand.CommandText = "insert into Test (id, desc) VALUES (100, 'Description')"; |
||
2347 | myCommand.ExecuteNonQuery(); |
||
2348 | myCommand.CommandText = "insert into Test (id, desc) VALUES (101, 'Description')"; |
||
2349 | myCommand.ExecuteNonQuery(); |
||
2350 | myTrans.Commit(); |
||
2351 | Console.WriteLine("Both records are written to database."); |
||
2352 | } |
||
2353 | catch(Exception e) |
||
2354 | { |
||
2355 | try |
||
2356 | { |
||
2357 | myTrans.Rollback(); |
||
2358 | } |
||
2359 | catch (SqlException ex) |
||
2360 | { |
||
2361 | if (myTrans.Connection != null) |
||
2362 | { |
||
2363 | Console.WriteLine("An exception of type " + ex.GetType() + |
||
2364 | " was encountered while attempting to roll back the transaction."); |
||
2365 | } |
||
2366 | } |
||
2367 | |||
2368 | Console.WriteLine("An exception of type " + e.GetType() + |
||
2369 | " was encountered while inserting the data."); |
||
2370 | Console.WriteLine("Neither record was written to database."); |
||
2371 | } |
||
2372 | finally |
||
2373 | { |
||
2374 | myConnection.Close(); |
||
2375 | } |
||
2376 | } |
||
2377 | </code>
|
||
2378 | </example>
|
||
2379 | </member>
|
||
2380 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.ChangeDatabase(System.String)"> |
||
2381 | <summary>Changes the current database for an open MySqlConnection.</summary><param name="databaseName">The name of the database to use.</param><remarks> |
||
2382 | <para>
|
||
2383 | The value supplied in the <I>database</I> parameter must be a valid database |
||
2384 | name. The <I>database</I> parameter cannot contain a null value, an empty |
||
2385 | string, or a string with only blank characters. |
||
2386 | </para>
|
||
2387 | |||
2388 | <para>
|
||
2389 | When you are using connection pooling against MySQL, and you close |
||
2390 | the connection, it is returned to the connection pool. The next time the |
||
2391 | connection is retrieved from the pool, the reset connection request |
||
2392 | executes before the user performs any operations. |
||
2393 | </para>
|
||
2394 | </remarks><exception cref="T:System.ArgumentException">The database name is not valid.</exception><exception cref="T:System.InvalidOperationException">The connection is not open.</exception><exception cref="T:MySql.Data.MySqlClient.MySqlException">Cannot change the database.</exception><example> |
||
2395 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> and displays |
||
2396 | some of its read-only properties. |
||
2397 | |||
2398 | <code lang="vbnet"> |
||
2399 | Public Sub CreateMySqlConnection() |
||
2400 | Dim myConnString As String = _ |
||
2401 | "Persist Security Info=False;database=test;server=localhost;user id=joeuser;pwd=pass" |
||
2402 | Dim myConnection As New MySqlConnection( myConnString ) |
||
2403 | myConnection.Open() |
||
2404 | MessageBox.Show( "Server Version: " + myConnection.ServerVersion _ |
||
2405 | + ControlChars.NewLine + "Database: " + myConnection.Database ) |
||
2406 | myConnection.ChangeDatabase( "test2" ) |
||
2407 | MessageBox.Show( "ServerVersion: " + myConnection.ServerVersion _ |
||
2408 | + ControlChars.NewLine + "Database: " + myConnection.Database ) |
||
2409 | myConnection.Close() |
||
2410 | End Sub |
||
2411 | </code>
|
||
2412 | |||
2413 | <code lang="C#"> |
||
2414 | public void CreateMySqlConnection() |
||
2415 | { |
||
2416 | string myConnString = |
||
2417 | "Persist Security Info=False;database=test;server=localhost;user id=joeuser;pwd=pass"; |
||
2418 | MySqlConnection myConnection = new MySqlConnection( myConnString ); |
||
2419 | myConnection.Open(); |
||
2420 | MessageBox.Show( "Server Version: " + myConnection.ServerVersion |
||
2421 | + "\nDatabase: " + myConnection.Database ); |
||
2422 | myConnection.ChangeDatabase( "test2" ); |
||
2423 | MessageBox.Show( "ServerVersion: " + myConnection.ServerVersion |
||
2424 | + "\nDatabase: " + myConnection.Database ); |
||
2425 | myConnection.Close(); |
||
2426 | } |
||
2427 | </code>
|
||
2428 | </example>
|
||
2429 | </member>
|
||
2430 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.Ping"> |
||
2431 | <summary>
|
||
2432 | Ping |
||
2433 | </summary>
|
||
2434 | <returns></returns> |
||
2435 | </member>
|
||
2436 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.Open"> |
||
2437 | <summary>Opens a database connection with the property settings specified by the ConnectionString.</summary><exception cref="T:System.InvalidOperationException">Cannot open a connection without specifying a data source or server.</exception><exception cref="T:MySql.Data.MySqlClient.MySqlException">A connection-level error occurred while opening the connection.</exception><remarks> |
||
2438 | <para>
|
||
2439 | The <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> draws an open connection from the connection pool if one is available. |
||
2440 | Otherwise, it establishes a new connection to an instance of MySQL. |
||
2441 | </para>
|
||
2442 | </remarks><example> |
||
2443 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />, opens it, |
||
2444 | displays some of its properties, then closes the connection. |
||
2445 | |||
2446 | <code lang="vbnet"> |
||
2447 | Public Sub CreateMySqlConnection(myConnString As String) |
||
2448 | Dim myConnection As New MySqlConnection(myConnString) |
||
2449 | myConnection.Open() |
||
2450 | MessageBox.Show("ServerVersion: " + myConnection.ServerVersion _ |
||
2451 | + ControlChars.Cr + "State: " + myConnection.State.ToString()) |
||
2452 | myConnection.Close() |
||
2453 | End Sub |
||
2454 | </code>
|
||
2455 | <code lang="C#"> |
||
2456 | public void CreateMySqlConnection(string myConnString) |
||
2457 | { |
||
2458 | MySqlConnection myConnection = new MySqlConnection(myConnString); |
||
2459 | myConnection.Open(); |
||
2460 | MessageBox.Show("ServerVersion: " + myConnection.ServerVersion + |
||
2461 | "\nState: " + myConnection.State.ToString()); |
||
2462 | myConnection.Close(); |
||
2463 | } |
||
2464 | </code>
|
||
2465 | </example>
|
||
2466 | </member>
|
||
2467 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.CreateCommand"> |
||
2468 | <summary>
|
||
2469 | Creates and returns a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> object associated with the <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />. |
||
2470 | </summary><returns> |
||
2471 | A <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> object. |
||
2472 | </returns>
|
||
2473 | </member>
|
||
2474 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.Clone"> |
||
2475 | <summary>
|
||
2476 | Creates a new MySqlConnection object with the exact same ConnectionString value |
||
2477 | </summary>
|
||
2478 | <returns>A cloned MySqlConnection object</returns> |
||
2479 | </member>
|
||
2480 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.Close"> |
||
2481 | <summary>Closes the connection to the database. This is the preferred method of closing any open connection.</summary><remarks> |
||
2482 | <para>
|
||
2483 | The <B>Close</B> method rolls back any pending transactions. It then releases |
||
2484 | the connection to the connection pool, or closes the connection if connection |
||
2485 | pooling is disabled. |
||
2486 | </para>
|
||
2487 | <para>
|
||
2488 | An application can call <B>Close</B> more than one time. No exception is |
||
2489 | generated. |
||
2490 | </para>
|
||
2491 | </remarks><example> |
||
2492 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />, opens it, |
||
2493 | displays some of its properties, then closes the connection. |
||
2494 | |||
2495 | <code lang="vbnet"> |
||
2496 | Public Sub CreateMySqlConnection(myConnString As String) |
||
2497 | Dim myConnection As New MySqlConnection(myConnString) |
||
2498 | myConnection.Open() |
||
2499 | MessageBox.Show("ServerVersion: " + myConnection.ServerVersion _ |
||
2500 | + ControlChars.Cr + "State: " + myConnection.State.ToString()) |
||
2501 | myConnection.Close() |
||
2502 | End Sub |
||
2503 | </code>
|
||
2504 | <code lang="C#"> |
||
2505 | public void CreateMySqlConnection(string myConnString) |
||
2506 | { |
||
2507 | MySqlConnection myConnection = new MySqlConnection(myConnString); |
||
2508 | myConnection.Open(); |
||
2509 | MessageBox.Show("ServerVersion: " + myConnection.ServerVersion + |
||
2510 | "\nState: " + myConnection.State.ToString()); |
||
2511 | myConnection.Close(); |
||
2512 | } |
||
2513 | </code>
|
||
2514 | </example>
|
||
2515 | </member>
|
||
2516 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.SetCommandTimeout(System.Int32)"> |
||
2517 | <summary>
|
||
2518 | Sets query timeout. If timeout has been set prior and not |
||
2519 | yet cleared ClearCommandTimeout(), it has no effect. |
||
2520 | </summary>
|
||
2521 | <param name="value">timeout in seconds</param> |
||
2522 | <returns>true if </returns> |
||
2523 | </member>
|
||
2524 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.ClearCommandTimeout"> |
||
2525 | <summary>
|
||
2526 | Clears query timeout, allowing next SetCommandTimeout() to succeed. |
||
2527 | </summary>
|
||
2528 | </member>
|
||
2529 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.ClearPool(MySql.Data.MySqlClient.MySqlConnection)"> |
||
2530 | <summary>Empties the connection pool associated with the specified connection.</summary><param name="connection"> |
||
2531 | The <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> associated with the pool to be cleared. |
||
2532 | </param><remarks> |
||
2533 | <para>
|
||
2534 | ClearPool clears the connection pool that is associated with the connection. |
||
2535 | If additional connections associated with connection are in use at the time of the call, |
||
2536 | they are marked appropriately and are discarded (instead of being returned to the pool) |
||
2537 | when Close is called on them. |
||
2538 | </para>
|
||
2539 | </remarks>
|
||
2540 | </member>
|
||
2541 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.ClearAllPools"> |
||
2542 | <summary>Clears all connection pools.</summary><remarks> |
||
2543 | <para>
|
||
2544 | ClearAllPools essentially performs a <see cref="M:MySql.Data.MySqlClient.MySqlConnection.ClearPool(MySql.Data.MySqlClient.MySqlConnection)" /> on all current connection |
||
2545 | pools. |
||
2546 | </para>
|
||
2547 | </remarks>
|
||
2548 | </member>
|
||
2549 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.BeginTransactionAsync"> |
||
2550 | <summary>
|
||
2551 | Async version of BeginTransaction |
||
2552 | </summary>
|
||
2553 | <returns>An object representing the new transaction.</returns> |
||
2554 | </member>
|
||
2555 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.BeginTransactionAsync(System.Data.IsolationLevel)"> |
||
2556 | <summary>
|
||
2557 | Async version of BeginTransaction |
||
2558 | </summary>
|
||
2559 | <param name="iso">The isolation level under which the transaction should run. </param> |
||
2560 | <returns>An object representing the new transaction.</returns> |
||
2561 | </member>
|
||
2562 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.ChangeDataBaseAsync(System.String,System.Threading.CancellationToken)"> |
||
2563 | <summary>
|
||
2564 | Async version of ChangeDataBase |
||
2565 | </summary>
|
||
2566 | <param name="databaseName">The name of the database to use.</param> |
||
2567 | <returns></returns> |
||
2568 | </member>
|
||
2569 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.CloseAsync"> |
||
2570 | <summary>
|
||
2571 | Async version of Close |
||
2572 | </summary>
|
||
2573 | <returns></returns> |
||
2574 | </member>
|
||
2575 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.ClearPoolAsync(MySql.Data.MySqlClient.MySqlConnection)"> |
||
2576 | <summary>
|
||
2577 | Async version of ClearPool |
||
2578 | </summary>
|
||
2579 | <param name="connection">The connection associated with the pool to be cleared.</param> |
||
2580 | <returns></returns> |
||
2581 | </member>
|
||
2582 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.ClearAllPoolsAsync"> |
||
2583 | <summary>
|
||
2584 | Async version of ClearAllPools |
||
2585 | </summary>
|
||
2586 | <returns></returns> |
||
2587 | </member>
|
||
2588 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.GetSchemaCollectionAsync(System.String,System.String[])"> |
||
2589 | <summary>
|
||
2590 | Async version of GetSchemaCollection |
||
2591 | </summary>
|
||
2592 | <param name="collectionName">Name of the collection</param> |
||
2593 | <param name="restrictionValues">Values to restrict</param> |
||
2594 | <returns>A schema collection</returns> |
||
2595 | </member>
|
||
2596 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.GetSchema"> |
||
2597 | <summary>
|
||
2598 | Returns schema information for the data source of this <see cref="T:System.Data.Common.DbConnection"/>. |
||
2599 | </summary>
|
||
2600 | <returns>A <see cref="T:System.Data.DataTable"/> that contains schema information. </returns> |
||
2601 | </member>
|
||
2602 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.GetSchema(System.String)"> |
||
2603 | <summary>
|
||
2604 | Returns schema information for the data source of this |
||
2605 | <see cref="T:System.Data.Common.DbConnection"/> using the specified string for the schema name. |
||
2606 | </summary>
|
||
2607 | <param name="collectionName">Specifies the name of the schema to return. </param> |
||
2608 | <returns>A <see cref="T:System.Data.DataTable"/> that contains schema information. </returns> |
||
2609 | </member>
|
||
2610 | <member name="M:MySql.Data.MySqlClient.MySqlConnection.GetSchema(System.String,System.String[])"> |
||
2611 | <summary>
|
||
2612 | Returns schema information for the data source of this <see cref="T:System.Data.Common.DbConnection"/> |
||
2613 | using the specified string for the schema name and the specified string array |
||
2614 | for the restriction values. |
||
2615 | </summary>
|
||
2616 | <param name="collectionName">Specifies the name of the schema to return.</param> |
||
2617 | <param name="restrictionValues">Specifies a set of restriction values for the requested schema.</param> |
||
2618 | <returns>A <see cref="T:System.Data.DataTable"/> that contains schema information.</returns> |
||
2619 | </member>
|
||
2620 | <member name="T:MySql.Data.MySqlClient.MySqlInfoMessageEventHandler"> |
||
2621 | <summary>
|
||
2622 | Represents the method that will handle the <see cref="E:MySql.Data.MySqlClient.MySqlConnection.InfoMessage"/> event of a |
||
2623 | <see cref="T:MySql.Data.MySqlClient.MySqlConnection"/>. |
||
2624 | </summary>
|
||
2625 | </member>
|
||
2626 | <member name="T:MySql.Data.MySqlClient.MySqlInfoMessageEventArgs"> |
||
2627 | <summary>
|
||
2628 | Provides data for the InfoMessage event. This class cannot be inherited. |
||
2629 | </summary>
|
||
2630 | </member>
|
||
2631 | <member name="F:MySql.Data.MySqlClient.MySqlInfoMessageEventArgs.errors"> |
||
2632 | <summary>
|
||
2633 | |||
2634 | </summary>
|
||
2635 | </member>
|
||
2636 | <member name="T:MySql.Data.MySqlClient.CommandTimer"> |
||
2637 | <summary>
|
||
2638 | IDisposable wrapper around SetCommandTimeout and ClearCommandTimeout |
||
2639 | functionality |
||
2640 | </summary>
|
||
2641 | </member>
|
||
2642 | <member name="T:MySql.Data.MySqlClient.Crypt"> |
||
2643 | <summary>
|
||
2644 | Summary description for Crypt. |
||
2645 | </summary>
|
||
2646 | </member>
|
||
2647 | <member name="M:MySql.Data.MySqlClient.Crypt.XorScramble(System.Byte[],System.Int32,System.Byte[],System.Int32,System.Byte[],System.Int32)"> |
||
2648 | <summary>
|
||
2649 | Simple XOR scramble |
||
2650 | </summary>
|
||
2651 | <param name="from">Source array</param> |
||
2652 | <param name="fromIndex">Index inside source array</param> |
||
2653 | <param name="to">Destination array</param> |
||
2654 | <param name="toIndex">Index inside destination array</param> |
||
2655 | <param name="password">Password used to xor the bits</param> |
||
2656 | <param name="length">Number of bytes to scramble</param> |
||
2657 | </member>
|
||
2658 | <member name="M:MySql.Data.MySqlClient.Crypt.Get411Password(System.String,System.String)"> |
||
2659 | <summary>
|
||
2660 | Returns a byte array containing the proper encryption of the |
||
2661 | given password/seed according to the new 4.1.1 authentication scheme. |
||
2662 | </summary>
|
||
2663 | <param name="password"></param> |
||
2664 | <param name="seed"></param> |
||
2665 | <returns></returns> |
||
2666 | </member>
|
||
2667 | <member name="M:MySql.Data.MySqlClient.Crypt.EncryptPassword(System.String,System.String,System.Boolean)"> |
||
2668 | <summary>
|
||
2669 | Encrypts a password using the MySql encryption scheme |
||
2670 | </summary>
|
||
2671 | <param name="password">The password to encrypt</param> |
||
2672 | <param name="seed">The encryption seed the server gave us</param> |
||
2673 | <param name="new_ver">Indicates if we should use the old or new encryption scheme</param> |
||
2674 | <returns></returns> |
||
2675 | </member>
|
||
2676 | <member name="M:MySql.Data.MySqlClient.Crypt.Hash(System.String)"> |
||
2677 | <summary>
|
||
2678 | Hashes a password using the algorithm from Monty's code. |
||
2679 | The first element in the return is the result of the "old" hash. |
||
2680 | The second element is the rest of the "new" hash. |
||
2681 | </summary>
|
||
2682 | <param name="P">Password to be hashed</param> |
||
2683 | <returns>Two element array containing the hashed values</returns> |
||
2684 | </member>
|
||
2685 | <member name="T:MySql.Data.MySqlClient.MySqlDataAdapter"> |
||
2686 | <summary>
|
||
2687 | Represents a set of data commands and a database connection that are used to fill a dataset and update a MySQL database. This class cannot be inherited. |
||
2688 | </summary><remarks> |
||
2689 | <para>
|
||
2690 | The <B>MySQLDataAdapter</B>, serves as a bridge between a <see cref="T:System.Data.DataSet" /> |
||
2691 | and MySQL for retrieving and saving data. The <B>MySQLDataAdapter</B> provides this |
||
2692 | bridge by mapping <see cref="M:System.Data.Common.DbDataAdapter.Fill(System.Data.DataSet)" />, which changes the data in the |
||
2693 | <B>DataSet</B> to match the data in the data source, and <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />, |
||
2694 | which changes the data in the data source to match the data in the <B>DataSet</B>, |
||
2695 | using the appropriate SQL statements against the data source. |
||
2696 | </para>
|
||
2697 | <para>
|
||
2698 | When the <B>MySQLDataAdapter</B> fills a <B>DataSet</B>, it will create the necessary |
||
2699 | tables and columns for the returned data if they do not already exist. However, primary |
||
2700 | key information will not be included in the implicitly created schema unless the |
||
2701 | <see cref="T:System.Data.MissingSchemaAction" /> property is set to <see cref="F:System.Data.MissingSchemaAction.AddWithKey" />. |
||
2702 | You may also have the <B>MySQLDataAdapter</B> create the schema of the <B>DataSet</B>, |
||
2703 | including primary key information, before filling it with data using <see cref="M:System.Data.Common.DbDataAdapter.FillSchema(System.Data.DataTable,System.Data.SchemaType)" />. |
||
2704 | </para>
|
||
2705 | <para>
|
||
2706 | <B>MySQLDataAdapter</B> is used in conjunction with <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> |
||
2707 | and <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> to increase performance when connecting to a MySQL database. |
||
2708 | </para>
|
||
2709 | <para>
|
||
2710 | The <B>MySQLDataAdapter</B> also includes the <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" />, |
||
2711 | <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.InsertCommand" />, <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.DeleteCommand" />, |
||
2712 | <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.UpdateCommand" />, and <see cref="P:System.Data.Common.DataAdapter.TableMappings" /> |
||
2713 | properties to facilitate the loading and updating of data. |
||
2714 | </para>
|
||
2715 | <para>
|
||
2716 | When an instance of <B>MySQLDataAdapter</B> is created, the read/write properties |
||
2717 | are set to initial values. For a list of these values, see the <B>MySQLDataAdapter</B> |
||
2718 | constructor. |
||
2719 | </para>
|
||
2720 | <note>
|
||
2721 | Please be aware that the <see cref="T:System.Data.DataColumn" /> class allows only |
||
2722 | Int16, Int32, and Int64 to have the AutoIncrement property set. |
||
2723 | If you plan to use autoincremement columns with MySQL, you should consider |
||
2724 | using signed integer columns. |
||
2725 | </note>
|
||
2726 | </remarks><example> |
||
2727 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> and a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />. |
||
2728 | The <B>MySqlConnection</B> is opened and set as the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.Connection" /> for the |
||
2729 | <B>MySqlCommand</B>. The example then calls <see cref="M:MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery" />, and closes |
||
2730 | the connection. To accomplish this, the <B>ExecuteNonQuery</B> is |
||
2731 | passed a connection string and a query string that is a SQL INSERT |
||
2732 | statement. |
||
2733 | <code lang="vbnet"> |
||
2734 | Public Function SelectRows(dataSet As DataSet, connection As String, query As String) As DataSet |
||
2735 | Dim conn As New MySqlConnection(connection) |
||
2736 | Dim adapter As New MySqlDataAdapter() |
||
2737 | adapter.SelectCommand = new MySqlCommand(query, conn) |
||
2738 | adapter.Fill(dataset) |
||
2739 | Return dataset |
||
2740 | End Function |
||
2741 | </code>
|
||
2742 | <code lang="C#"> |
||
2743 | public DataSet SelectRows(DataSet dataset,string connection,string query) |
||
2744 | { |
||
2745 | MySqlConnection conn = new MySqlConnection(connection); |
||
2746 | MySqlDataAdapter adapter = new MySqlDataAdapter(); |
||
2747 | adapter.SelectCommand = new MySqlCommand(query, conn); |
||
2748 | adapter.Fill(dataset); |
||
2749 | return dataset; |
||
2750 | } |
||
2751 | </code>
|
||
2752 | </example>
|
||
2753 | </member>
|
||
2754 | <member name="E:MySql.Data.MySqlClient.MySqlDataAdapter.RowUpdating"> |
||
2755 | <summary>
|
||
2756 | Occurs during Update before a command is executed against the data source. The attempt to update is made, so the event fires. |
||
2757 | </summary>
|
||
2758 | </member>
|
||
2759 | <member name="E:MySql.Data.MySqlClient.MySqlDataAdapter.RowUpdated"> |
||
2760 | <summary>
|
||
2761 | Occurs during Update after a command is executed against the data source. The attempt to update is made, so the event fires. |
||
2762 | </summary>
|
||
2763 | </member>
|
||
2764 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.#ctor"> |
||
2765 | <overloads /><summary> |
||
2766 | Initializes a new instance of the MySqlDataAdapter class. |
||
2767 | </summary><remarks> |
||
2768 | <para>
|
||
2769 | When an instance of <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> is created, |
||
2770 | the following read/write properties are set to the following initial |
||
2771 | values. |
||
2772 | </para>
|
||
2773 | <list type="table"> |
||
2774 | <listheader>
|
||
2775 | <term>Properties</term> |
||
2776 | <term>Initial Value</term> |
||
2777 | </listheader>
|
||
2778 | <item>
|
||
2779 | <term>
|
||
2780 | <see cref="T:System.Data.MissingMappingAction" /> |
||
2781 | </term>
|
||
2782 | <term>
|
||
2783 | <B>MissingMappingAction.Passthrough</B> |
||
2784 | </term>
|
||
2785 | </item>
|
||
2786 | <item>
|
||
2787 | <term>
|
||
2788 | <see cref="T:System.Data.MissingSchemaAction" /> |
||
2789 | </term>
|
||
2790 | <term>
|
||
2791 | <B>MissingSchemaAction.Add</B> |
||
2792 | </term>
|
||
2793 | </item>
|
||
2794 | </list>
|
||
2795 | <para>
|
||
2796 | You can change the value of any of these properties through a separate call |
||
2797 | to the property. |
||
2798 | </para>
|
||
2799 | </remarks><example> |
||
2800 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> and sets some of |
||
2801 | its properties. |
||
2802 | <code lang="vbnet"> |
||
2803 | Public Sub CreateSqlDataAdapter() |
||
2804 | Dim conn As MySqlConnection = New MySqlConnection("Data Source=localhost;" & _
|
||
2805 | "database=test") |
||
2806 | Dim da As MySqlDataAdapter = New MySqlDataAdapter |
||
2807 | da.MissingSchemaAction = MissingSchemaAction.AddWithKey |
||
2808 | |||
2809 | da.SelectCommand = New MySqlCommand("SELECT id, name FROM mytable", conn) |
||
2810 | da.InsertCommand = New MySqlCommand("INSERT INTO mytable (id, name) " & _
|
||
2811 | "VALUES (@id, @name)", conn) |
||
2812 | da.UpdateCommand = New MySqlCommand("UPDATE mytable SET id=@id, name=@name " & _
|
||
2813 | "WHERE id=@oldId", conn) |
||
2814 | da.DeleteCommand = New MySqlCommand("DELETE FROM mytable WHERE id=@id", conn) |
||
2815 | |||
2816 | da.InsertCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id") |
||
2817 | da.InsertCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name") |
||
2818 | |||
2819 | da.UpdateCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id") |
||
2820 | da.UpdateCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name") |
||
2821 | da.UpdateCommand.Parameters.Add("@oldId", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original |
||
2822 | |||
2823 | da.DeleteCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original |
||
2824 | End Sub |
||
2825 | </code>
|
||
2826 | <code lang="C#"> |
||
2827 | public static void CreateSqlDataAdapter() |
||
2828 | { |
||
2829 | MySqlConnection conn = new MySqlConnection("Data Source=localhost;database=test"); |
||
2830 | MySqlDataAdapter da = new MySqlDataAdapter(); |
||
2831 | da.MissingSchemaAction = MissingSchemaAction.AddWithKey; |
||
2832 | |||
2833 | da.SelectCommand = new MySqlCommand("SELECT id, name FROM mytable", conn); |
||
2834 | da.InsertCommand = new MySqlCommand("INSERT INTO mytable (id, name) " + |
||
2835 | "VALUES (@id, @name)", conn); |
||
2836 | da.UpdateCommand = new MySqlCommand("UPDATE mytable SET id=@id, name=@name " + |
||
2837 | "WHERE id=@oldId", conn); |
||
2838 | da.DeleteCommand = new MySqlCommand("DELETE FROM mytable WHERE id=@id", conn); |
||
2839 | |||
2840 | da.InsertCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id"); |
||
2841 | da.InsertCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name"); |
||
2842 | |||
2843 | da.UpdateCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id"); |
||
2844 | da.UpdateCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name"); |
||
2845 | da.UpdateCommand.Parameters.Add("@oldId", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original; |
||
2846 | |||
2847 | da.DeleteCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original; |
||
2848 | } |
||
2849 | </code>
|
||
2850 | </example>
|
||
2851 | </member>
|
||
2852 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.#ctor(MySql.Data.MySqlClient.MySqlCommand)"> |
||
2853 | <summary>
|
||
2854 | Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> class with |
||
2855 | the specified <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> as the <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> |
||
2856 | property. |
||
2857 | </summary><param name="selectCommand"> |
||
2858 | <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> that is a SQL SELECT statement or stored procedure and is set |
||
2859 | as the <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> property of the <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" />. |
||
2860 | </param><remarks> |
||
2861 | <para>
|
||
2862 | When an instance of <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> is created, |
||
2863 | the following read/write properties are set to the following initial |
||
2864 | values. |
||
2865 | </para>
|
||
2866 | <list type="table"> |
||
2867 | <listheader>
|
||
2868 | <term>Properties</term> |
||
2869 | <term>Initial Value</term> |
||
2870 | </listheader>
|
||
2871 | <item>
|
||
2872 | <term>
|
||
2873 | <see cref="T:System.Data.MissingMappingAction" /> |
||
2874 | </term>
|
||
2875 | <term>
|
||
2876 | <B>MissingMappingAction.Passthrough</B> |
||
2877 | </term>
|
||
2878 | </item>
|
||
2879 | <item>
|
||
2880 | <term>
|
||
2881 | <see cref="T:System.Data.MissingSchemaAction" /> |
||
2882 | </term>
|
||
2883 | <term>
|
||
2884 | <B>MissingSchemaAction.Add</B> |
||
2885 | </term>
|
||
2886 | </item>
|
||
2887 | </list>
|
||
2888 | <para>
|
||
2889 | You can change the value of any of these properties through a separate call |
||
2890 | to the property. |
||
2891 | </para>
|
||
2892 | <para>
|
||
2893 | When <B>SelectCommand</B> (or any of the other command properties) is assigned |
||
2894 | to a previously created <see cref="T:MySql.Data.MySqlClient.MySqlCommand" />, the <B>MySqlCommand</B> is not cloned. |
||
2895 | The <B>SelectCommand</B> maintains a reference to the previously created <B>MySqlCommand</B> |
||
2896 | object. |
||
2897 | </para>
|
||
2898 | </remarks><example> |
||
2899 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> and sets some of |
||
2900 | its properties. |
||
2901 | <code lang="vbnet"> |
||
2902 | Public Sub CreateSqlDataAdapter() |
||
2903 | Dim conn As MySqlConnection = New MySqlConnection("Data Source=localhost;" & _
|
||
2904 | "database=test") |
||
2905 | Dim cmd as new MySqlCommand("SELECT id, name FROM mytable", conn) |
||
2906 | Dim da As MySqlDataAdapter = New MySqlDataAdapter(cmd) |
||
2907 | da.MissingSchemaAction = MissingSchemaAction.AddWithKey |
||
2908 | |||
2909 | da.InsertCommand = New MySqlCommand("INSERT INTO mytable (id, name) " & _
|
||
2910 | "VALUES (@id, @name)", conn) |
||
2911 | da.UpdateCommand = New MySqlCommand("UPDATE mytable SET id=@id, name=@name " & _
|
||
2912 | "WHERE id=@oldId", conn) |
||
2913 | da.DeleteCommand = New MySqlCommand("DELETE FROM mytable WHERE id=@id", conn) |
||
2914 | |||
2915 | da.InsertCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id") |
||
2916 | da.InsertCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name") |
||
2917 | |||
2918 | da.UpdateCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id") |
||
2919 | da.UpdateCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name") |
||
2920 | da.UpdateCommand.Parameters.Add("@oldId", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original |
||
2921 | |||
2922 | da.DeleteCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original |
||
2923 | End Sub |
||
2924 | </code>
|
||
2925 | <code lang="C#"> |
||
2926 | public static void CreateSqlDataAdapter() |
||
2927 | { |
||
2928 | MySqlConnection conn = new MySqlConnection("Data Source=localhost;database=test"); |
||
2929 | MySqlCommand cmd = new MySqlCommand("SELECT id, name FROM mytable", conn); |
||
2930 | MySqlDataAdapter da = new MySqlDataAdapter(cmd); |
||
2931 | da.MissingSchemaAction = MissingSchemaAction.AddWithKey; |
||
2932 | |||
2933 | da.InsertCommand = new MySqlCommand("INSERT INTO mytable (id, name) " + |
||
2934 | "VALUES (@id, @name)", conn); |
||
2935 | da.UpdateCommand = new MySqlCommand("UPDATE mytable SET id=@id, name=@name " + |
||
2936 | "WHERE id=@oldId", conn); |
||
2937 | da.DeleteCommand = new MySqlCommand("DELETE FROM mytable WHERE id=@id", conn); |
||
2938 | |||
2939 | da.InsertCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id"); |
||
2940 | da.InsertCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name"); |
||
2941 | |||
2942 | da.UpdateCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id"); |
||
2943 | da.UpdateCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name"); |
||
2944 | da.UpdateCommand.Parameters.Add("@oldId", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original; |
||
2945 | |||
2946 | da.DeleteCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original; |
||
2947 | } |
||
2948 | </code>
|
||
2949 | </example>
|
||
2950 | </member>
|
||
2951 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.#ctor(System.String,MySql.Data.MySqlClient.MySqlConnection)"> |
||
2952 | <summary>
|
||
2953 | Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> class with |
||
2954 | a <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> and a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> object. |
||
2955 | </summary><param name="selectCommandText"> |
||
2956 | A <b>String</b> that is a SQL SELECT statement or stored procedure to be used by |
||
2957 | the <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> property of the <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" />. |
||
2958 | </param><param name="connection"> |
||
2959 | A <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> that represents the connection. |
||
2960 | </param><remarks> |
||
2961 | <para>
|
||
2962 | This implementation of the <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> opens and closes a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> |
||
2963 | if it is not already open. This can be useful in a an application that must call the |
||
2964 | <see cref="M:System.Data.Common.DbDataAdapter.Fill(System.Data.DataSet)" /> method for two or more <B>MySqlDataAdapter</B> objects. |
||
2965 | If the <B>MySqlConnection</B> is already open, you must explicitly call |
||
2966 | <see cref="M:MySql.Data.MySqlClient.MySqlConnection.Close" /> or <see cref="M:MySql.Data.MySqlClient.MySqlConnection.Dispose" /> to close it. |
||
2967 | </para>
|
||
2968 | <para>
|
||
2969 | When an instance of <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> is created, |
||
2970 | the following read/write properties are set to the following initial |
||
2971 | values. |
||
2972 | </para>
|
||
2973 | <list type="table"> |
||
2974 | <listheader>
|
||
2975 | <term>Properties</term> |
||
2976 | <term>Initial Value</term> |
||
2977 | </listheader>
|
||
2978 | <item>
|
||
2979 | <term>
|
||
2980 | <see cref="T:System.Data.MissingMappingAction" /> |
||
2981 | </term>
|
||
2982 | <term>
|
||
2983 | <B>MissingMappingAction.Passthrough</B> |
||
2984 | </term>
|
||
2985 | </item>
|
||
2986 | <item>
|
||
2987 | <term>
|
||
2988 | <see cref="T:System.Data.MissingSchemaAction" /> |
||
2989 | </term>
|
||
2990 | <term>
|
||
2991 | <B>MissingSchemaAction.Add</B> |
||
2992 | </term>
|
||
2993 | </item>
|
||
2994 | </list>
|
||
2995 | <para>
|
||
2996 | You can change the value of any of these properties through a separate call |
||
2997 | to the property. |
||
2998 | </para>
|
||
2999 | </remarks><example> |
||
3000 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> and sets some of |
||
3001 | its properties. |
||
3002 | <code lang="vbnet"> |
||
3003 | Public Sub CreateSqlDataAdapter() |
||
3004 | Dim conn As MySqlConnection = New MySqlConnection("Data Source=localhost;" & _
|
||
3005 | "database=test") |
||
3006 | Dim da As MySqlDataAdapter = New MySqlDataAdapter("SELECT id, name FROM mytable", conn) |
||
3007 | da.MissingSchemaAction = MissingSchemaAction.AddWithKey |
||
3008 | |||
3009 | da.InsertCommand = New MySqlCommand("INSERT INTO mytable (id, name) " & _
|
||
3010 | "VALUES (@id, @name)", conn) |
||
3011 | da.UpdateCommand = New MySqlCommand("UPDATE mytable SET id=@id, name=@name " & _
|
||
3012 | "WHERE id=@oldId", conn) |
||
3013 | da.DeleteCommand = New MySqlCommand("DELETE FROM mytable WHERE id=@id", conn) |
||
3014 | |||
3015 | da.InsertCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id") |
||
3016 | da.InsertCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name") |
||
3017 | |||
3018 | da.UpdateCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id") |
||
3019 | da.UpdateCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name") |
||
3020 | da.UpdateCommand.Parameters.Add("@oldId", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original |
||
3021 | |||
3022 | da.DeleteCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original |
||
3023 | End Sub |
||
3024 | </code>
|
||
3025 | <code lang="C#"> |
||
3026 | public static void CreateSqlDataAdapter() |
||
3027 | { |
||
3028 | MySqlConnection conn = new MySqlConnection("Data Source=localhost;database=test"); |
||
3029 | MySqlDataAdapter da = new MySqlDataAdapter("SELECT id, name FROM mytable", conn); |
||
3030 | da.MissingSchemaAction = MissingSchemaAction.AddWithKey; |
||
3031 | |||
3032 | da.InsertCommand = new MySqlCommand("INSERT INTO mytable (id, name) " + |
||
3033 | "VALUES (@id, @name)", conn); |
||
3034 | da.UpdateCommand = new MySqlCommand("UPDATE mytable SET id=@id, name=@name " + |
||
3035 | "WHERE id=@oldId", conn); |
||
3036 | da.DeleteCommand = new MySqlCommand("DELETE FROM mytable WHERE id=@id", conn); |
||
3037 | |||
3038 | da.InsertCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id"); |
||
3039 | da.InsertCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name"); |
||
3040 | |||
3041 | da.UpdateCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id"); |
||
3042 | da.UpdateCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name"); |
||
3043 | da.UpdateCommand.Parameters.Add("@oldId", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original; |
||
3044 | |||
3045 | da.DeleteCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original; |
||
3046 | } |
||
3047 | </code>
|
||
3048 | </example>
|
||
3049 | </member>
|
||
3050 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.#ctor(System.String,System.String)"> |
||
3051 | <summary>
|
||
3052 | Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> class with |
||
3053 | a <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> and a connection string. |
||
3054 | </summary><param name="selectCommandText"> |
||
3055 | A <see cref="T:System.String" /> that is a SQL SELECT statement or stored procedure to |
||
3056 | be used by the <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> property of the <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" />. |
||
3057 | </param><param name="selectConnString">The connection string</param><remarks> |
||
3058 | <para>
|
||
3059 | When an instance of <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> is created, |
||
3060 | the following read/write properties are set to the following initial |
||
3061 | values. |
||
3062 | </para>
|
||
3063 | <list type="table"> |
||
3064 | <listheader>
|
||
3065 | <term>Properties</term> |
||
3066 | <term>Initial Value</term> |
||
3067 | </listheader>
|
||
3068 | <item>
|
||
3069 | <term>
|
||
3070 | <see cref="T:System.Data.MissingMappingAction" /> |
||
3071 | </term>
|
||
3072 | <term>
|
||
3073 | <B>MissingMappingAction.Passthrough</B> |
||
3074 | </term>
|
||
3075 | </item>
|
||
3076 | <item>
|
||
3077 | <term>
|
||
3078 | <see cref="T:System.Data.MissingSchemaAction" /> |
||
3079 | </term>
|
||
3080 | <term>
|
||
3081 | <B>MissingSchemaAction.Add</B> |
||
3082 | </term>
|
||
3083 | </item>
|
||
3084 | </list>
|
||
3085 | <para>
|
||
3086 | You can change the value of any of these properties through a separate call |
||
3087 | to the property. |
||
3088 | </para>
|
||
3089 | </remarks><example> |
||
3090 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> and sets some of |
||
3091 | its properties. |
||
3092 | <code lang="vbnet"> |
||
3093 | Public Sub CreateSqlDataAdapter() |
||
3094 | Dim da As MySqlDataAdapter = New MySqlDataAdapter("SELECT id, name FROM mytable", "Data Source=localhost;database=test") |
||
3095 | Dim conn As MySqlConnection = da.SelectCommand.Connection |
||
3096 | da.MissingSchemaAction = MissingSchemaAction.AddWithKey |
||
3097 | |||
3098 | da.InsertCommand = New MySqlCommand("INSERT INTO mytable (id, name) " & _
|
||
3099 | "VALUES (@id, @name)", conn) |
||
3100 | da.UpdateCommand = New MySqlCommand("UPDATE mytable SET id=@id, name=@name " & _
|
||
3101 | "WHERE id=@oldId", conn) |
||
3102 | da.DeleteCommand = New MySqlCommand("DELETE FROM mytable WHERE id=@id", conn) |
||
3103 | |||
3104 | da.InsertCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id") |
||
3105 | da.InsertCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name") |
||
3106 | |||
3107 | da.UpdateCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id") |
||
3108 | da.UpdateCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name") |
||
3109 | da.UpdateCommand.Parameters.Add("@oldId", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original |
||
3110 | |||
3111 | da.DeleteCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original |
||
3112 | End Sub |
||
3113 | </code>
|
||
3114 | <code lang="C#"> |
||
3115 | public static void CreateSqlDataAdapter() |
||
3116 | { |
||
3117 | MySqlDataAdapter da = new MySqlDataAdapter("SELECT id, name FROM mytable", "Data Source=localhost;database=test"); |
||
3118 | MySqlConnection conn = da.SelectCommand.Connection; |
||
3119 | da.MissingSchemaAction = MissingSchemaAction.AddWithKey; |
||
3120 | |||
3121 | da.InsertCommand = new MySqlCommand("INSERT INTO mytable (id, name) " + |
||
3122 | "VALUES (@id, @name)", conn); |
||
3123 | da.UpdateCommand = new MySqlCommand("UPDATE mytable SET id=@id, name=@name " + |
||
3124 | "WHERE id=@oldId", conn); |
||
3125 | da.DeleteCommand = new MySqlCommand("DELETE FROM mytable WHERE id=@id", conn); |
||
3126 | |||
3127 | da.InsertCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id"); |
||
3128 | da.InsertCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name"); |
||
3129 | |||
3130 | da.UpdateCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id"); |
||
3131 | da.UpdateCommand.Parameters.Add("@name", MySqlDbType.VarChar, 40, "name"); |
||
3132 | da.UpdateCommand.Parameters.Add("@oldId", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original; |
||
3133 | |||
3134 | da.DeleteCommand.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id").SourceVersion = DataRowVersion.Original; |
||
3135 | } |
||
3136 | </code>
|
||
3137 | </example>
|
||
3138 | </member>
|
||
3139 | <member name="P:MySql.Data.MySqlClient.MySqlDataAdapter.DeleteCommand"> |
||
3140 | <summary>
|
||
3141 | Gets or sets a SQL statement or stored procedure used to delete records from the data set. |
||
3142 | </summary><value> |
||
3143 | A <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> used during <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" /> to delete records in the |
||
3144 | database that correspond to deleted rows in the <see cref="T:System.Data.DataSet" />. |
||
3145 | </value><remarks> |
||
3146 | <para>
|
||
3147 | During <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />, if this property is not set and primary key information |
||
3148 | is present in the <see cref="T:System.Data.DataSet" />, the <B>DeleteCommand</B> can be generated |
||
3149 | automatically if you set the <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> property and use the |
||
3150 | <see cref="T:MySql.Data.MySqlClient.MySqlCommandBuilder" />. Then, any additional commands that you do not set are |
||
3151 | generated by the <B>MySqlCommandBuilder</B>. This generation logic requires key column |
||
3152 | information to be present in the <B>DataSet</B>. |
||
3153 | </para>
|
||
3154 | <para>
|
||
3155 | When <B>DeleteCommand</B> is assigned to a previously created <see cref="T:MySql.Data.MySqlClient.MySqlCommand" />, |
||
3156 | the <B>MySqlCommand</B> is not cloned. The <B>DeleteCommand</B> maintains a reference |
||
3157 | to the previously created <B>MySqlCommand</B> object. |
||
3158 | </para>
|
||
3159 | </remarks><example> |
||
3160 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> and sets the |
||
3161 | <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> and <B>DeleteCommand</B> properties. It assumes you have already |
||
3162 | created a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> object. |
||
3163 | <code lang="vbnet"> |
||
3164 | Public Shared Function CreateCustomerAdapter(conn As MySqlConnection) As MySqlDataAdapter |
||
3165 | |||
3166 | Dim da As MySqlDataAdapter = New MySqlDataAdapter() |
||
3167 | Dim cmd As MySqlCommand |
||
3168 | Dim parm As MySqlParameter |
||
3169 | |||
3170 | ' Create the SelectCommand. |
||
3171 | cmd = New MySqlCommand("SELECT * FROM mytable WHERE id=@id AND name=@name", conn) |
||
3172 | |||
3173 | cmd.Parameters.Add("@id", MySqlDbType.VarChar, 15) |
||
3174 | cmd.Parameters.Add("@name", MySqlDbType.VarChar, 15) |
||
3175 | |||
3176 | da.SelectCommand = cmd |
||
3177 | |||
3178 | ' Create the DeleteCommand. |
||
3179 | cmd = New MySqlCommand("DELETE FROM mytable WHERE id=@id", conn) |
||
3180 | |||
3181 | parm = cmd.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id") |
||
3182 | parm.SourceVersion = DataRowVersion.Original |
||
3183 | |||
3184 | da.DeleteCommand = cmd |
||
3185 | |||
3186 | Return da |
||
3187 | End Function |
||
3188 | </code>
|
||
3189 | <code lang="C#"> |
||
3190 | public static MySqlDataAdapter CreateCustomerAdapter(MySqlConnection conn) |
||
3191 | { |
||
3192 | MySqlDataAdapter da = new MySqlDataAdapter(); |
||
3193 | MySqlCommand cmd; |
||
3194 | MySqlParameter parm; |
||
3195 | |||
3196 | // Create the SelectCommand. |
||
3197 | cmd = new MySqlCommand("SELECT * FROM mytable WHERE id=@id AND name=@name", conn); |
||
3198 | |||
3199 | cmd.Parameters.Add("@id", MySqlDbType.VarChar, 15); |
||
3200 | cmd.Parameters.Add("@name", MySqlDbType.VarChar, 15); |
||
3201 | |||
3202 | da.SelectCommand = cmd; |
||
3203 | |||
3204 | // Create the DeleteCommand. |
||
3205 | cmd = new MySqlCommand("DELETE FROM mytable WHERE id=@id", conn); |
||
3206 | |||
3207 | parm = cmd.Parameters.Add("@id", MySqlDbType.VarChar, 5, "id"); |
||
3208 | parm.SourceVersion = DataRowVersion.Original; |
||
3209 | |||
3210 | da.DeleteCommand = cmd; |
||
3211 | |||
3212 | return da; |
||
3213 | } |
||
3214 | </code>
|
||
3215 | </example>
|
||
3216 | </member>
|
||
3217 | <member name="P:MySql.Data.MySqlClient.MySqlDataAdapter.InsertCommand"> |
||
3218 | <summary>
|
||
3219 | Gets or sets a SQL statement or stored procedure used to insert records into the data set. |
||
3220 | </summary><value> |
||
3221 | A <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> used during <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" /> to insert records into the |
||
3222 | database that correspond to new rows in the <see cref="T:System.Data.DataSet" />. |
||
3223 | </value><remarks> |
||
3224 | <para>
|
||
3225 | During <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />, if this property is not set and primary key information |
||
3226 | is present in the <see cref="T:System.Data.DataSet" />, the <B>InsertCommand</B> can be generated |
||
3227 | automatically if you set the <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> property and use the |
||
3228 | <see cref="T:MySql.Data.MySqlClient.MySqlCommandBuilder" />. Then, any additional commands that you do not set are |
||
3229 | generated by the <B>MySqlCommandBuilder</B>. This generation logic requires key column |
||
3230 | information to be present in the <B>DataSet</B>. |
||
3231 | </para>
|
||
3232 | <para>
|
||
3233 | When <B>InsertCommand</B> is assigned to a previously created <see cref="T:MySql.Data.MySqlClient.MySqlCommand" />, |
||
3234 | the <B>MySqlCommand</B> is not cloned. The <B>InsertCommand</B> maintains a reference |
||
3235 | to the previously created <B>MySqlCommand</B> object. |
||
3236 | </para>
|
||
3237 | <note>
|
||
3238 | If execution of this command returns rows, these rows may be added to the <B>DataSet</B> |
||
3239 | depending on how you set the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.UpdatedRowSource" /> property of the <B>MySqlCommand</B> object. |
||
3240 | </note>
|
||
3241 | </remarks><example> |
||
3242 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> and sets the |
||
3243 | <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> and <B>InsertCommand</B> properties. It assumes you have already |
||
3244 | created a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> object. |
||
3245 | <code lang="vbnet"> |
||
3246 | Public Shared Function CreateCustomerAdapter(conn As MySqlConnection) As MySqlDataAdapter |
||
3247 | |||
3248 | Dim da As MySqlDataAdapter = New MySqlDataAdapter() |
||
3249 | Dim cmd As MySqlCommand |
||
3250 | Dim parm As MySqlParameter |
||
3251 | |||
3252 | ' Create the SelectCommand. |
||
3253 | cmd = New MySqlCommand("SELECT * FROM mytable WHERE id=@id AND name=@name", conn) |
||
3254 | |||
3255 | cmd.Parameters.Add("@id", MySqlDbType.VarChar, 15) |
||
3256 | cmd.Parameters.Add("@name", MySqlDbType.VarChar, 15) |
||
3257 | |||
3258 | da.SelectCommand = cmd |
||
3259 | |||
3260 | ' Create the InsertCommand. |
||
3261 | cmd = New MySqlCommand("INSERT INTO mytable (id,name) VALUES (@id, @name)", conn) |
||
3262 | |||
3263 | cmd.Parameters.Add( "@id", MySqlDbType.VarChar, 15, "id" ) |
||
3264 | cmd.Parameters.Add( "@name", MySqlDbType.VarChar, 15, "name" ) |
||
3265 | da.InsertCommand = cmd |
||
3266 | |||
3267 | Return da |
||
3268 | End Function |
||
3269 | </code>
|
||
3270 | <code lang="C#"> |
||
3271 | public static MySqlDataAdapter CreateCustomerAdapter(MySqlConnection conn) |
||
3272 | { |
||
3273 | MySqlDataAdapter da = new MySqlDataAdapter(); |
||
3274 | MySqlCommand cmd; |
||
3275 | MySqlParameter parm; |
||
3276 | |||
3277 | // Create the SelectCommand. |
||
3278 | cmd = new MySqlCommand("SELECT * FROM mytable WHERE id=@id AND name=@name", conn); |
||
3279 | |||
3280 | cmd.Parameters.Add("@id", MySqlDbType.VarChar, 15); |
||
3281 | cmd.Parameters.Add("@name", MySqlDbType.VarChar, 15); |
||
3282 | |||
3283 | da.SelectCommand = cmd; |
||
3284 | |||
3285 | // Create the InsertCommand. |
||
3286 | cmd = new MySqlCommand("INSERT INTO mytable (id,name) VALUES (@id,@name)", conn); |
||
3287 | cmd.Parameters.Add("@id", MySqlDbType.VarChar, 15, "id" ); |
||
3288 | cmd.Parameters.Add("@name", MySqlDbType.VarChar, 15, "name" ); |
||
3289 | |||
3290 | da.InsertCommand = cmd; |
||
3291 | |||
3292 | return da; |
||
3293 | } |
||
3294 | </code>
|
||
3295 | </example>
|
||
3296 | </member>
|
||
3297 | <member name="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand"> |
||
3298 | <summary>
|
||
3299 | Gets or sets a SQL statement or stored procedure used to select records in the data source. |
||
3300 | </summary><value> |
||
3301 | A <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> used during <see cref="M:System.Data.Common.DbDataAdapter.Fill(System.Data.DataSet)" /> to select records from the |
||
3302 | database for placement in the <see cref="T:System.Data.DataSet" />. |
||
3303 | </value><remarks> |
||
3304 | <para>
|
||
3305 | When <B>SelectCommand</B> is assigned to a previously created <see cref="T:MySql.Data.MySqlClient.MySqlCommand" />, |
||
3306 | the <B>MySqlCommand</B> is not cloned. The <B>SelectCommand</B> maintains a reference to the |
||
3307 | previously created <B>MySqlCommand</B> object. |
||
3308 | </para>
|
||
3309 | <para>
|
||
3310 | If the <B>SelectCommand</B> does not return any rows, no tables are added to the |
||
3311 | <see cref="T:System.Data.DataSet" />, and no exception is raised. |
||
3312 | </para>
|
||
3313 | </remarks><example> |
||
3314 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> and sets the |
||
3315 | <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> and <B>InsertCommand</B> properties. It assumes you have already |
||
3316 | created a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> object. |
||
3317 | <code lang="vbnet"> |
||
3318 | Public Shared Function CreateCustomerAdapter(conn As MySqlConnection) As MySqlDataAdapter |
||
3319 | |||
3320 | Dim da As MySqlDataAdapter = New MySqlDataAdapter() |
||
3321 | Dim cmd As MySqlCommand |
||
3322 | Dim parm As MySqlParameter |
||
3323 | |||
3324 | ' Create the SelectCommand. |
||
3325 | cmd = New MySqlCommand("SELECT * FROM mytable WHERE id=@id AND name=@name", conn) |
||
3326 | |||
3327 | cmd.Parameters.Add("@id", MySqlDbType.VarChar, 15) |
||
3328 | cmd.Parameters.Add("@name", MySqlDbType.VarChar, 15) |
||
3329 | |||
3330 | da.SelectCommand = cmd |
||
3331 | |||
3332 | ' Create the InsertCommand. |
||
3333 | cmd = New MySqlCommand("INSERT INTO mytable (id,name) VALUES (@id, @name)", conn) |
||
3334 | |||
3335 | cmd.Parameters.Add( "@id", MySqlDbType.VarChar, 15, "id" ) |
||
3336 | cmd.Parameters.Add( "@name", MySqlDbType.VarChar, 15, "name" ) |
||
3337 | da.InsertCommand = cmd |
||
3338 | |||
3339 | Return da |
||
3340 | End Function |
||
3341 | </code>
|
||
3342 | <code lang="C#"> |
||
3343 | public static MySqlDataAdapter CreateCustomerAdapter(MySqlConnection conn) |
||
3344 | { |
||
3345 | MySqlDataAdapter da = new MySqlDataAdapter(); |
||
3346 | MySqlCommand cmd; |
||
3347 | MySqlParameter parm; |
||
3348 | |||
3349 | // Create the SelectCommand. |
||
3350 | cmd = new MySqlCommand("SELECT * FROM mytable WHERE id=@id AND name=@name", conn); |
||
3351 | |||
3352 | cmd.Parameters.Add("@id", MySqlDbType.VarChar, 15); |
||
3353 | cmd.Parameters.Add("@name", MySqlDbType.VarChar, 15); |
||
3354 | |||
3355 | da.SelectCommand = cmd; |
||
3356 | |||
3357 | // Create the InsertCommand. |
||
3358 | cmd = new MySqlCommand("INSERT INTO mytable (id,name) VALUES (@id,@name)", conn); |
||
3359 | cmd.Parameters.Add("@id", MySqlDbType.VarChar, 15, "id" ); |
||
3360 | cmd.Parameters.Add("@name", MySqlDbType.VarChar, 15, "name" ); |
||
3361 | |||
3362 | da.InsertCommand = cmd; |
||
3363 | |||
3364 | return da; |
||
3365 | } |
||
3366 | </code>
|
||
3367 | </example>
|
||
3368 | </member>
|
||
3369 | <member name="P:MySql.Data.MySqlClient.MySqlDataAdapter.UpdateCommand"> |
||
3370 | <summary>
|
||
3371 | Gets or sets a SQL statement or stored procedure used to updated records in the data source. |
||
3372 | </summary><value> |
||
3373 | A <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> used during <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" /> to update records in the |
||
3374 | database with data from the <see cref="T:System.Data.DataSet" />. |
||
3375 | </value><remarks> |
||
3376 | <para>
|
||
3377 | During <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)" />, if this property is not set and primary key information |
||
3378 | is present in the <see cref="T:System.Data.DataSet" />, the <B>UpdateCommand</B> can be generated |
||
3379 | automatically if you set the <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> property and use the |
||
3380 | <see cref="T:MySql.Data.MySqlClient.MySqlCommandBuilder" />. Then, any additional commands that you do not set are |
||
3381 | generated by the <B>MySqlCommandBuilder</B>. This generation logic requires key column |
||
3382 | information to be present in the <B>DataSet</B>. |
||
3383 | </para>
|
||
3384 | <para>
|
||
3385 | When <B>UpdateCommand</B> is assigned to a previously created <see cref="T:MySql.Data.MySqlClient.MySqlCommand" />, |
||
3386 | the <B>MySqlCommand</B> is not cloned. The <B>UpdateCommand</B> maintains a reference |
||
3387 | to the previously created <B>MySqlCommand</B> object. |
||
3388 | </para>
|
||
3389 | <note>
|
||
3390 | If execution of this command returns rows, these rows may be merged with the DataSet |
||
3391 | depending on how you set the <see cref="P:MySql.Data.MySqlClient.MySqlCommand.UpdatedRowSource" /> property of the <B>MySqlCommand</B> object. |
||
3392 | </note>
|
||
3393 | </remarks><example> |
||
3394 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" /> and sets the |
||
3395 | <see cref="P:MySql.Data.MySqlClient.MySqlDataAdapter.SelectCommand" /> and <B>UpdateCommand</B> properties. It assumes you have already |
||
3396 | created a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> object. |
||
3397 | <code lang="vbnet"> |
||
3398 | Public Shared Function CreateCustomerAdapter(conn As MySqlConnection) As MySqlDataAdapter |
||
3399 | |||
3400 | Dim da As MySqlDataAdapter = New MySqlDataAdapter() |
||
3401 | Dim cmd As MySqlCommand |
||
3402 | Dim parm As MySqlParameter |
||
3403 | |||
3404 | ' Create the SelectCommand. |
||
3405 | cmd = New MySqlCommand("SELECT * FROM mytable WHERE id=@id AND name=@name", conn) |
||
3406 | |||
3407 | cmd.Parameters.Add("@id", MySqlDbType.VarChar, 15) |
||
3408 | cmd.Parameters.Add("@name", MySqlDbType.VarChar, 15) |
||
3409 | |||
3410 | da.SelectCommand = cmd |
||
3411 | |||
3412 | ' Create the UpdateCommand. |
||
3413 | cmd = New MySqlCommand("UPDATE mytable SET id=@id, name=@name WHERE id=@oldId", conn) |
||
3414 | |||
3415 | cmd.Parameters.Add( "@id", MySqlDbType.VarChar, 15, "id" ) |
||
3416 | cmd.Parameters.Add( "@name", MySqlDbType.VarChar, 15, "name" ) |
||
3417 | |||
3418 | parm = cmd.Parameters.Add("@oldId", MySqlDbType.VarChar, 15, "id") |
||
3419 | parm.SourceVersion = DataRowVersion.Original |
||
3420 | |||
3421 | da.UpdateCommand = cmd |
||
3422 | |||
3423 | Return da |
||
3424 | End Function |
||
3425 | </code>
|
||
3426 | <code lang="C#"> |
||
3427 | public static MySqlDataAdapter CreateCustomerAdapter(MySqlConnection conn) |
||
3428 | { |
||
3429 | MySqlDataAdapter da = new MySqlDataAdapter(); |
||
3430 | MySqlCommand cmd; |
||
3431 | MySqlParameter parm; |
||
3432 | |||
3433 | // Create the SelectCommand. |
||
3434 | cmd = new MySqlCommand("SELECT * FROM mytable WHERE id=@id AND name=@name", conn); |
||
3435 | |||
3436 | cmd.Parameters.Add("@id", MySqlDbType.VarChar, 15); |
||
3437 | cmd.Parameters.Add("@name", MySqlDbType.VarChar, 15); |
||
3438 | |||
3439 | da.SelectCommand = cmd; |
||
3440 | |||
3441 | // Create the UpdateCommand. |
||
3442 | cmd = new MySqlCommand("UPDATE mytable SET id=@id, name=@name WHERE id=@oldId", conn); |
||
3443 | cmd.Parameters.Add("@id", MySqlDbType.VarChar, 15, "id" ); |
||
3444 | cmd.Parameters.Add("@name", MySqlDbType.VarChar, 15, "name" ); |
||
3445 | |||
3446 | parm = cmd.Parameters.Add( "@oldId", MySqlDbType.VarChar, 15, "id" ); |
||
3447 | parm.SourceVersion = DataRowVersion.Original; |
||
3448 | |||
3449 | da.UpdateCommand = cmd; |
||
3450 | |||
3451 | return da; |
||
3452 | } |
||
3453 | </code>
|
||
3454 | </example>
|
||
3455 | </member>
|
||
3456 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.OpenConnectionIfClosed(System.Data.DataRowState,System.Collections.Generic.List{MySql.Data.MySqlClient.MySqlConnection})"> |
||
3457 | <summary>
|
||
3458 | Open connection if it was closed. |
||
3459 | Necessary to workaround "connection must be open and valid" error |
||
3460 | with batched updates. |
||
3461 | </summary>
|
||
3462 | <param name="state">Row state</param> |
||
3463 | <param name="openedConnections"> list of opened connections |
||
3464 | If connection is opened by this function, the list is updated |
||
3465 | </param>
|
||
3466 | <returns>true if connection was opened</returns> |
||
3467 | </member>
|
||
3468 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.CreateRowUpdatedEvent(System.Data.DataRow,System.Data.IDbCommand,System.Data.StatementType,System.Data.Common.DataTableMapping)"> |
||
3469 | <summary>
|
||
3470 | Overridden. See <see cref="M:System.Data.Common.DbDataAdapter.CreateRowUpdatedEvent(System.Data.DataRow,System.Data.IDbCommand,System.Data.StatementType,System.Data.Common.DataTableMapping)"/>. |
||
3471 | </summary>
|
||
3472 | <param name="dataRow"></param> |
||
3473 | <param name="command"></param> |
||
3474 | <param name="statementType"></param> |
||
3475 | <param name="tableMapping"></param> |
||
3476 | <returns></returns> |
||
3477 | </member>
|
||
3478 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.CreateRowUpdatingEvent(System.Data.DataRow,System.Data.IDbCommand,System.Data.StatementType,System.Data.Common.DataTableMapping)"> |
||
3479 | <summary>
|
||
3480 | Overridden. See <see cref="M:System.Data.Common.DbDataAdapter.CreateRowUpdatingEvent(System.Data.DataRow,System.Data.IDbCommand,System.Data.StatementType,System.Data.Common.DataTableMapping)"/>. |
||
3481 | </summary>
|
||
3482 | <param name="dataRow"></param> |
||
3483 | <param name="command"></param> |
||
3484 | <param name="statementType"></param> |
||
3485 | <param name="tableMapping"></param> |
||
3486 | <returns></returns> |
||
3487 | </member>
|
||
3488 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.OnRowUpdating(System.Data.Common.RowUpdatingEventArgs)"> |
||
3489 | <summary>
|
||
3490 | Overridden. Raises the RowUpdating event. |
||
3491 | </summary>
|
||
3492 | <param name="value">A MySqlRowUpdatingEventArgs that contains the event data.</param> |
||
3493 | </member>
|
||
3494 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.OnRowUpdated(System.Data.Common.RowUpdatedEventArgs)"> |
||
3495 | <summary>
|
||
3496 | Overridden. Raises the RowUpdated event. |
||
3497 | </summary>
|
||
3498 | <param name="value">A MySqlRowUpdatedEventArgs that contains the event data. </param> |
||
3499 | </member>
|
||
3500 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillAsync(System.Data.DataSet)"> |
||
3501 | <summary>
|
||
3502 | Async version of Fill |
||
3503 | </summary>
|
||
3504 | <param name="dataSet">Dataset to use</param> |
||
3505 | <returns>int</returns> |
||
3506 | </member>
|
||
3507 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillAsync(System.Data.DataTable)"> |
||
3508 | <summary>
|
||
3509 | Async version of Fill |
||
3510 | </summary>
|
||
3511 | <param name="dataTable">Datatable to use</param> |
||
3512 | <returns>int</returns> |
||
3513 | </member>
|
||
3514 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillAsync(System.Data.DataSet,System.String)"> |
||
3515 | <summary>
|
||
3516 | Async version of Fill |
||
3517 | </summary>
|
||
3518 | <param name="dataSet">DataSet to use</param> |
||
3519 | <param name="srcTable">Source table</param> |
||
3520 | <returns>int</returns> |
||
3521 | </member>
|
||
3522 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillAsync(System.Data.DataTable,System.Data.IDataReader)"> |
||
3523 | <summary>
|
||
3524 | Async version of Fill |
||
3525 | </summary>
|
||
3526 | <param name="dataTable">Datatable to use</param> |
||
3527 | <param name="dataReader">DataReader to use</param> |
||
3528 | <returns>int</returns> |
||
3529 | </member>
|
||
3530 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillAsync(System.Data.DataTable,System.Data.IDbCommand,System.Data.CommandBehavior)"> |
||
3531 | <summary>
|
||
3532 | Async version of Fill |
||
3533 | </summary>
|
||
3534 | <param name="dataTable">DataTable to use</param> |
||
3535 | <param name="command">DbCommand to use</param> |
||
3536 | <param name="behavior">Command Behavior</param> |
||
3537 | <returns>int</returns> |
||
3538 | </member>
|
||
3539 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillAsync(System.Int32,System.Int32,System.Data.DataTable[])"> |
||
3540 | <summary>
|
||
3541 | Async version of Fill |
||
3542 | </summary>
|
||
3543 | <param name="startRecord">Start record</param> |
||
3544 | <param name="maxRecords">Max records</param> |
||
3545 | <param name="dataTables">DataTable[] to use</param> |
||
3546 | <returns>int</returns> |
||
3547 | </member>
|
||
3548 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillAsync(System.Data.DataSet,System.Int32,System.Int32,System.String)"> |
||
3549 | <summary>
|
||
3550 | Async version of Fill |
||
3551 | </summary>
|
||
3552 | <param name="dataSet">DataSet to use</param> |
||
3553 | <param name="startRecord">Start record</param> |
||
3554 | <param name="maxRecords">Max records</param> |
||
3555 | <param name="srcTable">Source table</param> |
||
3556 | <returns>int</returns> |
||
3557 | </member>
|
||
3558 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillAsync(System.Data.DataSet,System.String,System.Data.IDataReader,System.Int32,System.Int32)"> |
||
3559 | <summary>
|
||
3560 | Async version of Fill |
||
3561 | </summary>
|
||
3562 | <param name="dataSet">DataSet to use</param> |
||
3563 | <param name="srcTable">Source table</param> |
||
3564 | <param name="dataReader">DataReader to use</param> |
||
3565 | <param name="startRecord">Start record</param> |
||
3566 | <param name="maxRecords">Max records</param> |
||
3567 | <returns></returns> |
||
3568 | </member>
|
||
3569 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillAsync(System.Data.DataTable[],System.Int32,System.Int32,System.Data.IDbCommand,System.Data.CommandBehavior)"> |
||
3570 | <summary>
|
||
3571 | Async version of Fill |
||
3572 | </summary>
|
||
3573 | <param name="dataTables">DataTable[] to use</param> |
||
3574 | <param name="startRecord">Start record</param> |
||
3575 | <param name="maxRecords">Max records</param> |
||
3576 | <param name="command">DbCommand to use</param> |
||
3577 | <param name="behavior">Command Behavior</param> |
||
3578 | <returns></returns> |
||
3579 | </member>
|
||
3580 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillAsync(System.Data.DataSet,System.Int32,System.Int32,System.String,System.Data.IDbCommand,System.Data.CommandBehavior)"> |
||
3581 | <summary>
|
||
3582 | Async version of Fill |
||
3583 | </summary>
|
||
3584 | <param name="dataSet">DataSet to use</param> |
||
3585 | <param name="startRecord">Start record</param> |
||
3586 | <param name="maxRecords">Max records</param> |
||
3587 | <param name="srcTable">Source table</param> |
||
3588 | <param name="command">DbCommand to use</param> |
||
3589 | <param name="behavior">Command Behavior</param> |
||
3590 | <returns></returns> |
||
3591 | </member>
|
||
3592 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillSchemaAsync(System.Data.DataSet,System.Data.SchemaType)"> |
||
3593 | <summary>
|
||
3594 | Async version of FillSchema |
||
3595 | </summary>
|
||
3596 | <param name="dataSet">DataSet to use</param> |
||
3597 | <param name="schemaType">Schema Type</param> |
||
3598 | <returns>DataTable[]</returns> |
||
3599 | </member>
|
||
3600 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillSchemaAsync(System.Data.DataSet,System.Data.SchemaType,System.String)"> |
||
3601 | <summary>
|
||
3602 | Async version of FillSchema |
||
3603 | </summary>
|
||
3604 | <param name="dataSet">DataSet to use</param> |
||
3605 | <param name="schemaType">Schema Type</param> |
||
3606 | <param name="srcTable">Source Table</param> |
||
3607 | <returns>DataTable[]</returns> |
||
3608 | </member>
|
||
3609 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillSchemaAsync(System.Data.DataSet,System.Data.SchemaType,System.String,System.Data.IDataReader)"> |
||
3610 | <summary>
|
||
3611 | Async version of FillSchema |
||
3612 | </summary>
|
||
3613 | <param name="dataSet">DataSet to use</param> |
||
3614 | <param name="schemaType">Schema Type</param> |
||
3615 | <param name="srcTable">Source Table</param> |
||
3616 | <param name="dataReader">DataReader to use</param> |
||
3617 | <returns>DataTable[]</returns> |
||
3618 | </member>
|
||
3619 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillSchemaAsync(System.Data.DataSet,System.Data.SchemaType,System.Data.IDbCommand,System.String,System.Data.CommandBehavior)"> |
||
3620 | <summary>
|
||
3621 | Async version of FillSchema |
||
3622 | </summary>
|
||
3623 | <param name="dataSet">DataSet to use</param> |
||
3624 | <param name="schemaType">Schema Type</param> |
||
3625 | <param name="command">DBCommand to use</param> |
||
3626 | <param name="srcTable">Source Table</param> |
||
3627 | <param name="behavior">Command Behavior</param> |
||
3628 | <returns>DataTable[]</returns> |
||
3629 | </member>
|
||
3630 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillSchemaAsync(System.Data.DataTable,System.Data.SchemaType)"> |
||
3631 | <summary>
|
||
3632 | Async version of FillSchema |
||
3633 | </summary>
|
||
3634 | <param name="dataTable">DataTable to use</param> |
||
3635 | <param name="schemaType">Schema Type</param> |
||
3636 | <returns>DataTable</returns> |
||
3637 | </member>
|
||
3638 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillSchemaAsync(System.Data.DataTable,System.Data.SchemaType,System.Data.IDataReader)"> |
||
3639 | <summary>
|
||
3640 | Async version of FillSchema |
||
3641 | </summary>
|
||
3642 | <param name="dataTable">DataTable to use</param> |
||
3643 | <param name="schemaType">Schema Type</param> |
||
3644 | <param name="dataReader">DataReader to use</param> |
||
3645 | <returns>DataTable</returns> |
||
3646 | </member>
|
||
3647 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.FillSchemaAsync(System.Data.DataTable,System.Data.SchemaType,System.Data.IDbCommand,System.Data.CommandBehavior)"> |
||
3648 | <summary>
|
||
3649 | Async version of FillSchema |
||
3650 | </summary>
|
||
3651 | <param name="dataTable">DataTable to use</param> |
||
3652 | <param name="schemaType">Schema Type</param> |
||
3653 | <param name="command">DBCommand to use</param> |
||
3654 | <param name="behavior">Command Behavior</param> |
||
3655 | <returns>DataTable</returns> |
||
3656 | </member>
|
||
3657 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.UpdateAsync(System.Data.DataRow[])"> |
||
3658 | <summary>
|
||
3659 | Async version of Update |
||
3660 | </summary>
|
||
3661 | <param name="dataRows">DataRow[] to use</param> |
||
3662 | <returns>int</returns> |
||
3663 | </member>
|
||
3664 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.UpdateAsync(System.Data.DataSet)"> |
||
3665 | <summary>
|
||
3666 | Async version of Update |
||
3667 | </summary>
|
||
3668 | <param name="dataSet">DataSet to use</param> |
||
3669 | <returns>int</returns> |
||
3670 | </member>
|
||
3671 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.UpdateAsync(System.Data.DataTable)"> |
||
3672 | <summary>
|
||
3673 | Async version of Update |
||
3674 | </summary>
|
||
3675 | <param name="dataTable">DataTable to use</param> |
||
3676 | <returns>int</returns> |
||
3677 | </member>
|
||
3678 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.UpdateAsync(System.Data.DataRow[],System.Data.Common.DataTableMapping)"> |
||
3679 | <summary>
|
||
3680 | Async version of Update |
||
3681 | </summary>
|
||
3682 | <param name="dataRows">DataRow[] to use</param> |
||
3683 | <param name="tableMapping">Data Table Mapping</param> |
||
3684 | <returns>int</returns> |
||
3685 | </member>
|
||
3686 | <member name="M:MySql.Data.MySqlClient.MySqlDataAdapter.UpdateAsync(System.Data.DataSet,System.String)"> |
||
3687 | <summary>
|
||
3688 | Async version of Update |
||
3689 | </summary>
|
||
3690 | <param name="dataSet">DataSet to use</param> |
||
3691 | <param name="srcTable">Source Table</param> |
||
3692 | <returns></returns> |
||
3693 | </member>
|
||
3694 | <member name="T:MySql.Data.MySqlClient.MySqlRowUpdatingEventHandler"> |
||
3695 | <summary>
|
||
3696 | Represents the method that will handle the <see cref="E:MySql.Data.MySqlClient.MySqlDataAdapter.RowUpdating"/> event of a <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter"/>. |
||
3697 | </summary>
|
||
3698 | </member>
|
||
3699 | <member name="T:MySql.Data.MySqlClient.MySqlRowUpdatedEventHandler"> |
||
3700 | <summary>
|
||
3701 | Represents the method that will handle the <see cref="E:MySql.Data.MySqlClient.MySqlDataAdapter.RowUpdated"/> event of a <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter"/>. |
||
3702 | </summary>
|
||
3703 | </member>
|
||
3704 | <member name="T:MySql.Data.MySqlClient.MySqlRowUpdatingEventArgs"> |
||
3705 | <summary>
|
||
3706 | Provides data for the RowUpdating event. This class cannot be inherited. |
||
3707 | </summary>
|
||
3708 | </member>
|
||
3709 | <member name="M:MySql.Data.MySqlClient.MySqlRowUpdatingEventArgs.#ctor(System.Data.DataRow,System.Data.IDbCommand,System.Data.StatementType,System.Data.Common.DataTableMapping)"> |
||
3710 | <summary>
|
||
3711 | Initializes a new instance of the MySqlRowUpdatingEventArgs class. |
||
3712 | </summary>
|
||
3713 | <param name="row">The <see cref="T:System.Data.DataRow"/> to |
||
3714 | <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)"/>.</param> |
||
3715 | <param name="command">The <see cref="T:System.Data.IDbCommand"/> to execute during <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)"/>.</param> |
||
3716 | <param name="statementType">One of the <see cref="T:System.Data.StatementType"/> values that specifies the type of query executed.</param> |
||
3717 | <param name="tableMapping">The <see cref="T:System.Data.Common.DataTableMapping"/> sent through an <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)"/>.</param> |
||
3718 | </member>
|
||
3719 | <member name="P:MySql.Data.MySqlClient.MySqlRowUpdatingEventArgs.Command"> |
||
3720 | <summary>
|
||
3721 | Gets or sets the MySqlCommand to execute when performing the Update. |
||
3722 | </summary>
|
||
3723 | </member>
|
||
3724 | <member name="T:MySql.Data.MySqlClient.MySqlRowUpdatedEventArgs"> |
||
3725 | <summary>
|
||
3726 | Provides data for the RowUpdated event. This class cannot be inherited. |
||
3727 | </summary>
|
||
3728 | </member>
|
||
3729 | <member name="M:MySql.Data.MySqlClient.MySqlRowUpdatedEventArgs.#ctor(System.Data.DataRow,System.Data.IDbCommand,System.Data.StatementType,System.Data.Common.DataTableMapping)"> |
||
3730 | <summary>
|
||
3731 | Initializes a new instance of the MySqlRowUpdatedEventArgs class. |
||
3732 | </summary>
|
||
3733 | <param name="row">The <see cref="T:System.Data.DataRow"/> sent through an <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)"/>.</param> |
||
3734 | <param name="command">The <see cref="T:System.Data.IDbCommand"/> executed when <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)"/> is called.</param> |
||
3735 | <param name="statementType">One of the <see cref="T:System.Data.StatementType"/> values that specifies the type of query executed.</param> |
||
3736 | <param name="tableMapping">The <see cref="T:System.Data.Common.DataTableMapping"/> sent through an <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)"/>.</param> |
||
3737 | </member>
|
||
3738 | <member name="P:MySql.Data.MySqlClient.MySqlRowUpdatedEventArgs.Command"> |
||
3739 | <summary>
|
||
3740 | Gets or sets the MySqlCommand executed when Update is called. |
||
3741 | </summary>
|
||
3742 | </member>
|
||
3743 | <member name="T:MySql.Data.MySqlClient.MySqlDataReader"> |
||
3744 | <summary>
|
||
3745 | Provides a means of reading a forward-only stream of rows from a MySQL database. This class cannot be inherited. |
||
3746 | </summary><remarks> |
||
3747 | <para>
|
||
3748 | To create a <B>MySQLDataReader</B>, you must call the <see cref="M:MySql.Data.MySqlClient.MySqlCommand.ExecuteReader" /> |
||
3749 | method of the <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> object, rather than directly using a constructor. |
||
3750 | </para>
|
||
3751 | <para>
|
||
3752 | While the <B>MySqlDataReader</B> is in use, the associated <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> |
||
3753 | is busy serving the <B>MySqlDataReader</B>, and no other operations can be performed |
||
3754 | on the <B>MySqlConnection</B> other than closing it. This is the case until the |
||
3755 | <see cref="M:MySql.Data.MySqlClient.MySqlDataReader.Close" /> method of the <B>MySqlDataReader</B> is called. |
||
3756 | </para>
|
||
3757 | <para>
|
||
3758 | <see cref="P:MySql.Data.MySqlClient.MySqlDataReader.IsClosed" /> and <see cref="P:MySql.Data.MySqlClient.MySqlDataReader.RecordsAffected" /> |
||
3759 | are the only properties that you can call after the <B>MySqlDataReader</B> is |
||
3760 | closed. Though the <B>RecordsAffected</B> property may be accessed at any time |
||
3761 | while the <B>MySqlDataReader</B> exists, always call <B>Close</B> before returning |
||
3762 | the value of <B>RecordsAffected</B> to ensure an accurate return value. |
||
3763 | </para>
|
||
3764 | <para>
|
||
3765 | For optimal performance, <B>MySqlDataReader</B> avoids creating |
||
3766 | unnecessary objects or making unnecessary copies of data. As a result, multiple calls |
||
3767 | to methods such as <see cref="M:MySql.Data.MySqlClient.MySqlDataReader.GetValue(System.Int32)" /> return a reference to the |
||
3768 | same object. Use caution if you are modifying the underlying value of the objects |
||
3769 | returned by methods such as <B>GetValue</B>. |
||
3770 | </para>
|
||
3771 | </remarks><example> |
||
3772 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" />, |
||
3773 | a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" />, and a <B>MySqlDataReader</B>. The example reads through |
||
3774 | the data, writing it out to the console. Finally, the example closes the <B>MySqlDataReader</B>, then the |
||
3775 | <B>MySqlConnection</B>. |
||
3776 | <code lang="vbnet"> |
||
3777 | Public Sub ReadMyData(myConnString As String) |
||
3778 | Dim mySelectQuery As String = "SELECT OrderID, CustomerID FROM Orders" |
||
3779 | Dim myConnection As New MySqlConnection(myConnString) |
||
3780 | Dim myCommand As New MySqlCommand(mySelectQuery, myConnection) |
||
3781 | myConnection.Open() |
||
3782 | Dim myReader As MySqlDataReader |
||
3783 | myReader = myCommand.ExecuteReader() |
||
3784 | ' Always call Read before accessing data. |
||
3785 | While myReader.Read() |
||
3786 | Console.WriteLine((myReader.GetInt32(0) & ", " & myReader.GetString(1))) |
||
3787 | End While |
||
3788 | ' always call Close when done reading. |
||
3789 | myReader.Close() |
||
3790 | ' Close the connection when done with it. |
||
3791 | myConnection.Close() |
||
3792 | End Sub 'ReadMyData |
||
3793 | </code>
|
||
3794 | <code lang="C#"> |
||
3795 | public void ReadMyData(string myConnString) { |
||
3796 | string mySelectQuery = "SELECT OrderID, CustomerID FROM Orders"; |
||
3797 | MySqlConnection myConnection = new MySqlConnection(myConnString); |
||
3798 | MySqlCommand myCommand = new MySqlCommand(mySelectQuery,myConnection); |
||
3799 | myConnection.Open(); |
||
3800 | MySqlDataReader myReader; |
||
3801 | myReader = myCommand.ExecuteReader(); |
||
3802 | // Always call Read before accessing data. |
||
3803 | while (myReader.Read()) { |
||
3804 | Console.WriteLine(myReader.GetInt32(0) + ", " + myReader.GetString(1)); |
||
3805 | } |
||
3806 | // always call Close when done reading. |
||
3807 | myReader.Close(); |
||
3808 | // Close the connection when done with it. |
||
3809 | myConnection.Close(); |
||
3810 | } |
||
3811 | </code>
|
||
3812 | </example>
|
||
3813 | </member>
|
||
3814 | <member name="P:MySql.Data.MySqlClient.MySqlDataReader.FieldCount"> |
||
3815 | <summary>
|
||
3816 | Gets the number of columns in the current row. |
||
3817 | </summary>
|
||
3818 | </member>
|
||
3819 | <member name="P:MySql.Data.MySqlClient.MySqlDataReader.HasRows"> |
||
3820 | <summary>
|
||
3821 | Gets a value indicating whether the MySqlDataReader contains one or more rows. |
||
3822 | </summary>
|
||
3823 | </member>
|
||
3824 | <member name="P:MySql.Data.MySqlClient.MySqlDataReader.IsClosed"> |
||
3825 | <summary>
|
||
3826 | Gets a value indicating whether the data reader is closed. |
||
3827 | </summary>
|
||
3828 | </member>
|
||
3829 | <member name="P:MySql.Data.MySqlClient.MySqlDataReader.RecordsAffected"> |
||
3830 | <summary>
|
||
3831 | Gets the number of rows changed, inserted, or deleted by execution of the SQL statement. |
||
3832 | </summary>
|
||
3833 | </member>
|
||
3834 | <member name="P:MySql.Data.MySqlClient.MySqlDataReader.Item(System.Int32)"> |
||
3835 | <summary>
|
||
3836 | Overloaded. Gets the value of a column in its native format. |
||
3837 | In C#, this property is the indexer for the MySqlDataReader class. |
||
3838 | </summary>
|
||
3839 | </member>
|
||
3840 | <member name="P:MySql.Data.MySqlClient.MySqlDataReader.Item(System.String)"> |
||
3841 | <summary>
|
||
3842 | Gets the value of a column in its native format. |
||
3843 | [C#] In C#, this property is the indexer for the MySqlDataReader class. |
||
3844 | </summary>
|
||
3845 | </member>
|
||
3846 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.Close"> |
||
3847 | <summary>
|
||
3848 | Closes the MySqlDataReader object. |
||
3849 | </summary>
|
||
3850 | </member>
|
||
3851 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetBoolean(System.String)"> |
||
3852 | <summary>
|
||
3853 | Gets the value of the specified column as a Boolean. |
||
3854 | </summary>
|
||
3855 | <param name="name"></param> |
||
3856 | <returns></returns> |
||
3857 | </member>
|
||
3858 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetBoolean(System.Int32)"> |
||
3859 | <summary>
|
||
3860 | Gets the value of the specified column as a Boolean. |
||
3861 | </summary>
|
||
3862 | <param name="i"></param> |
||
3863 | <returns></returns> |
||
3864 | </member>
|
||
3865 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetByte(System.String)"> |
||
3866 | <summary>
|
||
3867 | Gets the value of the specified column as a byte. |
||
3868 | </summary>
|
||
3869 | <param name="name"></param> |
||
3870 | <returns></returns> |
||
3871 | </member>
|
||
3872 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetByte(System.Int32)"> |
||
3873 | <summary>
|
||
3874 | Gets the value of the specified column as a byte. |
||
3875 | </summary>
|
||
3876 | <param name="i"></param> |
||
3877 | <returns></returns> |
||
3878 | </member>
|
||
3879 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetSByte(System.String)"> |
||
3880 | <summary>
|
||
3881 | Gets the value of the specified column as a sbyte. |
||
3882 | </summary>
|
||
3883 | <param name="name"></param> |
||
3884 | <returns></returns> |
||
3885 | </member>
|
||
3886 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetSByte(System.Int32)"> |
||
3887 | <summary>
|
||
3888 | Gets the value of the specified column as a sbyte. |
||
3889 | </summary>
|
||
3890 | <param name="i"></param> |
||
3891 | <returns></returns> |
||
3892 | </member>
|
||
3893 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetBytes(System.Int32,System.Int64,System.Byte[],System.Int32,System.Int32)"> |
||
3894 | <summary>
|
||
3895 | Reads a stream of bytes from the specified column offset into the buffer an array starting at the given buffer offset. |
||
3896 | </summary>
|
||
3897 | <param name="i">The zero-based column ordinal. </param> |
||
3898 | <param name="fieldOffset">The index within the field from which to begin the read operation. </param> |
||
3899 | <param name="buffer">The buffer into which to read the stream of bytes. </param> |
||
3900 | <param name="bufferoffset">The index for buffer to begin the read operation. </param> |
||
3901 | <param name="length">The maximum length to copy into the buffer. </param> |
||
3902 | <returns>The actual number of bytes read.</returns> |
||
3903 | <!-- No matching elements were found for the following include tag --><include file="docs/MySqlDataReader.xml" path="MyDocs/MyMembers[@name="GetBytes"]/*" /> |
||
3904 | </member>
|
||
3905 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetChar(System.String)"> |
||
3906 | <summary>
|
||
3907 | Gets the value of the specified column as a single character. |
||
3908 | </summary>
|
||
3909 | <param name="name"></param> |
||
3910 | <returns></returns> |
||
3911 | </member>
|
||
3912 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetChar(System.Int32)"> |
||
3913 | <summary>
|
||
3914 | Gets the value of the specified column as a single character. |
||
3915 | </summary>
|
||
3916 | <param name="i"></param> |
||
3917 | <returns></returns> |
||
3918 | </member>
|
||
3919 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetChars(System.Int32,System.Int64,System.Char[],System.Int32,System.Int32)"> |
||
3920 | <summary>
|
||
3921 | Reads a stream of characters from the specified column offset into the buffer as an array starting at the given buffer offset. |
||
3922 | </summary>
|
||
3923 | <param name="i"></param> |
||
3924 | <param name="fieldoffset"></param> |
||
3925 | <param name="buffer"></param> |
||
3926 | <param name="bufferoffset"></param> |
||
3927 | <param name="length"></param> |
||
3928 | <returns></returns> |
||
3929 | </member>
|
||
3930 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetDataTypeName(System.Int32)"> |
||
3931 | <summary>
|
||
3932 | Gets the name of the source data type. |
||
3933 | </summary>
|
||
3934 | <param name="i"></param> |
||
3935 | <returns></returns> |
||
3936 | </member>
|
||
3937 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetMySqlDateTime(System.String)"> |
||
3938 | <summary>
|
||
3939 | Gets the value of the specified column as a <see cref="T:MySql.Data.Types.MySqlDateTime" /> object. |
||
3940 | </summary><remarks> |
||
3941 | <para>
|
||
3942 | No conversions are performed; therefore, the data retrieved must already be a <b>DateTime</b> object. |
||
3943 | </para>
|
||
3944 | <para>
|
||
3945 | Call IsDBNull to check for null values before calling this method. |
||
3946 | </para>
|
||
3947 | </remarks><param name="column">The zero-based column ordinal or column name.</param><returns>The value of the specified column.</returns> |
||
3948 | </member>
|
||
3949 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetMySqlDateTime(System.Int32)"> |
||
3950 | <summary>
|
||
3951 | Gets the value of the specified column as a <see cref="T:MySql.Data.Types.MySqlDateTime" /> object. |
||
3952 | </summary><remarks> |
||
3953 | <para>
|
||
3954 | No conversions are performed; therefore, the data retrieved must already be a <b>DateTime</b> object. |
||
3955 | </para>
|
||
3956 | <para>
|
||
3957 | Call IsDBNull to check for null values before calling this method. |
||
3958 | </para>
|
||
3959 | </remarks><param name="column">The zero-based column ordinal or column name.</param><returns>The value of the specified column.</returns> |
||
3960 | </member>
|
||
3961 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetDateTime(System.String)"> |
||
3962 | <summary>
|
||
3963 | Gets the value of the specified column as a <see cref="T:System.DateTime" /> object. |
||
3964 | </summary><remarks> |
||
3965 | <para>
|
||
3966 | No conversions are performed; therefore, the data retrieved must already be a <b>DateTime</b> object. |
||
3967 | </para>
|
||
3968 | <para>
|
||
3969 | Call IsDBNull to check for null values before calling this method. |
||
3970 | </para>
|
||
3971 | <note>
|
||
3972 | <para>
|
||
3973 | MySql allows date columns to contain the value '0000-00-00' and datetime |
||
3974 | columns to contain the value '0000-00-00 00:00:00'. The DateTime structure cannot contain |
||
3975 | or represent these values. To read a datetime value from a column that might |
||
3976 | contain zero values, use <see cref="M:MySql.Data.MySqlClient.MySqlDataReader.GetMySqlDateTime(System.Int32)" />. |
||
3977 | </para>
|
||
3978 | <para>
|
||
3979 | The behavior of reading a zero datetime column using this method is defined by the |
||
3980 | <i>ZeroDateTimeBehavior</i> connection string option. For more information on this option, |
||
3981 | please refer to <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionString" />. |
||
3982 | </para>
|
||
3983 | </note>
|
||
3984 | </remarks><param name="column">The column name.</param><returns>The value of the specified column.</returns> |
||
3985 | </member>
|
||
3986 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetDateTime(System.Int32)"> |
||
3987 | <summary>
|
||
3988 | Gets the value of the specified column as a <see cref="T:System.DateTime" /> object. |
||
3989 | </summary><remarks> |
||
3990 | <para>
|
||
3991 | No conversions are performed; therefore, the data retrieved must already be a <b>DateTime</b> object. |
||
3992 | </para>
|
||
3993 | <para>
|
||
3994 | Call IsDBNull to check for null values before calling this method. |
||
3995 | </para>
|
||
3996 | <note>
|
||
3997 | <para>
|
||
3998 | MySql allows date columns to contain the value '0000-00-00' and datetime |
||
3999 | columns to contain the value '0000-00-00 00:00:00'. The DateTime structure cannot contain |
||
4000 | or represent these values. To read a datetime value from a column that might |
||
4001 | contain zero values, use <see cref="M:MySql.Data.MySqlClient.MySqlDataReader.GetMySqlDateTime(System.Int32)" />. |
||
4002 | </para>
|
||
4003 | <para>
|
||
4004 | The behavior of reading a zero datetime column using this method is defined by the |
||
4005 | <i>ZeroDateTimeBehavior</i> connection string option. For more information on this option, |
||
4006 | please refer to <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionString" />. |
||
4007 | </para>
|
||
4008 | </note>
|
||
4009 | </remarks><param name="i">The zero-based column ordinal.</param><returns>The value of the specified column.</returns> |
||
4010 | </member>
|
||
4011 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetDecimal(System.String)"> |
||
4012 | <summary>
|
||
4013 | Gets the value of the specified column as a <see cref="T:System.Decimal" /> object. |
||
4014 | </summary><remarks> |
||
4015 | <para>
|
||
4016 | No conversions are performed; therefore, the data retrieved must already be a <b>Decimal</b> object. |
||
4017 | </para>
|
||
4018 | <para>
|
||
4019 | Call IsDBNull to check for null values before calling this method. |
||
4020 | </para>
|
||
4021 | </remarks><param name="column">The column name</param><returns>The value of the specified column.</returns> |
||
4022 | </member>
|
||
4023 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetDecimal(System.Int32)"> |
||
4024 | <summary>
|
||
4025 | Gets the value of the specified column as a <see cref="T:System.Decimal" /> object. |
||
4026 | </summary><remarks> |
||
4027 | <para>
|
||
4028 | No conversions are performed; therefore, the data retrieved must already be a <b>Decimal</b> object. |
||
4029 | </para>
|
||
4030 | <para>
|
||
4031 | Call IsDBNull to check for null values before calling this method. |
||
4032 | </para>
|
||
4033 | </remarks><param name="i">The zero-based column ordinal</param><returns>The value of the specified column.</returns> |
||
4034 | </member>
|
||
4035 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetDouble(System.String)"> |
||
4036 | <summary>Gets the value of the specified column as a double-precision floating point number.</summary><remarks> |
||
4037 | <para>
|
||
4038 | No conversions are performed; therefore, the data retrieved must already be a <b>Double</b> object. |
||
4039 | </para>
|
||
4040 | <para>
|
||
4041 | Call IsDBNull to check for null values before calling this method. |
||
4042 | </para>
|
||
4043 | </remarks><param name="column">The column name</param><returns>The value of the specified column.</returns> |
||
4044 | </member>
|
||
4045 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetDouble(System.Int32)"> |
||
4046 | <summary>Gets the value of the specified column as a double-precision floating point number.</summary><remarks> |
||
4047 | <para>
|
||
4048 | No conversions are performed; therefore, the data retrieved must already be a <b>Double</b> object. |
||
4049 | </para>
|
||
4050 | <para>
|
||
4051 | Call IsDBNull to check for null values before calling this method. |
||
4052 | </para>
|
||
4053 | </remarks><param name="i">The zero-based column ordinal.</param><returns>The value of the specified column.</returns> |
||
4054 | </member>
|
||
4055 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetFieldType(System.Int32)"> |
||
4056 | <summary>
|
||
4057 | Gets the Type that is the data type of the object. |
||
4058 | </summary>
|
||
4059 | <param name="i"></param> |
||
4060 | <returns></returns> |
||
4061 | </member>
|
||
4062 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetFloat(System.String)"> |
||
4063 | <summary>
|
||
4064 | Gets the value of the specified column as a single-precision floating point number. |
||
4065 | </summary><remarks> |
||
4066 | <para>
|
||
4067 | No conversions are performed; therefore, the data retrieved must already be a <b>Float</b> object. |
||
4068 | </para>
|
||
4069 | <para>
|
||
4070 | Call IsDBNull to check for null values before calling this method. |
||
4071 | </para>
|
||
4072 | </remarks><param name="column">The column name</param><returns>The value of the specified column.</returns> |
||
4073 | </member>
|
||
4074 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetFloat(System.Int32)"> |
||
4075 | <summary>
|
||
4076 | Gets the value of the specified column as a single-precision floating point number. |
||
4077 | </summary><remarks> |
||
4078 | <para>
|
||
4079 | No conversions are performed; therefore, the data retrieved must already be a <b>Float</b> object. |
||
4080 | </para>
|
||
4081 | <para>
|
||
4082 | Call IsDBNull to check for null values before calling this method. |
||
4083 | </para>
|
||
4084 | </remarks><param name="i">The zero-based column ordinal.</param><returns>The value of the specified column.</returns> |
||
4085 | </member>
|
||
4086 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetGuid(System.String)"> |
||
4087 | <!-- No matching elements were found for the following include tag --><include file="docs/MySqlDataReader.xml" path="docs/GetGuidS/*" /> |
||
4088 | </member>
|
||
4089 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetGuid(System.Int32)"> |
||
4090 | <!-- No matching elements were found for the following include tag --><include file="docs/MySqlDataReader.xml" path="docs/GetGuid/*" /> |
||
4091 | </member>
|
||
4092 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetInt16(System.String)"> |
||
4093 | <summary>Gets the value of the specified column as a 16-bit signed integer.</summary><remarks> |
||
4094 | <para>
|
||
4095 | No conversions are performed; threfore, the data retrieved must already be a <b>16 bit integer</b> value. |
||
4096 | </para>
|
||
4097 | <para>
|
||
4098 | Call IsDBNull to check for null values before calling this method. |
||
4099 | </para>
|
||
4100 | </remarks><param name="column">The column name</param><returns>The value of the specified column.</returns> |
||
4101 | </member>
|
||
4102 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetInt16(System.Int32)"> |
||
4103 | <summary>Gets the value of the specified column as a 16-bit signed integer.</summary><remarks> |
||
4104 | <para>
|
||
4105 | No conversions are performed; therefore, the data retrieved must already be a <b>16 bit integer</b> value. |
||
4106 | </para>
|
||
4107 | <para>
|
||
4108 | Call IsDBNull to check for null values before calling this method. |
||
4109 | </para>
|
||
4110 | </remarks><param name="i">The zero-based column ordinal.</param><returns>The value of the specified column.</returns> |
||
4111 | </member>
|
||
4112 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetInt32(System.String)"> |
||
4113 | <summary>Gets the value of the specified column as a 32-bit signed integer.</summary><remarks> |
||
4114 | <para>
|
||
4115 | No conversions are performed; therefore, the data retrieved must already be a <b>32 bit integer</b> value. |
||
4116 | </para>
|
||
4117 | <para>
|
||
4118 | Call IsDBNull to check for null values before calling this method. |
||
4119 | </para>
|
||
4120 | </remarks><param name="column">The column name.</param><returns>The value of the specified column.</returns> |
||
4121 | </member>
|
||
4122 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetInt32(System.Int32)"> |
||
4123 | <summary>Gets the value of the specified column as a 32-bit signed integer.</summary><remarks> |
||
4124 | <para>
|
||
4125 | No conversions are performed; therefore, the data retrieved must already be a <b>32 bit integer</b> value. |
||
4126 | </para>
|
||
4127 | <para>
|
||
4128 | Call IsDBNull to check for null values before calling this method. |
||
4129 | </para>
|
||
4130 | </remarks><param name="i">The zero-based column ordinal.</param><returns>The value of the specified column.</returns> |
||
4131 | </member>
|
||
4132 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetInt64(System.String)"> |
||
4133 | <summary>Gets the value of the specified column as a 64-bit signed integer.</summary><remarks> |
||
4134 | <para>
|
||
4135 | No conversions are performed; therefore, the data retrieved must already be a <b>64 bit integer</b> value. |
||
4136 | </para>
|
||
4137 | <para>
|
||
4138 | Call IsDBNull to check for null values before calling this method. |
||
4139 | </para>
|
||
4140 | </remarks><param name="column">The column name.</param><returns>The value of the specified column.</returns> |
||
4141 | </member>
|
||
4142 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetInt64(System.Int32)"> |
||
4143 | <summary>Gets the value of the specified column as a 64-bit signed integer.</summary><remarks> |
||
4144 | <para>
|
||
4145 | No conversions are performed; therefore, the data retrieved must already be a <b>64 bit integer</b> value. |
||
4146 | </para>
|
||
4147 | <para>
|
||
4148 | Call IsDBNull to check for null values before calling this method. |
||
4149 | </para>
|
||
4150 | </remarks><param name="i">The zero-based column ordinal.</param><returns>The value of the specified column.</returns> |
||
4151 | </member>
|
||
4152 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetName(System.Int32)"> |
||
4153 | <summary>
|
||
4154 | Gets the name of the specified column. |
||
4155 | </summary>
|
||
4156 | <param name="i"></param> |
||
4157 | <returns></returns> |
||
4158 | </member>
|
||
4159 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetOrdinal(System.String)"> |
||
4160 | <summary>
|
||
4161 | Gets the column ordinal, given the name of the column. |
||
4162 | </summary>
|
||
4163 | <param name="name"></param> |
||
4164 | <returns></returns> |
||
4165 | </member>
|
||
4166 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetString(System.String)"> |
||
4167 | <summary>
|
||
4168 | Gets the value of the specified column as a <see cref="T:System.String" /> object. |
||
4169 | </summary><remarks> |
||
4170 | <para>
|
||
4171 | No conversions are performed; therefore, the data retrieved must already be a <b>String</b> object. |
||
4172 | </para>
|
||
4173 | <para>
|
||
4174 | Call IsDBNull to check for null values before calling this method. |
||
4175 | </para>
|
||
4176 | </remarks><param name="column">The column name.</param><returns>The value of the specified column.</returns> |
||
4177 | </member>
|
||
4178 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetString(System.Int32)"> |
||
4179 | <summary>
|
||
4180 | Gets the value of the specified column as a <see cref="T:System.String" /> object. |
||
4181 | </summary><remarks> |
||
4182 | <para>
|
||
4183 | No conversions are performed; therefore, the data retrieved must already be a <b>String</b> object. |
||
4184 | </para>
|
||
4185 | <para>
|
||
4186 | Call IsDBNull to check for null values before calling this method. |
||
4187 | </para>
|
||
4188 | </remarks><param name="i">The zero-based column ordinal.</param><returns>The value of the specified column.</returns> |
||
4189 | </member>
|
||
4190 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetTimeSpan(System.String)"> |
||
4191 | <overloads /><summary> |
||
4192 | Gets the value of the specified column as a <see cref="T:System.TimeSpan" /> object. |
||
4193 | </summary><remarks> |
||
4194 | <para>
|
||
4195 | No conversions are performed; therefore, the data retrieved must already be a <b>Time</b> value. |
||
4196 | </para>
|
||
4197 | <para>
|
||
4198 | Call IsDBNull to check for null values before calling this method. |
||
4199 | </para>
|
||
4200 | </remarks><param name="column">The zero-based column ordinal or column name.</param><returns>The value of the specified column.</returns> |
||
4201 | </member>
|
||
4202 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetTimeSpan(System.Int32)"> |
||
4203 | <overloads /><summary> |
||
4204 | Gets the value of the specified column as a <see cref="T:System.TimeSpan" /> object. |
||
4205 | </summary><remarks> |
||
4206 | <para>
|
||
4207 | No conversions are performed; therefore, the data retrieved must already be a <b>Time</b> value. |
||
4208 | </para>
|
||
4209 | <para>
|
||
4210 | Call IsDBNull to check for null values before calling this method. |
||
4211 | </para>
|
||
4212 | </remarks><param name="column">The zero-based column ordinal or column name.</param><returns>The value of the specified column.</returns> |
||
4213 | </member>
|
||
4214 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetValue(System.Int32)"> |
||
4215 | <summary>
|
||
4216 | Gets the value of the specified column in its native format. |
||
4217 | </summary>
|
||
4218 | <param name="i"></param> |
||
4219 | <returns></returns> |
||
4220 | </member>
|
||
4221 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetValues(System.Object[])"> |
||
4222 | <summary>
|
||
4223 | Gets all attribute columns in the collection for the current row. |
||
4224 | </summary>
|
||
4225 | <param name="values"></param> |
||
4226 | <returns></returns> |
||
4227 | </member>
|
||
4228 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetUInt16(System.String)"> |
||
4229 | <summary>Gets the value of the specified column as a 16-bit unsigned integer.</summary><remarks> |
||
4230 | <para>
|
||
4231 | No conversions are performed; therefore, the data retrieved must already be a <b>16 bit unsigned integer</b> value. |
||
4232 | </para>
|
||
4233 | <para>
|
||
4234 | Call IsDBNull to check for null values before calling this method. |
||
4235 | </para>
|
||
4236 | </remarks><param name="column">The zero-based column ordinal or column name.</param><returns>The value of the specified column.</returns> |
||
4237 | </member>
|
||
4238 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetUInt16(System.Int32)"> |
||
4239 | <summary>Gets the value of the specified column as a 16-bit unsigned integer.</summary><remarks> |
||
4240 | <para>
|
||
4241 | No conversions are performed; therefore, the data retrieved must already be a <b>16 bit unsigned integer</b> value. |
||
4242 | </para>
|
||
4243 | <para>
|
||
4244 | Call IsDBNull to check for null values before calling this method. |
||
4245 | </para>
|
||
4246 | </remarks><param name="column">The zero-based column ordinal or column name.</param><returns>The value of the specified column.</returns> |
||
4247 | </member>
|
||
4248 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetUInt32(System.String)"> |
||
4249 | <summary>Gets the value of the specified column as a 32-bit unsigned integer.</summary><remarks> |
||
4250 | <para>
|
||
4251 | No conversions are performed; therefore, the data retrieved must already be a <b>32 bit unsigned integer</b> value. |
||
4252 | </para>
|
||
4253 | <para>
|
||
4254 | Call IsDBNull to check for null values before calling this method. |
||
4255 | </para>
|
||
4256 | </remarks><param name="column">The zero-based column ordinal or column name.</param><returns>The value of the specified column.</returns> |
||
4257 | </member>
|
||
4258 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetUInt32(System.Int32)"> |
||
4259 | <summary>Gets the value of the specified column as a 32-bit unsigned integer.</summary><remarks> |
||
4260 | <para>
|
||
4261 | No conversions are performed; therefore, the data retrieved must already be a <b>32 bit unsigned integer</b> value. |
||
4262 | </para>
|
||
4263 | <para>
|
||
4264 | Call IsDBNull to check for null values before calling this method. |
||
4265 | </para>
|
||
4266 | </remarks><param name="column">The zero-based column ordinal or column name.</param><returns>The value of the specified column.</returns> |
||
4267 | </member>
|
||
4268 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetUInt64(System.String)"> |
||
4269 | <summary>Gets the value of the specified column as a 64-bit unsigned integer.</summary><remarks> |
||
4270 | <para>
|
||
4271 | No conversions are performed; therefore, the data retrieved must already be a <b>64 bit unsigned integer</b> value. |
||
4272 | </para>
|
||
4273 | <para>
|
||
4274 | Call IsDBNull to check for null values before calling this method. |
||
4275 | </para>
|
||
4276 | </remarks><param name="column">The zero-based column ordinal or column name.</param><returns>The value of the specified column.</returns> |
||
4277 | </member>
|
||
4278 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetUInt64(System.Int32)"> |
||
4279 | <summary>Gets the value of the specified column as a 64-bit unsigned integer.</summary><remarks> |
||
4280 | <para>
|
||
4281 | No conversions are performed; therefore, the data retrieved must already be a <b>64 bit unsigned integer</b> value. |
||
4282 | </para>
|
||
4283 | <para>
|
||
4284 | Call IsDBNull to check for null values before calling this method. |
||
4285 | </para>
|
||
4286 | </remarks><param name="column">The zero-based column ordinal or column name.</param><returns>The value of the specified column.</returns> |
||
4287 | </member>
|
||
4288 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.IsDBNull(System.Int32)"> |
||
4289 | <summary>
|
||
4290 | Gets a value indicating whether the column contains non-existent or missing values. |
||
4291 | </summary>
|
||
4292 | <param name="i"></param> |
||
4293 | <returns></returns> |
||
4294 | </member>
|
||
4295 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.NextResult"> |
||
4296 | <summary>
|
||
4297 | Advances the data reader to the next result, when reading the results of batch SQL statements. |
||
4298 | </summary>
|
||
4299 | <returns></returns> |
||
4300 | </member>
|
||
4301 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.Read"> |
||
4302 | <summary>
|
||
4303 | Advances the MySqlDataReader to the next record. |
||
4304 | </summary>
|
||
4305 | <returns></returns> |
||
4306 | </member>
|
||
4307 | <member name="P:MySql.Data.MySqlClient.MySqlDataReader.Depth"> |
||
4308 | <summary>
|
||
4309 | Gets a value indicating the depth of nesting for the current row. This method is not |
||
4310 | supported currently and always returns 0. |
||
4311 | </summary>
|
||
4312 | </member>
|
||
4313 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetSchemaTable"> |
||
4314 | <summary>
|
||
4315 | Returns a DataTable that describes the column metadata of the MySqlDataReader. |
||
4316 | </summary>
|
||
4317 | <returns></returns> |
||
4318 | </member>
|
||
4319 | <member name="M:MySql.Data.MySqlClient.MySqlDataReader.GetEnumerator"> |
||
4320 | <summary>
|
||
4321 | Returns an <see cref="T:System.Collections.IEnumerator"/> that iterates through the <see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/>. |
||
4322 | </summary>
|
||
4323 | <returns></returns> |
||
4324 | </member>
|
||
4325 | <member name="T:MySql.Data.MySqlClient.Driver"> |
||
4326 | <summary>
|
||
4327 | Summary description for BaseDriver. |
||
4328 | </summary>
|
||
4329 | </member>
|
||
4330 | <member name="P:MySql.Data.MySqlClient.Driver.IdleSince"> |
||
4331 | <summary>
|
||
4332 | For pooled connections, time when the driver was |
||
4333 | put into idle queue |
||
4334 | </summary>
|
||
4335 | </member>
|
||
4336 | <member name="M:MySql.Data.MySqlClient.Driver.LoadServerProperties(MySql.Data.MySqlClient.MySqlConnection)"> |
||
4337 | <summary>
|
||
4338 | Loads the properties from the connected server into a hashtable |
||
4339 | </summary>
|
||
4340 | <param name="connection"></param> |
||
4341 | <returns></returns> |
||
4342 | </member>
|
||
4343 | <member name="M:MySql.Data.MySqlClient.Driver.LoadCharacterSets(MySql.Data.MySqlClient.MySqlConnection)"> |
||
4344 | <summary>
|
||
4345 | Loads all the current character set names and ids for this server |
||
4346 | into the charSets hashtable |
||
4347 | </summary>
|
||
4348 | </member>
|
||
4349 | <member name="T:MySql.Data.MySqlClient.MySqlException"> |
||
4350 | <summary>
|
||
4351 | The exception that is thrown when MySQL returns an error. This class cannot be inherited. |
||
4352 | </summary>
|
||
4353 | <remarks>
|
||
4354 | <para>
|
||
4355 | This class is created whenever the MySql Data Provider encounters an error generated from the server. |
||
4356 | </para>
|
||
4357 | <para>
|
||
4358 | Any open connections are not automatically closed when an exception is thrown. If |
||
4359 | the client application determines that the exception is fatal, it should close any open |
||
4360 | <see cref="T:MySql.Data.MySqlClient.MySqlDataReader" /> objects or <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> objects. |
||
4361 | </para>
|
||
4362 | </remarks><example> |
||
4363 | The following example generates a <B>MySqlException</B> due to a missing server, |
||
4364 | and then displays the exception. |
||
4365 | |||
4366 | <code lang="vbnet"> |
||
4367 | Public Sub ShowException() |
||
4368 | Dim mySelectQuery As String = "SELECT column1 FROM table1" |
||
4369 | Dim myConnection As New MySqlConnection ("Data Source=localhost;Database=Sample;") |
||
4370 | Dim myCommand As New MySqlCommand(mySelectQuery, myConnection) |
||
4371 | |||
4372 | Try |
||
4373 | myCommand.Connection.Open() |
||
4374 | Catch e As MySqlException |
||
4375 | MessageBox.Show( e.Message ) |
||
4376 | End Try |
||
4377 | End Sub |
||
4378 | </code>
|
||
4379 | <code lang="C#"> |
||
4380 | public void ShowException() |
||
4381 | { |
||
4382 | string mySelectQuery = "SELECT column1 FROM table1"; |
||
4383 | MySqlConnection myConnection = |
||
4384 | new MySqlConnection("Data Source=localhost;Database=Sample;"); |
||
4385 | MySqlCommand myCommand = new MySqlCommand(mySelectQuery,myConnection); |
||
4386 | |||
4387 | try |
||
4388 | { |
||
4389 | myCommand.Connection.Open(); |
||
4390 | } |
||
4391 | catch (MySqlException e) |
||
4392 | { |
||
4393 | MessageBox.Show( e.Message ); |
||
4394 | } |
||
4395 | } |
||
4396 | </code>
|
||
4397 | </example>
|
||
4398 | </member>
|
||
4399 | <member name="P:MySql.Data.MySqlClient.MySqlException.Number"> |
||
4400 | <summary>
|
||
4401 | Gets a number that identifies the type of error. |
||
4402 | </summary>
|
||
4403 | </member>
|
||
4404 | <member name="P:MySql.Data.MySqlClient.MySqlException.IsFatal"> |
||
4405 | <summary>
|
||
4406 | True if this exception was fatal and cause the closing of the connection, false otherwise. |
||
4407 | </summary>
|
||
4408 | </member>
|
||
4409 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.Server"> |
||
4410 | <summary>
|
||
4411 | Gets or sets the name of the server. |
||
4412 | </summary>
|
||
4413 | <value>The server.</value> |
||
4414 | </member>
|
||
4415 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.Database"> |
||
4416 | <summary>
|
||
4417 | Gets or sets the name of the database the connection should |
||
4418 | initially connect to. |
||
4419 | </summary>
|
||
4420 | </member>
|
||
4421 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.ConnectionProtocol"> |
||
4422 | <summary>
|
||
4423 | Gets or sets the protocol that should be used for communicating |
||
4424 | with MySQL. |
||
4425 | </summary>
|
||
4426 | </member>
|
||
4427 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.PipeName"> |
||
4428 | <summary>
|
||
4429 | Gets or sets the name of the named pipe that should be used |
||
4430 | for communicating with MySQL. |
||
4431 | </summary>
|
||
4432 | </member>
|
||
4433 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.UseCompression"> |
||
4434 | <summary>
|
||
4435 | Gets or sets a boolean value that indicates whether this connection |
||
4436 | should use compression. |
||
4437 | </summary>
|
||
4438 | </member>
|
||
4439 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.AllowBatch"> |
||
4440 | <summary>
|
||
4441 | Gets or sets a boolean value that indicates whether this connection will allow |
||
4442 | commands to send multiple SQL statements in one execution. |
||
4443 | </summary>
|
||
4444 | </member>
|
||
4445 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.Logging"> |
||
4446 | <summary>
|
||
4447 | Gets or sets a boolean value that indicates whether logging is enabled. |
||
4448 | </summary>
|
||
4449 | </member>
|
||
4450 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.SharedMemoryName"> |
||
4451 | <summary>
|
||
4452 | Gets or sets the base name of the shared memory objects used to |
||
4453 | communicate with MySQL when the shared memory protocol is being used. |
||
4454 | </summary>
|
||
4455 | </member>
|
||
4456 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.UseOldSyntax"> |
||
4457 | <summary>
|
||
4458 | Gets or sets a boolean value that indicates whether this connection uses |
||
4459 | the old style (@) parameter markers or the new (?) style. |
||
4460 | </summary>
|
||
4461 | </member>
|
||
4462 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.Port"> |
||
4463 | <summary>
|
||
4464 | Gets or sets the port number that is used when the socket |
||
4465 | protocol is being used. |
||
4466 | </summary>
|
||
4467 | </member>
|
||
4468 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.ConnectionTimeout"> |
||
4469 | <summary>
|
||
4470 | Gets or sets the connection timeout. |
||
4471 | </summary>
|
||
4472 | </member>
|
||
4473 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.DefaultCommandTimeout"> |
||
4474 | <summary>
|
||
4475 | Gets or sets the default command timeout. |
||
4476 | </summary>
|
||
4477 | </member>
|
||
4478 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.UserID"> |
||
4479 | <summary>
|
||
4480 | Gets or sets the user id that should be used to connect with. |
||
4481 | </summary>
|
||
4482 | </member>
|
||
4483 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.Password"> |
||
4484 | <summary>
|
||
4485 | Gets or sets the password that should be used to connect with. |
||
4486 | </summary>
|
||
4487 | </member>
|
||
4488 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.PersistSecurityInfo"> |
||
4489 | <summary>
|
||
4490 | Gets or sets a boolean value that indicates if the password should be persisted |
||
4491 | in the connection string. |
||
4492 | </summary>
|
||
4493 | </member>
|
||
4494 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.AllowZeroDateTime"> |
||
4495 | <summary>
|
||
4496 | Gets or sets a boolean value that indicates if zero date time values are supported. |
||
4497 | </summary>
|
||
4498 | </member>
|
||
4499 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.ConvertZeroDateTime"> |
||
4500 | <summary>
|
||
4501 | Gets or sets a boolean value indicating if zero datetime values should be |
||
4502 | converted to DateTime.MinValue. |
||
4503 | </summary>
|
||
4504 | </member>
|
||
4505 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.UseUsageAdvisor"> |
||
4506 | <summary>
|
||
4507 | Gets or sets a boolean value indicating if the Usage Advisor should be enabled. |
||
4508 | </summary>
|
||
4509 | </member>
|
||
4510 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.ProcedureCacheSize"> |
||
4511 | <summary>
|
||
4512 | Gets or sets the size of the stored procedure cache. |
||
4513 | </summary>
|
||
4514 | </member>
|
||
4515 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.UsePerformanceMonitor"> |
||
4516 | <summary>
|
||
4517 | Gets or sets a boolean value indicating if the permon hooks should be enabled. |
||
4518 | </summary>
|
||
4519 | </member>
|
||
4520 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.IgnorePrepare"> |
||
4521 | <summary>
|
||
4522 | Gets or sets a boolean value indicating if calls to Prepare() should be ignored. |
||
4523 | </summary>
|
||
4524 | </member>
|
||
4525 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.ConnectionLifeTime"> |
||
4526 | <summary>
|
||
4527 | Gets or sets the lifetime of a pooled connection. |
||
4528 | </summary>
|
||
4529 | </member>
|
||
4530 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.Pooling"> |
||
4531 | <summary>
|
||
4532 | Gets or sets a boolean value indicating if connection pooling is enabled. |
||
4533 | </summary>
|
||
4534 | </member>
|
||
4535 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.MinimumPoolSize"> |
||
4536 | <summary>
|
||
4537 | Gets the minimum connection pool size. |
||
4538 | </summary>
|
||
4539 | </member>
|
||
4540 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.MaximumPoolSize"> |
||
4541 | <summary>
|
||
4542 | Gets or sets the maximum connection pool setting. |
||
4543 | </summary>
|
||
4544 | </member>
|
||
4545 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.ConnectionReset"> |
||
4546 | <summary>
|
||
4547 | Gets or sets a boolean value indicating if the connection should be reset when retrieved |
||
4548 | from the pool. |
||
4549 | </summary>
|
||
4550 | </member>
|
||
4551 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.CharacterSet"> |
||
4552 | <summary>
|
||
4553 | Gets or sets the character set that should be used for sending queries to the server. |
||
4554 | </summary>
|
||
4555 | </member>
|
||
4556 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.TreatBlobsAsUTF8"> |
||
4557 | <summary>
|
||
4558 | Indicates whether the driver should treat binary blobs as UTF8 |
||
4559 | </summary>
|
||
4560 | </member>
|
||
4561 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.BlobAsUTF8IncludePattern"> |
||
4562 | <summary>
|
||
4563 | Gets or sets the pattern that matches the columns that should be treated as UTF8 |
||
4564 | </summary>
|
||
4565 | </member>
|
||
4566 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.BlobAsUTF8ExcludePattern"> |
||
4567 | <summary>
|
||
4568 | Gets or sets the pattern that matches the columns that should not be treated as UTF8 |
||
4569 | </summary>
|
||
4570 | </member>
|
||
4571 | <member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.SslMode"> |
||
4572 | <summary>
|
||
4573 | Indicates whether to use SSL connections and how to handle server certificate errors. |
||
4574 | </summary>
|
||
4575 | </member>
|
||
4576 | <member name="T:MySql.Data.MySqlClient.MySqlParameter"> |
||
4577 | <summary>
|
||
4578 | Represents a parameter to a <see cref="T:MySql.Data.MySqlClient.MySqlCommand"/>, and optionally, its mapping to <see cref="T:System.Data.DataSet"/> columns. This class cannot be inherited. |
||
4579 | </summary>
|
||
4580 | </member>
|
||
4581 | <member name="M:MySql.Data.MySqlClient.MySqlParameter.#ctor(System.String,MySql.Data.MySqlClient.MySqlDbType,System.Int32,System.String)"> |
||
4582 | <summary>
|
||
4583 | Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> class with the parameter name, the <see cref="P:MySql.Data.MySqlClient.MySqlParameter.MySqlDbType"/>, the size, and the source column name. |
||
4584 | </summary>
|
||
4585 | <param name="parameterName">The name of the parameter to map. </param> |
||
4586 | <param name="dbType">One of the <see cref="P:MySql.Data.MySqlClient.MySqlParameter.MySqlDbType"/> values. </param> |
||
4587 | <param name="size">The length of the parameter. </param> |
||
4588 | <param name="sourceColumn">The name of the source column. </param> |
||
4589 | </member>
|
||
4590 | <member name="M:MySql.Data.MySqlClient.MySqlParameter.#ctor(System.String,MySql.Data.MySqlClient.MySqlDbType,System.Int32,System.Data.ParameterDirection,System.Boolean,System.Byte,System.Byte,System.String,System.Data.DataRowVersion,System.Object)"> |
||
4591 | <summary>
|
||
4592 | Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> class with the parameter name, the type of the parameter, the size of the parameter, a <see cref="T:System.Data.ParameterDirection"/>, the precision of the parameter, the scale of the parameter, the source column, a <see cref="T:System.Data.DataRowVersion"/> to use, and the value of the parameter. |
||
4593 | </summary>
|
||
4594 | <param name="parameterName">The name of the parameter to map. </param> |
||
4595 | <param name="dbType">One of the <see cref="P:MySql.Data.MySqlClient.MySqlParameter.MySqlDbType"/> values. </param> |
||
4596 | <param name="size">The length of the parameter. </param> |
||
4597 | <param name="direction">One of the <see cref="T:System.Data.ParameterDirection"/> values. </param> |
||
4598 | <param name="isNullable">true if the value of the field can be null, otherwise false. </param> |
||
4599 | <param name="precision">The total number of digits to the left and right of the decimal point to which <see cref="P:MySql.Data.MySqlClient.MySqlParameter.Value"/> is resolved.</param> |
||
4600 | <param name="scale">The total number of decimal places to which <see cref="P:MySql.Data.MySqlClient.MySqlParameter.Value"/> is resolved. </param> |
||
4601 | <param name="sourceColumn">The name of the source column. </param> |
||
4602 | <param name="sourceVersion">One of the <see cref="T:System.Data.DataRowVersion"/> values. </param> |
||
4603 | <param name="value">An <see cref="T:System.Object"/> that is the value of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/>. </param> |
||
4604 | <exception cref="T:System.ArgumentException"/> |
||
4605 | </member>
|
||
4606 | <member name="P:MySql.Data.MySqlClient.MySqlParameter.SourceVersion"> |
||
4607 | <summary>
|
||
4608 | Gets or sets the <see cref="T:System.Data.DataRowVersion"/> to use when loading <see cref="P:MySql.Data.MySqlClient.MySqlParameter.Value"/>. |
||
4609 | </summary>
|
||
4610 | </member>
|
||
4611 | <member name="P:MySql.Data.MySqlClient.MySqlParameter.SourceColumn"> |
||
4612 | <summary>
|
||
4613 | Gets or sets the name of the source column that is mapped to the <see cref="T:System.Data.DataSet"/> and used for loading or returning the <see cref="P:MySql.Data.MySqlClient.MySqlParameter.Value"/>. |
||
4614 | </summary>
|
||
4615 | </member>
|
||
4616 | <member name="M:MySql.Data.MySqlClient.MySqlParameter.ResetDbType"> |
||
4617 | <summary>
|
||
4618 | Resets the <b>DbType</b> property to its original settings. |
||
4619 | </summary>
|
||
4620 | </member>
|
||
4621 | <member name="P:MySql.Data.MySqlClient.MySqlParameter.SourceColumnNullMapping"> |
||
4622 | <summary>
|
||
4623 | Sets or gets a value which indicates whether the source column is nullable. |
||
4624 | This allows <see cref="T:System.Data.Common.DbCommandBuilder"/> to correctly generate Update statements |
||
4625 | for nullable columns. |
||
4626 | </summary>
|
||
4627 | </member>
|
||
4628 | <member name="P:MySql.Data.MySqlClient.MySqlParameter.DbType"> |
||
4629 | <summary>
|
||
4630 | Gets or sets the <see cref="P:MySql.Data.MySqlClient.MySqlParameter.DbType"/> of the parameter. |
||
4631 | </summary>
|
||
4632 | </member>
|
||
4633 | <member name="M:MySql.Data.MySqlClient.MySqlParameter.#ctor(System.String,System.Object)"> |
||
4634 | <summary>
|
||
4635 | Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> class with the parameter name and a value of the new MySqlParameter. |
||
4636 | </summary>
|
||
4637 | <param name="parameterName">The name of the parameter to map. </param> |
||
4638 | <param name="value">An <see cref="T:System.Object"/> that is the value of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/>. </param> |
||
4639 | </member>
|
||
4640 | <member name="M:MySql.Data.MySqlClient.MySqlParameter.#ctor(System.String,MySql.Data.MySqlClient.MySqlDbType)"> |
||
4641 | <summary>
|
||
4642 | Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> class with the parameter name and the data type. |
||
4643 | </summary>
|
||
4644 | <param name="parameterName">The name of the parameter to map. </param> |
||
4645 | <param name="dbType">One of the <see cref="P:MySql.Data.MySqlClient.MySqlParameter.MySqlDbType"/> values. </param> |
||
4646 | </member>
|
||
4647 | <member name="M:MySql.Data.MySqlClient.MySqlParameter.#ctor(System.String,MySql.Data.MySqlClient.MySqlDbType,System.Int32)"> |
||
4648 | <summary>
|
||
4649 | Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> class with the parameter name, the <see cref="P:MySql.Data.MySqlClient.MySqlParameter.MySqlDbType"/>, and the size. |
||
4650 | </summary>
|
||
4651 | <param name="parameterName">The name of the parameter to map. </param> |
||
4652 | <param name="dbType">One of the <see cref="P:MySql.Data.MySqlClient.MySqlParameter.MySqlDbType"/> values. </param> |
||
4653 | <param name="size">The length of the parameter. </param> |
||
4654 | </member>
|
||
4655 | <member name="P:MySql.Data.MySqlClient.MySqlParameter.Direction"> |
||
4656 | <summary>
|
||
4657 | Gets or sets a value indicating whether the parameter is input-only, output-only, bidirectional, or a stored procedure return value parameter. |
||
4658 | As of MySql version 4.1 and earlier, input-only is the only valid choice. |
||
4659 | </summary>
|
||
4660 | </member>
|
||
4661 | <member name="P:MySql.Data.MySqlClient.MySqlParameter.IsNullable"> |
||
4662 | <summary>
|
||
4663 | Gets or sets a value indicating whether the parameter accepts null values. |
||
4664 | </summary>
|
||
4665 | </member>
|
||
4666 | <member name="P:MySql.Data.MySqlClient.MySqlParameter.MySqlDbType"> |
||
4667 | <summary>
|
||
4668 | Gets or sets the MySqlDbType of the parameter. |
||
4669 | </summary>
|
||
4670 | </member>
|
||
4671 | <member name="P:MySql.Data.MySqlClient.MySqlParameter.Precision"> |
||
4672 | <summary>
|
||
4673 | Gets or sets the maximum number of digits used to represent the <see cref="P:MySql.Data.MySqlClient.MySqlParameter.Value"/> property. |
||
4674 | </summary>
|
||
4675 | </member>
|
||
4676 | <member name="P:MySql.Data.MySqlClient.MySqlParameter.Scale"> |
||
4677 | <summary>
|
||
4678 | Gets or sets the number of decimal places to which <see cref="P:MySql.Data.MySqlClient.MySqlParameter.Value"/> is resolved. |
||
4679 | </summary>
|
||
4680 | </member>
|
||
4681 | <member name="P:MySql.Data.MySqlClient.MySqlParameter.Size"> |
||
4682 | <summary>
|
||
4683 | Gets or sets the maximum size, in bytes, of the data within the column. |
||
4684 | </summary>
|
||
4685 | </member>
|
||
4686 | <member name="P:MySql.Data.MySqlClient.MySqlParameter.Value"> |
||
4687 | <summary>
|
||
4688 | Gets or sets the value of the parameter. |
||
4689 | </summary>
|
||
4690 | </member>
|
||
4691 | <member name="P:MySql.Data.MySqlClient.MySqlParameter.PossibleValues"> |
||
4692 | <summary>
|
||
4693 | Returns the possible values for this parameter if this parameter is of type |
||
4694 | SET or ENUM. Returns null otherwise. |
||
4695 | </summary>
|
||
4696 | </member>
|
||
4697 | <member name="M:MySql.Data.MySqlClient.MySqlParameter.ToString"> |
||
4698 | <summary>
|
||
4699 | Overridden. Gets a string containing the <see cref="P:MySql.Data.MySqlClient.MySqlParameter.ParameterName"/>. |
||
4700 | </summary>
|
||
4701 | <returns></returns> |
||
4702 | </member>
|
||
4703 | <member name="T:MySql.Data.MySqlClient.MySqlParameterCollection"> |
||
4704 | <summary>
|
||
4705 | Represents a collection of parameters relevant to a <see cref="T:MySql.Data.MySqlClient.MySqlCommand" /> as well as their respective mappings to columns in a <see cref="T:System.Data.DataSet" />. This class cannot be inherited. |
||
4706 | </summary>
|
||
4707 | <remarks>
|
||
4708 | The number of the parameters in the collection must be equal to the number of |
||
4709 | parameter placeholders within the command text, or an exception will be generated. |
||
4710 | </remarks><example> |
||
4711 | The following example creates multiple instances of <see cref="T:MySql.Data.MySqlClient.MySqlParameter" /> |
||
4712 | through the <B>MySqlParameterCollection</B> collection within the <see cref="T:MySql.Data.MySqlClient.MySqlDataAdapter" />. |
||
4713 | These parameters are used to select data within the data source and place the data in |
||
4714 | the <see cref="T:System.Data.DataSet" />. This code assumes that a <B>DataSet</B> and a <B>MySqlDataAdapter</B> |
||
4715 | have already been created with the appropriate schema, commands, and connection. |
||
4716 | <code lang="vbnet"> |
||
4717 | Public Sub AddParameters() |
||
4718 | ' ... |
||
4719 | ' create myDataSet and myDataAdapter |
||
4720 | ' ... |
||
4721 | myDataAdapter.SelectCommand.Parameters.Add("@CategoryName", MySqlDbType.VarChar, 80).Value = "toasters" |
||
4722 | myDataAdapter.SelectCommand.Parameters.Add("@SerialNum", MySqlDbType.Long).Value = 239 |
||
4723 | |||
4724 | myDataAdapter.Fill(myDataSet) |
||
4725 | End Sub 'AddSqlParameters |
||
4726 | </code>
|
||
4727 | <code lang="C#"> |
||
4728 | public void AddSqlParameters() |
||
4729 | { |
||
4730 | // ... |
||
4731 | // create myDataSet and myDataAdapter |
||
4732 | // ... |
||
4733 | |||
4734 | myDataAdapter.SelectCommand.Parameters.Add("@CategoryName", MySqlDbType.VarChar, 80).Value = "toasters"; |
||
4735 | myDataAdapter.SelectCommand.Parameters.Add("@SerialNum", MySqlDbType.Long).Value = 239; |
||
4736 | myDataAdapter.Fill(myDataSet); |
||
4737 | |||
4738 | } |
||
4739 | </code>
|
||
4740 | </example>
|
||
4741 | </member>
|
||
4742 | <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.Add(System.String,MySql.Data.MySqlClient.MySqlDbType,System.Int32,System.String)"> |
||
4743 | <summary>
|
||
4744 | Adds a <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> to the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/> with the parameter name, the data type, the column length, and the source column name. |
||
4745 | </summary>
|
||
4746 | <param name="parameterName">The name of the parameter.</param> |
||
4747 | <param name="dbType">One of the <see cref="T:MySql.Data.MySqlClient.MySqlDbType"/> values. </param> |
||
4748 | <param name="size">The length of the column.</param> |
||
4749 | <param name="sourceColumn">The name of the source column.</param> |
||
4750 | <returns>The newly added <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object.</returns> |
||
4751 | </member>
|
||
4752 | <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.AddRange(System.Array)"> |
||
4753 | <summary>
|
||
4754 | Adds an array of values to the end of the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/>. |
||
4755 | </summary>
|
||
4756 | <param name="values"></param> |
||
4757 | </member>
|
||
4758 | <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.GetParameter(System.String)"> |
||
4759 | <summary>
|
||
4760 | Retrieve the parameter with the given name. |
||
4761 | </summary>
|
||
4762 | <param name="parameterName"></param> |
||
4763 | <returns></returns> |
||
4764 | </member>
|
||
4765 | <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.Add(System.Object)"> |
||
4766 | <summary>
|
||
4767 | Adds the specified <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object to the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/>. |
||
4768 | </summary>
|
||
4769 | <param name="value">The <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> to add to the collection.</param> |
||
4770 | <returns>The index of the new <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object.</returns> |
||
4771 | </member>
|
||
4772 | <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.Contains(System.String)"> |
||
4773 | <summary>
|
||
4774 | Gets a value indicating whether a <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> with the specified parameter name exists in the collection. |
||
4775 | </summary>
|
||
4776 | <param name="parameterName">The name of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object to find.</param> |
||
4777 | <returns>true if the collection contains the parameter; otherwise, false.</returns> |
||
4778 | </member>
|
||
4779 | <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.Contains(System.Object)"> |
||
4780 | <summary>
|
||
4781 | Gets a value indicating whether a MySqlParameter exists in the collection. |
||
4782 | </summary>
|
||
4783 | <param name="value">The value of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object to find. </param> |
||
4784 | <returns>true if the collection contains the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object; otherwise, false.</returns> |
||
4785 | <overloads>Gets a value indicating whether a <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> exists in the collection.</overloads> |
||
4786 | </member>
|
||
4787 | <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.CopyTo(System.Array,System.Int32)"> |
||
4788 | <summary>
|
||
4789 | Copies MySqlParameter objects from the MySqlParameterCollection to the specified array. |
||
4790 | </summary>
|
||
4791 | <param name="array"></param> |
||
4792 | <param name="index"></param> |
||
4793 | </member>
|
||
4794 | <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.GetEnumerator"> |
||
4795 | <summary>
|
||
4796 | Returns an enumerator that iterates through the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/>. |
||
4797 | </summary>
|
||
4798 | <returns></returns> |
||
4799 | </member>
|
||
4800 | <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.Insert(System.Int32,System.Object)"> |
||
4801 | <summary>
|
||
4802 | Inserts a MySqlParameter into the collection at the specified index. |
||
4803 | </summary>
|
||
4804 | <param name="index"></param> |
||
4805 | <param name="value"></param> |
||
4806 | </member>
|
||
4807 | <member name="P:MySql.Data.MySqlClient.MySqlParameterCollection.IsFixedSize"> |
||
4808 | <summary>
|
||
4809 | Gets a value that indicates whether the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/> |
||
4810 | has a fixed size. |
||
4811 | </summary>
|
||
4812 | </member>
|
||
4813 | <member name="P:MySql.Data.MySqlClient.MySqlParameterCollection.IsReadOnly"> |
||
4814 | <summary>
|
||
4815 | Gets a value that indicates whether the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/> |
||
4816 | is read-only. |
||
4817 | </summary>
|
||
4818 | </member>
|
||
4819 | <member name="P:MySql.Data.MySqlClient.MySqlParameterCollection.IsSynchronized"> |
||
4820 | <summary>
|
||
4821 | Gets a value that indicates whether the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/> |
||
4822 | is synchronized. |
||
4823 | </summary>
|
||
4824 | </member>
|
||
4825 | <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.Remove(System.Object)"> |
||
4826 | <summary>
|
||
4827 | Removes the specified MySqlParameter from the collection. |
||
4828 | </summary>
|
||
4829 | <param name="value"></param> |
||
4830 | </member>
|
||
4831 | <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.RemoveAt(System.String)"> |
||
4832 | <summary>
|
||
4833 | Removes the specified <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> from the collection using the parameter name. |
||
4834 | </summary>
|
||
4835 | <param name="parameterName">The name of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object to retrieve. </param> |
||
4836 | </member>
|
||
4837 | <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.RemoveAt(System.Int32)"> |
||
4838 | <summary>
|
||
4839 | Removes the specified <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> from the collection using a specific index. |
||
4840 | </summary>
|
||
4841 | <param name="index">The zero-based index of the parameter. </param> |
||
4842 | <overloads>Removes the specified <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> from the collection.</overloads> |
||
4843 | </member>
|
||
4844 | <member name="P:MySql.Data.MySqlClient.MySqlParameterCollection.SyncRoot"> |
||
4845 | <summary>
|
||
4846 | Gets an object that can be used to synchronize access to the |
||
4847 | <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/>. |
||
4848 | </summary>
|
||
4849 | </member>
|
||
4850 | <member name="P:MySql.Data.MySqlClient.MySqlParameterCollection.Count"> |
||
4851 | <summary>
|
||
4852 | Gets the number of MySqlParameter objects in the collection. |
||
4853 | </summary>
|
||
4854 | </member>
|
||
4855 | <member name="P:MySql.Data.MySqlClient.MySqlParameterCollection.Item(System.Int32)"> |
||
4856 | <summary>
|
||
4857 | Gets the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> at the specified index. |
||
4858 | </summary>
|
||
4859 | <overloads>Gets the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> with a specified attribute. |
||
4860 | [C#] In C#, this property is the indexer for the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/> class. |
||
4861 | </overloads>
|
||
4862 | </member>
|
||
4863 | <member name="P:MySql.Data.MySqlClient.MySqlParameterCollection.Item(System.String)"> |
||
4864 | <summary>
|
||
4865 | Gets the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> with the specified name. |
||
4866 | </summary>
|
||
4867 | </member>
|
||
4868 | <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.Add(MySql.Data.MySqlClient.MySqlParameter)"> |
||
4869 | <summary>
|
||
4870 | Adds the specified <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object to the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/>. |
||
4871 | </summary>
|
||
4872 | <param name="value">The <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> to add to the collection.</param> |
||
4873 | <returns>The newly added <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object.</returns> |
||
4874 | </member>
|
||
4875 | <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.Add(System.String,System.Object)"> |
||
4876 | <summary>
|
||
4877 | Adds a <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> to the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/> given the specified parameter name and value. |
||
4878 | </summary>
|
||
4879 | <param name="parameterName">The name of the parameter.</param> |
||
4880 | <param name="value">The <see cref="P:MySql.Data.MySqlClient.MySqlParameter.Value"/> of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> to add to the collection.</param> |
||
4881 | <returns>The newly added <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object.</returns> |
||
4882 | </member>
|
||
4883 | <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.Add(System.String,MySql.Data.MySqlClient.MySqlDbType)"> |
||
4884 | <summary>
|
||
4885 | Adds a <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> to the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/> given the parameter name and the data type. |
||
4886 | </summary>
|
||
4887 | <param name="parameterName">The name of the parameter.</param> |
||
4888 | <param name="dbType">One of the <see cref="T:MySql.Data.MySqlClient.MySqlDbType"/> values. </param> |
||
4889 | <returns>The newly added <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object.</returns> |
||
4890 | </member>
|
||
4891 | <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.Add(System.String,MySql.Data.MySqlClient.MySqlDbType,System.Int32)"> |
||
4892 | <summary>
|
||
4893 | Adds a <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> to the <see cref="T:MySql.Data.MySqlClient.MySqlParameterCollection"/> with the parameter name, the data type, and the column length. |
||
4894 | </summary>
|
||
4895 | <param name="parameterName">The name of the parameter.</param> |
||
4896 | <param name="dbType">One of the <see cref="T:MySql.Data.MySqlClient.MySqlDbType"/> values. </param> |
||
4897 | <param name="size">The length of the column.</param> |
||
4898 | <returns>The newly added <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object.</returns> |
||
4899 | </member>
|
||
4900 | <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.Clear"> |
||
4901 | <summary>
|
||
4902 | Removes all items from the collection. |
||
4903 | </summary>
|
||
4904 | </member>
|
||
4905 | <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.IndexOf(System.String)"> |
||
4906 | <summary>
|
||
4907 | Gets the location of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> in the collection with a specific parameter name. |
||
4908 | </summary>
|
||
4909 | <param name="parameterName">The name of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object to retrieve. </param> |
||
4910 | <returns>The zero-based location of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> in the collection.</returns> |
||
4911 | </member>
|
||
4912 | <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.IndexOf(System.Object)"> |
||
4913 | <summary>
|
||
4914 | Gets the location of a <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> in the collection. |
||
4915 | </summary>
|
||
4916 | <param name="value">The <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> object to locate. </param> |
||
4917 | <returns>The zero-based location of the <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> in the collection.</returns> |
||
4918 | <overloads>Gets the location of a <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> in the collection.</overloads> |
||
4919 | </member>
|
||
4920 | <member name="M:MySql.Data.MySqlClient.MySqlParameterCollection.AdjustHashes(System.Int32,System.Boolean)"> |
||
4921 | <summary>
|
||
4922 | This method will update all the items in the index hashes when |
||
4923 | we insert a parameter somewhere in the middle |
||
4924 | </summary>
|
||
4925 | <param name="keyIndex"></param> |
||
4926 | <param name="addEntry"></param> |
||
4927 | </member>
|
||
4928 | <member name="T:MySql.Data.MySqlClient.MySqlTransaction"> |
||
4929 | <summary>
|
||
4930 | Represents a SQL transaction to be made in a MySQL database. This class cannot be inherited. |
||
4931 | </summary><remarks> |
||
4932 | The application creates a <B>MySqlTransaction</B> object by calling <see cref="M:MySql.Data.MySqlClient.MySqlConnection.BeginTransaction" /> |
||
4933 | on the <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> object. All subsequent operations associated with the |
||
4934 | transaction (for example, committing or aborting the transaction), are performed on the |
||
4935 | <B>MySqlTransaction</B> object. |
||
4936 | </remarks><example> |
||
4937 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> and a <B>MySqlTransaction</B>. |
||
4938 | It also demonstrates how to use the <see cref="M:MySql.Data.MySqlClient.MySqlConnection.BeginTransaction" />, |
||
4939 | <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Commit" />, and <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Rollback" /> methods. |
||
4940 | <code lang="vbnet"> |
||
4941 | Public Sub RunTransaction(myConnString As String) |
||
4942 | Dim myConnection As New MySqlConnection(myConnString) |
||
4943 | myConnection.Open() |
||
4944 | |||
4945 | Dim myCommand As MySqlCommand = myConnection.CreateCommand() |
||
4946 | Dim myTrans As MySqlTransaction |
||
4947 | |||
4948 | ' Start a local transaction |
||
4949 | myTrans = myConnection.BeginTransaction() |
||
4950 | ' Must assign both transaction object and connection |
||
4951 | ' to Command object for a pending local transaction |
||
4952 | myCommand.Connection = myConnection |
||
4953 | myCommand.Transaction = myTrans |
||
4954 | |||
4955 | Try |
||
4956 | myCommand.CommandText = "Insert into Region (RegionID, RegionDescription) VALUES (100, 'Description')" |
||
4957 | myCommand.ExecuteNonQuery() |
||
4958 | myCommand.CommandText = "Insert into Region (RegionID, RegionDescription) VALUES (101, 'Description')" |
||
4959 | myCommand.ExecuteNonQuery() |
||
4960 | myTrans.Commit() |
||
4961 | Console.WriteLine("Both records are written to database.") |
||
4962 | Catch e As Exception |
||
4963 | Try |
||
4964 | myTrans.Rollback() |
||
4965 | Catch ex As MySqlException |
||
4966 | If Not myTrans.Connection Is Nothing Then |
||
4967 | Console.WriteLine("An exception of type " & ex.GetType().ToString() & _ |
||
4968 | " was encountered while attempting to roll back the transaction.") |
||
4969 | End If |
||
4970 | End Try |
||
4971 | |||
4972 | Console.WriteLine("An exception of type " & e.GetType().ToString() & _ |
||
4973 | "was encountered while inserting the data.") |
||
4974 | Console.WriteLine("Neither record was written to database.") |
||
4975 | Finally |
||
4976 | myConnection.Close() |
||
4977 | End Try |
||
4978 | End Sub 'RunTransaction |
||
4979 | </code>
|
||
4980 | <code lang="C#"> |
||
4981 | public void RunTransaction(string myConnString) |
||
4982 | { |
||
4983 | MySqlConnection myConnection = new MySqlConnection(myConnString); |
||
4984 | myConnection.Open(); |
||
4985 | |||
4986 | MySqlCommand myCommand = myConnection.CreateCommand(); |
||
4987 | MySqlTransaction myTrans; |
||
4988 | |||
4989 | // Start a local transaction |
||
4990 | myTrans = myConnection.BeginTransaction(); |
||
4991 | // Must assign both transaction object and connection |
||
4992 | // to Command object for a pending local transaction |
||
4993 | myCommand.Connection = myConnection; |
||
4994 | myCommand.Transaction = myTrans; |
||
4995 | |||
4996 | try |
||
4997 | { |
||
4998 | myCommand.CommandText = "Insert into Region (RegionID, RegionDescription) VALUES (100, 'Description')"; |
||
4999 | myCommand.ExecuteNonQuery(); |
||
5000 | myCommand.CommandText = "Insert into Region (RegionID, RegionDescription) VALUES (101, 'Description')"; |
||
5001 | myCommand.ExecuteNonQuery(); |
||
5002 | myTrans.Commit(); |
||
5003 | Console.WriteLine("Both records are written to database."); |
||
5004 | } |
||
5005 | catch(Exception e) |
||
5006 | { |
||
5007 | try |
||
5008 | { |
||
5009 | myTrans.Rollback(); |
||
5010 | } |
||
5011 | catch (MySqlException ex) |
||
5012 | { |
||
5013 | if (myTrans.Connection != null) |
||
5014 | { |
||
5015 | Console.WriteLine("An exception of type " + ex.GetType() + |
||
5016 | " was encountered while attempting to roll back the transaction."); |
||
5017 | } |
||
5018 | } |
||
5019 | |||
5020 | Console.WriteLine("An exception of type " + e.GetType() + |
||
5021 | " was encountered while inserting the data."); |
||
5022 | Console.WriteLine("Neither record was written to database."); |
||
5023 | } |
||
5024 | finally |
||
5025 | { |
||
5026 | myConnection.Close(); |
||
5027 | } |
||
5028 | } |
||
5029 | </code>
|
||
5030 | </example>
|
||
5031 | </member>
|
||
5032 | <member name="P:MySql.Data.MySqlClient.MySqlTransaction.Connection"> |
||
5033 | <summary>
|
||
5034 | Gets the <see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object associated with the transaction, or a null reference (Nothing in Visual Basic) if the transaction is no longer valid. |
||
5035 | </summary>
|
||
5036 | <value>The <see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object associated with this transaction.</value> |
||
5037 | <remarks>
|
||
5038 | A single application may have multiple database connections, each |
||
5039 | with zero or more transactions. This property enables you to |
||
5040 | determine the connection object associated with a particular |
||
5041 | transaction created by <see cref="M:MySql.Data.MySqlClient.MySqlConnection.BeginTransaction"/>. |
||
5042 | </remarks>
|
||
5043 | </member>
|
||
5044 | <member name="P:MySql.Data.MySqlClient.MySqlTransaction.IsolationLevel"> |
||
5045 | <summary>
|
||
5046 | Specifies the <see cref="P:MySql.Data.MySqlClient.MySqlTransaction.IsolationLevel"/> for this transaction. |
||
5047 | </summary>
|
||
5048 | <value>
|
||
5049 | The <see cref="P:MySql.Data.MySqlClient.MySqlTransaction.IsolationLevel"/> for this transaction. The default is <b>ReadCommitted</b>. |
||
5050 | </value>
|
||
5051 | <remarks>
|
||
5052 | Parallel transactions are not supported. Therefore, the IsolationLevel |
||
5053 | applies to the entire transaction. |
||
5054 | </remarks>
|
||
5055 | </member>
|
||
5056 | <member name="M:MySql.Data.MySqlClient.MySqlTransaction.Commit"> |
||
5057 | <summary>
|
||
5058 | Commits the database transaction. |
||
5059 | </summary><remarks> |
||
5060 | The <b>Commit</b> method is equivalent to the MySQL SQL statement |
||
5061 | COMMIT. |
||
5062 | </remarks><example> |
||
5063 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> and a |
||
5064 | <see cref="T:MySql.Data.MySqlClient.MySqlTransaction" />. It also demonstrates how to use the |
||
5065 | <see cref="M:MySql.Data.MySqlClient.MySqlConnection.BeginTransaction" />, <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Commit" />, and <B>Rollback</B> |
||
5066 | methods. |
||
5067 | <code lang="vbnet"> |
||
5068 | Public Sub RunSqlTransaction(myConnString As String) |
||
5069 | Dim myConnection As New MySqlConnection(myConnString) |
||
5070 | myConnection.Open() |
||
5071 | |||
5072 | Dim myCommand As MySqlCommand = myConnection.CreateCommand() |
||
5073 | Dim myTrans As MySqlTransaction |
||
5074 | |||
5075 | ' Start a local transaction |
||
5076 | myTrans = myConnection.BeginTransaction() |
||
5077 | |||
5078 | ' Must assign both transaction object and connection |
||
5079 | ' to Command object for a pending local transaction |
||
5080 | myCommand.Connection = myConnection |
||
5081 | myCommand.Transaction = myTrans |
||
5082 | |||
5083 | Try |
||
5084 | myCommand.CommandText = "Insert into mytable (id, desc) VALUES (100, 'Description')" |
||
5085 | myCommand.ExecuteNonQuery() |
||
5086 | myCommand.CommandText = "Insert into mytable (id, desc) VALUES (101, 'Description')" |
||
5087 | myCommand.ExecuteNonQuery() |
||
5088 | myTrans.Commit() |
||
5089 | Console.WriteLine("Success.") |
||
5090 | Catch e As Exception |
||
5091 | Try |
||
5092 | myTrans.Rollback() |
||
5093 | Catch ex As MySqlException |
||
5094 | If Not myTrans.Connection Is Nothing Then |
||
5095 | Console.WriteLine("An exception of type " & ex.GetType().ToString() & _ |
||
5096 | " was encountered while attempting to roll back the transaction.") |
||
5097 | End If |
||
5098 | End Try |
||
5099 | |||
5100 | Console.WriteLine("An exception of type " & e.GetType().ToString() & _ |
||
5101 | "was encountered while inserting the data.") |
||
5102 | Console.WriteLine("Neither record was written to database.") |
||
5103 | Finally |
||
5104 | myConnection.Close() |
||
5105 | End Try |
||
5106 | End Sub |
||
5107 | </code>
|
||
5108 | <code lang="C#"> |
||
5109 | public void RunSqlTransaction(string myConnString) |
||
5110 | { |
||
5111 | MySqlConnection myConnection = new MySqlConnection(myConnString); |
||
5112 | myConnection.Open(); |
||
5113 | |||
5114 | MySqlCommand myCommand = myConnection.CreateCommand(); |
||
5115 | MySqlTransaction myTrans; |
||
5116 | |||
5117 | // Start a local transaction |
||
5118 | myTrans = myConnection.BeginTransaction(); |
||
5119 | // Must assign both transaction object and connection |
||
5120 | // to Command object for a pending local transaction |
||
5121 | myCommand.Connection = myConnection; |
||
5122 | myCommand.Transaction = myTrans; |
||
5123 | |||
5124 | try |
||
5125 | { |
||
5126 | myCommand.CommandText = "Insert into mytable (id, desc) VALUES (100, 'Description')"; |
||
5127 | myCommand.ExecuteNonQuery(); |
||
5128 | myCommand.CommandText = "Insert into mytable (id, desc) VALUES (101, 'Description')"; |
||
5129 | myCommand.ExecuteNonQuery(); |
||
5130 | myTrans.Commit(); |
||
5131 | Console.WriteLine("Both records are written to database."); |
||
5132 | } |
||
5133 | catch(Exception e) |
||
5134 | { |
||
5135 | try |
||
5136 | { |
||
5137 | myTrans.Rollback(); |
||
5138 | } |
||
5139 | catch (MySqlException ex) |
||
5140 | { |
||
5141 | if (myTrans.Connection != null) |
||
5142 | { |
||
5143 | Console.WriteLine("An exception of type " + ex.GetType() + |
||
5144 | " was encountered while attempting to roll back the transaction."); |
||
5145 | } |
||
5146 | } |
||
5147 | |||
5148 | Console.WriteLine("An exception of type " + e.GetType() + |
||
5149 | " was encountered while inserting the data."); |
||
5150 | Console.WriteLine("Neither record was written to database."); |
||
5151 | } |
||
5152 | finally |
||
5153 | { |
||
5154 | myConnection.Close(); |
||
5155 | } |
||
5156 | } |
||
5157 | </code>
|
||
5158 | </example>
|
||
5159 | </member>
|
||
5160 | <member name="M:MySql.Data.MySqlClient.MySqlTransaction.Rollback"> |
||
5161 | <summary>
|
||
5162 | Rolls back a transaction from a pending state. |
||
5163 | </summary><remarks> |
||
5164 | The Rollback method is equivalent to the MySQL statement ROLLBACK. |
||
5165 | The transaction can only be rolled back from a pending state |
||
5166 | (after BeginTransaction has been called, but before Commit is |
||
5167 | called). |
||
5168 | </remarks><example> |
||
5169 | The following example creates a <see cref="T:MySql.Data.MySqlClient.MySqlConnection" /> and a |
||
5170 | <see cref="T:MySql.Data.MySqlClient.MySqlTransaction" />. It also demonstrates how to use the |
||
5171 | <see cref="M:MySql.Data.MySqlClient.MySqlConnection.BeginTransaction" />, <see cref="M:MySql.Data.MySqlClient.MySqlTransaction.Commit" />, and <B>Rollback</B> |
||
5172 | methods. |
||
5173 | <code lang="vbnet"> |
||
5174 | Public Sub RunSqlTransaction(myConnString As String) |
||
5175 | Dim myConnection As New MySqlConnection(myConnString) |
||
5176 | myConnection.Open() |
||
5177 | |||
5178 | Dim myCommand As MySqlCommand = myConnection.CreateCommand() |
||
5179 | Dim myTrans As MySqlTransaction |
||
5180 | |||
5181 | ' Start a local transaction |
||
5182 | myTrans = myConnection.BeginTransaction() |
||
5183 | |||
5184 | ' Must assign both transaction object and connection |
||
5185 | ' to Command object for a pending local transaction |
||
5186 | myCommand.Connection = myConnection |
||
5187 | myCommand.Transaction = myTrans |
||
5188 | |||
5189 | Try |
||
5190 | myCommand.CommandText = "Insert into mytable (id, desc) VALUES (100, 'Description')" |
||
5191 | myCommand.ExecuteNonQuery() |
||
5192 | myCommand.CommandText = "Insert into mytable (id, desc) VALUES (101, 'Description')" |
||
5193 | myCommand.ExecuteNonQuery() |
||
5194 | myTrans.Commit() |
||
5195 | Console.WriteLine("Success.") |
||
5196 | Catch e As Exception |
||
5197 | Try |
||
5198 | myTrans.Rollback() |
||
5199 | Catch ex As MySqlException |
||
5200 | If Not myTrans.Connection Is Nothing Then |
||
5201 | Console.WriteLine("An exception of type " & ex.GetType().ToString() & _ |
||
5202 | " was encountered while attempting to roll back the transaction.") |
||
5203 | End If |
||
5204 | End Try |
||
5205 | |||
5206 | Console.WriteLine("An exception of type " & e.GetType().ToString() & _ |
||
5207 | "was encountered while inserting the data.") |
||
5208 | Console.WriteLine("Neither record was written to database.") |
||
5209 | Finally |
||
5210 | myConnection.Close() |
||
5211 | End Try |
||
5212 | End Sub |
||
5213 | </code>
|
||
5214 | <code lang="C#"> |
||
5215 | public void RunSqlTransaction(string myConnString) |
||
5216 | { |
||
5217 | MySqlConnection myConnection = new MySqlConnection(myConnString); |
||
5218 | myConnection.Open(); |
||
5219 | |||
5220 | MySqlCommand myCommand = myConnection.CreateCommand(); |
||
5221 | MySqlTransaction myTrans; |
||
5222 | |||
5223 | // Start a local transaction |
||
5224 | myTrans = myConnection.BeginTransaction(); |
||
5225 | // Must assign both transaction object and connection |
||
5226 | // to Command object for a pending local transaction |
||
5227 | myCommand.Connection = myConnection; |
||
5228 | myCommand.Transaction = myTrans; |
||
5229 | |||
5230 | try |
||
5231 | { |
||
5232 | myCommand.CommandText = "Insert into mytable (id, desc) VALUES (100, 'Description')"; |
||
5233 | myCommand.ExecuteNonQuery(); |
||
5234 | myCommand.CommandText = "Insert into mytable (id, desc) VALUES (101, 'Description')"; |
||
5235 | myCommand.ExecuteNonQuery(); |
||
5236 | myTrans.Commit(); |
||
5237 | Console.WriteLine("Both records are written to database."); |
||
5238 | } |
||
5239 | catch(Exception e) |
||
5240 | { |
||
5241 | try |
||
5242 | { |
||
5243 | myTrans.Rollback(); |
||
5244 | } |
||
5245 | catch (MySqlException ex) |
||
5246 | { |
||
5247 | if (myTrans.Connection != null) |
||
5248 | { |
||
5249 | Console.WriteLine("An exception of type " + ex.GetType() + |
||
5250 | " was encountered while attempting to roll back the transaction."); |
||
5251 | } |
||
5252 | } |
||
5253 | |||
5254 | Console.WriteLine("An exception of type " + e.GetType() + |
||
5255 | " was encountered while inserting the data."); |
||
5256 | Console.WriteLine("Neither record was written to database."); |
||
5257 | } |
||
5258 | finally |
||
5259 | { |
||
5260 | myConnection.Close(); |
||
5261 | } |
||
5262 | } |
||
5263 | </code>
|
||
5264 | </example>
|
||
5265 | </member>
|
||
5266 | <member name="T:MySql.Data.MySqlClient.MySqlField"> |
||
5267 | <summary>
|
||
5268 | Summary description for Field. |
||
5269 | </summary>
|
||
5270 | </member>
|
||
5271 | <member name="T:MySql.Data.MySqlClient.CustomInstaller"> |
||
5272 | <summary>
|
||
5273 | We are adding a custom installer class to our assembly so our installer |
||
5274 | can make proper changes to the machine.config file. |
||
5275 | </summary>
|
||
5276 | </member>
|
||
5277 | <member name="M:MySql.Data.MySqlClient.CustomInstaller.Install(System.Collections.IDictionary)"> |
||
5278 | <summary>
|
||
5279 | We override Install so we can add our assembly to the proper |
||
5280 | machine.config files. |
||
5281 | </summary>
|
||
5282 | <param name="stateSaver"></param> |
||
5283 | </member>
|
||
5284 | <member name="M:MySql.Data.MySqlClient.CustomInstaller.Uninstall(System.Collections.IDictionary)"> |
||
5285 | <summary>
|
||
5286 | We override Uninstall so we can remove out assembly from the |
||
5287 | machine.config files. |
||
5288 | </summary>
|
||
5289 | <param name="savedState"></param> |
||
5290 | </member>
|
||
5291 | <member name="T:MySql.Data.MySqlClient.BaseCommandInterceptor"> |
||
5292 | <summary>
|
||
5293 | BaseCommandInterceptor is the base class that should be used for all userland |
||
5294 | command interceptors |
||
5295 | </summary>
|
||
5296 | </member>
|
||
5297 | <member name="T:MySql.Data.MySqlClient.CommandInterceptor"> |
||
5298 | <summary>
|
||
5299 | CommandInterceptor is the "manager" class that keeps the list of registered interceptors |
||
5300 | for the given connection. |
||
5301 | </summary>
|
||
5302 | </member>
|
||
5303 | <member name="T:MySql.Data.MySqlClient.Interceptor"> |
||
5304 | <summary>
|
||
5305 | Interceptor is the base class for the "manager" classes such as ExceptionInterceptor, |
||
5306 | CommandInterceptor, etc |
||
5307 | </summary>
|
||
5308 | </member>
|
||
5309 | <member name="T:MySql.Data.MySqlClient.BaseExceptionInterceptor"> |
||
5310 | <summary>
|
||
5311 | BaseExceptionInterceptor is the base class that should be used for all userland |
||
5312 | exception interceptors |
||
5313 | </summary>
|
||
5314 | </member>
|
||
5315 | <member name="T:MySql.Data.MySqlClient.StandardExceptionInterceptor"> |
||
5316 | <summary>
|
||
5317 | StandardExceptionInterceptor is the standard interceptor that simply throws the exception. |
||
5318 | It is the default action. |
||
5319 | </summary>
|
||
5320 | </member>
|
||
5321 | <member name="T:MySql.Data.MySqlClient.ExceptionInterceptor"> |
||
5322 | <summary>
|
||
5323 | ExceptionInterceptor is the "manager" class that keeps the list of registered interceptors |
||
5324 | for the given connection. |
||
5325 | </summary>
|
||
5326 | </member>
|
||
5327 | <member name="M:MySql.Data.MySqlClient.ISSchemaProvider.GetProcedures(System.String[])"> |
||
5328 | <summary>
|
||
5329 | Return schema information about procedures and functions |
||
5330 | Restrictions supported are: |
||
5331 | schema, name, type |
||
5332 | </summary>
|
||
5333 | <param name="restrictions"></param> |
||
5334 | <returns></returns> |
||
5335 | </member>
|
||
5336 | <member name="M:MySql.Data.MySqlClient.ISSchemaProvider.GetProcedureParameters(System.String[],MySql.Data.MySqlClient.MySqlSchemaCollection)"> |
||
5337 | <summary>
|
||
5338 | Return schema information about parameters for procedures and functions |
||
5339 | Restrictions supported are: |
||
5340 | schema, name, type, parameter name |
||
5341 | </summary>
|
||
5342 | </member>
|
||
5343 | <member name="M:MySql.Data.MySqlClient.ISSchemaProvider.InitParameterRow(MySql.Data.MySqlClient.MySqlSchemaRow,MySql.Data.MySqlClient.MySqlSchemaRow)"> |
||
5344 | <summary>
|
||
5345 | Initializes a new row for the procedure parameters table. |
||
5346 | </summary>
|
||
5347 | </member>
|
||
5348 | <member name="M:MySql.Data.MySqlClient.ISSchemaProvider.ParseDataType(MySql.Data.MySqlClient.MySqlSchemaRow,MySql.Data.MySqlClient.MySqlTokenizer)"> |
||
5349 | <summary>
|
||
5350 | Parses out the elements of a procedure parameter data type. |
||
5351 | </summary>
|
||
5352 | </member>
|
||
5353 | <member name="T:MySql.Data.MySqlClient.Memcached.BinaryClient"> |
||
5354 | <summary>
|
||
5355 | Implementation of memcached binary client protocol. |
||
5356 | </summary>
|
||
5357 | <remarks>According to http://code.google.com/p/memcached/wiki/BinaryProtocolRevamped </remarks> |
||
5358 | </member>
|
||
5359 | <member name="M:MySql.Data.MySqlClient.Memcached.BinaryClient.SendCommand(System.Byte,System.Byte,System.String,System.Object,System.TimeSpan,System.Boolean)"> |
||
5360 | <summary>
|
||
5361 | Sends an store command (add, replace, set). |
||
5362 | </summary>
|
||
5363 | <param name="magic"></param> |
||
5364 | <param name="opcode"></param> |
||
5365 | <param name="key"></param> |
||
5366 | <param name="data"></param> |
||
5367 | <param name="expiration"></param> |
||
5368 | </member>
|
||
5369 | <member name="M:MySql.Data.MySqlClient.Memcached.BinaryClient.SendCommand(System.Byte,System.Byte,System.String,System.String@)"> |
||
5370 | <summary>
|
||
5371 | Sends a get command. |
||
5372 | </summary>
|
||
5373 | <param name="magic"></param> |
||
5374 | <param name="opcode"></param> |
||
5375 | <param name="key"></param> |
||
5376 | <param name="value"></param> |
||
5377 | </member>
|
||
5378 | <member name="M:MySql.Data.MySqlClient.Memcached.BinaryClient.SendCommand(System.Byte,System.Byte,System.String)"> |
||
5379 | <summary>
|
||
5380 | Sends a delete command. |
||
5381 | </summary>
|
||
5382 | <param name="magic"></param> |
||
5383 | <param name="opcode"></param> |
||
5384 | <param name="key"></param> |
||
5385 | <param name="value"></param> |
||
5386 | </member>
|
||
5387 | <member name="M:MySql.Data.MySqlClient.Memcached.BinaryClient.SendCommand(System.Byte,System.Byte,System.TimeSpan)"> |
||
5388 | <summary>
|
||
5389 | Sends a command without args (like flush). |
||
5390 | </summary>
|
||
5391 | <param name="magic"></param> |
||
5392 | <param name="opcode"></param> |
||
5393 | <param name="key"></param> |
||
5394 | <param name="value"></param> |
||
5395 | </member>
|
||
5396 | <member name="M:MySql.Data.MySqlClient.Memcached.BinaryClient.SendCommand(System.Byte,System.Byte,System.String,System.Int32)"> |
||
5397 | <summary>
|
||
5398 | Sends a command with amount (INCR/DECR) |
||
5399 | </summary>
|
||
5400 | <param name="magic"></param> |
||
5401 | <param name="opcode"></param> |
||
5402 | <param name="key"></param> |
||
5403 | <param name="value"></param> |
||
5404 | </member>
|
||
5405 | <!-- Badly formed XML comment ignored for member "M:MySql.Data.MySqlClient.Memcached.BinaryClient.EncodeStoreCommand(System.Byte,System.Byte,System.String,System.Object,System.TimeSpan,System.Boolean)" -->
|
||
5406 | <member name="T:MySql.Data.MySqlClient.Memcached.MemcachedException"> |
||
5407 | <summary>
|
||
5408 | The base exception class for all Memcached exceptions. |
||
5409 | </summary>
|
||
5410 | </member>
|
||
5411 | <member name="T:MySql.Data.MySqlClient.Memcached.TextClient"> |
||
5412 | <summary>
|
||
5413 | Implementation of the Memcached text client protocol. |
||
5414 | </summary>
|
||
5415 | </member>
|
||
5416 | <!-- Badly formed XML comment ignored for member "M:MySql.Data.MySqlClient.Memcached.TextClient.SendCommand(System.String,System.String,System.Object,System.TimeSpan,System.UInt64)" -->
|
||
5417 | <!-- Badly formed XML comment ignored for member "M:MySql.Data.MySqlClient.Memcached.TextClient.SendCommand(System.String,System.String,System.Object,System.TimeSpan)" -->
|
||
5418 | <member name="M:MySql.Data.MySqlClient.Memcached.TextClient.SendCommand(System.String,System.String,System.Object)"> |
||
5419 | <summary>
|
||
5420 | Send a command to memcached server. |
||
5421 | </summary>
|
||
5422 | <param name="cmd"></param> |
||
5423 | <param name="key"></param> |
||
5424 | <param name="data"></param> |
||
5425 | <param name="??"></param> |
||
5426 | <remarks>This version is for commands that don't need flags neither expiration fields.</remarks> |
||
5427 | </member>
|
||
5428 | <member name="M:MySql.Data.MySqlClient.Memcached.TextClient.SendCommand(System.String,System.String)"> |
||
5429 | <summary>
|
||
5430 | Sends a command to the server. |
||
5431 | </summary>
|
||
5432 | <param name="cmd"></param> |
||
5433 | <param name="key"></param> |
||
5434 | <remarks>This version is for commands that only require a key</remarks> |
||
5435 | </member>
|
||
5436 | <!-- Badly formed XML comment ignored for member "M:MySql.Data.MySqlClient.Memcached.TextClient.SendCommand(System.String,System.String,System.Int32)" -->
|
||
5437 | <!-- Badly formed XML comment ignored for member "M:MySql.Data.MySqlClient.Memcached.TextClient.SendCommand(System.String,System.TimeSpan)" -->
|
||
5438 | <member name="T:MySql.Data.MySqlClient.Memcached.Client"> |
||
5439 | <summary>
|
||
5440 | An interface of the client memcached protocol. This class is abstract for |
||
5441 | implementation of the Memcached client interface see <see cref="T:MySql.Data.MySqlClient.Memcached.TextClient"/> for the |
||
5442 | text protocol version and <see cref="T:MySql.Data.MySqlClient.Memcached.BinaryClient"/> for the binary protocol version. |
||
5443 | </summary>
|
||
5444 | </member>
|
||
5445 | <member name="F:MySql.Data.MySqlClient.Memcached.Client.port"> |
||
5446 | <summary>
|
||
5447 | The port used by the connection. |
||
5448 | </summary>
|
||
5449 | </member>
|
||
5450 | <member name="F:MySql.Data.MySqlClient.Memcached.Client.server"> |
||
5451 | <summary>
|
||
5452 | The server DNS or IP address used by the connection. |
||
5453 | </summary>
|
||
5454 | </member>
|
||
5455 | <member name="F:MySql.Data.MySqlClient.Memcached.Client.stream"> |
||
5456 | <summary>
|
||
5457 | The network stream used by the connecition. |
||
5458 | </summary>
|
||
5459 | </member>
|
||
5460 | <member name="M:MySql.Data.MySqlClient.Memcached.Client.GetInstance(System.String,System.UInt32,MySql.Data.MySqlClient.Memcached.MemcachedFlags)"> |
||
5461 | <summary>
|
||
5462 | Factory method for creating instances of <see cref="T:MySql.Data.MySqlClient.Memcached.Client"/> that implement a connection with the requested features. |
||
5463 | The connection object returned must be explicitely opened see method <see cref="M:MySql.Data.MySqlClient.Memcached.Client.Open"/>. |
||
5464 | </summary>
|
||
5465 | <param name="server">The Memcached server DNS or IP address.</param> |
||
5466 | <param name="port">The port for the Memcached server</param> |
||
5467 | <param name="flags">A set of flags indicating characterestics requested.</param> |
||
5468 | <returns>An instance of a client connection ready to be used.</returns> |
||
5469 | </member>
|
||
5470 | <member name="M:MySql.Data.MySqlClient.Memcached.Client.Open"> |
||
5471 | <summary>
|
||
5472 | Opens the client connection. |
||
5473 | </summary>
|
||
5474 | </member>
|
||
5475 | <member name="M:MySql.Data.MySqlClient.Memcached.Client.Close"> |
||
5476 | <summary>
|
||
5477 | Closes the client connection. |
||
5478 | </summary>
|
||
5479 | </member>
|
||
5480 | <member name="M:MySql.Data.MySqlClient.Memcached.Client.Add(System.String,System.Object,System.TimeSpan)"> |
||
5481 | <summary>
|
||
5482 | Adds a new key/value pair with the given TimeSpan expiration. |
||
5483 | </summary>
|
||
5484 | <param name="key">The key for identifying the entry.</param> |
||
5485 | <param name="data">The data to associate with the key.</param> |
||
5486 | <param name="expiration">The interval of timespan, use TimeSpan.Zero for no expiration.</param> |
||
5487 | </member>
|
||
5488 | <member name="M:MySql.Data.MySqlClient.Memcached.Client.Append(System.String,System.Object)"> |
||
5489 | <summary>
|
||
5490 | Appens the data to the existing data for the associated key. |
||
5491 | </summary>
|
||
5492 | <param name="key">The key for identifying the entry.</param> |
||
5493 | <param name="data">The data to append with the data associated with the key.</param> |
||
5494 | </member>
|
||
5495 | <member name="M:MySql.Data.MySqlClient.Memcached.Client.Cas(System.String,System.Object,System.TimeSpan,System.UInt64)"> |
||
5496 | <summary>
|
||
5497 | Executes the Check-and-set Memcached operation. |
||
5498 | </summary>
|
||
5499 | <param name="key">The key for identifying the entry.</param> |
||
5500 | <param name="data">The data to use in the CAS.</param> |
||
5501 | <param name="expiration">The interval of timespan, use TimeSpan.Zero for no expiration.</param> |
||
5502 | <param name="casUnique">The CAS unique value to use.</param> |
||
5503 | <exception cref="T:MySql.Data.MySqlClient.Memcached.MemcachedException"></exception> |
||
5504 | </member>
|
||
5505 | <member name="M:MySql.Data.MySqlClient.Memcached.Client.Decrement(System.String,System.Int32)"> |
||
5506 | <summary>
|
||
5507 | Decrements the value associated with a key by the given amount. |
||
5508 | </summary>
|
||
5509 | <param name="key">The key associated with the value to decrement.</param> |
||
5510 | <param name="amount">The amount to decrement the value.</param> |
||
5511 | </member>
|
||
5512 | <member name="M:MySql.Data.MySqlClient.Memcached.Client.Delete(System.String)"> |
||
5513 | <summary>
|
||
5514 | Removes they pair key/value given the specified key. |
||
5515 | </summary>
|
||
5516 | <param name="key"></param> |
||
5517 | </member>
|
||
5518 | <member name="M:MySql.Data.MySqlClient.Memcached.Client.FlushAll(System.TimeSpan)"> |
||
5519 | <summary>
|
||
5520 | Removes all entries from the storage, effectively invalidating the whole cache. |
||
5521 | </summary>
|
||
5522 | <param name="delay">The interval after which the cache will be cleaned. Can be TimeSpan.Zero for immediately.</param> |
||
5523 | </member>
|
||
5524 | <member name="M:MySql.Data.MySqlClient.Memcached.Client.Get(System.String)"> |
||
5525 | <summary>
|
||
5526 | Get the key/value pair associated with a given key. |
||
5527 | </summary>
|
||
5528 | <param name="key">The key for which to returm the key/value.</param> |
||
5529 | <returns>The key/value associated with the key or a MemcachedException if it does not exists.</returns> |
||
5530 | </member>
|
||
5531 | <member name="M:MySql.Data.MySqlClient.Memcached.Client.Increment(System.String,System.Int32)"> |
||
5532 | <summary>
|
||
5533 | Increments the value associated with a key by the given amount. |
||
5534 | </summary>
|
||
5535 | <param name="key">The key associated with the value to increment.</param> |
||
5536 | <param name="amount">The amount to increment the value.</param> |
||
5537 | </member>
|
||
5538 | <member name="M:MySql.Data.MySqlClient.Memcached.Client.Prepend(System.String,System.Object)"> |
||
5539 | <summary>
|
||
5540 | Prepends the data to the existing data for the associated key. |
||
5541 | </summary>
|
||
5542 | <param name="key">The key for identifying the entry.</param> |
||
5543 | <param name="data">The data to append with the data associated with the key.</param> |
||
5544 | </member>
|
||
5545 | <member name="M:MySql.Data.MySqlClient.Memcached.Client.Replace(System.String,System.Object,System.TimeSpan)"> |
||
5546 | <summary>
|
||
5547 | Replaces the value associated with the given key with another value. |
||
5548 | </summary>
|
||
5549 | <param name="key">The key for identifying the entry.</param> |
||
5550 | <param name="data">The data to replace the value associated with the key.</param> |
||
5551 | <param name="expiration">The interval of timespan, use TimeSpan.Zero for no expiration.</param> |
||
5552 | </member>
|
||
5553 | <member name="M:MySql.Data.MySqlClient.Memcached.Client.Set(System.String,System.Object,System.TimeSpan)"> |
||
5554 | <summary>
|
||
5555 | Set the value of a given key. |
||
5556 | </summary>
|
||
5557 | <param name="key">The key for identifying the entry.</param> |
||
5558 | <param name="data">The data to associate with the given key.</param> |
||
5559 | <param name="expiration">The interval of timespan, use TimeSpan.Zero for no expiration.</param> |
||
5560 | </member>
|
||
5561 | <member name="T:MySql.Data.MySqlClient.Memcached.MemcachedFlags"> |
||
5562 | <summary>
|
||
5563 | A set of flags for requesting new instances of connections |
||
5564 | </summary>
|
||
5565 | </member>
|
||
5566 | <member name="F:MySql.Data.MySqlClient.Memcached.MemcachedFlags.TextProtocol"> |
||
5567 | <summary>
|
||
5568 | Requests a connection implememting the text protocol. |
||
5569 | </summary>
|
||
5570 | </member>
|
||
5571 | <member name="F:MySql.Data.MySqlClient.Memcached.MemcachedFlags.BinaryProtocol"> |
||
5572 | <summary>
|
||
5573 | Requests a connection implementing the binary protocol. |
||
5574 | </summary>
|
||
5575 | </member>
|
||
5576 | <member name="F:MySql.Data.MySqlClient.Memcached.MemcachedFlags.Tcp"> |
||
5577 | <summary>
|
||
5578 | Requests a TCP connection. Currently UDP is not supported. |
||
5579 | </summary>
|
||
5580 | </member>
|
||
5581 | <member name="T:MySql.Data.MySqlClient.MySqlClientFactory"> |
||
5582 | <summary>
|
||
5583 | DBProviderFactory implementation for MysqlClient. |
||
5584 | </summary>
|
||
5585 | </member>
|
||
5586 | <member name="F:MySql.Data.MySqlClient.MySqlClientFactory.Instance"> |
||
5587 | <summary>
|
||
5588 | Gets an instance of the <see cref="T:MySql.Data.MySqlClient.MySqlClientFactory"/>. |
||
5589 | This can be used to retrieve strongly typed data objects. |
||
5590 | </summary>
|
||
5591 | </member>
|
||
5592 | <member name="M:MySql.Data.MySqlClient.MySqlClientFactory.CreateCommandBuilder"> |
||
5593 | <summary>
|
||
5594 | Returns a strongly typed <see cref="T:System.Data.Common.DbCommandBuilder"/> instance. |
||
5595 | </summary>
|
||
5596 | <returns>A new strongly typed instance of <b>DbCommandBuilder</b>.</returns> |
||
5597 | </member>
|
||
5598 | <member name="M:MySql.Data.MySqlClient.MySqlClientFactory.CreateCommand"> |
||
5599 | <summary>
|
||
5600 | Returns a strongly typed <see cref="T:System.Data.Common.DbCommand"/> instance. |
||
5601 | </summary>
|
||
5602 | <returns>A new strongly typed instance of <b>DbCommand</b>.</returns> |
||
5603 | </member>
|
||
5604 | <member name="M:MySql.Data.MySqlClient.MySqlClientFactory.CreateConnection"> |
||
5605 | <summary>
|
||
5606 | Returns a strongly typed <see cref="T:System.Data.Common.DbConnection"/> instance. |
||
5607 | </summary>
|
||
5608 | <returns>A new strongly typed instance of <b>DbConnection</b>.</returns> |
||
5609 | </member>
|
||
5610 | <member name="M:MySql.Data.MySqlClient.MySqlClientFactory.CreateDataAdapter"> |
||
5611 | <summary>
|
||
5612 | Returns a strongly typed <see cref="T:System.Data.Common.DbDataAdapter"/> instance. |
||
5613 | </summary>
|
||
5614 | <returns>A new strongly typed instance of <b>DbDataAdapter</b>. </returns> |
||
5615 | </member>
|
||
5616 | <member name="M:MySql.Data.MySqlClient.MySqlClientFactory.CreateParameter"> |
||
5617 | <summary>
|
||
5618 | Returns a strongly typed <see cref="T:System.Data.Common.DbParameter"/> instance. |
||
5619 | </summary>
|
||
5620 | <returns>A new strongly typed instance of <b>DbParameter</b>.</returns> |
||
5621 | </member>
|
||
5622 | <member name="M:MySql.Data.MySqlClient.MySqlClientFactory.CreateConnectionStringBuilder"> |
||
5623 | <summary>
|
||
5624 | Returns a strongly typed <see cref="T:System.Data.Common.DbConnectionStringBuilder"/> instance. |
||
5625 | </summary>
|
||
5626 | <returns>A new strongly typed instance of <b>DbConnectionStringBuilder</b>.</returns> |
||
5627 | </member>
|
||
5628 | <member name="P:MySql.Data.MySqlClient.MySqlClientFactory.CanCreateDataSourceEnumerator"> |
||
5629 | <summary>
|
||
5630 | Returns true if a <b>MySqlDataSourceEnumerator</b> can be created; |
||
5631 | otherwise false. |
||
5632 | </summary>
|
||
5633 | </member>
|
||
5634 | <member name="P:MySql.Data.MySqlClient.MySqlClientFactory.DbServicesType"> |
||
5635 | <summary>
|
||
5636 | Provide a simple caching layer |
||
5637 | </summary>
|
||
5638 | </member>
|
||
5639 | <member name="M:MySql.Data.MySqlClient.MySqlClientPermission.Add(System.String,System.String,System.Data.KeyRestrictionBehavior)"> |
||
5640 | <summary>
|
||
5641 | Adds a new connection string with set of restricted keywords to the MySqlClientPermission object |
||
5642 | </summary>
|
||
5643 | <param name="connectionString">Settings to be used for the connection</param> |
||
5644 | <param name="restrictions">Keywords to define the restrictions</param> |
||
5645 | <param name="behavior">KeyRestrictionBehavior to be used</param> |
||
5646 | </member>
|
||
5647 | <member name="M:MySql.Data.MySqlClient.MySqlClientPermission.Copy"> |
||
5648 | <summary>
|
||
5649 | Returns MySqlClientPermission as an IPermission |
||
5650 | </summary>
|
||
5651 | <returns></returns> |
||
5652 | </member>
|
||
5653 | <member name="T:MySql.Data.MySqlClient.AuthenticationPluginConfigurationElement"> |
||
5654 | <summary>
|
||
5655 | |||
5656 | </summary>
|
||
5657 | </member>
|
||
5658 | <member name="T:MySql.Data.MySqlClient.InterceptorConfigurationElement"> |
||
5659 | <summary>
|
||
5660 | |||
5661 | </summary>
|
||
5662 | </member>
|
||
5663 | <member name="T:MySql.Data.MySqlClient.GenericConfigurationElementCollection`1"> |
||
5664 | <summary>
|
||
5665 | |||
5666 | </summary>
|
||
5667 | <typeparam name="T"></typeparam> |
||
5668 | </member>
|
||
5669 | <member name="T:MySql.Data.MySqlClient.ClientFlags"> |
||
5670 | <summary>
|
||
5671 | Summary description for ClientParam. |
||
5672 | </summary>
|
||
5673 | </member>
|
||
5674 | <member name="T:MySql.Data.MySqlClient.DBCmd"> |
||
5675 | <summary>
|
||
5676 | DB Operations Code |
||
5677 | </summary>
|
||
5678 | </member>
|
||
5679 | <member name="T:MySql.Data.MySqlClient.MySqlDbType"> |
||
5680 | <summary>
|
||
5681 | Specifies MySQL specific data type of a field, property, for use in a <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/>. |
||
5682 | </summary>
|
||
5683 | </member>
|
||
5684 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.Decimal"> |
||
5685 | <summary>
|
||
5686 | <see cref="F:MySql.Data.MySqlClient.MySqlDbType.Decimal"/> |
||
5687 | <para>A fixed precision and scale numeric value between -1038
|
||
5688 | -1 and 10 38 -1.</para>
|
||
5689 | </summary>
|
||
5690 | </member>
|
||
5691 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.Byte"> |
||
5692 | <summary>
|
||
5693 | <see cref="F:MySql.Data.MySqlClient.MySqlDbType.Byte"/><para>The signed range is -128 to 127. The unsigned |
||
5694 | range is 0 to 255.</para>
|
||
5695 | </summary>
|
||
5696 | </member>
|
||
5697 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.Int16"> |
||
5698 | <summary>
|
||
5699 | <see cref="F:MySql.Data.MySqlClient.MySqlDbType.Int16"/><para>A 16-bit signed integer. The signed range is |
||
5700 | -32768 to 32767. The unsigned range is 0 to 65535</para>
|
||
5701 | </summary>
|
||
5702 | </member>
|
||
5703 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.Int24"> |
||
5704 | <summary>
|
||
5705 | Specifies a 24 (3 byte) signed or unsigned value. |
||
5706 | </summary>
|
||
5707 | </member>
|
||
5708 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.Int32"> |
||
5709 | <summary>
|
||
5710 | <see cref="F:MySql.Data.MySqlClient.MySqlDbType.Int32"/><para>A 32-bit signed integer</para> |
||
5711 | </summary>
|
||
5712 | </member>
|
||
5713 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.Int64"> |
||
5714 | <summary>
|
||
5715 | <see cref="F:MySql.Data.MySqlClient.MySqlDbType.Int64"/><para>A 64-bit signed integer.</para> |
||
5716 | </summary>
|
||
5717 | </member>
|
||
5718 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.Float"> |
||
5719 | <summary>
|
||
5720 | <see cref="T:System.Single"/><para>A small (single-precision) floating-point |
||
5721 | number. Allowable values are -3.402823466E+38 to -1.175494351E-38, |
||
5722 | 0, and 1.175494351E-38 to 3.402823466E+38.</para>
|
||
5723 | </summary>
|
||
5724 | </member>
|
||
5725 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.Double"> |
||
5726 | <summary>
|
||
5727 | <see cref="F:MySql.Data.MySqlClient.MySqlDbType.Double"/><para>A normal-size (double-precision) |
||
5728 | floating-point number. Allowable values are -1.7976931348623157E+308 |
||
5729 | to -2.2250738585072014E-308, 0, and 2.2250738585072014E-308 to |
||
5730 | 1.7976931348623157E+308.</para>
|
||
5731 | </summary>
|
||
5732 | </member>
|
||
5733 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.Timestamp"> |
||
5734 | <summary>
|
||
5735 | A timestamp. The range is '1970-01-01 00:00:00' to sometime in the |
||
5736 | year 2037 |
||
5737 | </summary>
|
||
5738 | </member>
|
||
5739 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.Date"> |
||
5740 | <summary>
|
||
5741 | Date The supported range is '1000-01-01' to '9999-12-31'. |
||
5742 | </summary>
|
||
5743 | </member>
|
||
5744 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.Time"> |
||
5745 | <summary>
|
||
5746 | Time <para>The range is '-838:59:59' to '838:59:59'.</para> |
||
5747 | </summary>
|
||
5748 | </member>
|
||
5749 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.DateTime"> |
||
5750 | <summary>
|
||
5751 | DateTime The supported range is '1000-01-01 00:00:00' to |
||
5752 | '9999-12-31 23:59:59'. |
||
5753 | </summary>
|
||
5754 | </member>
|
||
5755 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.Datetime"> |
||
5756 | <summary>
|
||
5757 | Datetime The supported range is '1000-01-01 00:00:00' to |
||
5758 | '9999-12-31 23:59:59'. |
||
5759 | </summary>
|
||
5760 | </member>
|
||
5761 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.Year"> |
||
5762 | <summary>
|
||
5763 | A year in 2- or 4-digit format (default is 4-digit). The |
||
5764 | allowable values are 1901 to 2155, 0000 in the 4-digit year |
||
5765 | format, and 1970-2069 if you use the 2-digit format (70-69). |
||
5766 | </summary>
|
||
5767 | </member>
|
||
5768 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.Newdate"> |
||
5769 | <summary>
|
||
5770 | <b>Obsolete</b> Use Datetime or Date type |
||
5771 | </summary>
|
||
5772 | </member>
|
||
5773 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.VarString"> |
||
5774 | <summary>
|
||
5775 | A variable-length string containing 0 to 65535 characters |
||
5776 | </summary>
|
||
5777 | </member>
|
||
5778 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.Bit"> |
||
5779 | <summary>
|
||
5780 | Bit-field data type |
||
5781 | </summary>
|
||
5782 | </member>
|
||
5783 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.JSON"> |
||
5784 | <summary>
|
||
5785 | JSON |
||
5786 | </summary>
|
||
5787 | </member>
|
||
5788 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.NewDecimal"> |
||
5789 | <summary>
|
||
5790 | New Decimal |
||
5791 | </summary>
|
||
5792 | </member>
|
||
5793 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.Enum"> |
||
5794 | <summary>
|
||
5795 | An enumeration. A string object that can have only one value, |
||
5796 | chosen from the list of values 'value1', 'value2', ..., NULL |
||
5797 | or the special "" error value. An ENUM can have a maximum of |
||
5798 | 65535 distinct values |
||
5799 | </summary>
|
||
5800 | </member>
|
||
5801 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.Set"> |
||
5802 | <summary>
|
||
5803 | A set. A string object that can have zero or more values, each |
||
5804 | of which must be chosen from the list of values 'value1', 'value2', |
||
5805 | ... A SET can have a maximum of 64 members. |
||
5806 | </summary>
|
||
5807 | </member>
|
||
5808 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.TinyBlob"> |
||
5809 | <summary>
|
||
5810 | A binary column with a maximum length of 255 (2^8 - 1) |
||
5811 | characters |
||
5812 | </summary>
|
||
5813 | </member>
|
||
5814 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.MediumBlob"> |
||
5815 | <summary>
|
||
5816 | A binary column with a maximum length of 16777215 (2^24 - 1) bytes. |
||
5817 | </summary>
|
||
5818 | </member>
|
||
5819 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.LongBlob"> |
||
5820 | <summary>
|
||
5821 | A binary column with a maximum length of 4294967295 or |
||
5822 | 4G (2^32 - 1) bytes. |
||
5823 | </summary>
|
||
5824 | </member>
|
||
5825 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.Blob"> |
||
5826 | <summary>
|
||
5827 | A binary column with a maximum length of 65535 (2^16 - 1) bytes. |
||
5828 | </summary>
|
||
5829 | </member>
|
||
5830 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.VarChar"> |
||
5831 | <summary>
|
||
5832 | A variable-length string containing 0 to 255 bytes. |
||
5833 | </summary>
|
||
5834 | </member>
|
||
5835 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.String"> |
||
5836 | <summary>
|
||
5837 | A fixed-length string. |
||
5838 | </summary>
|
||
5839 | </member>
|
||
5840 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.Geometry"> |
||
5841 | <summary>
|
||
5842 | Geometric (GIS) data type. |
||
5843 | </summary>
|
||
5844 | </member>
|
||
5845 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.UByte"> |
||
5846 | <summary>
|
||
5847 | Unsigned 8-bit value. |
||
5848 | </summary>
|
||
5849 | </member>
|
||
5850 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.UInt16"> |
||
5851 | <summary>
|
||
5852 | Unsigned 16-bit value. |
||
5853 | </summary>
|
||
5854 | </member>
|
||
5855 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.UInt24"> |
||
5856 | <summary>
|
||
5857 | Unsigned 24-bit value. |
||
5858 | </summary>
|
||
5859 | </member>
|
||
5860 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.UInt32"> |
||
5861 | <summary>
|
||
5862 | Unsigned 32-bit value. |
||
5863 | </summary>
|
||
5864 | </member>
|
||
5865 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.UInt64"> |
||
5866 | <summary>
|
||
5867 | Unsigned 64-bit value. |
||
5868 | </summary>
|
||
5869 | </member>
|
||
5870 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.Binary"> |
||
5871 | <summary>
|
||
5872 | Fixed length binary string. |
||
5873 | </summary>
|
||
5874 | </member>
|
||
5875 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.VarBinary"> |
||
5876 | <summary>
|
||
5877 | Variable length binary string. |
||
5878 | </summary>
|
||
5879 | </member>
|
||
5880 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.TinyText"> |
||
5881 | <summary>
|
||
5882 | A text column with a maximum length of 255 (2^8 - 1) characters. |
||
5883 | </summary>
|
||
5884 | </member>
|
||
5885 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.MediumText"> |
||
5886 | <summary>
|
||
5887 | A text column with a maximum length of 16777215 (2^24 - 1) characters. |
||
5888 | </summary>
|
||
5889 | </member>
|
||
5890 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.LongText"> |
||
5891 | <summary>
|
||
5892 | A text column with a maximum length of 4294967295 or |
||
5893 | 4G (2^32 - 1) characters. |
||
5894 | </summary>
|
||
5895 | </member>
|
||
5896 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.Text"> |
||
5897 | <summary>
|
||
5898 | A text column with a maximum length of 65535 (2^16 - 1) characters. |
||
5899 | </summary>
|
||
5900 | </member>
|
||
5901 | <member name="F:MySql.Data.MySqlClient.MySqlDbType.Guid"> |
||
5902 | <summary>
|
||
5903 | A guid column |
||
5904 | </summary>
|
||
5905 | </member>
|
||
5906 | <member name="T:MySql.Data.MySqlClient.MySqlConnectionProtocol"> |
||
5907 | <summary>
|
||
5908 | Allows the user to specify the type of connection that should |
||
5909 | be used. |
||
5910 | </summary>
|
||
5911 | </member>
|
||
5912 | <member name="F:MySql.Data.MySqlClient.MySqlConnectionProtocol.Sockets"> |
||
5913 | <summary>
|
||
5914 | TCP/IP style connection. Works everywhere. |
||
5915 | </summary>
|
||
5916 | </member>
|
||
5917 | <member name="F:MySql.Data.MySqlClient.MySqlConnectionProtocol.Pipe"> |
||
5918 | <summary>
|
||
5919 | Named pipe connection. Works only on Windows systems. |
||
5920 | </summary>
|
||
5921 | </member>
|
||
5922 | <member name="F:MySql.Data.MySqlClient.MySqlConnectionProtocol.UnixSocket"> |
||
5923 | <summary>
|
||
5924 | Unix domain socket connection. Works only with Unix systems. |
||
5925 | </summary>
|
||
5926 | </member>
|
||
5927 | <member name="F:MySql.Data.MySqlClient.MySqlConnectionProtocol.SharedMemory"> |
||
5928 | <summary>
|
||
5929 | Shared memory connection. Currently works only with Windows systems. |
||
5930 | </summary>
|
||
5931 | </member>
|
||
5932 | <member name="T:MySql.Data.MySqlClient.MySqlSslMode"> |
||
5933 | <summary>
|
||
5934 | SSL options for connection. |
||
5935 | </summary>
|
||
5936 | </member>
|
||
5937 | <member name="F:MySql.Data.MySqlClient.MySqlSslMode.None"> |
||
5938 | <summary>
|
||
5939 | Do not use SSL. |
||
5940 | </summary>
|
||
5941 | </member>
|
||
5942 | <member name="F:MySql.Data.MySqlClient.MySqlSslMode.Preferred"> |
||
5943 | <summary>
|
||
5944 | Use SSL, if server supports it. |
||
5945 | </summary>
|
||
5946 | </member>
|
||
5947 | <member name="F:MySql.Data.MySqlClient.MySqlSslMode.Required"> |
||
5948 | <summary>
|
||
5949 | Always use SSL. Deny connection if server does not support SSL. |
||
5950 | Do not perform server certificate validation. |
||
5951 | </summary>
|
||
5952 | </member>
|
||
5953 | <member name="F:MySql.Data.MySqlClient.MySqlSslMode.VerifyCA"> |
||
5954 | <summary>
|
||
5955 | Always use SSL. Validate server SSL certificate, but different host name mismatch. |
||
5956 | </summary>
|
||
5957 | </member>
|
||
5958 | <member name="F:MySql.Data.MySqlClient.MySqlSslMode.VerifyFull"> |
||
5959 | <summary>
|
||
5960 | Always use SSL and perform full certificate validation. |
||
5961 | </summary>
|
||
5962 | </member>
|
||
5963 | <member name="T:MySql.Data.MySqlClient.MySqlDriverType"> |
||
5964 | <summary>
|
||
5965 | Specifies the connection types supported |
||
5966 | </summary>
|
||
5967 | </member>
|
||
5968 | <member name="F:MySql.Data.MySqlClient.MySqlDriverType.Native"> |
||
5969 | <summary>
|
||
5970 | Use TCP/IP sockets. |
||
5971 | </summary>
|
||
5972 | </member>
|
||
5973 | <member name="F:MySql.Data.MySqlClient.MySqlDriverType.Client"> |
||
5974 | <summary>
|
||
5975 | Use client library. |
||
5976 | </summary>
|
||
5977 | </member>
|
||
5978 | <member name="F:MySql.Data.MySqlClient.MySqlDriverType.Embedded"> |
||
5979 | <summary>
|
||
5980 | Use MySQL embedded server. |
||
5981 | </summary>
|
||
5982 | </member>
|
||
5983 | <member name="F:MySql.Data.MySqlClient.MySqlCertificateStoreLocation.None"> |
||
5984 | <summary>
|
||
5985 | Do not use certificate store |
||
5986 | </summary>
|
||
5987 | </member>
|
||
5988 | <member name="F:MySql.Data.MySqlClient.MySqlCertificateStoreLocation.CurrentUser"> |
||
5989 | <summary>
|
||
5990 | Use certificate store for the current user |
||
5991 | </summary>
|
||
5992 | </member>
|
||
5993 | <member name="F:MySql.Data.MySqlClient.MySqlCertificateStoreLocation.LocalMachine"> |
||
5994 | <summary>
|
||
5995 | User certificate store for the machine |
||
5996 | </summary>
|
||
5997 | </member>
|
||
5998 | <member name="T:MySql.Data.MySqlClient.MySqlError"> |
||
5999 | <summary>
|
||
6000 | Collection of error codes that can be returned by the server |
||
6001 | </summary>
|
||
6002 | </member>
|
||
6003 | <member name="M:MySql.Data.MySqlClient.MySqlError.#ctor(System.String,System.Int32,System.String)"> |
||
6004 | <summary></summary> |
||
6005 | <param name="level"></param> |
||
6006 | <param name="code"></param> |
||
6007 | <param name="message"></param> |
||
6008 | </member>
|
||
6009 | <member name="P:MySql.Data.MySqlClient.MySqlError.Level"> |
||
6010 | <summary>
|
||
6011 | Error level |
||
6012 | </summary>
|
||
6013 | </member>
|
||
6014 | <member name="P:MySql.Data.MySqlClient.MySqlError.Code"> |
||
6015 | <summary>
|
||
6016 | Error code |
||
6017 | </summary>
|
||
6018 | </member>
|
||
6019 | <member name="P:MySql.Data.MySqlClient.MySqlError.Message"> |
||
6020 | <summary>
|
||
6021 | Error message |
||
6022 | </summary>
|
||
6023 | </member>
|
||
6024 | <member name="T:MySql.Data.MySqlClient.MySqlErrorCode"> |
||
6025 | <summary>
|
||
6026 | Provides a reference to error codes returned by MySQL. |
||
6027 | </summary>
|
||
6028 | </member>
|
||
6029 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.HashCheck"> |
||
6030 | <summary></summary> |
||
6031 | <remarks>ER_HASHCHK</remarks> |
||
6032 | </member>
|
||
6033 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ISAMCheck"> |
||
6034 | <summary></summary> |
||
6035 | <remarks>ER_NISAMCHK</remarks> |
||
6036 | </member>
|
||
6037 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.No"> |
||
6038 | <summary></summary> |
||
6039 | <remarks>ER_NO</remarks> |
||
6040 | </member>
|
||
6041 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.Yes"> |
||
6042 | <summary></summary> |
||
6043 | <remarks>ER_YES</remarks> |
||
6044 | </member>
|
||
6045 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotCreateFile"> |
||
6046 | <summary>The file couldn't be created.</summary> |
||
6047 | <remarks>ER_CANT_CREATE_FILE</remarks> |
||
6048 | </member>
|
||
6049 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotCreateTable"> |
||
6050 | <summary>The table couldn't be created.</summary> |
||
6051 | <remarks>ER_CANT_CREATE_TABLE</remarks> |
||
6052 | </member>
|
||
6053 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotCreateDatabase"> |
||
6054 | <summary>The database couldn't be created.</summary> |
||
6055 | <remarks>ER_CANT_CREATE_DB</remarks> |
||
6056 | </member>
|
||
6057 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DatabaseCreateExists"> |
||
6058 | <summary>The database couldn't be created, it already exists.</summary> |
||
6059 | <remarks>ER_DB_CREATE_EXISTS</remarks> |
||
6060 | </member>
|
||
6061 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DatabaseDropExists"> |
||
6062 | <summary>The database couldn't be dropped, it doesn't exist.</summary> |
||
6063 | <remarks>ER_DB_DROP_EXISTS</remarks> |
||
6064 | </member>
|
||
6065 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DatabaseDropDelete"> |
||
6066 | <summary>The database couldn't be dropped, the file can't be deleted.</summary> |
||
6067 | <remarks>ER_DB_DROP_DELETE</remarks> |
||
6068 | </member>
|
||
6069 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DatabaseDropRemoveDir"> |
||
6070 | <summary>The database couldn't be dropped, the directory can't be deleted.</summary> |
||
6071 | <remarks>ER_DB_DROP_RMDIR</remarks> |
||
6072 | </member>
|
||
6073 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotDeleteFile"> |
||
6074 | <summary>The file couldn't be deleted.</summary> |
||
6075 | <remarks>ER_CANT_DELETE_FILE</remarks> |
||
6076 | </member>
|
||
6077 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotFindSystemRecord"> |
||
6078 | <summary>The record couldn't be read from the system table.</summary> |
||
6079 | <remarks>ER_CANT_FIND_SYSTEM_REC</remarks> |
||
6080 | </member>
|
||
6081 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotGetStatus"> |
||
6082 | <summary>The status couldn't be retrieved.</summary> |
||
6083 | <remarks>ER_CANT_GET_STAT</remarks> |
||
6084 | </member>
|
||
6085 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotGetWorkingDirectory"> |
||
6086 | <summary>The working directory couldn't be retrieved.</summary> |
||
6087 | <remarks>ER_CANT_GET_WD</remarks> |
||
6088 | </member>
|
||
6089 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotLock"> |
||
6090 | <summary>The file couldn't be locked.</summary> |
||
6091 | <remarks>ER_CANT_LOCK</remarks> |
||
6092 | </member>
|
||
6093 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotOpenFile"> |
||
6094 | <summary>The file couldn't be opened.</summary> |
||
6095 | <remarks>ER_CANT_OPEN_FILE</remarks> |
||
6096 | </member>
|
||
6097 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FileNotFound"> |
||
6098 | <summary>The file couldn't be found.</summary> |
||
6099 | <remarks>ER_FILE_NOT_FOUND</remarks> |
||
6100 | </member>
|
||
6101 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotReadDirectory"> |
||
6102 | <summary>The directory couldn't be read.</summary> |
||
6103 | <remarks>ER_CANT_READ_DIR</remarks> |
||
6104 | </member>
|
||
6105 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotSetWorkingDirectory"> |
||
6106 | <summary>The working directory couldn't be entered.</summary> |
||
6107 | <remarks>ER_CANT_SET_WD</remarks> |
||
6108 | </member>
|
||
6109 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CheckRead"> |
||
6110 | <summary>The record changed since it was last read.</summary> |
||
6111 | <remarks>ER_CHECKREAD</remarks> |
||
6112 | </member>
|
||
6113 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DiskFull"> |
||
6114 | <summary>The disk is full.</summary> |
||
6115 | <remarks>ER_DISK_FULL</remarks> |
||
6116 | </member>
|
||
6117 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DuplicateKey"> |
||
6118 | <summary>
|
||
6119 | There is already a key with the given values. |
||
6120 | </summary>
|
||
6121 | </member>
|
||
6122 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ErrorOnClose"> |
||
6123 | <summary>An error occurred when closing the file.</summary> |
||
6124 | <remarks>ER_ERROR_ON_CLOSE</remarks> |
||
6125 | </member>
|
||
6126 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ErrorOnRead"> |
||
6127 | <summary>An error occurred when reading from the file.</summary> |
||
6128 | <remarks>ER_ERROR_ON_READ</remarks> |
||
6129 | </member>
|
||
6130 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ErrorOnRename"> |
||
6131 | <summary>An error occurred when renaming then file.</summary> |
||
6132 | <remarks>ER_ERROR_ON_RENAME</remarks> |
||
6133 | </member>
|
||
6134 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ErrorOnWrite"> |
||
6135 | <summary>An error occurred when writing to the file.</summary> |
||
6136 | <remarks>ER_ERROR_ON_WRITE</remarks> |
||
6137 | </member>
|
||
6138 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FileUsed"> |
||
6139 | <summary>The file is in use.</summary> |
||
6140 | <remarks>ER_FILE_USED</remarks> |
||
6141 | </member>
|
||
6142 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FileSortAborted"> |
||
6143 | <summary>Sorting has been aborted.</summary> |
||
6144 | <remarks>ER_FILSORT_ABORT</remarks> |
||
6145 | </member>
|
||
6146 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FormNotFound"> |
||
6147 | <summary>The view doesn't exist.</summary> |
||
6148 | <remarks>ER_FORM_NOT_FOUND</remarks> |
||
6149 | </member>
|
||
6150 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.GetErrorNumber"> |
||
6151 | <summary>Got the specified error from the table storage engine.</summary> |
||
6152 | <remarks>ER_GET_ERRNO</remarks> |
||
6153 | </member>
|
||
6154 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.IllegalHA"> |
||
6155 | <summary>The table storage engine doesn't support the specified option.</summary> |
||
6156 | <remarks>ER_ILLEGAL_HA</remarks> |
||
6157 | </member>
|
||
6158 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.KeyNotFound"> |
||
6159 | <summary>
|
||
6160 | The specified key was not found. |
||
6161 | </summary>
|
||
6162 | </member>
|
||
6163 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NotFormFile"> |
||
6164 | <summary>The file contains incorrect information.</summary> |
||
6165 | <remarks>ER_NOT_FORM_FILE</remarks> |
||
6166 | </member>
|
||
6167 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NotKeyFile"> |
||
6168 | <summary>The key file is incorrect for the table, it should be repaired.</summary> |
||
6169 | <remarks>ER_NOT_KEYFILE</remarks> |
||
6170 | </member>
|
||
6171 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.OldKeyFile"> |
||
6172 | <summary>The key file is old for the table, it should be repaired.</summary> |
||
6173 | <remarks>ER_OLD_KEYFILE</remarks> |
||
6174 | </member>
|
||
6175 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.OpenAsReadOnly"> |
||
6176 | <summary>The table is read-only</summary> |
||
6177 | <remarks>ER_OPEN_AS_READONLY</remarks> |
||
6178 | </member>
|
||
6179 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.OutOfMemory"> |
||
6180 | <summary>The server is out of memory, it should be restarted.</summary> |
||
6181 | <remarks>ER_OUTOFMEMORY</remarks> |
||
6182 | </member>
|
||
6183 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.OutOfSortMemory"> |
||
6184 | <summary>The server is out of sort-memory, the sort buffer size should be increased.</summary> |
||
6185 | <remarks>ER_OUT_OF_SORTMEMORY</remarks> |
||
6186 | </member>
|
||
6187 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnexepectedEOF"> |
||
6188 | <summary>An unexpected EOF was found when reading from the file.</summary> |
||
6189 | <remarks>ER_UNEXPECTED_EOF</remarks> |
||
6190 | </member>
|
||
6191 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ConnectionCountError"> |
||
6192 | <summary>Too many connections are open.</summary> |
||
6193 | <remarks>ER_CON_COUNT_ERROR</remarks> |
||
6194 | </member>
|
||
6195 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.OutOfResources"> |
||
6196 | <summary>The server is out of resources, check if MySql or some other process is using all available memory.</summary> |
||
6197 | <remarks>ER_OUT_OF_RESOURCES</remarks> |
||
6198 | </member>
|
||
6199 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnableToConnectToHost"> |
||
6200 | <summary>
|
||
6201 | Given when the connection is unable to successfully connect to host. |
||
6202 | </summary>
|
||
6203 | </member>
|
||
6204 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.HandshakeError"> |
||
6205 | <summary>The handshake was invalid.</summary> |
||
6206 | <remarks>ER_HANDSHAKE_ERROR</remarks> |
||
6207 | </member>
|
||
6208 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DatabaseAccessDenied"> |
||
6209 | <summary>Access was denied for the specified user using the specified database.</summary> |
||
6210 | <remarks>ER_DBACCESS_DENIED_ERROR</remarks> |
||
6211 | </member>
|
||
6212 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.AccessDenied"> |
||
6213 | <summary>
|
||
6214 | Normally returned when an incorrect password is given |
||
6215 | </summary>
|
||
6216 | </member>
|
||
6217 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoDatabaseSelected"> |
||
6218 | <summary>No database has been selected.</summary> |
||
6219 | <remarks>ER_NO_DB_ERROR</remarks> |
||
6220 | </member>
|
||
6221 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownCommand"> |
||
6222 | <summary>The command is unknown.</summary> |
||
6223 | <remarks>ER_UNKNOWN_COM_ERROR</remarks> |
||
6224 | </member>
|
||
6225 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ColumnCannotBeNull"> |
||
6226 | <summary>The specified column cannot be NULL.</summary> |
||
6227 | <remarks>ER_BAD_NULL_ERROR</remarks> |
||
6228 | </member>
|
||
6229 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownDatabase"> |
||
6230 | <summary>The specified database is not known.</summary> |
||
6231 | </member>
|
||
6232 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableExists"> |
||
6233 | <summary>The specified table already exists.</summary> |
||
6234 | <remarks>ER_TABLE_EXISTS_ERROR</remarks> |
||
6235 | </member>
|
||
6236 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BadTable"> |
||
6237 | <summary>The specified table is unknown.</summary> |
||
6238 | <remarks>ER_BAD_TABLE_ERROR</remarks> |
||
6239 | </member>
|
||
6240 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NonUnique"> |
||
6241 | <summary>The specified column is ambiguous.</summary> |
||
6242 | <remarks>ER_NON_UNIQ_ERROR</remarks> |
||
6243 | </member>
|
||
6244 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ServerShutdown"> |
||
6245 | <summary>The server is currently being shutdown.</summary> |
||
6246 | <remarks>ER_SERVER_SHUTDOWN</remarks> |
||
6247 | </member>
|
||
6248 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BadFieldError"> |
||
6249 | <summary>The specified columns is unknown.</summary> |
||
6250 | <remarks>ER_BAD_FIELD_ERROR</remarks> |
||
6251 | </member>
|
||
6252 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongFieldWithGroup"> |
||
6253 | <summary>The specified column isn't in GROUP BY.</summary> |
||
6254 | <remarks>ER_WRONG_FIELD_WITH_GROUP</remarks> |
||
6255 | </member>
|
||
6256 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongGroupField"> |
||
6257 | <summary>The specified columns cannot be grouped on.</summary> |
||
6258 | <remarks>ER_WRONG_GROUP_FIELD</remarks> |
||
6259 | </member>
|
||
6260 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongSumSelected"> |
||
6261 | <summary>There are sum functions and columns in the same statement.</summary> |
||
6262 | <remarks>ER_WRONG_SUM_SELECT</remarks> |
||
6263 | </member>
|
||
6264 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongValueCount"> |
||
6265 | <summary>The column count doesn't match the value count.</summary> |
||
6266 | <remarks>ER_WRONG_VALUE_COUNT</remarks> |
||
6267 | </member>
|
||
6268 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooLongIdentifier"> |
||
6269 | <summary>The identifier name is too long.</summary> |
||
6270 | <remarks>ER_TOO_LONG_IDENT</remarks> |
||
6271 | </member>
|
||
6272 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DuplicateFieldName"> |
||
6273 | <summary>The column name is duplicated.</summary> |
||
6274 | <remarks>ER_DUP_FIELDNAME</remarks> |
||
6275 | </member>
|
||
6276 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DuplicateKeyName"> |
||
6277 | <summary>
|
||
6278 | Duplicate Key Name |
||
6279 | </summary>
|
||
6280 | </member>
|
||
6281 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DuplicateKeyEntry"> |
||
6282 | <summary>
|
||
6283 | Duplicate Key Entry |
||
6284 | </summary>
|
||
6285 | </member>
|
||
6286 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongFieldSpecifier"> |
||
6287 | <summary>The column specifier is incorrect.</summary> |
||
6288 | <remarks>ER_WRONG_FIELD_SPEC</remarks> |
||
6289 | </member>
|
||
6290 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ParseError"> |
||
6291 | <summary>An error occurred when parsing the statement.</summary> |
||
6292 | <remarks>ER_PARSE_ERROR</remarks> |
||
6293 | </member>
|
||
6294 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EmptyQuery"> |
||
6295 | <summary>The statement is empty.</summary> |
||
6296 | <remarks>ER_EMPTY_QUERY</remarks> |
||
6297 | </member>
|
||
6298 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NonUniqueTable"> |
||
6299 | <summary>The table alias isn't unique.</summary> |
||
6300 | <remarks>ER_NONUNIQ_TABLE</remarks> |
||
6301 | </member>
|
||
6302 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.InvalidDefault"> |
||
6303 | <summary>The default value is invalid for the specified field.</summary> |
||
6304 | <remarks>ER_INVALID_DEFAULT</remarks> |
||
6305 | </member>
|
||
6306 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MultiplePrimaryKey"> |
||
6307 | <summary>The table has multiple primary keys defined.</summary> |
||
6308 | <remarks>ER_MULTIPLE_PRI_KEY</remarks> |
||
6309 | </member>
|
||
6310 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooManyKeys"> |
||
6311 | <summary>Too many keys were defined for the table.</summary> |
||
6312 | <remarks>ER_TOO_MANY_KEYS</remarks> |
||
6313 | </member>
|
||
6314 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooManyKeysParts"> |
||
6315 | <summary>Too many parts to the keys were defined for the table.</summary> |
||
6316 | <remarks>ER_TOO_MANY_KEY_PARTS</remarks> |
||
6317 | </member>
|
||
6318 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooLongKey"> |
||
6319 | <summary>The specified key is too long</summary> |
||
6320 | <remarks>ER_TOO_LONG_KEY</remarks> |
||
6321 | </member>
|
||
6322 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.KeyColumnDoesNotExist"> |
||
6323 | <summary>The specified key column doesn't exist in the table.</summary> |
||
6324 | <remarks>ER_KEY_COLUMN_DOES_NOT_EXITS</remarks> |
||
6325 | </member>
|
||
6326 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BlobUsedAsKey"> |
||
6327 | <summary>The BLOB column was used as a key, this can't be done.</summary> |
||
6328 | <remarks>ER_BLOB_USED_AS_KEY</remarks> |
||
6329 | </member>
|
||
6330 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooBigFieldLength"> |
||
6331 | <summary>The column length is too big for the specified column type.</summary> |
||
6332 | <remarks>ER_TOO_BIG_FIELDLENGTH</remarks> |
||
6333 | </member>
|
||
6334 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongAutoKey"> |
||
6335 | <summary>There can only be one auto-column, and it must be defined as a PK.</summary> |
||
6336 | <remarks>ER_WRONG_AUTO_KEY</remarks> |
||
6337 | </member>
|
||
6338 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.Ready"> |
||
6339 | <summary>The server is ready to accept connections.</summary> |
||
6340 | <remarks>ER_READY</remarks> |
||
6341 | </member>
|
||
6342 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NormalShutdown"> |
||
6343 | <summary></summary> |
||
6344 | <remarks>ER_NORMAL_SHUTDOWN</remarks> |
||
6345 | </member>
|
||
6346 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.GotSignal"> |
||
6347 | <summary>The server received the specified signal and is aborting.</summary> |
||
6348 | <remarks>ER_GOT_SIGNAL</remarks> |
||
6349 | </member>
|
||
6350 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ShutdownComplete"> |
||
6351 | <summary>The server shutdown is complete.</summary> |
||
6352 | <remarks>ER_SHUTDOWN_COMPLETE</remarks> |
||
6353 | </member>
|
||
6354 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ForcingClose"> |
||
6355 | <summary>The server is forcing close of the specified thread.</summary> |
||
6356 | <remarks>ER_FORCING_CLOSE</remarks> |
||
6357 | </member>
|
||
6358 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.IPSocketError"> |
||
6359 | <summary>An error occurred when creating the IP socket.</summary> |
||
6360 | <remarks>ER_IPSOCK_ERROR</remarks> |
||
6361 | </member>
|
||
6362 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoSuchIndex"> |
||
6363 | <summary>The table has no index like the one used in CREATE INDEX.</summary> |
||
6364 | <remarks>ER_NO_SUCH_INDEX</remarks> |
||
6365 | </member>
|
||
6366 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongFieldTerminators"> |
||
6367 | <summary>The field separator argument is not what is expected, check the manual.</summary> |
||
6368 | <remarks>ER_WRONG_FIELD_TERMINATORS</remarks> |
||
6369 | </member>
|
||
6370 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BlobsAndNoTerminated"> |
||
6371 | <summary>The BLOB columns must terminated, fixed row lengths cannot be used.</summary> |
||
6372 | <remarks>ER_BLOBS_AND_NO_TERMINATED</remarks> |
||
6373 | </member>
|
||
6374 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TextFileNotReadable"> |
||
6375 | <summary>The text file cannot be read.</summary> |
||
6376 | <remarks>ER_TEXTFILE_NOT_READABLE</remarks> |
||
6377 | </member>
|
||
6378 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FileExists"> |
||
6379 | <summary>The specified file already exists.</summary> |
||
6380 | <remarks>ER_FILE_EXISTS_ERROR</remarks> |
||
6381 | </member>
|
||
6382 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LoadInfo"> |
||
6383 | <summary>Information returned by the LOAD statement.</summary> |
||
6384 | <remarks>ER_LOAD_INFO</remarks> |
||
6385 | </member>
|
||
6386 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.AlterInfo"> |
||
6387 | <summary>Information returned by an UPDATE statement.</summary> |
||
6388 | <remarks>ER_ALTER_INFO</remarks> |
||
6389 | </member>
|
||
6390 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongSubKey"> |
||
6391 | <summary>The prefix key is incorrect.</summary> |
||
6392 | <remarks>ER_WRONG_SUB_KEY</remarks> |
||
6393 | </member>
|
||
6394 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotRemoveAllFields"> |
||
6395 | <summary>All columns cannot be removed from a table, use DROP TABLE instead.</summary> |
||
6396 | <remarks>ER_CANT_REMOVE_ALL_FIELDS</remarks> |
||
6397 | </member>
|
||
6398 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotDropFieldOrKey"> |
||
6399 | <summary>Cannot DROP, check that the column or key exists.</summary> |
||
6400 | <remarks>ER_CANT_DROP_FIELD_OR_KEY</remarks> |
||
6401 | </member>
|
||
6402 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.InsertInfo"> |
||
6403 | <summary>Information returned by an INSERT statement.</summary> |
||
6404 | <remarks>ER_INSERT_INFO</remarks> |
||
6405 | </member>
|
||
6406 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UpdateTableUsed"> |
||
6407 | <summary>The target table cannot be specified for update in FROM clause.</summary> |
||
6408 | <remarks>ER_UPDATE_TABLE_USED</remarks> |
||
6409 | </member>
|
||
6410 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoSuchThread"> |
||
6411 | <summary>The specified thread ID is unknown.</summary> |
||
6412 | <remarks>ER_NO_SUCH_THREAD</remarks> |
||
6413 | </member>
|
||
6414 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.KillDenied"> |
||
6415 | <summary>The thread cannot be killed, the current user is not the owner.</summary> |
||
6416 | <remarks>ER_KILL_DENIED_ERROR</remarks> |
||
6417 | </member>
|
||
6418 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoTablesUsed"> |
||
6419 | <summary>No tables used in the statement.</summary> |
||
6420 | <remarks>ER_NO_TABLES_USED</remarks> |
||
6421 | </member>
|
||
6422 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooBigSet"> |
||
6423 | <summary>Too many string have been used for the specified column and SET.</summary> |
||
6424 | <remarks>ER_TOO_BIG_SET</remarks> |
||
6425 | </member>
|
||
6426 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoUniqueLogFile"> |
||
6427 | <summary>A unique filename couldn't be generated.</summary> |
||
6428 | <remarks>ER_NO_UNIQUE_LOGFILE</remarks> |
||
6429 | </member>
|
||
6430 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableNotLockedForWrite"> |
||
6431 | <summary>The specified table was locked with a READ lock, and can't be updated.</summary> |
||
6432 | <remarks>ER_TABLE_NOT_LOCKED_FOR_WRITE</remarks> |
||
6433 | </member>
|
||
6434 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableNotLocked"> |
||
6435 | <summary>The specified table was not locked with LOCK TABLES.</summary> |
||
6436 | <remarks>ER_TABLE_NOT_LOCKED</remarks> |
||
6437 | </member>
|
||
6438 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BlobCannotHaveDefault"> |
||
6439 | <summary>BLOB and Text columns cannot have a default value.</summary> |
||
6440 | <remarks>ER_BLOB_CANT_HAVE_DEFAULT</remarks> |
||
6441 | </member>
|
||
6442 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongDatabaseName"> |
||
6443 | <summary>The specified database name is incorrect.</summary> |
||
6444 | <remarks>ER_WRONG_DB_NAME</remarks> |
||
6445 | </member>
|
||
6446 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongTableName"> |
||
6447 | <summary>The specified table name is incorrect.</summary> |
||
6448 | <remarks>ER_WRONG_TABLE_NAME</remarks> |
||
6449 | </member>
|
||
6450 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooBigSelect"> |
||
6451 | <summary>The SELECT command would examine more than MAX_JOIN_SIZE rows, check the WHERE clause and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is ok.</summary> |
||
6452 | <remarks>ER_TOO_BIG_SELECT</remarks> |
||
6453 | </member>
|
||
6454 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownError"> |
||
6455 | <summary>An unknown error occurred.</summary> |
||
6456 | <remarks>ER_UNKNOWN_ERROR</remarks> |
||
6457 | </member>
|
||
6458 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownProcedure"> |
||
6459 | <summary>The specified procedure is unknown.</summary> |
||
6460 | <remarks>ER_UNKNOWN_PROCEDURE</remarks> |
||
6461 | </member>
|
||
6462 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongParameterCountToProcedure"> |
||
6463 | <summary>The number of parameters provided for the specified procedure is incorrect.</summary> |
||
6464 | <remarks>ER_WRONG_PARAMCOUNT_TO_PROCEDURE</remarks> |
||
6465 | </member>
|
||
6466 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongParametersToProcedure"> |
||
6467 | <summary>The parameters provided for the specified procedure are incorrect.</summary> |
||
6468 | <remarks>ER_WRONG_PARAMETERS_TO_PROCEDURE</remarks> |
||
6469 | </member>
|
||
6470 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownTable"> |
||
6471 | <summary>The specified table is unknown.</summary> |
||
6472 | <remarks>ER_UNKNOWN_TABLE</remarks> |
||
6473 | </member>
|
||
6474 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FieldSpecifiedTwice"> |
||
6475 | <summary>The specified column has been specified twice.</summary> |
||
6476 | <remarks>ER_FIELD_SPECIFIED_TWICE</remarks> |
||
6477 | </member>
|
||
6478 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.InvalidGroupFunctionUse"> |
||
6479 | <summary>The group function has been incorrectly used.</summary> |
||
6480 | <remarks>ER_INVALID_GROUP_FUNC_USE</remarks> |
||
6481 | </member>
|
||
6482 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnsupportedExtenstion"> |
||
6483 | <summary>The specified table uses an extension that doesn't exist in this MySQL version.</summary> |
||
6484 | <remarks>ER_UNSUPPORTED_EXTENSION</remarks> |
||
6485 | </member>
|
||
6486 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableMustHaveColumns"> |
||
6487 | <summary>The table must have at least one column.</summary> |
||
6488 | <remarks>ER_TABLE_MUST_HAVE_COLUMNS</remarks> |
||
6489 | </member>
|
||
6490 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RecordFileFull"> |
||
6491 | <summary>The specified table is full.</summary> |
||
6492 | <remarks>ER_RECORD_FILE_FULL</remarks> |
||
6493 | </member>
|
||
6494 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownCharacterSet"> |
||
6495 | <summary>The specified character set is unknown.</summary> |
||
6496 | <remarks>ER_UNKNOWN_CHARACTER_SET</remarks> |
||
6497 | </member>
|
||
6498 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooManyTables"> |
||
6499 | <summary>Too many tables, MySQL can only use the specified number of tables in a JOIN.</summary> |
||
6500 | <remarks>ER_TOO_MANY_TABLES</remarks> |
||
6501 | </member>
|
||
6502 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooManyFields"> |
||
6503 | <summary>Too many columns</summary> |
||
6504 | <remarks>ER_TOO_MANY_FIELDS</remarks> |
||
6505 | </member>
|
||
6506 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooBigRowSize"> |
||
6507 | <summary>The row size is too large, the maximum row size for the used tables (not counting BLOBS) is specified, change some columns or BLOBS.</summary> |
||
6508 | <remarks>ER_TOO_BIG_ROWSIZE</remarks> |
||
6509 | </member>
|
||
6510 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StackOverrun"> |
||
6511 | <summary>A thread stack overrun occurred. Stack statistics are specified.</summary> |
||
6512 | <remarks>ER_STACK_OVERRUN</remarks> |
||
6513 | </member>
|
||
6514 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongOuterJoin"> |
||
6515 | <summary>A cross dependency was found in the OUTER JOIN, examine the ON conditions.</summary> |
||
6516 | <remarks>ER_WRONG_OUTER_JOIN</remarks> |
||
6517 | </member>
|
||
6518 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NullColumnInIndex"> |
||
6519 | <summary>The table handler doesn't support NULL in the given index, change specified column to be NOT NULL or use another handler.</summary> |
||
6520 | <remarks>ER_NULL_COLUMN_IN_INDEX</remarks> |
||
6521 | </member>
|
||
6522 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotFindUDF"> |
||
6523 | <summary>The specified user defined function cannot be loaded.</summary> |
||
6524 | <remarks>ER_CANT_FIND_UDF</remarks> |
||
6525 | </member>
|
||
6526 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotInitializeUDF"> |
||
6527 | <summary>The specified user defined function cannot be initialised.</summary> |
||
6528 | <remarks>ER_CANT_INITIALIZE_UDF</remarks> |
||
6529 | </member>
|
||
6530 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UDFNoPaths"> |
||
6531 | <summary>No paths are allowed for the shared library.</summary> |
||
6532 | <remarks>ER_UDF_NO_PATHS</remarks> |
||
6533 | </member>
|
||
6534 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UDFExists"> |
||
6535 | <summary>The specified user defined function already exists.</summary> |
||
6536 | <remarks>ER_UDF_EXISTS</remarks> |
||
6537 | </member>
|
||
6538 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotOpenLibrary"> |
||
6539 | <summary>The specified shared library cannot be opened.</summary> |
||
6540 | <remarks>ER_CANT_OPEN_LIBRARY</remarks> |
||
6541 | </member>
|
||
6542 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotFindDLEntry"> |
||
6543 | <summary>The specified symbol cannot be found in the library.</summary> |
||
6544 | <remarks>ER_CANT_FIND_DL_ENTRY</remarks> |
||
6545 | </member>
|
||
6546 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FunctionNotDefined"> |
||
6547 | <summary>The specified function is not defined.</summary> |
||
6548 | <remarks>ER_FUNCTION_NOT_DEFINED</remarks> |
||
6549 | </member>
|
||
6550 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.HostIsBlocked"> |
||
6551 | <summary>The specified host is blocked because of too many connection errors, unblock with 'mysqladmin flush-hosts'.</summary> |
||
6552 | <remarks>ER_HOST_IS_BLOCKED</remarks> |
||
6553 | </member>
|
||
6554 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.HostNotPrivileged"> |
||
6555 | <summary>
|
||
6556 | The given host is not allowed to connect |
||
6557 | </summary>
|
||
6558 | </member>
|
||
6559 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.AnonymousUser"> |
||
6560 | <summary>
|
||
6561 | The anonymous user is not allowed to connect |
||
6562 | </summary>
|
||
6563 | </member>
|
||
6564 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PasswordNotAllowed"> |
||
6565 | <summary>
|
||
6566 | The given password is not allowed |
||
6567 | </summary>
|
||
6568 | </member>
|
||
6569 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PasswordNoMatch"> |
||
6570 | <summary>
|
||
6571 | The given password does not match |
||
6572 | </summary>
|
||
6573 | </member>
|
||
6574 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UpdateInfo"> |
||
6575 | <summary>Information returned by an UPDATE statement.</summary> |
||
6576 | <remarks>ER_UPDATE_INFO</remarks> |
||
6577 | </member>
|
||
6578 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotCreateThread"> |
||
6579 | <summary>A new thread couldn't be created.</summary> |
||
6580 | <remarks>ER_CANT_CREATE_THREAD</remarks> |
||
6581 | </member>
|
||
6582 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongValueCountOnRow"> |
||
6583 | <summary>The column count doesn't match the value count.</summary> |
||
6584 | <remarks>ER_WRONG_VALUE_COUNT_ON_ROW</remarks> |
||
6585 | </member>
|
||
6586 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotReopenTable"> |
||
6587 | <summary>The specified table can't be re-opened.</summary> |
||
6588 | <remarks>ER_CANT_REOPEN_TABLE</remarks> |
||
6589 | </member>
|
||
6590 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.InvalidUseOfNull"> |
||
6591 | <summary>The NULL value has been used incorrectly.</summary> |
||
6592 | <remarks>ER_INVALID_USE_OF_NULL</remarks> |
||
6593 | </member>
|
||
6594 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RegExpError"> |
||
6595 | <summary>The regular expression contains an error.</summary> |
||
6596 | <remarks>ER_REGEXP_ERROR</remarks> |
||
6597 | </member>
|
||
6598 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MixOfGroupFunctionAndFields"> |
||
6599 | <summary>GROUP columns (MIN(), MAX(), COUNT(), ...) cannot be mixes with no GROUP columns if there is not GROUP BY clause.</summary> |
||
6600 | <remarks>ER_MIX_OF_GROUP_FUNC_AND_FIELDS</remarks> |
||
6601 | </member>
|
||
6602 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NonExistingGrant"> |
||
6603 | <summary></summary> |
||
6604 | <remarks>ER_NONEXISTING_GRANT</remarks> |
||
6605 | </member>
|
||
6606 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableAccessDenied"> |
||
6607 | <summary></summary> |
||
6608 | <remarks>ER_TABLEACCESS_DENIED_ERROR</remarks> |
||
6609 | </member>
|
||
6610 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ColumnAccessDenied"> |
||
6611 | <summary></summary> |
||
6612 | <remarks>ER_COLUMNACCESS_DENIED_ERROR</remarks> |
||
6613 | </member>
|
||
6614 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.IllegalGrantForTable"> |
||
6615 | <summary></summary> |
||
6616 | <remarks>ER_ILLEGAL_GRANT_FOR_TABLE</remarks> |
||
6617 | </member>
|
||
6618 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.GrantWrongHostOrUser"> |
||
6619 | <summary></summary> |
||
6620 | <remarks>ER_GRANT_WRONG_HOST_OR_USER</remarks> |
||
6621 | </member>
|
||
6622 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoSuchTable"> |
||
6623 | <summary></summary> |
||
6624 | <remarks>ER_NO_SUCH_TABLE</remarks> |
||
6625 | </member>
|
||
6626 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NonExistingTableGrant"> |
||
6627 | <summary></summary> |
||
6628 | <remarks>ER_NONEXISTING_TABLE_GRANT</remarks> |
||
6629 | </member>
|
||
6630 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NotAllowedCommand"> |
||
6631 | <summary></summary> |
||
6632 | <remarks>ER_NOT_ALLOWED_COMMAND</remarks> |
||
6633 | </member>
|
||
6634 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SyntaxError"> |
||
6635 | <summary></summary> |
||
6636 | <remarks>ER_SYNTAX_ERROR</remarks> |
||
6637 | </member>
|
||
6638 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DelayedCannotChangeLock"> |
||
6639 | <summary></summary> |
||
6640 | <remarks>ER_DELAYED_CANT_CHANGE_LOCK</remarks> |
||
6641 | </member>
|
||
6642 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooManyDelayedThreads"> |
||
6643 | <summary></summary> |
||
6644 | <remarks>ER_TOO_MANY_DELAYED_THREADS</remarks> |
||
6645 | </member>
|
||
6646 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.AbortingConnection"> |
||
6647 | <summary></summary> |
||
6648 | <remarks>ER_ABORTING_CONNECTION</remarks> |
||
6649 | </member>
|
||
6650 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PacketTooLarge"> |
||
6651 | <summary>
|
||
6652 | An attempt was made to send or receive a packet larger than |
||
6653 | max_allowed_packet_size |
||
6654 | </summary>
|
||
6655 | </member>
|
||
6656 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NetReadErrorFromPipe"> |
||
6657 | <summary></summary> |
||
6658 | <remarks>ER_NET_READ_ERROR_FROM_PIPE</remarks> |
||
6659 | </member>
|
||
6660 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NetFCntlError"> |
||
6661 | <summary></summary> |
||
6662 | <remarks>ER_NET_FCNTL_ERROR</remarks> |
||
6663 | </member>
|
||
6664 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NetPacketsOutOfOrder"> |
||
6665 | <summary></summary> |
||
6666 | <remarks>ER_NET_PACKETS_OUT_OF_ORDER</remarks> |
||
6667 | </member>
|
||
6668 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NetUncompressError"> |
||
6669 | <summary></summary> |
||
6670 | <remarks>ER_NET_UNCOMPRESS_ERROR</remarks> |
||
6671 | </member>
|
||
6672 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NetReadError"> |
||
6673 | <summary></summary> |
||
6674 | <remarks>ER_NET_READ_ERROR</remarks> |
||
6675 | </member>
|
||
6676 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NetReadInterrupted"> |
||
6677 | <summary></summary> |
||
6678 | <remarks>ER_NET_READ_INTERRUPTED</remarks> |
||
6679 | </member>
|
||
6680 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NetErrorOnWrite"> |
||
6681 | <summary></summary> |
||
6682 | <remarks>ER_NET_ERROR_ON_WRITE</remarks> |
||
6683 | </member>
|
||
6684 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NetWriteInterrupted"> |
||
6685 | <summary></summary> |
||
6686 | <remarks>ER_NET_WRITE_INTERRUPTED</remarks> |
||
6687 | </member>
|
||
6688 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooLongString"> |
||
6689 | <summary></summary> |
||
6690 | <remarks>ER_TOO_LONG_STRING</remarks> |
||
6691 | </member>
|
||
6692 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableCannotHandleBlob"> |
||
6693 | <summary></summary> |
||
6694 | <remarks>ER_TABLE_CANT_HANDLE_BLOB</remarks> |
||
6695 | </member>
|
||
6696 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableCannotHandleAutoIncrement"> |
||
6697 | <summary></summary> |
||
6698 | <remarks>ER_TABLE_CANT_HANDLE_AUTO_INCREMENT</remarks> |
||
6699 | </member>
|
||
6700 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DelayedInsertTableLocked"> |
||
6701 | <summary></summary> |
||
6702 | <remarks>ER_DELAYED_INSERT_TABLE_LOCKED</remarks> |
||
6703 | </member>
|
||
6704 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongColumnName"> |
||
6705 | <summary></summary> |
||
6706 | <remarks>ER_WRONG_COLUMN_NAME</remarks> |
||
6707 | </member>
|
||
6708 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongKeyColumn"> |
||
6709 | <summary></summary> |
||
6710 | <remarks>ER_WRONG_KEY_COLUMN</remarks> |
||
6711 | </member>
|
||
6712 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongMergeTable"> |
||
6713 | <summary></summary> |
||
6714 | <remarks>ER_WRONG_MRG_TABLE</remarks> |
||
6715 | </member>
|
||
6716 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DuplicateUnique"> |
||
6717 | <summary></summary> |
||
6718 | <remarks>ER_DUP_UNIQUE</remarks> |
||
6719 | </member>
|
||
6720 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BlobKeyWithoutLength"> |
||
6721 | <summary></summary> |
||
6722 | <remarks>ER_BLOB_KEY_WITHOUT_LENGTH</remarks> |
||
6723 | </member>
|
||
6724 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PrimaryCannotHaveNull"> |
||
6725 | <summary></summary> |
||
6726 | <remarks>ER_PRIMARY_CANT_HAVE_NULL</remarks> |
||
6727 | </member>
|
||
6728 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooManyRows"> |
||
6729 | <summary></summary> |
||
6730 | <remarks>ER_TOO_MANY_ROWS</remarks> |
||
6731 | </member>
|
||
6732 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RequiresPrimaryKey"> |
||
6733 | <summary></summary> |
||
6734 | <remarks>ER_REQUIRES_PRIMARY_KEY</remarks> |
||
6735 | </member>
|
||
6736 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoRAIDCompiled"> |
||
6737 | <summary></summary> |
||
6738 | <remarks>ER_NO_RAID_COMPILED</remarks> |
||
6739 | </member>
|
||
6740 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UpdateWithoutKeysInSafeMode"> |
||
6741 | <summary></summary> |
||
6742 | <remarks>ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE</remarks> |
||
6743 | </member>
|
||
6744 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.KeyDoesNotExist"> |
||
6745 | <summary></summary> |
||
6746 | <remarks>ER_KEY_DOES_NOT_EXITS</remarks> |
||
6747 | </member>
|
||
6748 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CheckNoSuchTable"> |
||
6749 | <summary></summary> |
||
6750 | <remarks>ER_CHECK_NO_SUCH_TABLE</remarks> |
||
6751 | </member>
|
||
6752 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CheckNotImplemented"> |
||
6753 | <summary></summary> |
||
6754 | <remarks>ER_CHECK_NOT_IMPLEMENTED</remarks> |
||
6755 | </member>
|
||
6756 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotDoThisDuringATransaction"> |
||
6757 | <summary></summary> |
||
6758 | <remarks>ER_CANT_DO_THIS_DURING_AN_TRANSACTION</remarks> |
||
6759 | </member>
|
||
6760 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ErrorDuringCommit"> |
||
6761 | <summary></summary> |
||
6762 | <remarks>ER_ERROR_DURING_COMMIT</remarks> |
||
6763 | </member>
|
||
6764 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ErrorDuringRollback"> |
||
6765 | <summary></summary> |
||
6766 | <remarks>ER_ERROR_DURING_ROLLBACK</remarks> |
||
6767 | </member>
|
||
6768 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ErrorDuringFlushLogs"> |
||
6769 | <summary></summary> |
||
6770 | <remarks>ER_ERROR_DURING_FLUSH_LOGS</remarks> |
||
6771 | </member>
|
||
6772 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ErrorDuringCheckpoint"> |
||
6773 | <summary></summary> |
||
6774 | <remarks>ER_ERROR_DURING_CHECKPOINT</remarks> |
||
6775 | </member>
|
||
6776 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NewAbortingConnection"> |
||
6777 | <summary></summary> |
||
6778 | <remarks>ER_NEW_ABORTING_CONNECTION</remarks> |
||
6779 | </member>
|
||
6780 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DumpNotImplemented"> |
||
6781 | <summary></summary> |
||
6782 | <remarks>ER_DUMP_NOT_IMPLEMENTED</remarks> |
||
6783 | </member>
|
||
6784 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FlushMasterBinLogClosed"> |
||
6785 | <summary></summary> |
||
6786 | <remarks>ER_FLUSH_MASTER_BINLOG_CLOSED</remarks> |
||
6787 | </member>
|
||
6788 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.IndexRebuild"> |
||
6789 | <summary></summary> |
||
6790 | <remarks>ER_INDEX_REBUILD</remarks> |
||
6791 | </member>
|
||
6792 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MasterError"> |
||
6793 | <summary></summary> |
||
6794 | <remarks>ER_MASTER</remarks> |
||
6795 | </member>
|
||
6796 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MasterNetRead"> |
||
6797 | <summary></summary> |
||
6798 | <remarks>ER_MASTER_NET_READ</remarks> |
||
6799 | </member>
|
||
6800 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MasterNetWrite"> |
||
6801 | <summary></summary> |
||
6802 | <remarks>ER_MASTER_NET_WRITE</remarks> |
||
6803 | </member>
|
||
6804 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FullTextMatchingKeyNotFound"> |
||
6805 | <summary></summary> |
||
6806 | <remarks>ER_FT_MATCHING_KEY_NOT_FOUND</remarks> |
||
6807 | </member>
|
||
6808 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LockOrActiveTransaction"> |
||
6809 | <summary></summary> |
||
6810 | <remarks>ER_LOCK_OR_ACTIVE_TRANSACTION</remarks> |
||
6811 | </member>
|
||
6812 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownSystemVariable"> |
||
6813 | <summary></summary> |
||
6814 | <remarks>ER_UNKNOWN_SYSTEM_VARIABLE</remarks> |
||
6815 | </member>
|
||
6816 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CrashedOnUsage"> |
||
6817 | <summary></summary> |
||
6818 | <remarks>ER_CRASHED_ON_USAGE</remarks> |
||
6819 | </member>
|
||
6820 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CrashedOnRepair"> |
||
6821 | <summary></summary> |
||
6822 | <remarks>ER_CRASHED_ON_REPAIR</remarks> |
||
6823 | </member>
|
||
6824 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningNotCompleteRollback"> |
||
6825 | <summary></summary> |
||
6826 | <remarks>ER_WARNING_NOT_COMPLETE_ROLLBACK</remarks> |
||
6827 | </member>
|
||
6828 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TransactionCacheFull"> |
||
6829 | <summary></summary> |
||
6830 | <remarks>ER_TRANS_CACHE_FULL</remarks> |
||
6831 | </member>
|
||
6832 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveMustStop"> |
||
6833 | <summary></summary> |
||
6834 | <remarks>ER_SLAVE_MUST_STOP</remarks> |
||
6835 | </member>
|
||
6836 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveNotRunning"> |
||
6837 | <summary></summary> |
||
6838 | <remarks>ER_SLAVE_NOT_RUNNING</remarks> |
||
6839 | </member>
|
||
6840 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BadSlave"> |
||
6841 | <summary></summary> |
||
6842 | <remarks>ER_BAD_SLAVE</remarks> |
||
6843 | </member>
|
||
6844 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MasterInfo"> |
||
6845 | <summary></summary> |
||
6846 | <remarks>ER_MASTER_INFO</remarks> |
||
6847 | </member>
|
||
6848 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveThread"> |
||
6849 | <summary></summary> |
||
6850 | <remarks>ER_SLAVE_THREAD</remarks> |
||
6851 | </member>
|
||
6852 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooManyUserConnections"> |
||
6853 | <summary></summary> |
||
6854 | <remarks>ER_TOO_MANY_USER_CONNECTIONS</remarks> |
||
6855 | </member>
|
||
6856 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SetConstantsOnly"> |
||
6857 | <summary></summary> |
||
6858 | <remarks>ER_SET_CONSTANTS_ONLY</remarks> |
||
6859 | </member>
|
||
6860 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LockWaitTimeout"> |
||
6861 | <summary></summary> |
||
6862 | <remarks>ER_LOCK_WAIT_TIMEOUT</remarks> |
||
6863 | </member>
|
||
6864 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LockTableFull"> |
||
6865 | <summary></summary> |
||
6866 | <remarks>ER_LOCK_TABLE_FULL</remarks> |
||
6867 | </member>
|
||
6868 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ReadOnlyTransaction"> |
||
6869 | <summary></summary> |
||
6870 | <remarks>ER_READ_ONLY_TRANSACTION</remarks> |
||
6871 | </member>
|
||
6872 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DropDatabaseWithReadLock"> |
||
6873 | <summary></summary> |
||
6874 | <remarks>ER_DROP_DB_WITH_READ_LOCK</remarks> |
||
6875 | </member>
|
||
6876 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CreateDatabaseWithReadLock"> |
||
6877 | <summary></summary> |
||
6878 | <remarks>ER_CREATE_DB_WITH_READ_LOCK</remarks> |
||
6879 | </member>
|
||
6880 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongArguments"> |
||
6881 | <summary></summary> |
||
6882 | <remarks>ER_WRONG_ARGUMENTS</remarks> |
||
6883 | </member>
|
||
6884 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoPermissionToCreateUser"> |
||
6885 | <summary></summary> |
||
6886 | <remarks>ER_NO_PERMISSION_TO_CREATE_USER</remarks> |
||
6887 | </member>
|
||
6888 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnionTablesInDifferentDirectory"> |
||
6889 | <summary></summary> |
||
6890 | <remarks>ER_UNION_TABLES_IN_DIFFERENT_DIR</remarks> |
||
6891 | </member>
|
||
6892 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LockDeadlock"> |
||
6893 | <summary></summary> |
||
6894 | <remarks>ER_LOCK_DEADLOCK</remarks> |
||
6895 | </member>
|
||
6896 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableCannotHandleFullText"> |
||
6897 | <summary></summary> |
||
6898 | <remarks>ER_TABLE_CANT_HANDLE_FT</remarks> |
||
6899 | </member>
|
||
6900 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotAddForeignConstraint"> |
||
6901 | <summary></summary> |
||
6902 | <remarks>ER_CANNOT_ADD_FOREIGN</remarks> |
||
6903 | </member>
|
||
6904 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoReferencedRow"> |
||
6905 | <summary></summary> |
||
6906 | <remarks>ER_NO_REFERENCED_ROW</remarks> |
||
6907 | </member>
|
||
6908 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RowIsReferenced"> |
||
6909 | <summary></summary> |
||
6910 | <remarks>ER_ROW_IS_REFERENCED</remarks> |
||
6911 | </member>
|
||
6912 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ConnectToMaster"> |
||
6913 | <summary></summary> |
||
6914 | <remarks>ER_CONNECT_TO_MASTER</remarks> |
||
6915 | </member>
|
||
6916 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.QueryOnMaster"> |
||
6917 | <summary></summary> |
||
6918 | <remarks>ER_QUERY_ON_MASTER</remarks> |
||
6919 | </member>
|
||
6920 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ErrorWhenExecutingCommand"> |
||
6921 | <summary></summary> |
||
6922 | <remarks>ER_ERROR_WHEN_EXECUTING_COMMAND</remarks> |
||
6923 | </member>
|
||
6924 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongUsage"> |
||
6925 | <summary></summary> |
||
6926 | <remarks>ER_WRONG_USAGE</remarks> |
||
6927 | </member>
|
||
6928 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongNumberOfColumnsInSelect"> |
||
6929 | <summary></summary> |
||
6930 | <remarks>ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT</remarks> |
||
6931 | </member>
|
||
6932 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotUpdateWithReadLock"> |
||
6933 | <summary></summary> |
||
6934 | <remarks>ER_CANT_UPDATE_WITH_READLOCK</remarks> |
||
6935 | </member>
|
||
6936 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MixingNotAllowed"> |
||
6937 | <summary></summary> |
||
6938 | <remarks>ER_MIXING_NOT_ALLOWED</remarks> |
||
6939 | </member>
|
||
6940 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DuplicateArgument"> |
||
6941 | <summary></summary> |
||
6942 | <remarks>ER_DUP_ARGUMENT</remarks> |
||
6943 | </member>
|
||
6944 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UserLimitReached"> |
||
6945 | <summary></summary> |
||
6946 | <remarks>ER_USER_LIMIT_REACHED</remarks> |
||
6947 | </member>
|
||
6948 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SpecifiedAccessDeniedError"> |
||
6949 | <summary></summary> |
||
6950 | <remarks>ER_SPECIFIC_ACCESS_DENIED_ERROR</remarks> |
||
6951 | </member>
|
||
6952 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LocalVariableError"> |
||
6953 | <summary></summary> |
||
6954 | <remarks>ER_LOCAL_VARIABLE</remarks> |
||
6955 | </member>
|
||
6956 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.GlobalVariableError"> |
||
6957 | <summary></summary> |
||
6958 | <remarks>ER_GLOBAL_VARIABLE</remarks> |
||
6959 | </member>
|
||
6960 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NotDefaultError"> |
||
6961 | <summary></summary> |
||
6962 | <remarks>ER_NO_DEFAULT</remarks> |
||
6963 | </member>
|
||
6964 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongValueForVariable"> |
||
6965 | <summary></summary> |
||
6966 | <remarks>ER_WRONG_VALUE_FOR_VAR</remarks> |
||
6967 | </member>
|
||
6968 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongTypeForVariable"> |
||
6969 | <summary></summary> |
||
6970 | <remarks>ER_WRONG_TYPE_FOR_VAR</remarks> |
||
6971 | </member>
|
||
6972 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.VariableCannotBeRead"> |
||
6973 | <summary></summary> |
||
6974 | <remarks>ER_VAR_CANT_BE_READ</remarks> |
||
6975 | </member>
|
||
6976 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotUseOptionHere"> |
||
6977 | <summary></summary> |
||
6978 | <remarks>ER_CANT_USE_OPTION_HERE</remarks> |
||
6979 | </member>
|
||
6980 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NotSupportedYet"> |
||
6981 | <summary></summary> |
||
6982 | <remarks>ER_NOT_SUPPORTED_YET</remarks> |
||
6983 | </member>
|
||
6984 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MasterFatalErrorReadingBinLog"> |
||
6985 | <summary></summary> |
||
6986 | <remarks>ER_MASTER_FATAL_ERROR_READING_BINLOG</remarks> |
||
6987 | </member>
|
||
6988 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveIgnoredTable"> |
||
6989 | <summary></summary> |
||
6990 | <remarks>ER_SLAVE_IGNORED_TABLE</remarks> |
||
6991 | </member>
|
||
6992 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.IncorrectGlobalLocalVariable"> |
||
6993 | <summary></summary> |
||
6994 | <remarks>ER_INCORRECT_GLOBAL_LOCAL_VAR</remarks> |
||
6995 | </member>
|
||
6996 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongForeignKeyDefinition"> |
||
6997 | <summary></summary> |
||
6998 | <remarks>ER_WRONG_FK_DEF</remarks> |
||
6999 | </member>
|
||
7000 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.KeyReferenceDoesNotMatchTableReference"> |
||
7001 | <summary></summary> |
||
7002 | <remarks>ER_KEY_REF_DO_NOT_MATCH_TABLE_REF</remarks> |
||
7003 | </member>
|
||
7004 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.OpearnColumnsError"> |
||
7005 | <summary></summary> |
||
7006 | <remarks>ER_OPERAND_COLUMNS</remarks> |
||
7007 | </member>
|
||
7008 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SubQueryNoOneRow"> |
||
7009 | <summary></summary> |
||
7010 | <remarks>ER_SUBQUERY_NO_1_ROW</remarks> |
||
7011 | </member>
|
||
7012 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownStatementHandler"> |
||
7013 | <summary></summary> |
||
7014 | <remarks>ER_UNKNOWN_STMT_HANDLER</remarks> |
||
7015 | </member>
|
||
7016 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CorruptHelpDatabase"> |
||
7017 | <summary></summary> |
||
7018 | <remarks>ER_CORRUPT_HELP_DB</remarks> |
||
7019 | </member>
|
||
7020 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CyclicReference"> |
||
7021 | <summary></summary> |
||
7022 | <remarks>ER_CYCLIC_REFERENCE</remarks> |
||
7023 | </member>
|
||
7024 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.AutoConvert"> |
||
7025 | <summary></summary> |
||
7026 | <remarks>ER_AUTO_CONVERT</remarks> |
||
7027 | </member>
|
||
7028 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.IllegalReference"> |
||
7029 | <summary></summary> |
||
7030 | <remarks>ER_ILLEGAL_REFERENCE</remarks> |
||
7031 | </member>
|
||
7032 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DerivedMustHaveAlias"> |
||
7033 | <summary></summary> |
||
7034 | <remarks>ER_DERIVED_MUST_HAVE_ALIAS</remarks> |
||
7035 | </member>
|
||
7036 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SelectReduced"> |
||
7037 | <summary></summary> |
||
7038 | <remarks>ER_SELECT_REDUCED</remarks> |
||
7039 | </member>
|
||
7040 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableNameNotAllowedHere"> |
||
7041 | <summary></summary> |
||
7042 | <remarks>ER_TABLENAME_NOT_ALLOWED_HERE</remarks> |
||
7043 | </member>
|
||
7044 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NotSupportedAuthMode"> |
||
7045 | <summary></summary> |
||
7046 | <remarks>ER_NOT_SUPPORTED_AUTH_MODE</remarks> |
||
7047 | </member>
|
||
7048 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SpatialCannotHaveNull"> |
||
7049 | <summary></summary> |
||
7050 | <remarks>ER_SPATIAL_CANT_HAVE_NULL</remarks> |
||
7051 | </member>
|
||
7052 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CollationCharsetMismatch"> |
||
7053 | <summary></summary> |
||
7054 | <remarks>ER_COLLATION_CHARSET_MISMATCH</remarks> |
||
7055 | </member>
|
||
7056 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveWasRunning"> |
||
7057 | <summary></summary> |
||
7058 | <remarks>ER_SLAVE_WAS_RUNNING</remarks> |
||
7059 | </member>
|
||
7060 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveWasNotRunning"> |
||
7061 | <summary></summary> |
||
7062 | <remarks>ER_SLAVE_WAS_NOT_RUNNING</remarks> |
||
7063 | </member>
|
||
7064 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooBigForUncompress"> |
||
7065 | <summary></summary> |
||
7066 | <remarks>ER_TOO_BIG_FOR_UNCOMPRESS</remarks> |
||
7067 | </member>
|
||
7068 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ZipLibMemoryError"> |
||
7069 | <summary></summary> |
||
7070 | <remarks>ER_ZLIB_Z_MEM_ERROR</remarks> |
||
7071 | </member>
|
||
7072 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ZipLibBufferError"> |
||
7073 | <summary></summary> |
||
7074 | <remarks>ER_ZLIB_Z_BUF_ERROR</remarks> |
||
7075 | </member>
|
||
7076 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ZipLibDataError"> |
||
7077 | <summary></summary> |
||
7078 | <remarks>ER_ZLIB_Z_DATA_ERROR</remarks> |
||
7079 | </member>
|
||
7080 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CutValueGroupConcat"> |
||
7081 | <summary></summary> |
||
7082 | <remarks>ER_CUT_VALUE_GROUP_CONCAT</remarks> |
||
7083 | </member>
|
||
7084 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningTooFewRecords"> |
||
7085 | <summary></summary> |
||
7086 | <remarks>ER_WARN_TOO_FEW_RECORDS</remarks> |
||
7087 | </member>
|
||
7088 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningTooManyRecords"> |
||
7089 | <summary></summary> |
||
7090 | <remarks>ER_WARN_TOO_MANY_RECORDS</remarks> |
||
7091 | </member>
|
||
7092 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningNullToNotNull"> |
||
7093 | <summary></summary> |
||
7094 | <remarks>ER_WARN_NULL_TO_NOTNULL</remarks> |
||
7095 | </member>
|
||
7096 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningDataOutOfRange"> |
||
7097 | <summary></summary> |
||
7098 | <remarks>ER_WARN_DATA_OUT_OF_RANGE</remarks> |
||
7099 | </member>
|
||
7100 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WaningDataTruncated"> |
||
7101 | <summary></summary> |
||
7102 | <remarks>WARN_DATA_TRUNCATED</remarks> |
||
7103 | </member>
|
||
7104 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WaningUsingOtherHandler"> |
||
7105 | <summary></summary> |
||
7106 | <remarks>ER_WARN_USING_OTHER_HANDLER</remarks> |
||
7107 | </member>
|
||
7108 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotAggregateTwoCollations"> |
||
7109 | <summary></summary> |
||
7110 | <remarks>ER_CANT_AGGREGATE_2COLLATIONS</remarks> |
||
7111 | </member>
|
||
7112 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DropUserError"> |
||
7113 | <summary></summary> |
||
7114 | <remarks>ER_DROP_USER</remarks> |
||
7115 | </member>
|
||
7116 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RevokeGrantsError"> |
||
7117 | <summary></summary> |
||
7118 | <remarks>ER_REVOKE_GRANTS</remarks> |
||
7119 | </member>
|
||
7120 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotAggregateThreeCollations"> |
||
7121 | <summary></summary> |
||
7122 | <remarks>ER_CANT_AGGREGATE_3COLLATIONS</remarks> |
||
7123 | </member>
|
||
7124 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotAggregateNCollations"> |
||
7125 | <summary></summary> |
||
7126 | <remarks>ER_CANT_AGGREGATE_NCOLLATIONS</remarks> |
||
7127 | </member>
|
||
7128 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.VariableIsNotStructure"> |
||
7129 | <summary></summary> |
||
7130 | <remarks>ER_VARIABLE_IS_NOT_STRUCT</remarks> |
||
7131 | </member>
|
||
7132 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownCollation"> |
||
7133 | <summary></summary> |
||
7134 | <remarks>ER_UNKNOWN_COLLATION</remarks> |
||
7135 | </member>
|
||
7136 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveIgnoreSSLParameters"> |
||
7137 | <summary></summary> |
||
7138 | <remarks>ER_SLAVE_IGNORED_SSL_PARAMS</remarks> |
||
7139 | </member>
|
||
7140 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ServerIsInSecureAuthMode"> |
||
7141 | <summary></summary> |
||
7142 | <remarks>ER_SERVER_IS_IN_SECURE_AUTH_MODE</remarks> |
||
7143 | </member>
|
||
7144 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WaningFieldResolved"> |
||
7145 | <summary></summary> |
||
7146 | <remarks>ER_WARN_FIELD_RESOLVED</remarks> |
||
7147 | </member>
|
||
7148 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BadSlaveUntilCondition"> |
||
7149 | <summary></summary> |
||
7150 | <remarks>ER_BAD_SLAVE_UNTIL_COND</remarks> |
||
7151 | </member>
|
||
7152 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MissingSkipSlave"> |
||
7153 | <summary></summary> |
||
7154 | <remarks>ER_MISSING_SKIP_SLAVE</remarks> |
||
7155 | </member>
|
||
7156 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ErrorUntilConditionIgnored"> |
||
7157 | <summary></summary> |
||
7158 | <remarks>ER_UNTIL_COND_IGNORED</remarks> |
||
7159 | </member>
|
||
7160 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongNameForIndex"> |
||
7161 | <summary></summary> |
||
7162 | <remarks>ER_WRONG_NAME_FOR_INDEX</remarks> |
||
7163 | </member>
|
||
7164 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongNameForCatalog"> |
||
7165 | <summary></summary> |
||
7166 | <remarks>ER_WRONG_NAME_FOR_CATALOG</remarks> |
||
7167 | </member>
|
||
7168 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningQueryCacheResize"> |
||
7169 | <summary></summary> |
||
7170 | <remarks>ER_WARN_QC_RESIZE</remarks> |
||
7171 | </member>
|
||
7172 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BadFullTextColumn"> |
||
7173 | <summary></summary> |
||
7174 | <remarks>ER_BAD_FT_COLUMN</remarks> |
||
7175 | </member>
|
||
7176 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownKeyCache"> |
||
7177 | <summary></summary> |
||
7178 | <remarks>ER_UNKNOWN_KEY_CACHE</remarks> |
||
7179 | </member>
|
||
7180 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningHostnameWillNotWork"> |
||
7181 | <summary></summary> |
||
7182 | <remarks>ER_WARN_HOSTNAME_WONT_WORK</remarks> |
||
7183 | </member>
|
||
7184 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownStorageEngine"> |
||
7185 | <summary></summary> |
||
7186 | <remarks>ER_UNKNOWN_STORAGE_ENGINE</remarks> |
||
7187 | </member>
|
||
7188 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WaningDeprecatedSyntax"> |
||
7189 | <summary></summary> |
||
7190 | <remarks>ER_WARN_DEPRECATED_SYNTAX</remarks> |
||
7191 | </member>
|
||
7192 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NonUpdateableTable"> |
||
7193 | <summary></summary> |
||
7194 | <remarks>ER_NON_UPDATABLE_TABLE</remarks> |
||
7195 | </member>
|
||
7196 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FeatureDisabled"> |
||
7197 | <summary></summary> |
||
7198 | <remarks>ER_FEATURE_DISABLED</remarks> |
||
7199 | </member>
|
||
7200 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.OptionPreventsStatement"> |
||
7201 | <summary></summary> |
||
7202 | <remarks>ER_OPTION_PREVENTS_STATEMENT</remarks> |
||
7203 | </member>
|
||
7204 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DuplicatedValueInType"> |
||
7205 | <summary></summary> |
||
7206 | <remarks>ER_DUPLICATED_VALUE_IN_TYPE</remarks> |
||
7207 | </member>
|
||
7208 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TruncatedWrongValue"> |
||
7209 | <summary></summary> |
||
7210 | <remarks>ER_TRUNCATED_WRONG_VALUE</remarks> |
||
7211 | </member>
|
||
7212 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooMuchAutoTimestampColumns"> |
||
7213 | <summary></summary> |
||
7214 | <remarks>ER_TOO_MUCH_AUTO_TIMESTAMP_COLS</remarks> |
||
7215 | </member>
|
||
7216 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.InvalidOnUpdate"> |
||
7217 | <summary></summary> |
||
7218 | <remarks>ER_INVALID_ON_UPDATE</remarks> |
||
7219 | </member>
|
||
7220 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnsupportedPreparedStatement"> |
||
7221 | <summary></summary> |
||
7222 | <remarks>ER_UNSUPPORTED_PS</remarks> |
||
7223 | </member>
|
||
7224 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.GetErroMessage"> |
||
7225 | <summary></summary> |
||
7226 | <remarks>ER_GET_ERRMSG</remarks> |
||
7227 | </member>
|
||
7228 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.GetTemporaryErrorMessage"> |
||
7229 | <summary></summary> |
||
7230 | <remarks>ER_GET_TEMPORARY_ERRMSG</remarks> |
||
7231 | </member>
|
||
7232 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownTimeZone"> |
||
7233 | <summary></summary> |
||
7234 | <remarks>ER_UNKNOWN_TIME_ZONE</remarks> |
||
7235 | </member>
|
||
7236 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningInvalidTimestamp"> |
||
7237 | <summary></summary> |
||
7238 | <remarks>ER_WARN_INVALID_TIMESTAMP</remarks> |
||
7239 | </member>
|
||
7240 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.InvalidCharacterString"> |
||
7241 | <summary></summary> |
||
7242 | <remarks>ER_INVALID_CHARACTER_STRING</remarks> |
||
7243 | </member>
|
||
7244 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningAllowedPacketOverflowed"> |
||
7245 | <summary></summary> |
||
7246 | <remarks>ER_WARN_ALLOWED_PACKET_OVERFLOWED</remarks> |
||
7247 | </member>
|
||
7248 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ConflictingDeclarations"> |
||
7249 | <summary></summary> |
||
7250 | <remarks>ER_CONFLICTING_DECLARATIONS</remarks> |
||
7251 | </member>
|
||
7252 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureNoRecursiveCreate"> |
||
7253 | <summary></summary> |
||
7254 | <remarks>ER_SP_NO_RECURSIVE_CREATE</remarks> |
||
7255 | </member>
|
||
7256 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureAlreadyExists"> |
||
7257 | <summary></summary> |
||
7258 | <remarks>ER_SP_ALREADY_EXISTS</remarks> |
||
7259 | </member>
|
||
7260 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureDoesNotExist"> |
||
7261 | <summary></summary> |
||
7262 | <remarks>ER_SP_DOES_NOT_EXIST</remarks> |
||
7263 | </member>
|
||
7264 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureDropFailed"> |
||
7265 | <summary></summary> |
||
7266 | <remarks>ER_SP_DROP_FAILED</remarks> |
||
7267 | </member>
|
||
7268 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureStoreFailed"> |
||
7269 | <summary></summary> |
||
7270 | <remarks>ER_SP_STORE_FAILED</remarks> |
||
7271 | </member>
|
||
7272 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureLiLabelMismatch"> |
||
7273 | <summary></summary> |
||
7274 | <remarks>ER_SP_LILABEL_MISMATCH</remarks> |
||
7275 | </member>
|
||
7276 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureLabelRedefine"> |
||
7277 | <summary></summary> |
||
7278 | <remarks>ER_SP_LABEL_REDEFINE</remarks> |
||
7279 | </member>
|
||
7280 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureLabelMismatch"> |
||
7281 | <summary></summary> |
||
7282 | <remarks>ER_SP_LABEL_MISMATCH</remarks> |
||
7283 | </member>
|
||
7284 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureUninitializedVariable"> |
||
7285 | <summary></summary> |
||
7286 | <remarks>ER_SP_UNINIT_VAR</remarks> |
||
7287 | </member>
|
||
7288 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureBadSelect"> |
||
7289 | <summary></summary> |
||
7290 | <remarks>ER_SP_BADSELECT</remarks> |
||
7291 | </member>
|
||
7292 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureBadReturn"> |
||
7293 | <summary></summary> |
||
7294 | <remarks>ER_SP_BADRETURN</remarks> |
||
7295 | </member>
|
||
7296 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureBadStatement"> |
||
7297 | <summary></summary> |
||
7298 | <remarks>ER_SP_BADSTATEMENT</remarks> |
||
7299 | </member>
|
||
7300 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UpdateLogDeprecatedIgnored"> |
||
7301 | <summary></summary> |
||
7302 | <remarks>ER_UPDATE_LOG_DEPRECATED_IGNORED</remarks> |
||
7303 | </member>
|
||
7304 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UpdateLogDeprecatedTranslated"> |
||
7305 | <summary></summary> |
||
7306 | <remarks>ER_UPDATE_LOG_DEPRECATED_TRANSLATED</remarks> |
||
7307 | </member>
|
||
7308 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.QueryInterrupted"> |
||
7309 | <summary></summary> |
||
7310 | <remarks>ER_QUERY_INTERRUPTED</remarks> |
||
7311 | </member>
|
||
7312 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureNumberOfArguments"> |
||
7313 | <summary></summary> |
||
7314 | <remarks>ER_SP_WRONG_NO_OF_ARGS</remarks> |
||
7315 | </member>
|
||
7316 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureConditionMismatch"> |
||
7317 | <summary></summary> |
||
7318 | <remarks>ER_SP_COND_MISMATCH</remarks> |
||
7319 | </member>
|
||
7320 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureNoReturn"> |
||
7321 | <summary></summary> |
||
7322 | <remarks>ER_SP_NORETURN</remarks> |
||
7323 | </member>
|
||
7324 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureNoReturnEnd"> |
||
7325 | <summary></summary> |
||
7326 | <remarks>ER_SP_NORETURNEND</remarks> |
||
7327 | </member>
|
||
7328 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureBadCursorQuery"> |
||
7329 | <summary></summary> |
||
7330 | <remarks>ER_SP_BAD_CURSOR_QUERY</remarks> |
||
7331 | </member>
|
||
7332 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureBadCursorSelect"> |
||
7333 | <summary></summary> |
||
7334 | <remarks>ER_SP_BAD_CURSOR_SELECT</remarks> |
||
7335 | </member>
|
||
7336 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureCursorMismatch"> |
||
7337 | <summary></summary> |
||
7338 | <remarks>ER_SP_CURSOR_MISMATCH</remarks> |
||
7339 | </member>
|
||
7340 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureAlreadyOpen"> |
||
7341 | <summary></summary> |
||
7342 | <remarks>ER_SP_CURSOR_ALREADY_OPEN</remarks> |
||
7343 | </member>
|
||
7344 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureCursorNotOpen"> |
||
7345 | <summary></summary> |
||
7346 | <remarks>ER_SP_CURSOR_NOT_OPEN</remarks> |
||
7347 | </member>
|
||
7348 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureUndeclaredVariabel"> |
||
7349 | <summary></summary> |
||
7350 | <remarks>ER_SP_UNDECLARED_VAR</remarks> |
||
7351 | </member>
|
||
7352 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureWrongNumberOfFetchArguments"> |
||
7353 | <summary></summary> |
||
7354 | <remarks>ER_SP_WRONG_NO_OF_FETCH_ARGS</remarks> |
||
7355 | </member>
|
||
7356 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureFetchNoData"> |
||
7357 | <summary></summary> |
||
7358 | <remarks>ER_SP_FETCH_NO_DATA</remarks> |
||
7359 | </member>
|
||
7360 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureDuplicateParameter"> |
||
7361 | <summary></summary> |
||
7362 | <remarks>ER_SP_DUP_PARAM</remarks> |
||
7363 | </member>
|
||
7364 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureDuplicateVariable"> |
||
7365 | <summary></summary> |
||
7366 | <remarks>ER_SP_DUP_VAR</remarks> |
||
7367 | </member>
|
||
7368 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureDuplicateCondition"> |
||
7369 | <summary></summary> |
||
7370 | <remarks>ER_SP_DUP_COND</remarks> |
||
7371 | </member>
|
||
7372 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureDuplicateCursor"> |
||
7373 | <summary></summary> |
||
7374 | <remarks>ER_SP_DUP_CURS</remarks> |
||
7375 | </member>
|
||
7376 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureCannotAlter"> |
||
7377 | <summary></summary> |
||
7378 | <remarks>ER_SP_CANT_ALTER</remarks> |
||
7379 | </member>
|
||
7380 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureSubSelectNYI"> |
||
7381 | <summary></summary> |
||
7382 | <remarks>ER_SP_SUBSELECT_NYI</remarks> |
||
7383 | </member>
|
||
7384 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StatementNotAllowedInStoredFunctionOrTrigger"> |
||
7385 | <summary></summary> |
||
7386 | <remarks>ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG</remarks> |
||
7387 | </member>
|
||
7388 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureVariableConditionAfterCursorHandler"> |
||
7389 | <summary></summary> |
||
7390 | <remarks>ER_SP_VARCOND_AFTER_CURSHNDLR</remarks> |
||
7391 | </member>
|
||
7392 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureCursorAfterHandler"> |
||
7393 | <summary></summary> |
||
7394 | <remarks>ER_SP_CURSOR_AFTER_HANDLER</remarks> |
||
7395 | </member>
|
||
7396 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureCaseNotFound"> |
||
7397 | <summary></summary> |
||
7398 | <remarks>ER_SP_CASE_NOT_FOUND</remarks> |
||
7399 | </member>
|
||
7400 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FileParserTooBigFile"> |
||
7401 | <summary></summary> |
||
7402 | <remarks>ER_FPARSER_TOO_BIG_FILE</remarks> |
||
7403 | </member>
|
||
7404 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FileParserBadHeader"> |
||
7405 | <summary></summary> |
||
7406 | <remarks>ER_FPARSER_BAD_HEADER</remarks> |
||
7407 | </member>
|
||
7408 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FileParserEOFInComment"> |
||
7409 | <summary></summary> |
||
7410 | <remarks>ER_FPARSER_EOF_IN_COMMENT</remarks> |
||
7411 | </member>
|
||
7412 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FileParserErrorInParameter"> |
||
7413 | <summary></summary> |
||
7414 | <remarks>ER_FPARSER_ERROR_IN_PARAMETER</remarks> |
||
7415 | </member>
|
||
7416 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FileParserEOFInUnknownParameter"> |
||
7417 | <summary></summary> |
||
7418 | <remarks>ER_FPARSER_EOF_IN_UNKNOWN_PARAMETER</remarks> |
||
7419 | </member>
|
||
7420 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewNoExplain"> |
||
7421 | <summary></summary> |
||
7422 | <remarks>ER_VIEW_NO_EXPLAIN</remarks> |
||
7423 | </member>
|
||
7424 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FrmUnknownType"> |
||
7425 | <summary></summary> |
||
7426 | <remarks>ER_FRM_UNKNOWN_TYPE</remarks> |
||
7427 | </member>
|
||
7428 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongObject"> |
||
7429 | <summary></summary> |
||
7430 | <remarks>ER_WRONG_OBJECT</remarks> |
||
7431 | </member>
|
||
7432 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NonUpdateableColumn"> |
||
7433 | <summary></summary> |
||
7434 | <remarks>ER_NONUPDATEABLE_COLUMN</remarks> |
||
7435 | </member>
|
||
7436 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewSelectDerived"> |
||
7437 | <summary></summary> |
||
7438 | <remarks>ER_VIEW_SELECT_DERIVED</remarks> |
||
7439 | </member>
|
||
7440 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewSelectClause"> |
||
7441 | <summary></summary> |
||
7442 | <remarks>ER_VIEW_SELECT_CLAUSE</remarks> |
||
7443 | </member>
|
||
7444 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewSelectVariable"> |
||
7445 | <summary></summary> |
||
7446 | <remarks>ER_VIEW_SELECT_VARIABLE</remarks> |
||
7447 | </member>
|
||
7448 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewSelectTempTable"> |
||
7449 | <summary></summary> |
||
7450 | <remarks>ER_VIEW_SELECT_TMPTABLE</remarks> |
||
7451 | </member>
|
||
7452 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewWrongList"> |
||
7453 | <summary></summary> |
||
7454 | <remarks>ER_VIEW_WRONG_LIST</remarks> |
||
7455 | </member>
|
||
7456 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningViewMerge"> |
||
7457 | <summary></summary> |
||
7458 | <remarks>ER_WARN_VIEW_MERGE</remarks> |
||
7459 | </member>
|
||
7460 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningViewWithoutKey"> |
||
7461 | <summary></summary> |
||
7462 | <remarks>ER_WARN_VIEW_WITHOUT_KEY</remarks> |
||
7463 | </member>
|
||
7464 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewInvalid"> |
||
7465 | <summary></summary> |
||
7466 | <remarks>ER_VIEW_INVALID</remarks> |
||
7467 | </member>
|
||
7468 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureNoDropStoredProcedure"> |
||
7469 | <summary></summary> |
||
7470 | <remarks>ER_SP_NO_DROP_SP</remarks> |
||
7471 | </member>
|
||
7472 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureGotoInHandler"> |
||
7473 | <summary></summary> |
||
7474 | <remarks>ER_SP_GOTO_IN_HNDLR</remarks> |
||
7475 | </member>
|
||
7476 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TriggerAlreadyExists"> |
||
7477 | <summary></summary> |
||
7478 | <remarks>ER_TRG_ALREADY_EXISTS</remarks> |
||
7479 | </member>
|
||
7480 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TriggerDoesNotExist"> |
||
7481 | <summary></summary> |
||
7482 | <remarks>ER_TRG_DOES_NOT_EXIST</remarks> |
||
7483 | </member>
|
||
7484 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TriggerOnViewOrTempTable"> |
||
7485 | <summary></summary> |
||
7486 | <remarks>ER_TRG_ON_VIEW_OR_TEMP_TABLE</remarks> |
||
7487 | </member>
|
||
7488 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TriggerCannotChangeRow"> |
||
7489 | <summary></summary> |
||
7490 | <remarks>ER_TRG_CANT_CHANGE_ROW</remarks> |
||
7491 | </member>
|
||
7492 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TriggerNoSuchRowInTrigger"> |
||
7493 | <summary></summary> |
||
7494 | <remarks>ER_TRG_NO_SUCH_ROW_IN_TRG</remarks> |
||
7495 | </member>
|
||
7496 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoDefaultForField"> |
||
7497 | <summary></summary> |
||
7498 | <remarks>ER_NO_DEFAULT_FOR_FIELD</remarks> |
||
7499 | </member>
|
||
7500 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DivisionByZero"> |
||
7501 | <summary></summary> |
||
7502 | <remarks>ER_DIVISION_BY_ZERO</remarks> |
||
7503 | </member>
|
||
7504 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TruncatedWrongValueForField"> |
||
7505 | <summary></summary> |
||
7506 | <remarks>ER_TRUNCATED_WRONG_VALUE_FOR_FIELD</remarks> |
||
7507 | </member>
|
||
7508 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.IllegalValueForType"> |
||
7509 | <summary></summary> |
||
7510 | <remarks>ER_ILLEGAL_VALUE_FOR_TYPE</remarks> |
||
7511 | </member>
|
||
7512 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewNonUpdatableCheck"> |
||
7513 | <summary></summary> |
||
7514 | <remarks>ER_VIEW_NONUPD_CHECK</remarks> |
||
7515 | </member>
|
||
7516 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewCheckFailed"> |
||
7517 | <summary></summary> |
||
7518 | <remarks>ER_VIEW_CHECK_FAILED</remarks> |
||
7519 | </member>
|
||
7520 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PrecedureAccessDenied"> |
||
7521 | <summary></summary> |
||
7522 | <remarks>ER_PROCACCESS_DENIED_ERROR</remarks> |
||
7523 | </member>
|
||
7524 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RelayLogFail"> |
||
7525 | <summary></summary> |
||
7526 | <remarks>ER_RELAY_LOG_FAIL</remarks> |
||
7527 | </member>
|
||
7528 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PasswordLength"> |
||
7529 | <summary></summary> |
||
7530 | <remarks>ER_PASSWD_LENGTH</remarks> |
||
7531 | </member>
|
||
7532 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnknownTargetBinLog"> |
||
7533 | <summary></summary> |
||
7534 | <remarks>ER_UNKNOWN_TARGET_BINLOG</remarks> |
||
7535 | </member>
|
||
7536 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.IOErrorLogIndexRead"> |
||
7537 | <summary></summary> |
||
7538 | <remarks>ER_IO_ERR_LOG_INDEX_READ</remarks> |
||
7539 | </member>
|
||
7540 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BinLogPurgeProhibited"> |
||
7541 | <summary></summary> |
||
7542 | <remarks>ER_BINLOG_PURGE_PROHIBITED</remarks> |
||
7543 | </member>
|
||
7544 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FSeekFail"> |
||
7545 | <summary></summary> |
||
7546 | <remarks>ER_FSEEK_FAIL</remarks> |
||
7547 | </member>
|
||
7548 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BinLogPurgeFatalError"> |
||
7549 | <summary></summary> |
||
7550 | <remarks>ER_BINLOG_PURGE_FATAL_ERR</remarks> |
||
7551 | </member>
|
||
7552 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LogInUse"> |
||
7553 | <summary></summary> |
||
7554 | <remarks>ER_LOG_IN_USE</remarks> |
||
7555 | </member>
|
||
7556 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LogPurgeUnknownError"> |
||
7557 | <summary></summary> |
||
7558 | <remarks>ER_LOG_PURGE_UNKNOWN_ERR</remarks> |
||
7559 | </member>
|
||
7560 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RelayLogInit"> |
||
7561 | <summary></summary> |
||
7562 | <remarks>ER_RELAY_LOG_INIT</remarks> |
||
7563 | </member>
|
||
7564 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoBinaryLogging"> |
||
7565 | <summary></summary> |
||
7566 | <remarks>ER_NO_BINARY_LOGGING</remarks> |
||
7567 | </member>
|
||
7568 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ReservedSyntax"> |
||
7569 | <summary></summary> |
||
7570 | <remarks>ER_RESERVED_SYNTAX</remarks> |
||
7571 | </member>
|
||
7572 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WSAStartupFailed"> |
||
7573 | <summary></summary> |
||
7574 | <remarks>ER_WSAS_FAILED</remarks> |
||
7575 | </member>
|
||
7576 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DifferentGroupsProcedure"> |
||
7577 | <summary></summary> |
||
7578 | <remarks>ER_DIFF_GROUPS_PROC</remarks> |
||
7579 | </member>
|
||
7580 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoGroupForProcedure"> |
||
7581 | <summary></summary> |
||
7582 | <remarks>ER_NO_GROUP_FOR_PROC</remarks> |
||
7583 | </member>
|
||
7584 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.OrderWithProcedure"> |
||
7585 | <summary></summary> |
||
7586 | <remarks>ER_ORDER_WITH_PROC</remarks> |
||
7587 | </member>
|
||
7588 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LoggingProhibitsChangingOf"> |
||
7589 | <summary></summary> |
||
7590 | <remarks>ER_LOGGING_PROHIBIT_CHANGING_OF</remarks> |
||
7591 | </member>
|
||
7592 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoFileMapping"> |
||
7593 | <summary></summary> |
||
7594 | <remarks>ER_NO_FILE_MAPPING</remarks> |
||
7595 | </member>
|
||
7596 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongMagic"> |
||
7597 | <summary></summary> |
||
7598 | <remarks>ER_WRONG_MAGIC</remarks> |
||
7599 | </member>
|
||
7600 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PreparedStatementManyParameters"> |
||
7601 | <summary></summary> |
||
7602 | <remarks>ER_PS_MANY_PARAM</remarks> |
||
7603 | </member>
|
||
7604 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.KeyPartZero"> |
||
7605 | <summary></summary> |
||
7606 | <remarks>ER_KEY_PART_0</remarks> |
||
7607 | </member>
|
||
7608 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewChecksum"> |
||
7609 | <summary></summary> |
||
7610 | <remarks>ER_VIEW_CHECKSUM</remarks> |
||
7611 | </member>
|
||
7612 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewMultiUpdate"> |
||
7613 | <summary></summary> |
||
7614 | <remarks>ER_VIEW_MULTIUPDATE</remarks> |
||
7615 | </member>
|
||
7616 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewNoInsertFieldList"> |
||
7617 | <summary></summary> |
||
7618 | <remarks>ER_VIEW_NO_INSERT_FIELD_LIST</remarks> |
||
7619 | </member>
|
||
7620 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewDeleteMergeView"> |
||
7621 | <summary></summary> |
||
7622 | <remarks>ER_VIEW_DELETE_MERGE_VIEW</remarks> |
||
7623 | </member>
|
||
7624 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotUser"> |
||
7625 | <summary></summary> |
||
7626 | <remarks>ER_CANNOT_USER</remarks> |
||
7627 | </member>
|
||
7628 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.XAERNotA"> |
||
7629 | <summary></summary> |
||
7630 | <remarks>ER_XAER_NOTA</remarks> |
||
7631 | </member>
|
||
7632 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.XAERInvalid"> |
||
7633 | <summary></summary> |
||
7634 | <remarks>ER_XAER_INVAL</remarks> |
||
7635 | </member>
|
||
7636 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.XAERRemoveFail"> |
||
7637 | <summary></summary> |
||
7638 | <remarks>ER_XAER_RMFAIL</remarks> |
||
7639 | </member>
|
||
7640 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.XAEROutside"> |
||
7641 | <summary></summary> |
||
7642 | <remarks>ER_XAER_OUTSIDE</remarks> |
||
7643 | </member>
|
||
7644 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.XAERRemoveError"> |
||
7645 | <summary></summary> |
||
7646 | <remarks>ER_XAER_RMERR</remarks> |
||
7647 | </member>
|
||
7648 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.XARBRollback"> |
||
7649 | <summary></summary> |
||
7650 | <remarks>ER_XA_RBROLLBACK</remarks> |
||
7651 | </member>
|
||
7652 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NonExistingProcedureGrant"> |
||
7653 | <summary></summary> |
||
7654 | <remarks>ER_NONEXISTING_PROC_GRANT</remarks> |
||
7655 | </member>
|
||
7656 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ProcedureAutoGrantFail"> |
||
7657 | <summary></summary> |
||
7658 | <remarks>ER_PROC_AUTO_GRANT_FAIL</remarks> |
||
7659 | </member>
|
||
7660 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ProcedureAutoRevokeFail"> |
||
7661 | <summary></summary> |
||
7662 | <remarks>ER_PROC_AUTO_REVOKE_FAIL</remarks> |
||
7663 | </member>
|
||
7664 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DataTooLong"> |
||
7665 | <summary></summary> |
||
7666 | <remarks>ER_DATA_TOO_LONG</remarks> |
||
7667 | </member>
|
||
7668 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureSQLState"> |
||
7669 | <summary></summary> |
||
7670 | <remarks>ER_SP_BAD_SQLSTATE</remarks> |
||
7671 | </member>
|
||
7672 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StartupError"> |
||
7673 | <summary></summary> |
||
7674 | <remarks>ER_STARTUP</remarks> |
||
7675 | </member>
|
||
7676 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LoadFromFixedSizeRowsToVariable"> |
||
7677 | <summary></summary> |
||
7678 | <remarks>ER_LOAD_FROM_FIXED_SIZE_ROWS_TO_VAR</remarks> |
||
7679 | </member>
|
||
7680 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotCreateUserWithGrant"> |
||
7681 | <summary></summary> |
||
7682 | <remarks>ER_CANT_CREATE_USER_WITH_GRANT</remarks> |
||
7683 | </member>
|
||
7684 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongValueForType"> |
||
7685 | <summary></summary> |
||
7686 | <remarks>ER_WRONG_VALUE_FOR_TYPE</remarks> |
||
7687 | </member>
|
||
7688 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableDefinitionChanged"> |
||
7689 | <summary></summary> |
||
7690 | <remarks>ER_TABLE_DEF_CHANGED</remarks> |
||
7691 | </member>
|
||
7692 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureDuplicateHandler"> |
||
7693 | <summary></summary> |
||
7694 | <remarks>ER_SP_DUP_HANDLER</remarks> |
||
7695 | </member>
|
||
7696 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureNotVariableArgument"> |
||
7697 | <summary></summary> |
||
7698 | <remarks>ER_SP_NOT_VAR_ARG</remarks> |
||
7699 | </member>
|
||
7700 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureNoReturnSet"> |
||
7701 | <summary></summary> |
||
7702 | <remarks>ER_SP_NO_RETSET</remarks> |
||
7703 | </member>
|
||
7704 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotCreateGeometryObject"> |
||
7705 | <summary></summary> |
||
7706 | <remarks>ER_CANT_CREATE_GEOMETRY_OBJECT</remarks> |
||
7707 | </member>
|
||
7708 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FailedRoutineBreaksBinLog"> |
||
7709 | <summary></summary> |
||
7710 | <remarks>ER_FAILED_ROUTINE_BREAK_BINLOG</remarks> |
||
7711 | </member>
|
||
7712 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BinLogUnsafeRoutine"> |
||
7713 | <summary></summary> |
||
7714 | <remarks>ER_BINLOG_UNSAFE_ROUTINE</remarks> |
||
7715 | </member>
|
||
7716 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BinLogCreateRoutineNeedSuper"> |
||
7717 | <summary></summary> |
||
7718 | <remarks>ER_BINLOG_CREATE_ROUTINE_NEED_SUPER</remarks> |
||
7719 | </member>
|
||
7720 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ExecuteStatementWithOpenCursor"> |
||
7721 | <summary></summary> |
||
7722 | <remarks>ER_EXEC_STMT_WITH_OPEN_CURSOR</remarks> |
||
7723 | </member>
|
||
7724 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StatementHasNoOpenCursor"> |
||
7725 | <summary></summary> |
||
7726 | <remarks>ER_STMT_HAS_NO_OPEN_CURSOR</remarks> |
||
7727 | </member>
|
||
7728 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CommitNotAllowedIfStoredFunctionOrTrigger"> |
||
7729 | <summary></summary> |
||
7730 | <remarks>ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG</remarks> |
||
7731 | </member>
|
||
7732 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoDefaultForViewField"> |
||
7733 | <summary></summary> |
||
7734 | <remarks>ER_NO_DEFAULT_FOR_VIEW_FIELD</remarks> |
||
7735 | </member>
|
||
7736 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureNoRecursion"> |
||
7737 | <summary></summary> |
||
7738 | <remarks>ER_SP_NO_RECURSION</remarks> |
||
7739 | </member>
|
||
7740 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooBigScale"> |
||
7741 | <summary></summary> |
||
7742 | <remarks>ER_TOO_BIG_SCALE</remarks> |
||
7743 | </member>
|
||
7744 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooBigPrecision"> |
||
7745 | <summary></summary> |
||
7746 | <remarks>ER_TOO_BIG_PRECISION</remarks> |
||
7747 | </member>
|
||
7748 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MBiggerThanD"> |
||
7749 | <summary></summary> |
||
7750 | <remarks>ER_M_BIGGER_THAN_D</remarks> |
||
7751 | </member>
|
||
7752 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongLockOfSystemTable"> |
||
7753 | <summary></summary> |
||
7754 | <remarks>ER_WRONG_LOCK_OF_SYSTEM_TABLE</remarks> |
||
7755 | </member>
|
||
7756 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ConnectToForeignDataSource"> |
||
7757 | <summary></summary> |
||
7758 | <remarks>ER_CONNECT_TO_FOREIGN_DATA_SOURCE</remarks> |
||
7759 | </member>
|
||
7760 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.QueryOnForeignDataSource"> |
||
7761 | <summary></summary> |
||
7762 | <remarks>ER_QUERY_ON_FOREIGN_DATA_SOURCE</remarks> |
||
7763 | </member>
|
||
7764 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ForeignDataSourceDoesNotExist"> |
||
7765 | <summary></summary> |
||
7766 | <remarks>ER_FOREIGN_DATA_SOURCE_DOESNT_EXIST</remarks> |
||
7767 | </member>
|
||
7768 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ForeignDataStringInvalidCannotCreate"> |
||
7769 | <summary></summary> |
||
7770 | <remarks>ER_FOREIGN_DATA_STRING_INVALID_CANT_CREATE</remarks> |
||
7771 | </member>
|
||
7772 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ForeignDataStringInvalid"> |
||
7773 | <summary></summary> |
||
7774 | <remarks>ER_FOREIGN_DATA_STRING_INVALID</remarks> |
||
7775 | </member>
|
||
7776 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotCreateFederatedTable"> |
||
7777 | <summary></summary> |
||
7778 | <remarks>ER_CANT_CREATE_FEDERATED_TABLE</remarks> |
||
7779 | </member>
|
||
7780 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TriggerInWrongSchema"> |
||
7781 | <summary></summary> |
||
7782 | <remarks>ER_TRG_IN_WRONG_SCHEMA</remarks> |
||
7783 | </member>
|
||
7784 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StackOverrunNeedMore"> |
||
7785 | <summary></summary> |
||
7786 | <remarks>ER_STACK_OVERRUN_NEED_MORE</remarks> |
||
7787 | </member>
|
||
7788 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooLongBody"> |
||
7789 | <summary></summary> |
||
7790 | <remarks>ER_TOO_LONG_BODY</remarks> |
||
7791 | </member>
|
||
7792 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningCannotDropDefaultKeyCache"> |
||
7793 | <summary></summary> |
||
7794 | <remarks>ER_WARN_CANT_DROP_DEFAULT_KEYCACHE</remarks> |
||
7795 | </member>
|
||
7796 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooBigDisplayWidth"> |
||
7797 | <summary></summary> |
||
7798 | <remarks>ER_TOO_BIG_DISPLAYWIDTH</remarks> |
||
7799 | </member>
|
||
7800 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.XAERDuplicateID"> |
||
7801 | <summary></summary> |
||
7802 | <remarks>ER_XAER_DUPID</remarks> |
||
7803 | </member>
|
||
7804 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DateTimeFunctionOverflow"> |
||
7805 | <summary></summary> |
||
7806 | <remarks>ER_DATETIME_FUNCTION_OVERFLOW</remarks> |
||
7807 | </member>
|
||
7808 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotUpdateUsedTableInStoredFunctionOrTrigger"> |
||
7809 | <summary></summary> |
||
7810 | <remarks>ER_CANT_UPDATE_USED_TABLE_IN_SF_OR_TRG</remarks> |
||
7811 | </member>
|
||
7812 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewPreventUpdate"> |
||
7813 | <summary></summary> |
||
7814 | <remarks>ER_VIEW_PREVENT_UPDATE</remarks> |
||
7815 | </member>
|
||
7816 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PreparedStatementNoRecursion"> |
||
7817 | <summary></summary> |
||
7818 | <remarks>ER_PS_NO_RECURSION</remarks> |
||
7819 | </member>
|
||
7820 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureCannotSetAutoCommit"> |
||
7821 | <summary></summary> |
||
7822 | <remarks>ER_SP_CANT_SET_AUTOCOMMIT</remarks> |
||
7823 | </member>
|
||
7824 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MalformedDefiner"> |
||
7825 | <summary></summary> |
||
7826 | <remarks>ER_MALFORMED_DEFINER</remarks> |
||
7827 | </member>
|
||
7828 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewFrmNoUser"> |
||
7829 | <summary></summary> |
||
7830 | <remarks>ER_VIEW_FRM_NO_USER</remarks> |
||
7831 | </member>
|
||
7832 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewOtherUser"> |
||
7833 | <summary></summary> |
||
7834 | <remarks>ER_VIEW_OTHER_USER</remarks> |
||
7835 | </member>
|
||
7836 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoSuchUser"> |
||
7837 | <summary></summary> |
||
7838 | <remarks>ER_NO_SUCH_USER</remarks> |
||
7839 | </member>
|
||
7840 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ForbidSchemaChange"> |
||
7841 | <summary></summary> |
||
7842 | <remarks>ER_FORBID_SCHEMA_CHANGE</remarks> |
||
7843 | </member>
|
||
7844 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RowIsReferenced2"> |
||
7845 | <summary></summary> |
||
7846 | <remarks>ER_ROW_IS_REFERENCED_2</remarks> |
||
7847 | </member>
|
||
7848 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoReferencedRow2"> |
||
7849 | <summary></summary> |
||
7850 | <remarks>ER_NO_REFERENCED_ROW_2</remarks> |
||
7851 | </member>
|
||
7852 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureBadVariableShadow"> |
||
7853 | <summary></summary> |
||
7854 | <remarks>ER_SP_BAD_VAR_SHADOW</remarks> |
||
7855 | </member>
|
||
7856 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TriggerNoDefiner"> |
||
7857 | <summary></summary> |
||
7858 | <remarks>ER_TRG_NO_DEFINER</remarks> |
||
7859 | </member>
|
||
7860 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.OldFileFormat"> |
||
7861 | <summary></summary> |
||
7862 | <remarks>ER_OLD_FILE_FORMAT</remarks> |
||
7863 | </member>
|
||
7864 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureRecursionLimit"> |
||
7865 | <summary></summary> |
||
7866 | <remarks>ER_SP_RECURSION_LIMIT</remarks> |
||
7867 | </member>
|
||
7868 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureTableCorrupt"> |
||
7869 | <summary></summary> |
||
7870 | <remarks>ER_SP_PROC_TABLE_CORRUPT</remarks> |
||
7871 | </member>
|
||
7872 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureWrongName"> |
||
7873 | <summary></summary> |
||
7874 | <remarks>ER_SP_WRONG_NAME</remarks> |
||
7875 | </member>
|
||
7876 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableNeedsUpgrade"> |
||
7877 | <summary></summary> |
||
7878 | <remarks>ER_TABLE_NEEDS_UPGRADE</remarks> |
||
7879 | </member>
|
||
7880 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredProcedureNoAggregate"> |
||
7881 | <summary></summary> |
||
7882 | <remarks>ER_SP_NO_AGGREGATE</remarks> |
||
7883 | </member>
|
||
7884 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MaxPreparedStatementCountReached"> |
||
7885 | <summary></summary> |
||
7886 | <remarks>ER_MAX_PREPARED_STMT_COUNT_REACHED</remarks> |
||
7887 | </member>
|
||
7888 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewRecursive"> |
||
7889 | <summary></summary> |
||
7890 | <remarks>ER_VIEW_RECURSIVE</remarks> |
||
7891 | </member>
|
||
7892 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NonGroupingFieldUsed"> |
||
7893 | <summary></summary> |
||
7894 | <remarks>ER_NON_GROUPING_FIELD_USED</remarks> |
||
7895 | </member>
|
||
7896 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableCannotHandleSpatialKeys"> |
||
7897 | <summary></summary> |
||
7898 | <remarks>ER_TABLE_CANT_HANDLE_SPKEYS</remarks> |
||
7899 | </member>
|
||
7900 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoTriggersOnSystemSchema"> |
||
7901 | <summary></summary> |
||
7902 | <remarks>ER_NO_TRIGGERS_ON_SYSTEM_SCHEMA</remarks> |
||
7903 | </member>
|
||
7904 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RemovedSpaces"> |
||
7905 | <summary></summary> |
||
7906 | <remarks>ER_REMOVED_SPACES</remarks> |
||
7907 | </member>
|
||
7908 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.AutoIncrementReadFailed"> |
||
7909 | <summary></summary> |
||
7910 | <remarks>ER_AUTOINC_READ_FAILED</remarks> |
||
7911 | </member>
|
||
7912 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UserNameError"> |
||
7913 | <summary></summary> |
||
7914 | <remarks>ER_USERNAME</remarks> |
||
7915 | </member>
|
||
7916 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.HostNameError"> |
||
7917 | <summary></summary> |
||
7918 | <remarks>ER_HOSTNAME</remarks> |
||
7919 | </member>
|
||
7920 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongStringLength"> |
||
7921 | <summary></summary> |
||
7922 | <remarks>ER_WRONG_STRING_LENGTH</remarks> |
||
7923 | </member>
|
||
7924 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NonInsertableTable"> |
||
7925 | <summary></summary> |
||
7926 | <remarks>ER_NON_INSERTABLE_TABLE</remarks> |
||
7927 | </member>
|
||
7928 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.AdminWrongMergeTable"> |
||
7929 | <summary></summary> |
||
7930 | <remarks>ER_ADMIN_WRONG_MRG_TABLE</remarks> |
||
7931 | </member>
|
||
7932 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooHighLevelOfNestingForSelect"> |
||
7933 | <summary></summary> |
||
7934 | <remarks>ER_TOO_HIGH_LEVEL_OF_NESTING_FOR_SELECT</remarks> |
||
7935 | </member>
|
||
7936 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NameBecomesEmpty"> |
||
7937 | <summary></summary> |
||
7938 | <remarks>ER_NAME_BECOMES_EMPTY</remarks> |
||
7939 | </member>
|
||
7940 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.AmbiguousFieldTerm"> |
||
7941 | <summary></summary> |
||
7942 | <remarks>ER_AMBIGUOUS_FIELD_TERM</remarks> |
||
7943 | </member>
|
||
7944 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ForeignServerExists"> |
||
7945 | <summary></summary> |
||
7946 | <remarks>ER_FOREIGN_SERVER_EXISTS</remarks> |
||
7947 | </member>
|
||
7948 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ForeignServerDoesNotExist"> |
||
7949 | <summary></summary> |
||
7950 | <remarks>ER_FOREIGN_SERVER_DOESNT_EXIST</remarks> |
||
7951 | </member>
|
||
7952 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.IllegalHACreateOption"> |
||
7953 | <summary></summary> |
||
7954 | <remarks>ER_ILLEGAL_HA_CREATE_OPTION</remarks> |
||
7955 | </member>
|
||
7956 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionRequiresValues"> |
||
7957 | <summary></summary> |
||
7958 | <remarks>ER_PARTITION_REQUIRES_VALUES_ERROR</remarks> |
||
7959 | </member>
|
||
7960 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionWrongValues"> |
||
7961 | <summary></summary> |
||
7962 | <remarks>ER_PARTITION_WRONG_VALUES_ERROR</remarks> |
||
7963 | </member>
|
||
7964 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionMaxValue"> |
||
7965 | <summary></summary> |
||
7966 | <remarks>ER_PARTITION_MAXVALUE_ERROR</remarks> |
||
7967 | </member>
|
||
7968 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionSubPartition"> |
||
7969 | <summary></summary> |
||
7970 | <remarks>ER_PARTITION_SUBPARTITION_ERROR</remarks> |
||
7971 | </member>
|
||
7972 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionSubPartMix"> |
||
7973 | <summary></summary> |
||
7974 | <remarks>ER_PARTITION_SUBPART_MIX_ERROR</remarks> |
||
7975 | </member>
|
||
7976 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionWrongNoPart"> |
||
7977 | <summary></summary> |
||
7978 | <remarks>ER_PARTITION_WRONG_NO_PART_ERROR</remarks> |
||
7979 | </member>
|
||
7980 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionWrongNoSubPart"> |
||
7981 | <summary></summary> |
||
7982 | <remarks>ER_PARTITION_WRONG_NO_SUBPART_ERROR</remarks> |
||
7983 | </member>
|
||
7984 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongExpressionInParitionFunction"> |
||
7985 | <summary></summary> |
||
7986 | <remarks>ER_WRONG_EXPR_IN_PARTITION_FUNC_ERROR</remarks> |
||
7987 | </member>
|
||
7988 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoConstantExpressionInRangeOrListError"> |
||
7989 | <summary></summary> |
||
7990 | <remarks>ER_NO_CONST_EXPR_IN_RANGE_OR_LIST_ERROR</remarks> |
||
7991 | </member>
|
||
7992 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FieldNotFoundPartitionErrror"> |
||
7993 | <summary></summary> |
||
7994 | <remarks>ER_FIELD_NOT_FOUND_PART_ERROR</remarks> |
||
7995 | </member>
|
||
7996 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ListOfFieldsOnlyInHash"> |
||
7997 | <summary></summary> |
||
7998 | <remarks>ER_LIST_OF_FIELDS_ONLY_IN_HASH_ERROR</remarks> |
||
7999 | </member>
|
||
8000 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.InconsistentPartitionInfo"> |
||
8001 | <summary></summary> |
||
8002 | <remarks>ER_INCONSISTENT_PARTITION_INFO_ERROR</remarks> |
||
8003 | </member>
|
||
8004 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionFunctionNotAllowed"> |
||
8005 | <summary></summary> |
||
8006 | <remarks>ER_PARTITION_FUNC_NOT_ALLOWED_ERROR</remarks> |
||
8007 | </member>
|
||
8008 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionsMustBeDefined"> |
||
8009 | <summary></summary> |
||
8010 | <remarks>ER_PARTITIONS_MUST_BE_DEFINED_ERROR</remarks> |
||
8011 | </member>
|
||
8012 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RangeNotIncreasing"> |
||
8013 | <summary></summary> |
||
8014 | <remarks>ER_RANGE_NOT_INCREASING_ERROR</remarks> |
||
8015 | </member>
|
||
8016 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.InconsistentTypeOfFunctions"> |
||
8017 | <summary></summary> |
||
8018 | <remarks>ER_INCONSISTENT_TYPE_OF_FUNCTIONS_ERROR</remarks> |
||
8019 | </member>
|
||
8020 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MultipleDefinitionsConstantInListPartition"> |
||
8021 | <summary></summary> |
||
8022 | <remarks>ER_MULTIPLE_DEF_CONST_IN_LIST_PART_ERROR</remarks> |
||
8023 | </member>
|
||
8024 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionEntryError"> |
||
8025 | <summary></summary> |
||
8026 | <remarks>ER_PARTITION_ENTRY_ERROR</remarks> |
||
8027 | </member>
|
||
8028 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.MixHandlerError"> |
||
8029 | <summary></summary> |
||
8030 | <remarks>ER_MIX_HANDLER_ERROR</remarks> |
||
8031 | </member>
|
||
8032 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionNotDefined"> |
||
8033 | <summary></summary> |
||
8034 | <remarks>ER_PARTITION_NOT_DEFINED_ERROR</remarks> |
||
8035 | </member>
|
||
8036 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooManyPartitions"> |
||
8037 | <summary></summary> |
||
8038 | <remarks>ER_TOO_MANY_PARTITIONS_ERROR</remarks> |
||
8039 | </member>
|
||
8040 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SubPartitionError"> |
||
8041 | <summary></summary> |
||
8042 | <remarks>ER_SUBPARTITION_ERROR</remarks> |
||
8043 | </member>
|
||
8044 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotCreateHandlerFile"> |
||
8045 | <summary></summary> |
||
8046 | <remarks>ER_CANT_CREATE_HANDLER_FILE</remarks> |
||
8047 | </member>
|
||
8048 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BlobFieldInPartitionFunction"> |
||
8049 | <summary></summary> |
||
8050 | <remarks>ER_BLOB_FIELD_IN_PART_FUNC_ERROR</remarks> |
||
8051 | </member>
|
||
8052 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UniqueKeyNeedAllFieldsInPartitioningFunction"> |
||
8053 | <summary></summary> |
||
8054 | <remarks>ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF</remarks> |
||
8055 | </member>
|
||
8056 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoPartitions"> |
||
8057 | <summary></summary> |
||
8058 | <remarks>ER_NO_PARTS_ERROR</remarks> |
||
8059 | </member>
|
||
8060 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionManagementOnNoPartitioned"> |
||
8061 | <summary></summary> |
||
8062 | <remarks>ER_PARTITION_MGMT_ON_NONPARTITIONED</remarks> |
||
8063 | </member>
|
||
8064 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ForeignKeyOnPartitioned"> |
||
8065 | <summary></summary> |
||
8066 | <remarks>ER_FOREIGN_KEY_ON_PARTITIONED</remarks> |
||
8067 | </member>
|
||
8068 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DropPartitionNonExistent"> |
||
8069 | <summary></summary> |
||
8070 | <remarks>ER_DROP_PARTITION_NON_EXISTENT</remarks> |
||
8071 | </member>
|
||
8072 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DropLastPartition"> |
||
8073 | <summary></summary> |
||
8074 | <remarks>ER_DROP_LAST_PARTITION</remarks> |
||
8075 | </member>
|
||
8076 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CoalesceOnlyOnHashPartition"> |
||
8077 | <summary></summary> |
||
8078 | <remarks>ER_COALESCE_ONLY_ON_HASH_PARTITION</remarks> |
||
8079 | </member>
|
||
8080 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ReorganizeHashOnlyOnSameNumber"> |
||
8081 | <summary></summary> |
||
8082 | <remarks>ER_REORG_HASH_ONLY_ON_SAME_NO</remarks> |
||
8083 | </member>
|
||
8084 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ReorganizeNoParameter"> |
||
8085 | <summary></summary> |
||
8086 | <remarks>ER_REORG_NO_PARAM_ERROR</remarks> |
||
8087 | </member>
|
||
8088 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.OnlyOnRangeListPartition"> |
||
8089 | <summary></summary> |
||
8090 | <remarks>ER_ONLY_ON_RANGE_LIST_PARTITION</remarks> |
||
8091 | </member>
|
||
8092 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.AddPartitionSubPartition"> |
||
8093 | <summary></summary> |
||
8094 | <remarks>ER_ADD_PARTITION_SUBPART_ERROR</remarks> |
||
8095 | </member>
|
||
8096 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.AddPartitionNoNewPartition"> |
||
8097 | <summary></summary> |
||
8098 | <remarks>ER_ADD_PARTITION_NO_NEW_PARTITION</remarks> |
||
8099 | </member>
|
||
8100 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CoalescePartitionNoPartition"> |
||
8101 | <summary></summary> |
||
8102 | <remarks>ER_COALESCE_PARTITION_NO_PARTITION</remarks> |
||
8103 | </member>
|
||
8104 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ReorganizePartitionNotExist"> |
||
8105 | <summary></summary> |
||
8106 | <remarks>ER_REORG_PARTITION_NOT_EXIST</remarks> |
||
8107 | </member>
|
||
8108 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SameNamePartition"> |
||
8109 | <summary></summary> |
||
8110 | <remarks>ER_SAME_NAME_PARTITION</remarks> |
||
8111 | </member>
|
||
8112 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoBinLog"> |
||
8113 | <summary></summary> |
||
8114 | <remarks>ER_NO_BINLOG_ERROR</remarks> |
||
8115 | </member>
|
||
8116 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ConsecutiveReorganizePartitions"> |
||
8117 | <summary></summary> |
||
8118 | <remarks>ER_CONSECUTIVE_REORG_PARTITIONS</remarks> |
||
8119 | </member>
|
||
8120 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ReorganizeOutsideRange"> |
||
8121 | <summary></summary> |
||
8122 | <remarks>ER_REORG_OUTSIDE_RANGE</remarks> |
||
8123 | </member>
|
||
8124 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionFunctionFailure"> |
||
8125 | <summary></summary> |
||
8126 | <remarks>ER_PARTITION_FUNCTION_FAILURE</remarks> |
||
8127 | </member>
|
||
8128 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionStateError"> |
||
8129 | <summary></summary> |
||
8130 | <remarks>ER_PART_STATE_ERROR</remarks> |
||
8131 | </member>
|
||
8132 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LimitedPartitionRange"> |
||
8133 | <summary></summary> |
||
8134 | <remarks>ER_LIMITED_PART_RANGE</remarks> |
||
8135 | </member>
|
||
8136 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PluginIsNotLoaded"> |
||
8137 | <summary></summary> |
||
8138 | <remarks>ER_PLUGIN_IS_NOT_LOADED</remarks> |
||
8139 | </member>
|
||
8140 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongValue"> |
||
8141 | <summary></summary> |
||
8142 | <remarks>ER_WRONG_VALUE</remarks> |
||
8143 | </member>
|
||
8144 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoPartitionForGivenValue"> |
||
8145 | <summary></summary> |
||
8146 | <remarks>ER_NO_PARTITION_FOR_GIVEN_VALUE</remarks> |
||
8147 | </member>
|
||
8148 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FileGroupOptionOnlyOnce"> |
||
8149 | <summary></summary> |
||
8150 | <remarks>ER_FILEGROUP_OPTION_ONLY_ONCE</remarks> |
||
8151 | </member>
|
||
8152 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CreateFileGroupFailed"> |
||
8153 | <summary></summary> |
||
8154 | <remarks>ER_CREATE_FILEGROUP_FAILED</remarks> |
||
8155 | </member>
|
||
8156 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DropFileGroupFailed"> |
||
8157 | <summary></summary> |
||
8158 | <remarks>ER_DROP_FILEGROUP_FAILED</remarks> |
||
8159 | </member>
|
||
8160 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableSpaceAutoExtend"> |
||
8161 | <summary></summary> |
||
8162 | <remarks>ER_TABLESPACE_AUTO_EXTEND_ERROR</remarks> |
||
8163 | </member>
|
||
8164 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongSizeNumber"> |
||
8165 | <summary></summary> |
||
8166 | <remarks>ER_WRONG_SIZE_NUMBER</remarks> |
||
8167 | </member>
|
||
8168 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SizeOverflow"> |
||
8169 | <summary></summary> |
||
8170 | <remarks>ER_SIZE_OVERFLOW_ERROR</remarks> |
||
8171 | </member>
|
||
8172 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.AlterFileGroupFailed"> |
||
8173 | <summary></summary> |
||
8174 | <remarks>ER_ALTER_FILEGROUP_FAILED</remarks> |
||
8175 | </member>
|
||
8176 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BinLogRowLogginFailed"> |
||
8177 | <summary></summary> |
||
8178 | <remarks>ER_BINLOG_ROW_LOGGING_FAILED</remarks> |
||
8179 | </member>
|
||
8180 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BinLogRowWrongTableDefinition"> |
||
8181 | <summary></summary> |
||
8182 | <remarks>ER_BINLOG_ROW_WRONG_TABLE_DEF</remarks> |
||
8183 | </member>
|
||
8184 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BinLogRowRBRToSBR"> |
||
8185 | <summary></summary> |
||
8186 | <remarks>ER_BINLOG_ROW_RBR_TO_SBR</remarks> |
||
8187 | </member>
|
||
8188 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventAlreadyExists"> |
||
8189 | <summary></summary> |
||
8190 | <remarks>ER_EVENT_ALREADY_EXISTS</remarks> |
||
8191 | </member>
|
||
8192 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventStoreFailed"> |
||
8193 | <summary></summary> |
||
8194 | <remarks>ER_EVENT_STORE_FAILED</remarks> |
||
8195 | </member>
|
||
8196 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventDoesNotExist"> |
||
8197 | <summary></summary> |
||
8198 | <remarks>ER_EVENT_DOES_NOT_EXIST</remarks> |
||
8199 | </member>
|
||
8200 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventCannotAlter"> |
||
8201 | <summary></summary> |
||
8202 | <remarks>ER_EVENT_CANT_ALTER</remarks> |
||
8203 | </member>
|
||
8204 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventDropFailed"> |
||
8205 | <summary></summary> |
||
8206 | <remarks>ER_EVENT_DROP_FAILED</remarks> |
||
8207 | </member>
|
||
8208 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventIntervalNotPositiveOrTooBig"> |
||
8209 | <summary></summary> |
||
8210 | <remarks>ER_EVENT_INTERVAL_NOT_POSITIVE_OR_TOO_BIG</remarks> |
||
8211 | </member>
|
||
8212 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventEndsBeforeStarts"> |
||
8213 | <summary></summary> |
||
8214 | <remarks>ER_EVENT_ENDS_BEFORE_STARTS</remarks> |
||
8215 | </member>
|
||
8216 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventExecTimeInThePast"> |
||
8217 | <summary></summary> |
||
8218 | <remarks>ER_EVENT_EXEC_TIME_IN_THE_PAST</remarks> |
||
8219 | </member>
|
||
8220 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventOpenTableFailed"> |
||
8221 | <summary></summary> |
||
8222 | <remarks>ER_EVENT_OPEN_TABLE_FAILED</remarks> |
||
8223 | </member>
|
||
8224 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventNeitherMExpresssionNorMAt"> |
||
8225 | <summary></summary> |
||
8226 | <remarks>ER_EVENT_NEITHER_M_EXPR_NOR_M_AT</remarks> |
||
8227 | </member>
|
||
8228 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ColumnCountDoesNotMatchCorrupted"> |
||
8229 | <summary></summary> |
||
8230 | <remarks>ER_COL_COUNT_DOESNT_MATCH_CORRUPTED</remarks> |
||
8231 | </member>
|
||
8232 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotLoadFromTable"> |
||
8233 | <summary></summary> |
||
8234 | <remarks>ER_CANNOT_LOAD_FROM_TABLE</remarks> |
||
8235 | </member>
|
||
8236 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventCannotDelete"> |
||
8237 | <summary></summary> |
||
8238 | <remarks>ER_EVENT_CANNOT_DELETE</remarks> |
||
8239 | </member>
|
||
8240 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventCompileError"> |
||
8241 | <summary></summary> |
||
8242 | <remarks>ER_EVENT_COMPILE_ERROR</remarks> |
||
8243 | </member>
|
||
8244 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventSameName"> |
||
8245 | <summary></summary> |
||
8246 | <remarks>ER_EVENT_SAME_NAME</remarks> |
||
8247 | </member>
|
||
8248 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventDataTooLong"> |
||
8249 | <summary></summary> |
||
8250 | <remarks>ER_EVENT_DATA_TOO_LONG</remarks> |
||
8251 | </member>
|
||
8252 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DropIndexForeignKey"> |
||
8253 | <summary></summary> |
||
8254 | <remarks>ER_DROP_INDEX_FK</remarks> |
||
8255 | </member>
|
||
8256 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningDeprecatedSyntaxWithVersion"> |
||
8257 | <summary></summary> |
||
8258 | <remarks>ER_WARN_DEPRECATED_SYNTAX_WITH_VER</remarks> |
||
8259 | </member>
|
||
8260 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotWriteLockLogTable"> |
||
8261 | <summary></summary> |
||
8262 | <remarks>ER_CANT_WRITE_LOCK_LOG_TABLE</remarks> |
||
8263 | </member>
|
||
8264 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotLockLogTable"> |
||
8265 | <summary></summary> |
||
8266 | <remarks>ER_CANT_LOCK_LOG_TABLE</remarks> |
||
8267 | </member>
|
||
8268 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ForeignDuplicateKey"> |
||
8269 | <summary></summary> |
||
8270 | <remarks>ER_FOREIGN_DUPLICATE_KEY</remarks> |
||
8271 | </member>
|
||
8272 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ColumnCountDoesNotMatchPleaseUpdate"> |
||
8273 | <summary></summary> |
||
8274 | <remarks>ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE</remarks> |
||
8275 | </member>
|
||
8276 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TemoraryTablePreventSwitchOutOfRBR"> |
||
8277 | <summary></summary> |
||
8278 | <remarks>ER_TEMP_TABLE_PREVENTS_SWITCH_OUT_OF_RBR</remarks> |
||
8279 | </member>
|
||
8280 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredFunctionPreventsSwitchBinLogFormat"> |
||
8281 | <summary></summary> |
||
8282 | <remarks>ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_FORMAT</remarks> |
||
8283 | </member>
|
||
8284 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NDBCannotSwitchBinLogFormat"> |
||
8285 | <summary></summary> |
||
8286 | <remarks>ER_NDB_CANT_SWITCH_BINLOG_FORMAT</remarks> |
||
8287 | </member>
|
||
8288 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionNoTemporary"> |
||
8289 | <summary></summary> |
||
8290 | <remarks>ER_PARTITION_NO_TEMPORARY</remarks> |
||
8291 | </member>
|
||
8292 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionConstantDomain"> |
||
8293 | <summary></summary> |
||
8294 | <remarks>ER_PARTITION_CONST_DOMAIN_ERROR</remarks> |
||
8295 | </member>
|
||
8296 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionFunctionIsNotAllowed"> |
||
8297 | <summary></summary> |
||
8298 | <remarks>ER_PARTITION_FUNCTION_IS_NOT_ALLOWED</remarks> |
||
8299 | </member>
|
||
8300 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DDLLogError"> |
||
8301 | <summary></summary> |
||
8302 | <remarks>ER_DDL_LOG_ERROR</remarks> |
||
8303 | </member>
|
||
8304 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NullInValuesLessThan"> |
||
8305 | <summary></summary> |
||
8306 | <remarks>ER_NULL_IN_VALUES_LESS_THAN</remarks> |
||
8307 | </member>
|
||
8308 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongPartitionName"> |
||
8309 | <summary></summary> |
||
8310 | <remarks>ER_WRONG_PARTITION_NAME</remarks> |
||
8311 | </member>
|
||
8312 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotChangeTransactionIsolation"> |
||
8313 | <summary></summary> |
||
8314 | <remarks>ER_CANT_CHANGE_TX_ISOLATION</remarks> |
||
8315 | </member>
|
||
8316 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DuplicateEntryAutoIncrementCase"> |
||
8317 | <summary></summary> |
||
8318 | <remarks>ER_DUP_ENTRY_AUTOINCREMENT_CASE</remarks> |
||
8319 | </member>
|
||
8320 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventModifyQueueError"> |
||
8321 | <summary></summary> |
||
8322 | <remarks>ER_EVENT_MODIFY_QUEUE_ERROR</remarks> |
||
8323 | </member>
|
||
8324 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventSetVariableError"> |
||
8325 | <summary></summary> |
||
8326 | <remarks>ER_EVENT_SET_VAR_ERROR</remarks> |
||
8327 | </member>
|
||
8328 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionMergeError"> |
||
8329 | <summary></summary> |
||
8330 | <remarks>ER_PARTITION_MERGE_ERROR</remarks> |
||
8331 | </member>
|
||
8332 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotActivateLog"> |
||
8333 | <summary></summary> |
||
8334 | <remarks>ER_CANT_ACTIVATE_LOG</remarks> |
||
8335 | </member>
|
||
8336 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RBRNotAvailable"> |
||
8337 | <summary></summary> |
||
8338 | <remarks>ER_RBR_NOT_AVAILABLE</remarks> |
||
8339 | </member>
|
||
8340 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.Base64DecodeError"> |
||
8341 | <summary></summary> |
||
8342 | <remarks>ER_BASE64_DECODE_ERROR</remarks> |
||
8343 | </member>
|
||
8344 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventRecursionForbidden"> |
||
8345 | <summary></summary> |
||
8346 | <remarks>ER_EVENT_RECURSION_FORBIDDEN</remarks> |
||
8347 | </member>
|
||
8348 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventsDatabaseError"> |
||
8349 | <summary></summary> |
||
8350 | <remarks>ER_EVENTS_DB_ERROR</remarks> |
||
8351 | </member>
|
||
8352 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.OnlyIntegersAllowed"> |
||
8353 | <summary></summary> |
||
8354 | <remarks>ER_ONLY_INTEGERS_ALLOWED</remarks> |
||
8355 | </member>
|
||
8356 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.UnsupportedLogEngine"> |
||
8357 | <summary></summary> |
||
8358 | <remarks>ER_UNSUPORTED_LOG_ENGINE</remarks> |
||
8359 | </member>
|
||
8360 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BadLogStatement"> |
||
8361 | <summary></summary> |
||
8362 | <remarks>ER_BAD_LOG_STATEMENT</remarks> |
||
8363 | </member>
|
||
8364 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannotRenameLogTable"> |
||
8365 | <summary></summary> |
||
8366 | <remarks>ER_CANT_RENAME_LOG_TABLE</remarks> |
||
8367 | </member>
|
||
8368 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongParameterCountToNativeFCT"> |
||
8369 | <summary></summary> |
||
8370 | <remarks>ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT</remarks> |
||
8371 | </member>
|
||
8372 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongParametersToNativeFCT"> |
||
8373 | <summary></summary> |
||
8374 | <remarks>ER_WRONG_PARAMETERS_TO_NATIVE_FCT</remarks> |
||
8375 | </member>
|
||
8376 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WrongParametersToStoredFCT"> |
||
8377 | <summary></summary> |
||
8378 | <remarks>ER_WRONG_PARAMETERS_TO_STORED_FCT</remarks> |
||
8379 | </member>
|
||
8380 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NativeFCTNameCollision"> |
||
8381 | <summary></summary> |
||
8382 | <remarks>ER_NATIVE_FCT_NAME_COLLISION</remarks> |
||
8383 | </member>
|
||
8384 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DuplicateEntryWithKeyName"> |
||
8385 | <summary></summary> |
||
8386 | <remarks>ER_DUP_ENTRY_WITH_KEY_NAME</remarks> |
||
8387 | </member>
|
||
8388 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BinLogPurgeEMFile"> |
||
8389 | <summary></summary> |
||
8390 | <remarks>ER_BINLOG_PURGE_EMFILE</remarks> |
||
8391 | </member>
|
||
8392 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventCannotCreateInThePast"> |
||
8393 | <summary></summary> |
||
8394 | <remarks>ER_EVENT_CANNOT_CREATE_IN_THE_PAST</remarks> |
||
8395 | </member>
|
||
8396 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventCannotAlterInThePast"> |
||
8397 | <summary></summary> |
||
8398 | <remarks>ER_EVENT_CANNOT_ALTER_IN_THE_PAST</remarks> |
||
8399 | </member>
|
||
8400 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveIncident"> |
||
8401 | <summary></summary> |
||
8402 | <remarks>ER_SLAVE_INCIDENT</remarks> |
||
8403 | </member>
|
||
8404 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoPartitionForGivenValueSilent"> |
||
8405 | <summary></summary> |
||
8406 | <remarks>ER_NO_PARTITION_FOR_GIVEN_VALUE_SILENT</remarks> |
||
8407 | </member>
|
||
8408 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BinLogUnsafeStatement"> |
||
8409 | <summary></summary> |
||
8410 | <remarks>ER_BINLOG_UNSAFE_STATEMENT</remarks> |
||
8411 | </member>
|
||
8412 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveFatalError"> |
||
8413 | <summary></summary> |
||
8414 | <remarks>ER_SLAVE_FATAL_ERROR</remarks> |
||
8415 | </member>
|
||
8416 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveRelayLogReadFailure"> |
||
8417 | <summary></summary> |
||
8418 | <remarks>ER_SLAVE_RELAY_LOG_READ_FAILURE</remarks> |
||
8419 | </member>
|
||
8420 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveRelayLogWriteFailure"> |
||
8421 | <summary></summary> |
||
8422 | <remarks>ER_SLAVE_RELAY_LOG_WRITE_FAILURE</remarks> |
||
8423 | </member>
|
||
8424 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveCreateEventFailure"> |
||
8425 | <summary></summary> |
||
8426 | <remarks>ER_SLAVE_CREATE_EVENT_FAILURE</remarks> |
||
8427 | </member>
|
||
8428 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveMasterComFailure"> |
||
8429 | <summary></summary> |
||
8430 | <remarks>ER_SLAVE_MASTER_COM_FAILURE</remarks> |
||
8431 | </member>
|
||
8432 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.BinLogLoggingImpossible"> |
||
8433 | <summary></summary> |
||
8434 | <remarks>ER_BINLOG_LOGGING_IMPOSSIBLE</remarks> |
||
8435 | </member>
|
||
8436 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewNoCreationContext"> |
||
8437 | <summary></summary> |
||
8438 | <remarks>ER_VIEW_NO_CREATION_CTX</remarks> |
||
8439 | </member>
|
||
8440 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ViewInvalidCreationContext"> |
||
8441 | <summary></summary> |
||
8442 | <remarks>ER_VIEW_INVALID_CREATION_CTX</remarks> |
||
8443 | </member>
|
||
8444 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.StoredRoutineInvalidCreateionContext"> |
||
8445 | <summary></summary> |
||
8446 | <remarks>ER_SR_INVALID_CREATION_CTX</remarks> |
||
8447 | </member>
|
||
8448 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TiggerCorruptedFile"> |
||
8449 | <summary></summary> |
||
8450 | <remarks>ER_TRG_CORRUPTED_FILE</remarks> |
||
8451 | </member>
|
||
8452 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TriggerNoCreationContext"> |
||
8453 | <summary></summary> |
||
8454 | <remarks>ER_TRG_NO_CREATION_CTX</remarks> |
||
8455 | </member>
|
||
8456 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TriggerInvalidCreationContext"> |
||
8457 | <summary></summary> |
||
8458 | <remarks>ER_TRG_INVALID_CREATION_CTX</remarks> |
||
8459 | </member>
|
||
8460 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.EventInvalidCreationContext"> |
||
8461 | <summary></summary> |
||
8462 | <remarks>ER_EVENT_INVALID_CREATION_CTX</remarks> |
||
8463 | </member>
|
||
8464 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TriggerCannotOpenTable"> |
||
8465 | <summary></summary> |
||
8466 | <remarks>ER_TRG_CANT_OPEN_TABLE</remarks> |
||
8467 | </member>
|
||
8468 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.CannoCreateSubRoutine"> |
||
8469 | <summary></summary> |
||
8470 | <remarks>ER_CANT_CREATE_SROUTINE</remarks> |
||
8471 | </member>
|
||
8472 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveAmbiguousExecMode"> |
||
8473 | <summary></summary> |
||
8474 | <remarks>ER_SLAVE_AMBIGOUS_EXEC_MODE</remarks> |
||
8475 | </member>
|
||
8476 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NoFormatDescriptionEventBeforeBinLogStatement"> |
||
8477 | <summary></summary> |
||
8478 | <remarks>ER_NO_FORMAT_DESCRIPTION_EVENT_BEFORE_BINLOG_STATEMENT</remarks> |
||
8479 | </member>
|
||
8480 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveCorruptEvent"> |
||
8481 | <summary></summary> |
||
8482 | <remarks>ER_SLAVE_CORRUPT_EVENT</remarks> |
||
8483 | </member>
|
||
8484 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LoadDataInvalidColumn"> |
||
8485 | <summary></summary> |
||
8486 | <remarks>ER_LOAD_DATA_INVALID_COLUMN</remarks> |
||
8487 | </member>
|
||
8488 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.LogPurgeNoFile"> |
||
8489 | <summary></summary> |
||
8490 | <remarks>ER_LOG_PURGE_NO_FILE</remarks> |
||
8491 | </member>
|
||
8492 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.XARBTimeout"> |
||
8493 | <summary></summary> |
||
8494 | <remarks>ER_XA_RBTIMEOUT</remarks> |
||
8495 | </member>
|
||
8496 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.XARBDeadlock"> |
||
8497 | <summary></summary> |
||
8498 | <remarks>ER_XA_RBDEADLOCK</remarks> |
||
8499 | </member>
|
||
8500 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NeedRePrepare"> |
||
8501 | <summary></summary> |
||
8502 | <remarks>ER_NEED_REPREPARE</remarks> |
||
8503 | </member>
|
||
8504 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DelayedNotSupported"> |
||
8505 | <summary></summary> |
||
8506 | <remarks>ER_DELAYED_NOT_SUPPORTED</remarks> |
||
8507 | </member>
|
||
8508 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningNoMasterInfo"> |
||
8509 | <summary></summary> |
||
8510 | <remarks>WARN_NO_MASTER_INFO</remarks> |
||
8511 | </member>
|
||
8512 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningOptionIgnored"> |
||
8513 | <summary></summary> |
||
8514 | <remarks>WARN_OPTION_IGNORED</remarks> |
||
8515 | </member>
|
||
8516 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningPluginDeleteBuiltIn"> |
||
8517 | <summary></summary> |
||
8518 | <remarks>WARN_PLUGIN_DELETE_BUILTIN</remarks> |
||
8519 | </member>
|
||
8520 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningPluginBusy"> |
||
8521 | <summary></summary> |
||
8522 | <remarks>WARN_PLUGIN_BUSY</remarks> |
||
8523 | </member>
|
||
8524 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.VariableIsReadonly"> |
||
8525 | <summary></summary> |
||
8526 | <remarks>ER_VARIABLE_IS_READONLY</remarks> |
||
8527 | </member>
|
||
8528 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningEngineTransactionRollback"> |
||
8529 | <summary></summary> |
||
8530 | <remarks>ER_WARN_ENGINE_TRANSACTION_ROLLBACK</remarks> |
||
8531 | </member>
|
||
8532 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveHeartbeatFailure"> |
||
8533 | <summary></summary> |
||
8534 | <remarks>ER_SLAVE_HEARTBEAT_FAILURE</remarks> |
||
8535 | </member>
|
||
8536 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SlaveHeartbeatValueOutOfRange"> |
||
8537 | <summary></summary> |
||
8538 | <remarks>ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE</remarks> |
||
8539 | </member>
|
||
8540 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.NDBReplicationSchemaError"> |
||
8541 | <summary></summary> |
||
8542 | <remarks>ER_NDB_REPLICATION_SCHEMA_ERROR</remarks> |
||
8543 | </member>
|
||
8544 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ConflictFunctionParseError"> |
||
8545 | <summary></summary> |
||
8546 | <remarks>ER_CONFLICT_FN_PARSE_ERROR</remarks> |
||
8547 | </member>
|
||
8548 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ExcepionsWriteError"> |
||
8549 | <summary></summary> |
||
8550 | <remarks>ER_EXCEPTIONS_WRITE_ERROR</remarks> |
||
8551 | </member>
|
||
8552 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooLongTableComment"> |
||
8553 | <summary></summary> |
||
8554 | <remarks>ER_TOO_LONG_TABLE_COMMENT</remarks> |
||
8555 | </member>
|
||
8556 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooLongFieldComment"> |
||
8557 | <summary></summary> |
||
8558 | <remarks>ER_TOO_LONG_FIELD_COMMENT</remarks> |
||
8559 | </member>
|
||
8560 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.FunctionInExistentNameCollision"> |
||
8561 | <summary></summary> |
||
8562 | <remarks>ER_FUNC_INEXISTENT_NAME_COLLISION</remarks> |
||
8563 | </member>
|
||
8564 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DatabaseNameError"> |
||
8565 | <summary></summary> |
||
8566 | <remarks>ER_DATABASE_NAME</remarks> |
||
8567 | </member>
|
||
8568 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TableNameErrror"> |
||
8569 | <summary></summary> |
||
8570 | <remarks>ER_TABLE_NAME</remarks> |
||
8571 | </member>
|
||
8572 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.PartitionNameError"> |
||
8573 | <summary></summary> |
||
8574 | <remarks>ER_PARTITION_NAME</remarks> |
||
8575 | </member>
|
||
8576 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.SubPartitionNameError"> |
||
8577 | <summary></summary> |
||
8578 | <remarks>ER_SUBPARTITION_NAME</remarks> |
||
8579 | </member>
|
||
8580 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TemporaryNameError"> |
||
8581 | <summary></summary> |
||
8582 | <remarks>ER_TEMPORARY_NAME</remarks> |
||
8583 | </member>
|
||
8584 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.RenamedNameError"> |
||
8585 | <summary></summary> |
||
8586 | <remarks>ER_RENAMED_NAME</remarks> |
||
8587 | </member>
|
||
8588 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.TooManyConcurrentTransactions"> |
||
8589 | <summary></summary> |
||
8590 | <remarks>ER_TOO_MANY_CONCURRENT_TRXS</remarks> |
||
8591 | </member>
|
||
8592 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.WarningNonASCIISeparatorNotImplemented"> |
||
8593 | <summary></summary> |
||
8594 | <remarks>WARN_NON_ASCII_SEPARATOR_NOT_IMPLEMENTED</remarks> |
||
8595 | </member>
|
||
8596 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DebugSyncTimeout"> |
||
8597 | <summary></summary> |
||
8598 | <remarks>ER_DEBUG_SYNC_TIMEOUT</remarks> |
||
8599 | </member>
|
||
8600 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.DebugSyncHitLimit"> |
||
8601 | <summary></summary> |
||
8602 | <remarks>ER_DEBUG_SYNC_HIT_LIMIT</remarks> |
||
8603 | </member>
|
||
8604 | <member name="F:MySql.Data.MySqlClient.MySqlErrorCode.ErrorLast"> |
||
8605 | <summary></summary> |
||
8606 | <remarks>ER_ERROR_LAST</remarks> |
||
8607 | </member>
|
||
8608 | <member name="T:MySql.Data.MySqlClient.MySqlHelper"> |
||
8609 | <summary>
|
||
8610 | Helper class that makes it easier to work with the provider. |
||
8611 | </summary>
|
||
8612 | </member>
|
||
8613 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteNonQuery(MySql.Data.MySqlClient.MySqlConnection,System.String,MySql.Data.MySqlClient.MySqlParameter[])"> |
||
8614 | <summary>
|
||
8615 | Executes a single command against a MySQL database. The <see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> is assumed to be |
||
8616 | open when the method is called and remains open after the method completes. |
||
8617 | </summary>
|
||
8618 | <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use</param> |
||
8619 | <param name="commandText">SQL command to be executed</param> |
||
8620 | <param name="commandParameters">Array of <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> objects to use with the command.</param> |
||
8621 | <returns></returns> |
||
8622 | </member>
|
||
8623 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteNonQuery(System.String,System.String,MySql.Data.MySqlClient.MySqlParameter[])"> |
||
8624 | <summary>
|
||
8625 | Executes a single command against a MySQL database. A new <see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> is created |
||
8626 | using the <see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionString"/> given. |
||
8627 | </summary>
|
||
8628 | <param name="connectionString"><see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionString"/> to use</param> |
||
8629 | <param name="commandText">SQL command to be executed</param> |
||
8630 | <param name="parms">Array of <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> objects to use with the command.</param> |
||
8631 | <returns></returns> |
||
8632 | </member>
|
||
8633 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteDataRow(System.String,System.String,MySql.Data.MySqlClient.MySqlParameter[])"> |
||
8634 | <summary>
|
||
8635 | Executes a single SQL command and returns the first row of the resultset. A new MySqlConnection object |
||
8636 | is created, opened, and closed during this method. |
||
8637 | </summary>
|
||
8638 | <param name="connectionString">Settings to be used for the connection</param> |
||
8639 | <param name="commandText">Command to execute</param> |
||
8640 | <param name="parms">Parameters to use for the command</param> |
||
8641 | <returns>DataRow containing the first row of the resultset</returns> |
||
8642 | </member>
|
||
8643 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteDataset(System.String,System.String)"> |
||
8644 | <summary>
|
||
8645 | Executes a single SQL command and returns the resultset in a <see cref="T:System.Data.DataSet"/>. |
||
8646 | A new MySqlConnection object is created, opened, and closed during this method. |
||
8647 | </summary>
|
||
8648 | <param name="connectionString">Settings to be used for the connection</param> |
||
8649 | <param name="commandText">Command to execute</param> |
||
8650 | <returns><see cref="T:System.Data.DataSet"/> containing the resultset</returns> |
||
8651 | </member>
|
||
8652 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteDataset(System.String,System.String,MySql.Data.MySqlClient.MySqlParameter[])"> |
||
8653 | <summary>
|
||
8654 | Executes a single SQL command and returns the resultset in a <see cref="T:System.Data.DataSet"/>. |
||
8655 | A new MySqlConnection object is created, opened, and closed during this method. |
||
8656 | </summary>
|
||
8657 | <param name="connectionString">Settings to be used for the connection</param> |
||
8658 | <param name="commandText">Command to execute</param> |
||
8659 | <param name="commandParameters">Parameters to use for the command</param> |
||
8660 | <returns><see cref="T:System.Data.DataSet"/> containing the resultset</returns> |
||
8661 | </member>
|
||
8662 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteDataset(MySql.Data.MySqlClient.MySqlConnection,System.String)"> |
||
8663 | <summary>
|
||
8664 | Executes a single SQL command and returns the resultset in a <see cref="T:System.Data.DataSet"/>. |
||
8665 | The state of the <see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object remains unchanged after execution |
||
8666 | of this method. |
||
8667 | </summary>
|
||
8668 | <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use</param> |
||
8669 | <param name="commandText">Command to execute</param> |
||
8670 | <returns><see cref="T:System.Data.DataSet"/> containing the resultset</returns> |
||
8671 | </member>
|
||
8672 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteDataset(MySql.Data.MySqlClient.MySqlConnection,System.String,MySql.Data.MySqlClient.MySqlParameter[])"> |
||
8673 | <summary>
|
||
8674 | Executes a single SQL command and returns the resultset in a <see cref="T:System.Data.DataSet"/>. |
||
8675 | The state of the <see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object remains unchanged after execution |
||
8676 | of this method. |
||
8677 | </summary>
|
||
8678 | <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use</param> |
||
8679 | <param name="commandText">Command to execute</param> |
||
8680 | <param name="commandParameters">Parameters to use for the command</param> |
||
8681 | <returns><see cref="T:System.Data.DataSet"/> containing the resultset</returns> |
||
8682 | </member>
|
||
8683 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.UpdateDataSet(System.String,System.String,System.Data.DataSet,System.String)"> |
||
8684 | <summary>
|
||
8685 | Updates the given table with data from the given <see cref="T:System.Data.DataSet"/> |
||
8686 | </summary>
|
||
8687 | <param name="connectionString">Settings to use for the update</param> |
||
8688 | <param name="commandText">Command text to use for the update</param> |
||
8689 | <param name="ds"><see cref="T:System.Data.DataSet"/> containing the new data to use in the update</param> |
||
8690 | <param name="tablename">Tablename in the dataset to update</param> |
||
8691 | </member>
|
||
8692 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(MySql.Data.MySqlClient.MySqlConnection,MySql.Data.MySqlClient.MySqlTransaction,System.String,MySql.Data.MySqlClient.MySqlParameter[],System.Boolean)"> |
||
8693 | <summary>
|
||
8694 | Executes a single command against a MySQL database, possibly inside an existing transaction. |
||
8695 | </summary>
|
||
8696 | <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use for the command</param> |
||
8697 | <param name="transaction"><see cref="T:MySql.Data.MySqlClient.MySqlTransaction"/> object to use for the command</param> |
||
8698 | <param name="commandText">Command text to use</param> |
||
8699 | <param name="commandParameters">Array of <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> objects to use with the command</param> |
||
8700 | <param name="ExternalConn">True if the connection should be preserved, false if not</param> |
||
8701 | <returns><see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> object ready to read the results of the command</returns> |
||
8702 | </member>
|
||
8703 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(System.String,System.String)"> |
||
8704 | <summary>
|
||
8705 | Executes a single command against a MySQL database. |
||
8706 | </summary>
|
||
8707 | <param name="connectionString">Settings to use for this command</param> |
||
8708 | <param name="commandText">Command text to use</param> |
||
8709 | <returns><see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> object ready to read the results of the command</returns> |
||
8710 | </member>
|
||
8711 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(MySql.Data.MySqlClient.MySqlConnection,System.String)"> |
||
8712 | <summary>
|
||
8713 | Executes a single command against a MySQL database. |
||
8714 | </summary>
|
||
8715 | <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use for the command</param> |
||
8716 | <param name="commandText">Command text to use</param> |
||
8717 | <returns><see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> object ready to read the results of the command</returns> |
||
8718 | </member>
|
||
8719 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(System.String,System.String,MySql.Data.MySqlClient.MySqlParameter[])"> |
||
8720 | <summary>
|
||
8721 | Executes a single command against a MySQL database. |
||
8722 | </summary>
|
||
8723 | <param name="connectionString">Settings to use for this command</param> |
||
8724 | <param name="commandText">Command text to use</param> |
||
8725 | <param name="commandParameters">Array of <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> objects to use with the command</param> |
||
8726 | <returns><see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> object ready to read the results of the command</returns> |
||
8727 | </member>
|
||
8728 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(MySql.Data.MySqlClient.MySqlConnection,System.String,MySql.Data.MySqlClient.MySqlParameter[])"> |
||
8729 | <summary>
|
||
8730 | Executes a single command against a MySQL database. |
||
8731 | </summary>
|
||
8732 | <param name="connection">Connection to use for the command</param> |
||
8733 | <param name="commandText">Command text to use</param> |
||
8734 | <param name="commandParameters">Array of <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> objects to use with the command</param> |
||
8735 | <returns><see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> object ready to read the results of the command</returns> |
||
8736 | </member>
|
||
8737 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteScalar(System.String,System.String)"> |
||
8738 | <summary>
|
||
8739 | Execute a single command against a MySQL database. |
||
8740 | </summary>
|
||
8741 | <param name="connectionString">Settings to use for the update</param> |
||
8742 | <param name="commandText">Command text to use for the update</param> |
||
8743 | <returns>The first column of the first row in the result set, or a null reference if the result set is empty.</returns> |
||
8744 | </member>
|
||
8745 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteScalar(System.String,System.String,MySql.Data.MySqlClient.MySqlParameter[])"> |
||
8746 | <summary>
|
||
8747 | Execute a single command against a MySQL database. |
||
8748 | </summary>
|
||
8749 | <param name="connectionString">Settings to use for the command</param> |
||
8750 | <param name="commandText">Command text to use for the command</param> |
||
8751 | <param name="commandParameters">Parameters to use for the command</param> |
||
8752 | <returns>The first column of the first row in the result set, or a null reference if the result set is empty.</returns> |
||
8753 | </member>
|
||
8754 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteScalar(MySql.Data.MySqlClient.MySqlConnection,System.String)"> |
||
8755 | <summary>
|
||
8756 | Execute a single command against a MySQL database. |
||
8757 | </summary>
|
||
8758 | <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use</param> |
||
8759 | <param name="commandText">Command text to use for the command</param> |
||
8760 | <returns>The first column of the first row in the result set, or a null reference if the result set is empty.</returns> |
||
8761 | </member>
|
||
8762 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteScalar(MySql.Data.MySqlClient.MySqlConnection,System.String,MySql.Data.MySqlClient.MySqlParameter[])"> |
||
8763 | <summary>
|
||
8764 | Execute a single command against a MySQL database. |
||
8765 | </summary>
|
||
8766 | <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use</param> |
||
8767 | <param name="commandText">Command text to use for the command</param> |
||
8768 | <param name="commandParameters">Parameters to use for the command</param> |
||
8769 | <returns>The first column of the first row in the result set, or a null reference if the result set is empty.</returns> |
||
8770 | </member>
|
||
8771 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.EscapeString(System.String)"> |
||
8772 | <summary>
|
||
8773 | Escapes the string. |
||
8774 | </summary>
|
||
8775 | <param name="value">The string to escape</param> |
||
8776 | <returns>The string with all quotes escaped.</returns> |
||
8777 | </member>
|
||
8778 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteDataRowAsync(System.String,System.String,MySql.Data.MySqlClient.MySqlParameter[])"> |
||
8779 | <summary>
|
||
8780 | Async version of ExecuteDataRow |
||
8781 | </summary>
|
||
8782 | <param name="connectionString">Settings to be used for the connection</param> |
||
8783 | <param name="commandText">Command to execute</param> |
||
8784 | <param name="parms">Parameters to use for the command</param> |
||
8785 | <returns>DataRow containing the first row of the resultset</returns> |
||
8786 | </member>
|
||
8787 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteNonQueryAsync(MySql.Data.MySqlClient.MySqlConnection,System.String,MySql.Data.MySqlClient.MySqlParameter[])"> |
||
8788 | <summary>
|
||
8789 | Async version of ExecuteNonQuery |
||
8790 | </summary>
|
||
8791 | <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use</param> |
||
8792 | <param name="commandText">SQL command to be executed</param> |
||
8793 | <param name="commandParameters">Array of <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> objects to use with the command.</param> |
||
8794 | <returns>Rows affected</returns> |
||
8795 | </member>
|
||
8796 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteNonQueryAsync(System.String,System.String,MySql.Data.MySqlClient.MySqlParameter[])"> |
||
8797 | <summary>
|
||
8798 | Async version of ExecuteNonQuery |
||
8799 | </summary>
|
||
8800 | <param name="connectionString"><see cref="P:MySql.Data.MySqlClient.MySqlConnection.ConnectionString"/> to use</param> |
||
8801 | <param name="commandText">SQL command to be executed</param> |
||
8802 | <param name="commandParameters">Array of <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> objects to use with the command.</param> |
||
8803 | <returns>Rows affected</returns> |
||
8804 | </member>
|
||
8805 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteDatasetAsync(System.String,System.String)"> |
||
8806 | <summary>
|
||
8807 | Async version of ExecuteDataset |
||
8808 | </summary>
|
||
8809 | <param name="connectionString">Settings to be used for the connection</param> |
||
8810 | <param name="commandText">Command to execute</param> |
||
8811 | <returns><see cref="T:System.Data.DataSet"/> containing the resultset</returns> |
||
8812 | </member>
|
||
8813 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteDatasetAsync(System.String,System.String,MySql.Data.MySqlClient.MySqlParameter[])"> |
||
8814 | <summary>
|
||
8815 | Async version of ExecuteDataset |
||
8816 | </summary>
|
||
8817 | <param name="connectionString">Settings to be used for the connection</param> |
||
8818 | <param name="commandText">Command to execute</param> |
||
8819 | <param name="commandParameters">Parameters to use for the command</param> |
||
8820 | <returns><see cref="T:System.Data.DataSet"/> containing the resultset</returns> |
||
8821 | </member>
|
||
8822 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteDatasetAsync(MySql.Data.MySqlClient.MySqlConnection,System.String)"> |
||
8823 | <summary>
|
||
8824 | Async version of ExecuteDataset |
||
8825 | </summary>
|
||
8826 | <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use</param> |
||
8827 | <param name="commandText">Command to execute</param> |
||
8828 | <returns><see cref="T:System.Data.DataSet"/> containing the resultset</returns> |
||
8829 | </member>
|
||
8830 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteDatasetAsync(MySql.Data.MySqlClient.MySqlConnection,System.String,MySql.Data.MySqlClient.MySqlParameter[])"> |
||
8831 | <summary>
|
||
8832 | Async version of ExecuteDataset |
||
8833 | </summary>
|
||
8834 | <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use</param> |
||
8835 | <param name="commandText">Command to execute</param> |
||
8836 | <param name="commandParameters">Parameters to use for the command</param> |
||
8837 | <returns><see cref="T:System.Data.DataSet"/> containing the resultset</returns> |
||
8838 | </member>
|
||
8839 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.UpdateDataSetAsync(System.String,System.String,System.Data.DataSet,System.String)"> |
||
8840 | <summary>
|
||
8841 | Async version of UpdateDataset |
||
8842 | </summary>
|
||
8843 | <param name="connectionString">Settings to use for the update</param> |
||
8844 | <param name="commandText">Command text to use for the update</param> |
||
8845 | <param name="ds"><see cref="T:System.Data.DataSet"/> containing the new data to use in the update</param> |
||
8846 | <param name="tablename">Tablename in the dataset to update</param> |
||
8847 | </member>
|
||
8848 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteReaderAsync(MySql.Data.MySqlClient.MySqlConnection,MySql.Data.MySqlClient.MySqlTransaction,System.String,MySql.Data.MySqlClient.MySqlParameter[],System.Boolean)"> |
||
8849 | <summary>
|
||
8850 | Async version of ExecuteReader |
||
8851 | </summary>
|
||
8852 | <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use for the command</param> |
||
8853 | <param name="transaction"><see cref="T:MySql.Data.MySqlClient.MySqlTransaction"/> object to use for the command</param> |
||
8854 | <param name="commandText">Command text to use</param> |
||
8855 | <param name="commandParameters">Array of <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> objects to use with the command</param> |
||
8856 | <param name="ExternalConn">True if the connection should be preserved, false if not</param> |
||
8857 | <returns><see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> object ready to read the results of the command</returns> |
||
8858 | </member>
|
||
8859 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteReaderAsync(System.String,System.String)"> |
||
8860 | <summary>
|
||
8861 | Async version of ExecuteReader |
||
8862 | </summary>
|
||
8863 | <param name="connectionString">Settings to use for this command</param> |
||
8864 | <param name="commandText">Command text to use</param> |
||
8865 | <returns><see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> object ready to read the results of the command</returns> |
||
8866 | </member>
|
||
8867 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteReaderAsync(MySql.Data.MySqlClient.MySqlConnection,System.String)"> |
||
8868 | <summary>
|
||
8869 | Async version of ExecuteReader |
||
8870 | </summary>
|
||
8871 | <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use for the command</param> |
||
8872 | <param name="commandText">Command text to use</param> |
||
8873 | <returns><see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> object ready to read the results of the command</returns> |
||
8874 | </member>
|
||
8875 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteReaderAsync(System.String,System.String,MySql.Data.MySqlClient.MySqlParameter[])"> |
||
8876 | <summary>
|
||
8877 | Async version of ExecuteReader |
||
8878 | </summary>
|
||
8879 | <param name="connectionString">Settings to use for this command</param> |
||
8880 | <param name="commandText">Command text to use</param> |
||
8881 | <param name="commandParameters">Array of <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> objects to use with the command</param> |
||
8882 | <returns><see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> object ready to read the results of the command</returns> |
||
8883 | </member>
|
||
8884 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteReaderAsync(MySql.Data.MySqlClient.MySqlConnection,System.String,MySql.Data.MySqlClient.MySqlParameter[])"> |
||
8885 | <summary>
|
||
8886 | Async version of ExecuteReader |
||
8887 | </summary>
|
||
8888 | <param name="connection">Connection to use for the command</param> |
||
8889 | <param name="commandText">Command text to use</param> |
||
8890 | <param name="commandParameters">Array of <see cref="T:MySql.Data.MySqlClient.MySqlParameter"/> objects to use with the command</param> |
||
8891 | <returns><see cref="T:MySql.Data.MySqlClient.MySqlDataReader"/> object ready to read the results of the command</returns> |
||
8892 | </member>
|
||
8893 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteScalarAsync(System.String,System.String)"> |
||
8894 | <summary>
|
||
8895 | Async version of ExecuteScalar |
||
8896 | </summary>
|
||
8897 | <param name="connectionString">Settings to use for the update</param> |
||
8898 | <param name="commandText">Command text to use for the update</param> |
||
8899 | <returns>The first column of the first row in the result set, or a null reference if the result set is empty.</returns> |
||
8900 | </member>
|
||
8901 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteScalarAsync(System.String,System.String,MySql.Data.MySqlClient.MySqlParameter[])"> |
||
8902 | <summary>
|
||
8903 | Async version of ExecuteScalar |
||
8904 | </summary>
|
||
8905 | <param name="connectionString">Settings to use for the command</param> |
||
8906 | <param name="commandText">Command text to use for the command</param> |
||
8907 | <param name="commandParameters">Parameters to use for the command</param> |
||
8908 | <returns>The first column of the first row in the result set, or a null reference if the result set is empty.</returns> |
||
8909 | </member>
|
||
8910 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteScalarAsync(MySql.Data.MySqlClient.MySqlConnection,System.String)"> |
||
8911 | <summary>
|
||
8912 | Async version of ExecuteScalar |
||
8913 | </summary>
|
||
8914 | <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use</param> |
||
8915 | <param name="commandText">Command text to use for the command</param> |
||
8916 | <returns>The first column of the first row in the result set, or a null reference if the result set is empty.</returns> |
||
8917 | </member>
|
||
8918 | <member name="M:MySql.Data.MySqlClient.MySqlHelper.ExecuteScalarAsync(MySql.Data.MySqlClient.MySqlConnection,System.String,MySql.Data.MySqlClient.MySqlParameter[])"> |
||
8919 | <summary>
|
||
8920 | Async version of ExecuteScalar |
||
8921 | </summary>
|
||
8922 | <param name="connection"><see cref="T:MySql.Data.MySqlClient.MySqlConnection"/> object to use</param> |
||
8923 | <param name="commandText">Command text to use for the command</param> |
||
8924 | <param name="commandParameters">Parameters to use for the command</param> |
||
8925 | <returns>The first column of the first row in the result set, or a null reference if the result set is empty.</returns> |
||
8926 | </member>
|
||
8927 | <member name="M:MySql.Data.MySqlClient.MySqlPacket.WriteInteger(System.Int64,System.Int32)"> |
||
8928 | <summary>
|
||
8929 | WriteInteger |
||
8930 | </summary>
|
||
8931 | <param name="v"></param> |
||
8932 | <param name="numbytes"></param> |
||
8933 | </member>
|
||
8934 | <member name="T:MySql.Data.MySqlClient.MySqlPool"> |
||
8935 | <summary>
|
||
8936 | Summary description for MySqlPool. |
||
8937 | </summary>
|
||
8938 | </member>
|
||
8939 | <member name="P:MySql.Data.MySqlClient.MySqlPool.HasIdleConnections"> |
||
8940 | <summary>
|
||
8941 | It is assumed that this property will only be used from inside an active |
||
8942 | lock. |
||
8943 | </summary>
|
||
8944 | </member>
|
||
8945 | <member name="P:MySql.Data.MySqlClient.MySqlPool.BeingCleared"> |
||
8946 | <summary>
|
||
8947 | Indicates whether this pool is being cleared. |
||
8948 | </summary>
|
||
8949 | </member>
|
||
8950 | <member name="M:MySql.Data.MySqlClient.MySqlPool.GetPooledConnection"> |
||
8951 | <summary>
|
||
8952 | It is assumed that this method is only called from inside an active lock. |
||
8953 | </summary>
|
||
8954 | </member>
|
||
8955 | <member name="M:MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection"> |
||
8956 | <summary>
|
||
8957 | It is assumed that this method is only called from inside an active lock. |
||
8958 | </summary>
|
||
8959 | </member>
|
||
8960 | <member name="M:MySql.Data.MySqlClient.MySqlPool.RemoveConnection(MySql.Data.MySqlClient.Driver)"> |
||
8961 | <summary>
|
||
8962 | Removes a connection from the in use pool. The only situations where this method |
||
8963 | would be called are when a connection that is in use gets some type of fatal exception |
||
8964 | or when the connection is being returned to the pool and it's too old to be |
||
8965 | returned. |
||
8966 | </summary>
|
||
8967 | <param name="driver"></param> |
||
8968 | </member>
|
||
8969 | <member name="M:MySql.Data.MySqlClient.MySqlPool.Clear"> |
||
8970 | <summary>
|
||
8971 | Clears this pool of all idle connections and marks this pool and being cleared |
||
8972 | so all other connections are closed when they are returned. |
||
8973 | </summary>
|
||
8974 | </member>
|
||
8975 | <member name="M:MySql.Data.MySqlClient.MySqlPool.RemoveOldIdleConnections"> |
||
8976 | <summary>
|
||
8977 | Remove expired drivers from the idle pool |
||
8978 | </summary>
|
||
8979 | <returns></returns> |
||
8980 | <remarks>
|
||
8981 | Closing driver is a potentially lengthy operation involving network |
||
8982 | IO. Therefore we do not close expired drivers while holding |
||
8983 | idlePool.SyncRoot lock. We just remove the old drivers from the idle |
||
8984 | queue and return them to the caller. The caller will need to close |
||
8985 | them (or let GC close them) |
||
8986 | </remarks>
|
||
8987 | </member>
|
||
8988 | <member name="T:MySql.Data.MySqlClient.MySqlPoolManager"> |
||
8989 | <summary>
|
||
8990 | Summary description for MySqlPoolManager. |
||
8991 | </summary>
|
||
8992 | </member>
|
||
8993 | <member name="M:MySql.Data.MySqlClient.MySqlPoolManager.CleanIdleConnections(System.Object)"> |
||
8994 | <summary>
|
||
8995 | Remove drivers that have been idle for too long. |
||
8996 | </summary>
|
||
8997 | </member>
|
||
8998 | <member name="T:MySql.Data.MySqlClient.MySqlTransactionScope"> |
||
8999 | <summary>
|
||
9000 | Represents a single(not nested) TransactionScope |
||
9001 | </summary>
|
||
9002 | </member>
|
||
9003 | <member name="T:MySql.Data.MySqlClient.MySqlScript"> |
||
9004 | <summary>
|
||
9005 | Provides a class capable of executing a SQL script containing |
||
9006 | multiple SQL statements including CREATE PROCEDURE statements |
||
9007 | that require changing the delimiter |
||
9008 | </summary>
|
||
9009 | </member>
|
||
9010 | <member name="M:MySql.Data.MySqlClient.MySqlScript.#ctor"> |
||
9011 | <summary>
|
||
9012 | Initializes a new instance of the |
||
9013 | <see cref="T:MySql.Data.MySqlClient.MySqlScript"/> class. |
||
9014 | </summary>
|
||
9015 | </member>
|
||
9016 | <member name="M:MySql.Data.MySqlClient.MySqlScript.#ctor(MySql.Data.MySqlClient.MySqlConnection)"> |
||
9017 | <summary>
|
||
9018 | Initializes a new instance of the |
||
9019 | <see cref="T:MySql.Data.MySqlClient.MySqlScript"/> class. |
||
9020 | </summary>
|
||
9021 | <param name="connection">The connection.</param> |
||
9022 | </member>
|
||
9023 | <member name="M:MySql.Data.MySqlClient.MySqlScript.#ctor(System.String)"> |
||
9024 | <summary>
|
||
9025 | Initializes a new instance of the |
||
9026 | <see cref="T:MySql.Data.MySqlClient.MySqlScript"/> class. |
||
9027 | </summary>
|
||
9028 | <param name="query">The query.</param> |
||
9029 | </member>
|
||
9030 | <member name="M:MySql.Data.MySqlClient.MySqlScript.#ctor(MySql.Data.MySqlClient.MySqlConnection,System.String)"> |
||
9031 | <summary>
|
||
9032 | Initializes a new instance of the |
||
9033 | <see cref="T:MySql.Data.MySqlClient.MySqlScript"/> class. |
||
9034 | </summary>
|
||
9035 | <param name="connection">The connection.</param> |
||
9036 | <param name="query">The query.</param> |
||
9037 | </member>
|
||
9038 | <member name="P:MySql.Data.MySqlClient.MySqlScript.Connection"> |
||
9039 | <summary>
|
||
9040 | Gets or sets the connection. |
||
9041 | </summary>
|
||
9042 | <value>The connection.</value> |
||
9043 | </member>
|
||
9044 | <member name="P:MySql.Data.MySqlClient.MySqlScript.Query"> |
||
9045 | <summary>
|
||
9046 | Gets or sets the query. |
||
9047 | </summary>
|
||
9048 | <value>The query.</value> |
||
9049 | </member>
|
||
9050 | <member name="P:MySql.Data.MySqlClient.MySqlScript.Delimiter"> |
||
9051 | <summary>
|
||
9052 | Gets or sets the delimiter. |
||
9053 | </summary>
|
||
9054 | <value>The delimiter.</value> |
||
9055 | </member>
|
||
9056 | <member name="M:MySql.Data.MySqlClient.MySqlScript.Execute"> |
||
9057 | <summary>
|
||
9058 | Executes this instance. |
||
9059 | </summary>
|
||
9060 | <returns>The number of statements executed as part of the script.</returns> |
||
9061 | </member>
|
||
9062 | <member name="M:MySql.Data.MySqlClient.MySqlScript.ExecuteAsync"> |
||
9063 | <summary>
|
||
9064 | Async version of Execute |
||
9065 | </summary>
|
||
9066 | <returns>The number of statements executed as part of the script inside.</returns> |
||
9067 | </member>
|
||
9068 | <member name="T:MySql.Data.MySqlClient.MySqlStatementExecutedEventHandler"> |
||
9069 | <summary>
|
||
9070 | |||
9071 | </summary>
|
||
9072 | </member>
|
||
9073 | <member name="T:MySql.Data.MySqlClient.MySqlScriptErrorEventHandler"> |
||
9074 | <summary>
|
||
9075 | |||
9076 | </summary>
|
||
9077 | </member>
|
||
9078 | <member name="T:MySql.Data.MySqlClient.MySqlScriptEventArgs"> |
||
9079 | <summary>
|
||
9080 | |||
9081 | </summary>
|
||
9082 | </member>
|
||
9083 | <member name="P:MySql.Data.MySqlClient.MySqlScriptEventArgs.StatementText"> |
||
9084 | <summary>
|
||
9085 | Gets the statement text. |
||
9086 | </summary>
|
||
9087 | <value>The statement text.</value> |
||
9088 | </member>
|
||
9089 | <member name="P:MySql.Data.MySqlClient.MySqlScriptEventArgs.Line"> |
||
9090 | <summary>
|
||
9091 | Gets the line. |
||
9092 | </summary>
|
||
9093 | <value>The line.</value> |
||
9094 | </member>
|
||
9095 | <member name="P:MySql.Data.MySqlClient.MySqlScriptEventArgs.Position"> |
||
9096 | <summary>
|
||
9097 | Gets the position. |
||
9098 | </summary>
|
||
9099 | <value>The position.</value> |
||
9100 | </member>
|
||
9101 | <member name="T:MySql.Data.MySqlClient.MySqlScriptErrorEventArgs"> |
||
9102 | <summary>
|
||
9103 | |||
9104 | </summary>
|
||
9105 | </member>
|
||
9106 | <member name="M:MySql.Data.MySqlClient.MySqlScriptErrorEventArgs.#ctor(System.Exception)"> |
||
9107 | <summary>
|
||
9108 | Initializes a new instance of the <see cref="T:MySql.Data.MySqlClient.MySqlScriptErrorEventArgs"/> class. |
||
9109 | </summary>
|
||
9110 | <param name="exception">The exception.</param> |
||
9111 | </member>
|
||
9112 | <member name="P:MySql.Data.MySqlClient.MySqlScriptErrorEventArgs.Exception"> |
||
9113 | <summary>
|
||
9114 | Gets the exception. |
||
9115 | </summary>
|
||
9116 | <value>The exception.</value> |
||
9117 | </member>
|
||
9118 | <member name="P:MySql.Data.MySqlClient.MySqlScriptErrorEventArgs.Ignore"> |
||
9119 | <summary>
|
||
9120 | Gets or sets a value indicating whether this <see cref="T:MySql.Data.MySqlClient.MySqlScriptErrorEventArgs"/> is ignore. |
||
9121 | </summary>
|
||
9122 | <value><c>true</c> if ignore; otherwise, <c>false</c>.</value> |
||
9123 | </member>
|
||
9124 | <member name="T:MySql.Data.MySqlClient.MySqlStream"> |
||
9125 | <summary>
|
||
9126 | Summary description for MySqlStream. |
||
9127 | </summary>
|
||
9128 | </member>
|
||
9129 | <member name="M:MySql.Data.MySqlClient.MySqlStream.ReadPacket"> |
||
9130 | <summary>
|
||
9131 | ReadPacket is called by NativeDriver to start reading the next |
||
9132 | packet on the stream. |
||
9133 | </summary>
|
||
9134 | </member>
|
||
9135 | <member name="M:MySql.Data.MySqlClient.MySqlStream.ReadFully(System.IO.Stream,System.Byte[],System.Int32,System.Int32)"> |
||
9136 | <summary>
|
||
9137 | Reads the specified number of bytes from the stream and stores them at given |
||
9138 | offset in the buffer. |
||
9139 | Throws EndOfStreamException if not all bytes can be read. |
||
9140 | </summary>
|
||
9141 | <param name="stream">Stream to read from</param> |
||
9142 | <param name="buffer"> Array to store bytes read from the stream </param> |
||
9143 | <param name="offset">The offset in buffer at which to begin storing the data read from the current stream. </param> |
||
9144 | <param name="count">Number of bytes to read</param> |
||
9145 | </member>
|
||
9146 | <member name="M:MySql.Data.MySqlClient.MySqlStream.LoadPacket"> |
||
9147 | <summary>
|
||
9148 | LoadPacket loads up and decodes the header of the incoming packet. |
||
9149 | </summary>
|
||
9150 | </member>
|
||
9151 | <member name="T:MySql.Data.MySqlClient.NativeDriver"> |
||
9152 | <summary>
|
||
9153 | Summary description for Driver. |
||
9154 | </summary>
|
||
9155 | </member>
|
||
9156 | <member name="M:MySql.Data.MySqlClient.NativeDriver.SetDatabase(System.String)"> |
||
9157 | <summary>
|
||
9158 | Sets the current database for the this connection |
||
9159 | </summary>
|
||
9160 | <param name="dbName"></param> |
||
9161 | </member>
|
||
9162 | <member name="M:MySql.Data.MySqlClient.NativeDriver.GetClientCertificates"> |
||
9163 | <summary>
|
||
9164 | Retrieve client SSL certificates. Dependent on connection string |
||
9165 | settings we use either file or store based certificates. |
||
9166 | </summary>
|
||
9167 | </member>
|
||
9168 | <member name="M:MySql.Data.MySqlClient.NativeDriver.SetConnectionFlags(MySql.Data.MySqlClient.ClientFlags)"> |
||
9169 | <summary>
|
||
9170 | Return the appropriate set of connection flags for our |
||
9171 | server capabilities and our user requested options. |
||
9172 | </summary>
|
||
9173 | </member>
|
||
9174 | <member name="M:MySql.Data.MySqlClient.NativeDriver.SendQuery(MySql.Data.MySqlClient.MySqlPacket)"> |
||
9175 | <summary>
|
||
9176 | Query is the method that is called to send all queries to the server |
||
9177 | </summary>
|
||
9178 | </member>
|
||
9179 | <member name="M:MySql.Data.MySqlClient.NativeDriver.SendFileToServer(System.String)"> |
||
9180 | <summary>
|
||
9181 | Sends the specified file to the server. |
||
9182 | This supports the LOAD DATA LOCAL INFILE |
||
9183 | </summary>
|
||
9184 | <param name="filename"></param> |
||
9185 | </member>
|
||
9186 | <member name="M:MySql.Data.MySqlClient.NativeDriver.FetchDataRow(System.Int32,System.Int32)"> |
||
9187 | <summary>
|
||
9188 | FetchDataRow is the method that the data reader calls to see if there is another |
||
9189 | row to fetch. In the non-prepared mode, it will simply read the next data packet. |
||
9190 | In the prepared mode (statementId > 0), it will
|
||
9191 | </summary>
|
||
9192 | </member>
|
||
9193 | <member name="M:MySql.Data.MySqlClient.NativeDriver.ResetTimeout(System.Int32)"> |
||
9194 | <summary>
|
||
9195 | Execution timeout, in milliseconds. When the accumulated time for network IO exceeds this value |
||
9196 | TimeoutException is thrown. This timeout needs to be reset for every new command |
||
9197 | </summary>
|
||
9198 | |||
9199 | </member>
|
||
9200 | <member name="T:MySql.Data.MySqlClient.PreparableStatement"> |
||
9201 | <summary>
|
||
9202 | Summary description for PreparedStatement. |
||
9203 | </summary>
|
||
9204 | </member>
|
||
9205 | <member name="M:MySql.Data.MySqlClient.PreparableStatement.PrepareCommandText(System.String@)"> |
||
9206 | <summary>
|
||
9207 | Prepares CommandText for use with the Prepare method |
||
9208 | </summary>
|
||
9209 | <returns>Command text stripped of all paramter names</returns> |
||
9210 | <remarks>
|
||
9211 | Takes the output of TokenizeSql and creates a single string of SQL |
||
9212 | that only contains '?' markers for each parameter. It also creates |
||
9213 | the parameterMap array list that includes all the paramter names in the |
||
9214 | order they appeared in the SQL |
||
9215 | </remarks>
|
||
9216 | </member>
|
||
9217 | <member name="T:MySql.Data.MySqlClient.ReplicationConfigurationElement"> |
||
9218 | <summary>
|
||
9219 | Used to define a Replication configurarion element in configuration file |
||
9220 | </summary>
|
||
9221 | </member>
|
||
9222 | <member name="T:MySql.Data.MySqlClient.ReplicationServerGroupConfigurationElement"> |
||
9223 | <summary>
|
||
9224 | Used to define a Replication server group in configuration file |
||
9225 | </summary>
|
||
9226 | </member>
|
||
9227 | <member name="T:MySql.Data.MySqlClient.ReplicationServerConfigurationElement"> |
||
9228 | <summary>
|
||
9229 | Defines a Replication server in configuration file |
||
9230 | </summary>
|
||
9231 | </member>
|
||
9232 | <!-- Badly formed XML comment ignored for member "T:MySql.Data.MySqlClient.Replication.ReplicationManager" -->
|
||
9233 | <member name="P:MySql.Data.MySqlClient.Replication.ReplicationManager.Groups"> |
||
9234 | <summary>
|
||
9235 | Returns Replication Server Group List |
||
9236 | </summary>
|
||
9237 | </member>
|
||
9238 | <member name="M:MySql.Data.MySqlClient.Replication.ReplicationManager.AddGroup(System.String,System.Int32)"> |
||
9239 | <summary>
|
||
9240 | Adds a Default Server Group to the list |
||
9241 | </summary>
|
||
9242 | <param name="name">Group name</param> |
||
9243 | <param name="retryTime">Time between reconnections for failed servers</param> |
||
9244 | <returns>Replication Server Group added</returns> |
||
9245 | </member>
|
||
9246 | <member name="M:MySql.Data.MySqlClient.Replication.ReplicationManager.AddGroup(System.String,System.String,System.Int32)"> |
||
9247 | <summary>
|
||
9248 | Adds a Server Group to the list |
||
9249 | </summary>
|
||
9250 | <param name="name">Group name</param> |
||
9251 | <param name="groupType">ServerGroup type reference</param> |
||
9252 | <param name="retryTime">Time between reconnections for failed servers</param> |
||
9253 | <returns>Server Group added</returns> |
||
9254 | </member>
|
||
9255 | <member name="M:MySql.Data.MySqlClient.Replication.ReplicationManager.GetServer(System.String,System.Boolean)"> |
||
9256 | <summary>
|
||
9257 | Gets the next server from a replication group |
||
9258 | </summary>
|
||
9259 | <param name="groupName">Group name</param> |
||
9260 | <param name="isMaster">True if the server to return must be a master</param> |
||
9261 | <returns>Replication Server defined by the Load Balancing plugin</returns> |
||
9262 | </member>
|
||
9263 | <member name="M:MySql.Data.MySqlClient.Replication.ReplicationManager.GetGroup(System.String)"> |
||
9264 | <summary>
|
||
9265 | Gets a Server Group by name |
||
9266 | </summary>
|
||
9267 | <param name="groupName">Group name</param> |
||
9268 | <returns>Server Group if found, otherwise throws an MySqlException</returns> |
||
9269 | </member>
|
||
9270 | <member name="M:MySql.Data.MySqlClient.Replication.ReplicationManager.IsReplicationGroup(System.String)"> |
||
9271 | <summary>
|
||
9272 | Validates if the replication group name exists |
||
9273 | </summary>
|
||
9274 | <param name="groupName">Group name to validate</param> |
||
9275 | <returns>True if replication group name is found, otherwise false</returns> |
||
9276 | </member>
|
||
9277 | <member name="M:MySql.Data.MySqlClient.Replication.ReplicationManager.GetNewConnection(System.String,System.Boolean,MySql.Data.MySqlClient.MySqlConnection)"> |
||
9278 | <summary>
|
||
9279 | Assigns a new server driver to the connection object |
||
9280 | </summary>
|
||
9281 | <param name="groupName">Group name</param> |
||
9282 | <param name="master">True if the server connection to assign must be a master</param> |
||
9283 | <param name="connection">MySqlConnection object where the new driver will be assigned</param> |
||
9284 | </member>
|
||
9285 | <member name="T:MySql.Data.MySqlClient.Replication.ReplicationRoundRobinServerGroup"> |
||
9286 | <summary>
|
||
9287 | Class that implements Round Robing Load Balancing technique |
||
9288 | </summary>
|
||
9289 | </member>
|
||
9290 | <member name="M:MySql.Data.MySqlClient.Replication.ReplicationRoundRobinServerGroup.GetServer(System.Boolean)"> |
||
9291 | <summary>
|
||
9292 | Gets an available server based on Round Robin load balancing |
||
9293 | </summary>
|
||
9294 | <param name="isMaster">True if the server to return must be a master</param> |
||
9295 | <returns>Next available server</returns> |
||
9296 | </member>
|
||
9297 | <member name="T:MySql.Data.MySqlClient.Replication.ReplicationServer"> |
||
9298 | <summary>
|
||
9299 | Represents a server in Replication environment |
||
9300 | </summary>
|
||
9301 | </member>
|
||
9302 | <member name="P:MySql.Data.MySqlClient.Replication.ReplicationServer.Name"> |
||
9303 | <summary>
|
||
9304 | Server name |
||
9305 | </summary>
|
||
9306 | </member>
|
||
9307 | <member name="P:MySql.Data.MySqlClient.Replication.ReplicationServer.IsMaster"> |
||
9308 | <summary>
|
||
9309 | Defines if the server is master (True) or slave |
||
9310 | </summary>
|
||
9311 | </member>
|
||
9312 | <member name="P:MySql.Data.MySqlClient.Replication.ReplicationServer.ConnectionString"> |
||
9313 | <summary>
|
||
9314 | Connection string used to connect to the server |
||
9315 | </summary>
|
||
9316 | </member>
|
||
9317 | <member name="P:MySql.Data.MySqlClient.Replication.ReplicationServer.IsAvailable"> |
||
9318 | <summary>
|
||
9319 | Defines if the server is available to be considered in load balancing |
||
9320 | </summary>
|
||
9321 | </member>
|
||
9322 | <member name="T:MySql.Data.MySqlClient.Replication.ReplicationServerGroup"> |
||
9323 | <summary>
|
||
9324 | Base class used to implement load balancing features |
||
9325 | </summary>
|
||
9326 | </member>
|
||
9327 | <member name="M:MySql.Data.MySqlClient.Replication.ReplicationServerGroup.#ctor(System.String,System.Int32)"> |
||
9328 | <param name="name">Group name</param> |
||
9329 | <param name="retryTime"></param> |
||
9330 | </member>
|
||
9331 | <member name="P:MySql.Data.MySqlClient.Replication.ReplicationServerGroup.Name"> |
||
9332 | <summary>
|
||
9333 | Group name |
||
9334 | </summary>
|
||
9335 | </member>
|
||
9336 | <member name="P:MySql.Data.MySqlClient.Replication.ReplicationServerGroup.RetryTime"> |
||
9337 | <summary>
|
||
9338 | Retry time between connections to failed servers |
||
9339 | </summary>
|
||
9340 | </member>
|
||
9341 | <member name="P:MySql.Data.MySqlClient.Replication.ReplicationServerGroup.Servers"> |
||
9342 | <summary>
|
||
9343 | Servers list in the group |
||
9344 | </summary>
|
||
9345 | </member>
|
||
9346 | <member name="M:MySql.Data.MySqlClient.Replication.ReplicationServerGroup.AddServer(System.String,System.Boolean,System.String)"> |
||
9347 | <summary>
|
||
9348 | Adds a server into the group |
||
9349 | </summary>
|
||
9350 | <param name="name">Server name</param> |
||
9351 | <param name="isMaster">True if the server to add is master, False for slave server</param> |
||
9352 | <param name="connectionString">Connection string used by this server</param> |
||
9353 | <returns></returns> |
||
9354 | </member>
|
||
9355 | <member name="M:MySql.Data.MySqlClient.Replication.ReplicationServerGroup.RemoveServer(System.String)"> |
||
9356 | <summary>
|
||
9357 | Removes a server from group |
||
9358 | </summary>
|
||
9359 | <param name="name">Server name</param> |
||
9360 | </member>
|
||
9361 | <member name="M:MySql.Data.MySqlClient.Replication.ReplicationServerGroup.GetServer(System.String)"> |
||
9362 | <summary>
|
||
9363 | Gets a server by name |
||
9364 | </summary>
|
||
9365 | <param name="name">Server name</param> |
||
9366 | <returns>Replication server</returns> |
||
9367 | </member>
|
||
9368 | <member name="M:MySql.Data.MySqlClient.Replication.ReplicationServerGroup.GetServer(System.Boolean)"> |
||
9369 | <summary>
|
||
9370 | Must be implemented. Defines the next server for a custom load balancing implementation. |
||
9371 | </summary>
|
||
9372 | <param name="isMaster">Defines if the server to return is a master or any</param> |
||
9373 | <returns>Next server based on the load balancing implementation.
|
||
9374 | Null if no available server is found. |
||
9375 | </returns>
|
||
9376 | </member>
|
||
9377 | <member name="M:MySql.Data.MySqlClient.Replication.ReplicationServerGroup.HandleFailover(MySql.Data.MySqlClient.Replication.ReplicationServer)"> |
||
9378 | <summary>
|
||
9379 | Handles a failed connection to a server. |
||
9380 | This method can be overrided to implement a custom failover handling |
||
9381 | </summary>
|
||
9382 | <param name="server">The failed server</param> |
||
9383 | </member>
|
||
9384 | <member name="M:MySql.Data.MySqlClient.Replication.ReplicationServerGroup.HandleFailover(MySql.Data.MySqlClient.Replication.ReplicationServer,System.Exception)"> |
||
9385 | <summary>
|
||
9386 | Handles a failed connection to a server. |
||
9387 | </summary>
|
||
9388 | <param name="server">The failed server</param> |
||
9389 | <param name="exception">Exception that caused the failover</param> |
||
9390 | </member>
|
||
9391 | <member name="M:MySql.Data.MySqlClient.ResultSet.GetOrdinal(System.String)"> |
||
9392 | <summary>
|
||
9393 | return the ordinal for the given column name |
||
9394 | </summary>
|
||
9395 | <param name="name"></param> |
||
9396 | <returns></returns> |
||
9397 | </member>
|
||
9398 | <member name="P:MySql.Data.MySqlClient.ResultSet.Item(System.Int32)"> |
||
9399 | <summary>
|
||
9400 | Retrieve the value as the given column index |
||
9401 | </summary>
|
||
9402 | <param name="index">The column value to retrieve</param> |
||
9403 | <returns>The value as the given column</returns> |
||
9404 | </member>
|
||
9405 | <member name="M:MySql.Data.MySqlClient.ResultSet.Close"> |
||
9406 | <summary>
|
||
9407 | Closes the current resultset, dumping any data still on the wire |
||
9408 | </summary>
|
||
9409 | </member>
|
||
9410 | <member name="M:MySql.Data.MySqlClient.ResultSet.LoadColumns(System.Int32)"> |
||
9411 | <summary>
|
||
9412 | Loads the column metadata for the current resultset |
||
9413 | </summary>
|
||
9414 | </member>
|
||
9415 | <member name="M:MySql.Data.MySqlClient.SchemaProvider.GetForeignKeysOnTable(MySql.Data.MySqlClient.MySqlSchemaCollection,MySql.Data.MySqlClient.MySqlSchemaRow,System.String,System.Boolean)"> |
||
9416 | <summary>
|
||
9417 | GetForeignKeysOnTable retrieves the foreign keys on the given table. |
||
9418 | Since MySQL supports foreign keys on versions prior to 5.0, we can't use |
||
9419 | information schema. MySQL also does not include any type of SHOW command |
||
9420 | for foreign keys so we have to resort to use SHOW CREATE TABLE and parsing |
||
9421 | the output. |
||
9422 | </summary>
|
||
9423 | <param name="fkTable">The table to store the key info in.</param> |
||
9424 | <param name="tableToParse">The table to get the foeign key info for.</param> |
||
9425 | <param name="filterName">Only get foreign keys that match this name.</param> |
||
9426 | <param name="includeColumns">Should column information be included in the table.</param> |
||
9427 | </member>
|
||
9428 | <member name="M:MySql.Data.MySqlClient.Statement.SerializeParameter(MySql.Data.MySqlClient.MySqlParameterCollection,MySql.Data.MySqlClient.MySqlPacket,System.String,System.Int32)"> |
||
9429 | <summary>
|
||
9430 | Serializes the given parameter to the given memory stream |
||
9431 | </summary>
|
||
9432 | <remarks>
|
||
9433 | <para>This method is called by PrepareSqlBuffers to convert the given
|
||
9434 | parameter to bytes and write those bytes to the given memory stream. |
||
9435 | </para>
|
||
9436 | </remarks>
|
||
9437 | <returns>True if the parameter was successfully serialized, false otherwise.</returns> |
||
9438 | </member>
|
||
9439 | <member name="T:MySql.Data.MySqlClient.StoredProcedure"> |
||
9440 | <summary>
|
||
9441 | Summary description for StoredProcedure. |
||
9442 | </summary>
|
||
9443 | </member>
|
||
9444 | <member name="T:MySql.Data.MySqlClient.TimedStream"> |
||
9445 | <summary>
|
||
9446 | Stream that supports timeout of IO operations. |
||
9447 | This class is used is used to support timeouts for SQL command, where a |
||
9448 | typical operation involves several network reads/writes. |
||
9449 | Timeout here is defined as the accumulated duration of all IO operations. |
||
9450 | </summary>
|
||
9451 | </member>
|
||
9452 | <member name="M:MySql.Data.MySqlClient.TimedStream.#ctor(System.IO.Stream)"> |
||
9453 | <summary>
|
||
9454 | Construct a TimedStream |
||
9455 | </summary>
|
||
9456 | <param name="baseStream"> Undelying stream</param> |
||
9457 | </member>
|
||
9458 | <member name="M:MySql.Data.MySqlClient.TimedStream.ShouldResetStreamTimeout(System.Int32,System.Int32)"> |
||
9459 | <summary>
|
||
9460 | Figure out whether it is necessary to reset timeout on stream. |
||
9461 | We track the current value of timeout and try to avoid |
||
9462 | changing it too often, because setting Read/WriteTimeout property |
||
9463 | on network stream maybe a slow operation that involves a system call |
||
9464 | (setsockopt). Therefore, we allow a small difference, and do not |
||
9465 | reset timeout if current value is slightly greater than the requested |
||
9466 | one (within 0.1 second). |
||
9467 | </summary>
|
||
9468 | </member>
|
||
9469 | <member name="M:MySql.Data.MySqlClient.TimedStream.HandleException(System.Exception)"> |
||
9470 | <summary>
|
||
9471 | Common handler for IO exceptions. |
||
9472 | Resets timeout to infinity if timeout exception is |
||
9473 | detected and stops the times. |
||
9474 | </summary>
|
||
9475 | <param name="e">original exception</param> |
||
9476 | </member>
|
||
9477 | <member name="T:MySql.Data.MySqlClient.Properties.Resources"> |
||
9478 | <summary>
|
||
9479 | A strongly-typed resource class, for looking up localized strings, etc. |
||
9480 | </summary>
|
||
9481 | </member>
|
||
9482 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ResourceManager"> |
||
9483 | <summary>
|
||
9484 | Returns the cached ResourceManager instance used by this class. |
||
9485 | </summary>
|
||
9486 | </member>
|
||
9487 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.Culture"> |
||
9488 | <summary>
|
||
9489 | Overrides the current thread's CurrentUICulture property for all |
||
9490 | resource lookups using this strongly typed resource class. |
||
9491 | </summary>
|
||
9492 | </member>
|
||
9493 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.AdapterIsNull"> |
||
9494 | <summary>
|
||
9495 | Looks up a localized string similar to Improper MySqlCommandBuilder state: adapter is null. |
||
9496 | </summary>
|
||
9497 | </member>
|
||
9498 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.AdapterSelectIsNull"> |
||
9499 | <summary>
|
||
9500 | Looks up a localized string similar to Improper MySqlCommandBuilder state: adapter's SelectCommand is null.
|
||
9501 | </summary>
|
||
9502 | </member>
|
||
9503 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.AttemptToAccessBeforeRead"> |
||
9504 | <summary>
|
||
9505 | Looks up a localized string similar to Invalid attempt to access a field before calling Read(). |
||
9506 | </summary>
|
||
9507 | </member>
|
||
9508 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.AuthenticationFailed"> |
||
9509 | <summary>
|
||
9510 | Looks up a localized string similar to Authentication to host '{0}' for user '{1}' using method '{2}' failed with message: {3}. |
||
9511 | </summary>
|
||
9512 | </member>
|
||
9513 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.AuthenticationMethodNotSupported"> |
||
9514 | <summary>
|
||
9515 | Looks up a localized string similar to Authentication method '{0}' not supported by any of the available plugins.. |
||
9516 | </summary>
|
||
9517 | </member>
|
||
9518 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.BadVersionFormat"> |
||
9519 | <summary>
|
||
9520 | Looks up a localized string similar to Version string not in acceptable format. |
||
9521 | </summary>
|
||
9522 | </member>
|
||
9523 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.BufferCannotBeNull"> |
||
9524 | <summary>
|
||
9525 | Looks up a localized string similar to The buffer cannot be null. |
||
9526 | </summary>
|
||
9527 | </member>
|
||
9528 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.BufferNotLargeEnough"> |
||
9529 | <summary>
|
||
9530 | Looks up a localized string similar to Buffer is not large enough. |
||
9531 | </summary>
|
||
9532 | </member>
|
||
9533 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.CancelNeeds50"> |
||
9534 | <summary>
|
||
9535 | Looks up a localized string similar to Canceling an executing query requires MySQL 5.0 or higher.. |
||
9536 | </summary>
|
||
9537 | </member>
|
||
9538 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.CancelNotSupported"> |
||
9539 | <summary>
|
||
9540 | Looks up a localized string similar to Canceling an active query is only supported on MySQL 5.0.0 and above. . |
||
9541 | </summary>
|
||
9542 | </member>
|
||
9543 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.CanNotDeriveParametersForTextCommands"> |
||
9544 | <summary>
|
||
9545 | Looks up a localized string similar to Parameters can only be derived for commands using the StoredProcedure command type.. |
||
9546 | </summary>
|
||
9547 | </member>
|
||
9548 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.CBMultiTableNotSupported"> |
||
9549 | <summary>
|
||
9550 | Looks up a localized string similar to MySqlCommandBuilder does not support multi-table statements. |
||
9551 | </summary>
|
||
9552 | </member>
|
||
9553 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.CBNoKeyColumn"> |
||
9554 | <summary>
|
||
9555 | Looks up a localized string similar to MySqlCommandBuilder cannot operate on tables with no unique or key columns. |
||
9556 | </summary>
|
||
9557 | </member>
|
||
9558 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ChaosNotSupported"> |
||
9559 | <summary>
|
||
9560 | Looks up a localized string similar to Chaos isolation level is not supported. |
||
9561 | </summary>
|
||
9562 | </member>
|
||
9563 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.CommandTextNotInitialized"> |
||
9564 | <summary>
|
||
9565 | Looks up a localized string similar to The CommandText property has not been properly initialized.. |
||
9566 | </summary>
|
||
9567 | </member>
|
||
9568 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ConnectionAlreadyOpen"> |
||
9569 | <summary>
|
||
9570 | Looks up a localized string similar to The connection is already open.. |
||
9571 | </summary>
|
||
9572 | </member>
|
||
9573 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ConnectionBroken"> |
||
9574 | <summary>
|
||
9575 | Looks up a localized string similar to Connection unexpectedly terminated.. |
||
9576 | </summary>
|
||
9577 | </member>
|
||
9578 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ConnectionMustBeOpen"> |
||
9579 | <summary>
|
||
9580 | Looks up a localized string similar to Connection must be valid and open. |
||
9581 | </summary>
|
||
9582 | </member>
|
||
9583 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ConnectionNotOpen"> |
||
9584 | <summary>
|
||
9585 | Looks up a localized string similar to The connection is not open.. |
||
9586 | </summary>
|
||
9587 | </member>
|
||
9588 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ConnectionNotSet"> |
||
9589 | <summary>
|
||
9590 | Looks up a localized string similar to The connection property has not been set or is null.. |
||
9591 | </summary>
|
||
9592 | </member>
|
||
9593 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.CouldNotFindColumnName"> |
||
9594 | <summary>
|
||
9595 | Looks up a localized string similar to Could not find specified column in results: {0}. |
||
9596 | </summary>
|
||
9597 | </member>
|
||
9598 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.CountCannotBeNegative"> |
||
9599 | <summary>
|
||
9600 | Looks up a localized string similar to Count cannot be negative. |
||
9601 | </summary>
|
||
9602 | </member>
|
||
9603 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.CSNoSetLength"> |
||
9604 | <summary>
|
||
9605 | Looks up a localized string similar to SetLength is not a valid operation on CompressedStream. |
||
9606 | </summary>
|
||
9607 | </member>
|
||
9608 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.DataNotInSupportedFormat"> |
||
9609 | <summary>
|
||
9610 | Looks up a localized string similar to The given value was not in a supported format.. |
||
9611 | </summary>
|
||
9612 | </member>
|
||
9613 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.DataReaderOpen"> |
||
9614 | <summary>
|
||
9615 | Looks up a localized string similar to There is already an open DataReader associated with this Connection which must be closed first.. |
||
9616 | </summary>
|
||
9617 | </member>
|
||
9618 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.DefaultEncodingNotFound"> |
||
9619 | <summary>
|
||
9620 | Looks up a localized string similar to The default connection encoding was not found. Please report this as a bug along with your connection string and system details.. |
||
9621 | </summary>
|
||
9622 | </member>
|
||
9623 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.DistributedTxnNotSupported"> |
||
9624 | <summary>
|
||
9625 | Looks up a localized string similar to MySQL Connector/Net does not currently support distributed transactions.. |
||
9626 | </summary>
|
||
9627 | </member>
|
||
9628 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ErrorCreatingSocket"> |
||
9629 | <summary>
|
||
9630 | Looks up a localized string similar to Error creating socket connection. |
||
9631 | </summary>
|
||
9632 | </member>
|
||
9633 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.FatalErrorDuringExecute"> |
||
9634 | <summary>
|
||
9635 | Looks up a localized string similar to Fatal error encountered during command execution.. |
||
9636 | </summary>
|
||
9637 | </member>
|
||
9638 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.FatalErrorDuringRead"> |
||
9639 | <summary>
|
||
9640 | Looks up a localized string similar to Fatal error encountered during data read.. |
||
9641 | </summary>
|
||
9642 | </member>
|
||
9643 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.FatalErrorReadingResult"> |
||
9644 | <summary>
|
||
9645 | Looks up a localized string similar to Fatal error encountered attempting to read the resultset.. |
||
9646 | </summary>
|
||
9647 | </member>
|
||
9648 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.FileBasedCertificateNotSupported"> |
||
9649 | <summary>
|
||
9650 | Looks up a localized string similar to File based certificates are only supported when connecting to MySQL Server 5.1 or greater.. |
||
9651 | </summary>
|
||
9652 | </member>
|
||
9653 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.FromAndLengthTooBig"> |
||
9654 | <summary>
|
||
9655 | Looks up a localized string similar to From index and length use more bytes than from contains. |
||
9656 | </summary>
|
||
9657 | </member>
|
||
9658 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.FromIndexMustBeValid"> |
||
9659 | <summary>
|
||
9660 | Looks up a localized string similar to From index must be a valid index inside the from buffer. |
||
9661 | </summary>
|
||
9662 | </member>
|
||
9663 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.GetHostEntryFailed"> |
||
9664 | <summary>
|
||
9665 | Looks up a localized string similar to Call to GetHostEntry failed after {0} while querying for hostname '{1}': SocketErrorCode={2}, ErrorCode={3}, NativeErrorCode={4}.. |
||
9666 | </summary>
|
||
9667 | </member>
|
||
9668 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.HardProcQuery"> |
||
9669 | <summary>
|
||
9670 | Looks up a localized string similar to Retrieving procedure metadata for {0} from server.. |
||
9671 | </summary>
|
||
9672 | </member>
|
||
9673 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ImproperValueFormat"> |
||
9674 | <summary>
|
||
9675 | Looks up a localized string similar to Value has an unsupported format.. |
||
9676 | </summary>
|
||
9677 | </member>
|
||
9678 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.IncorrectTransmission"> |
||
9679 | <summary>
|
||
9680 | Looks up a localized string similar to An incorrect response was received from the server.. |
||
9681 | </summary>
|
||
9682 | </member>
|
||
9683 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.IndexAndLengthTooBig"> |
||
9684 | <summary>
|
||
9685 | Looks up a localized string similar to Index and length use more bytes than to has room for. |
||
9686 | </summary>
|
||
9687 | </member>
|
||
9688 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.IndexMustBeValid"> |
||
9689 | <summary>
|
||
9690 | Looks up a localized string similar to Index must be a valid position in the buffer. |
||
9691 | </summary>
|
||
9692 | </member>
|
||
9693 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.InvalidColumnOrdinal"> |
||
9694 | <summary>
|
||
9695 | Looks up a localized string similar to You have specified an invalid column ordinal.. |
||
9696 | </summary>
|
||
9697 | </member>
|
||
9698 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.InvalidConnectionStringValue"> |
||
9699 | <summary>
|
||
9700 | Looks up a localized string similar to The requested value '{0}' is invalid for the given keyword '{1}'.. |
||
9701 | </summary>
|
||
9702 | </member>
|
||
9703 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.InvalidMicrosecondValue"> |
||
9704 | <summary>
|
||
9705 | Looks up a localized string similar to Microsecond must be a value between 0 and 999999.. |
||
9706 | </summary>
|
||
9707 | </member>
|
||
9708 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.InvalidMillisecondValue"> |
||
9709 | <summary>
|
||
9710 | Looks up a localized string similar to Millisecond must be a value between 0 and 999. For more precision use Microsecond.. |
||
9711 | </summary>
|
||
9712 | </member>
|
||
9713 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.InvalidProcName"> |
||
9714 | <summary>
|
||
9715 | Looks up a localized string similar to Procedure or function '{0}' cannot be found in database '{1}'.. |
||
9716 | </summary>
|
||
9717 | </member>
|
||
9718 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.InvalidValueForBoolean"> |
||
9719 | <summary>
|
||
9720 | Looks up a localized string similar to '{0}' is an illegal value for a boolean option.. |
||
9721 | </summary>
|
||
9722 | </member>
|
||
9723 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.KeywordNoNull"> |
||
9724 | <summary>
|
||
9725 | Looks up a localized string similar to Keyword does not allow null values.. |
||
9726 | </summary>
|
||
9727 | </member>
|
||
9728 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.KeywordNotSupported"> |
||
9729 | <summary>
|
||
9730 | Looks up a localized string similar to Keyword not supported.. |
||
9731 | </summary>
|
||
9732 | </member>
|
||
9733 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.keywords"> |
||
9734 | <summary>
|
||
9735 | Looks up a localized string similar to ACCESSIBLE |
||
9736 | ADD |
||
9737 | ALL |
||
9738 | ALTER |
||
9739 | ANALYZE |
||
9740 | AND |
||
9741 | AS |
||
9742 | ASC |
||
9743 | ASENSITIVE |
||
9744 | BEFORE |
||
9745 | BEGIN |
||
9746 | BETWEEN |
||
9747 | BIGINT |
||
9748 | BINARY |
||
9749 | BLOB |
||
9750 | BOTH |
||
9751 | BY |
||
9752 | CALL |
||
9753 | CASCADE |
||
9754 | CASE |
||
9755 | CHANGE |
||
9756 | CHAR |
||
9757 | CHARACTER |
||
9758 | CHECK |
||
9759 | COLLATE |
||
9760 | COLUMN |
||
9761 | COMMIT |
||
9762 | CONDITION |
||
9763 | CONNECTION |
||
9764 | CONSTRAINT |
||
9765 | CONTINUE |
||
9766 | CONVERT |
||
9767 | CREATE |
||
9768 | CROSS |
||
9769 | CURRENT_DATE |
||
9770 | CURRENT_TIME |
||
9771 | CURRENT_TIMESTAMP |
||
9772 | CURRENT_USER |
||
9773 | CURSOR |
||
9774 | DATABASE |
||
9775 | DATABASES |
||
9776 | DAY_HOUR |
||
9777 | DAY_MICROSECOND |
||
9778 | DAY_MINUTE |
||
9779 | DAY_SECOND |
||
9780 | DEC |
||
9781 | DECIMAL |
||
9782 | DECLARE |
||
9783 | DEFAULT |
||
9784 | DELAYED |
||
9785 | DELETE |
||
9786 | DESC |
||
9787 | DESCRIBE |
||
9788 | DETERMINISTIC |
||
9789 | DISTINCT |
||
9790 | DISTINCTROW |
||
9791 | D [rest of string was truncated]";.
|
||
9792 | </summary>
|
||
9793 | </member>
|
||
9794 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.MixedParameterNamingNotAllowed"> |
||
9795 | <summary>
|
||
9796 | Looks up a localized string similar to Mixing named and unnamed parameters is not allowed.. |
||
9797 | </summary>
|
||
9798 | </member>
|
||
9799 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.MoreThanOneOPRow"> |
||
9800 | <summary>
|
||
9801 | Looks up a localized string similar to INTERNAL ERROR: More than one output parameter row detected.. |
||
9802 | </summary>
|
||
9803 | </member>
|
||
9804 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.MultipleConnectionsInTransactionNotSupported"> |
||
9805 | <summary>
|
||
9806 | Looks up a localized string similar to Multiple simultaneous connections or connections with different connection strings inside the same transaction are not currently supported.. |
||
9807 | </summary>
|
||
9808 | </member>
|
||
9809 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.NamedPipeNoSeek"> |
||
9810 | <summary>
|
||
9811 | Looks up a localized string similar to NamedPipeStream does not support seeking. |
||
9812 | </summary>
|
||
9813 | </member>
|
||
9814 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.NamedPipeNoSetLength"> |
||
9815 | <summary>
|
||
9816 | Looks up a localized string similar to NamedPipeStream doesn't support SetLength.
|
||
9817 | </summary>
|
||
9818 | </member>
|
||
9819 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.NewValueShouldBeMySqlParameter"> |
||
9820 | <summary>
|
||
9821 | Looks up a localized string similar to The new value must be a MySqlParameter object.. |
||
9822 | </summary>
|
||
9823 | </member>
|
||
9824 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.NextResultIsClosed"> |
||
9825 | <summary>
|
||
9826 | Looks up a localized string similar to Invalid attempt to call NextResult when the reader is closed.. |
||
9827 | </summary>
|
||
9828 | </member>
|
||
9829 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.NoBodiesAndTypeNotSet"> |
||
9830 | <summary>
|
||
9831 | Looks up a localized string similar to When calling stored procedures and 'Use Procedure Bodies' is false, all parameters must have their type explicitly set.. |
||
9832 | </summary>
|
||
9833 | </member>
|
||
9834 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.NoNestedTransactions"> |
||
9835 | <summary>
|
||
9836 | Looks up a localized string similar to Nested transactions are not supported.. |
||
9837 | </summary>
|
||
9838 | </member>
|
||
9839 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.NoServerSSLSupport"> |
||
9840 | <summary>
|
||
9841 | Looks up a localized string similar to The host {0} does not support SSL connections.. |
||
9842 | </summary>
|
||
9843 | </member>
|
||
9844 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.NoUnixSocketsOnWindows"> |
||
9845 | <summary>
|
||
9846 | Looks up a localized string similar to Unix sockets are not supported on Windows.. |
||
9847 | </summary>
|
||
9848 | </member>
|
||
9849 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.NoWindowsIdentity"> |
||
9850 | <summary>
|
||
9851 | Looks up a localized string similar to Cannot retrieve Windows identity for current user. Connections that use IntegratedSecurity cannot be pooled. Use either 'ConnectionReset=true' or 'Pooling=false' in the connection string to fix.. |
||
9852 | </summary>
|
||
9853 | </member>
|
||
9854 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ObjectDisposed"> |
||
9855 | <summary>
|
||
9856 | Looks up a localized string similar to The object is not open or has been disposed.. |
||
9857 | </summary>
|
||
9858 | </member>
|
||
9859 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.OffsetCannotBeNegative"> |
||
9860 | <summary>
|
||
9861 | Looks up a localized string similar to Offset cannot be negative. |
||
9862 | </summary>
|
||
9863 | </member>
|
||
9864 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.OffsetMustBeValid"> |
||
9865 | <summary>
|
||
9866 | Looks up a localized string similar to Offset must be a valid position in buffer. |
||
9867 | </summary>
|
||
9868 | </member>
|
||
9869 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.OldPasswordsNotSupported"> |
||
9870 | <summary>
|
||
9871 | Looks up a localized string similar to Authentication with old password no longer supported, use 4.1 style passwords.. |
||
9872 | </summary>
|
||
9873 | </member>
|
||
9874 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ParameterAlreadyDefined"> |
||
9875 | <summary>
|
||
9876 | Looks up a localized string similar to Parameter '{0}' has already been defined.. |
||
9877 | </summary>
|
||
9878 | </member>
|
||
9879 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ParameterCannotBeNegative"> |
||
9880 | <summary>
|
||
9881 | Looks up a localized string similar to Parameter cannot have a negative value. |
||
9882 | </summary>
|
||
9883 | </member>
|
||
9884 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ParameterCannotBeNull"> |
||
9885 | <summary>
|
||
9886 | Looks up a localized string similar to Parameter cannot be null. |
||
9887 | </summary>
|
||
9888 | </member>
|
||
9889 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ParameterIndexNotFound"> |
||
9890 | <summary>
|
||
9891 | Looks up a localized string similar to Parameter index was not found in Parameter Collection.. |
||
9892 | </summary>
|
||
9893 | </member>
|
||
9894 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ParameterIsInvalid"> |
||
9895 | <summary>
|
||
9896 | Looks up a localized string similar to Parameter is invalid.. |
||
9897 | </summary>
|
||
9898 | </member>
|
||
9899 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ParameterMustBeDefined"> |
||
9900 | <summary>
|
||
9901 | Looks up a localized string similar to Parameter '{0}' must be defined.. |
||
9902 | </summary>
|
||
9903 | </member>
|
||
9904 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ParameterNotFoundDuringPrepare"> |
||
9905 | <summary>
|
||
9906 | Looks up a localized string similar to Parameter '{0}' was not found during prepare.. |
||
9907 | </summary>
|
||
9908 | </member>
|
||
9909 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.PasswordMustHaveLegalChars"> |
||
9910 | <summary>
|
||
9911 | Looks up a localized string similar to Password must be valid and contain length characters. |
||
9912 | </summary>
|
||
9913 | </member>
|
||
9914 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.PerfMonCategoryHelp"> |
||
9915 | <summary>
|
||
9916 | Looks up a localized string similar to This category includes a series of counters for MySQL.. |
||
9917 | </summary>
|
||
9918 | </member>
|
||
9919 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.PerfMonCategoryName"> |
||
9920 | <summary>
|
||
9921 | Looks up a localized string similar to .NET Data Provider for MySQL. |
||
9922 | </summary>
|
||
9923 | </member>
|
||
9924 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.PerfMonHardProcHelp"> |
||
9925 | <summary>
|
||
9926 | Looks up a localized string similar to The number of times a procedures metadata had to be queried from the server.. |
||
9927 | </summary>
|
||
9928 | </member>
|
||
9929 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.PerfMonHardProcName"> |
||
9930 | <summary>
|
||
9931 | Looks up a localized string similar to Hard Procedure Queries. |
||
9932 | </summary>
|
||
9933 | </member>
|
||
9934 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.PerfMonSoftProcHelp"> |
||
9935 | <summary>
|
||
9936 | Looks up a localized string similar to The number of times a procedures metadata was retrieved from the client-side cache.. |
||
9937 | </summary>
|
||
9938 | </member>
|
||
9939 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.PerfMonSoftProcName"> |
||
9940 | <summary>
|
||
9941 | Looks up a localized string similar to Soft Procedure Queries. |
||
9942 | </summary>
|
||
9943 | </member>
|
||
9944 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ProcAndFuncSameName"> |
||
9945 | <summary>
|
||
9946 | Looks up a localized string similar to same name are not supported.. |
||
9947 | </summary>
|
||
9948 | </member>
|
||
9949 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.QueryTooLarge"> |
||
9950 | <summary>
|
||
9951 | Looks up a localized string similar to Packets larger than max_allowed_packet are not allowed.. |
||
9952 | </summary>
|
||
9953 | </member>
|
||
9954 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ReadFromStreamFailed"> |
||
9955 | <summary>
|
||
9956 | Looks up a localized string similar to Reading from the stream has failed.. |
||
9957 | </summary>
|
||
9958 | </member>
|
||
9959 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ReadingPriorColumnUsingSeqAccess"> |
||
9960 | <summary>
|
||
9961 | Looks up a localized string similar to Invalid attempt to read a prior column using SequentialAccess. |
||
9962 | </summary>
|
||
9963 | </member>
|
||
9964 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ReplicatedConnectionsAllowOnlyReadonlyStatements"> |
||
9965 | <summary>
|
||
9966 | Looks up a localized string similar to Replicated connections allow only readonly statements.. |
||
9967 | </summary>
|
||
9968 | </member>
|
||
9969 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.Replication_ConnectionAttemptFailed"> |
||
9970 | <summary>
|
||
9971 | Looks up a localized string similar to Attempt to connect to '{0}' server failed.. |
||
9972 | </summary>
|
||
9973 | </member>
|
||
9974 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.Replication_NoAvailableServer"> |
||
9975 | <summary>
|
||
9976 | Looks up a localized string similar to No available server found.. |
||
9977 | </summary>
|
||
9978 | </member>
|
||
9979 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ReplicationGroupNotFound"> |
||
9980 | <summary>
|
||
9981 | Looks up a localized string similar to Replication group '{0}' not found.. |
||
9982 | </summary>
|
||
9983 | </member>
|
||
9984 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ReplicationServerNotFound"> |
||
9985 | <summary>
|
||
9986 | Looks up a localized string similar to Replicated server not found: '{0}'. |
||
9987 | </summary>
|
||
9988 | </member>
|
||
9989 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.RoutineNotFound"> |
||
9990 | <summary>
|
||
9991 | Looks up a localized string similar to Routine '{0}' cannot be found. Either check the spelling or make sure you have sufficient rights to execute the routine.. |
||
9992 | </summary>
|
||
9993 | </member>
|
||
9994 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.RoutineRequiresReturnParameter"> |
||
9995 | <summary>
|
||
9996 | Looks up a localized string similar to Attempt to call stored function '{0}' without specifying a return parameter. |
||
9997 | </summary>
|
||
9998 | </member>
|
||
9999 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ServerTooOld"> |
||
10000 | <summary>
|
||
10001 | Looks up a localized string similar to Connector/Net no longer supports server versions prior to 5.0. |
||
10002 | </summary>
|
||
10003 | </member>
|
||
10004 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.SnapshotNotSupported"> |
||
10005 | <summary>
|
||
10006 | Looks up a localized string similar to Snapshot isolation level is not supported.. |
||
10007 | </summary>
|
||
10008 | </member>
|
||
10009 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.SocketNoSeek"> |
||
10010 | <summary>
|
||
10011 | Looks up a localized string similar to Socket streams do not support seeking. |
||
10012 | </summary>
|
||
10013 | </member>
|
||
10014 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.SoftProcQuery"> |
||
10015 | <summary>
|
||
10016 | Looks up a localized string similar to Retrieving procedure metadata for {0} from procedure cache.. |
||
10017 | </summary>
|
||
10018 | </member>
|
||
10019 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.SPNotSupported"> |
||
10020 | <summary>
|
||
10021 | Looks up a localized string similar to Stored procedures are not supported on this version of MySQL. |
||
10022 | </summary>
|
||
10023 | </member>
|
||
10024 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.StreamAlreadyClosed"> |
||
10025 | <summary>
|
||
10026 | Looks up a localized string similar to The stream has already been closed. |
||
10027 | </summary>
|
||
10028 | </member>
|
||
10029 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.StreamNoRead"> |
||
10030 | <summary>
|
||
10031 | Looks up a localized string similar to The stream does not support reading. |
||
10032 | </summary>
|
||
10033 | </member>
|
||
10034 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.StreamNoWrite"> |
||
10035 | <summary>
|
||
10036 | Looks up a localized string similar to The stream does not support writing. |
||
10037 | </summary>
|
||
10038 | </member>
|
||
10039 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.Timeout"> |
||
10040 | <summary>
|
||
10041 | Looks up a localized string similar to Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.. |
||
10042 | </summary>
|
||
10043 | </member>
|
||
10044 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TimeoutGettingConnection"> |
||
10045 | <summary>
|
||
10046 | Looks up a localized string similar to error connecting: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.. |
||
10047 | </summary>
|
||
10048 | </member>
|
||
10049 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceCloseConnection"> |
||
10050 | <summary>
|
||
10051 | Looks up a localized string similar to {0}: Connection Closed. |
||
10052 | </summary>
|
||
10053 | </member>
|
||
10054 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceErrorMoreThanMaxValueConnections"> |
||
10055 | <summary>
|
||
10056 | Looks up a localized string similar to Unable to trace. There are more than Int32.MaxValue connections in use.. |
||
10057 | </summary>
|
||
10058 | </member>
|
||
10059 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceFetchError"> |
||
10060 | <summary>
|
||
10061 | Looks up a localized string similar to {0}: Error encountered during row fetch. Number = {1}, Message={2}. |
||
10062 | </summary>
|
||
10063 | </member>
|
||
10064 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceOpenConnection"> |
||
10065 | <summary>
|
||
10066 | Looks up a localized string similar to {0}: Connection Opened: connection string = '{1}'. |
||
10067 | </summary>
|
||
10068 | </member>
|
||
10069 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceOpenResultError"> |
||
10070 | <summary>
|
||
10071 | Looks up a localized string similar to {0}: Error encountered attempting to open result: Number={1}, Message={2}. |
||
10072 | </summary>
|
||
10073 | </member>
|
||
10074 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceQueryDone"> |
||
10075 | <summary>
|
||
10076 | Looks up a localized string similar to {0}: Query Closed. |
||
10077 | </summary>
|
||
10078 | </member>
|
||
10079 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceQueryNormalized"> |
||
10080 | <summary>
|
||
10081 | Looks up a localized string similar to {0}: Query Normalized: {2}. |
||
10082 | </summary>
|
||
10083 | </member>
|
||
10084 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceQueryOpened"> |
||
10085 | <summary>
|
||
10086 | Looks up a localized string similar to {0}: Query Opened: {2}. |
||
10087 | </summary>
|
||
10088 | </member>
|
||
10089 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceResult"> |
||
10090 | <summary>
|
||
10091 | Looks up a localized string similar to {0}: Resultset Opened: field(s) = {1}, affected rows = {2}, inserted id = {3}. |
||
10092 | </summary>
|
||
10093 | </member>
|
||
10094 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceResultClosed"> |
||
10095 | <summary>
|
||
10096 | Looks up a localized string similar to {0}: Resultset Closed. Total rows={1}, skipped rows={2}, size (bytes)={3}. |
||
10097 | </summary>
|
||
10098 | </member>
|
||
10099 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceSetDatabase"> |
||
10100 | <summary>
|
||
10101 | Looks up a localized string similar to {0}: Set Database: {1}. |
||
10102 | </summary>
|
||
10103 | </member>
|
||
10104 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceStatementClosed"> |
||
10105 | <summary>
|
||
10106 | Looks up a localized string similar to {0}: Statement closed: statement id = {1}. |
||
10107 | </summary>
|
||
10108 | </member>
|
||
10109 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceStatementExecuted"> |
||
10110 | <summary>
|
||
10111 | Looks up a localized string similar to {0}: Statement executed: statement id = {1}. |
||
10112 | </summary>
|
||
10113 | </member>
|
||
10114 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceStatementPrepared"> |
||
10115 | <summary>
|
||
10116 | Looks up a localized string similar to {0}: Statement prepared: sql='{1}', statement id={2}. |
||
10117 | </summary>
|
||
10118 | </member>
|
||
10119 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceUAWarningBadIndex"> |
||
10120 | <summary>
|
||
10121 | Looks up a localized string similar to {0}: Usage Advisor Warning: Query is using a bad index. |
||
10122 | </summary>
|
||
10123 | </member>
|
||
10124 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceUAWarningFieldConversion"> |
||
10125 | <summary>
|
||
10126 | Looks up a localized string similar to {0}: Usage Advisor Warning: The field '{2}' was converted to the following types: {3}. |
||
10127 | </summary>
|
||
10128 | </member>
|
||
10129 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceUAWarningNoIndex"> |
||
10130 | <summary>
|
||
10131 | Looks up a localized string similar to {0}: Usage Advisor Warning: Query does not use an index. |
||
10132 | </summary>
|
||
10133 | </member>
|
||
10134 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceUAWarningSkippedColumns"> |
||
10135 | <summary>
|
||
10136 | Looks up a localized string similar to {0}: Usage Advisor Warning: The following columns were not accessed: {2}. |
||
10137 | </summary>
|
||
10138 | </member>
|
||
10139 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceUAWarningSkippedRows"> |
||
10140 | <summary>
|
||
10141 | Looks up a localized string similar to {0}: Usage Advisor Warning: Skipped {2} rows. Consider a more focused query.. |
||
10142 | </summary>
|
||
10143 | </member>
|
||
10144 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TraceWarning"> |
||
10145 | <summary>
|
||
10146 | Looks up a localized string similar to {0}: MySql Warning: Level={1}, Code={2}, Message={3}. |
||
10147 | </summary>
|
||
10148 | </member>
|
||
10149 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TypeIsNotCommandInterceptor"> |
||
10150 | <summary>
|
||
10151 | Looks up a localized string similar to Type '{0}' is not derived from BaseCommandInterceptor. |
||
10152 | </summary>
|
||
10153 | </member>
|
||
10154 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.TypeIsNotExceptionInterceptor"> |
||
10155 | <summary>
|
||
10156 | Looks up a localized string similar to Type '{0}' is not derived from BaseExceptionInterceptor. |
||
10157 | </summary>
|
||
10158 | </member>
|
||
10159 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnableToConnectToHost"> |
||
10160 | <summary>
|
||
10161 | Looks up a localized string similar to Unable to connect to any of the specified MySQL hosts.. |
||
10162 | </summary>
|
||
10163 | </member>
|
||
10164 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnableToCreateAuthPlugin"> |
||
10165 | <summary>
|
||
10166 | Looks up a localized string similar to Unable to create plugin for authentication method '{0}'. Please see inner exception for details.. |
||
10167 | </summary>
|
||
10168 | </member>
|
||
10169 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnableToDeriveParameters"> |
||
10170 | <summary>
|
||
10171 | Looks up a localized string similar to Unable to derive stored routine parameters. The 'Parameters' information schema table is not available and access to the stored procedure body has been disabled.. |
||
10172 | </summary>
|
||
10173 | </member>
|
||
10174 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnableToEnableQueryAnalysis"> |
||
10175 | <summary>
|
||
10176 | Looks up a localized string similar to Unable to enable query analysis. Be sure the MySql.Data.EMTrace assembly is properly located and registered.. |
||
10177 | </summary>
|
||
10178 | </member>
|
||
10179 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnableToEnumerateUDF"> |
||
10180 | <summary>
|
||
10181 | Looks up a localized string similar to An error occured attempting to enumerate the user-defined functions. Do you have SELECT privileges on the mysql.func table?. |
||
10182 | </summary>
|
||
10183 | </member>
|
||
10184 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnableToExecuteSP"> |
||
10185 | <summary>
|
||
10186 | Looks up a localized string similar to Unable to execute stored procedure '{0}'.. |
||
10187 | </summary>
|
||
10188 | </member>
|
||
10189 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnableToParseFK"> |
||
10190 | <summary>
|
||
10191 | Looks up a localized string similar to There was an error parsing the foreign key definition.. |
||
10192 | </summary>
|
||
10193 | </member>
|
||
10194 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnableToRetrieveParameters"> |
||
10195 | <summary>
|
||
10196 | Looks up a localized string similar to Unable to retrieve stored procedure metadata for routine '{0}'. Either grant SELECT privilege to mysql.proc for this user or use "check parameters=false" with your connection string.. |
||
10197 | </summary>
|
||
10198 | </member>
|
||
10199 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnableToStartSecondAsyncOp"> |
||
10200 | <summary>
|
||
10201 | Looks up a localized string similar to Unable to start a second async operation while one is running.. |
||
10202 | </summary>
|
||
10203 | </member>
|
||
10204 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnixSocketsNotSupported"> |
||
10205 | <summary>
|
||
10206 | Looks up a localized string similar to Unix sockets are not supported on Windows. |
||
10207 | </summary>
|
||
10208 | </member>
|
||
10209 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnknownAuthenticationMethod"> |
||
10210 | <summary>
|
||
10211 | Looks up a localized string similar to Unknown authentication method '{0}' was requested.. |
||
10212 | </summary>
|
||
10213 | </member>
|
||
10214 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.UnknownConnectionProtocol"> |
||
10215 | <summary>
|
||
10216 | Looks up a localized string similar to Unknown connection protocol. |
||
10217 | </summary>
|
||
10218 | </member>
|
||
10219 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ValueNotCorrectType"> |
||
10220 | <summary>
|
||
10221 | Looks up a localized string similar to Value '{0}' is not of the correct type.. |
||
10222 | </summary>
|
||
10223 | </member>
|
||
10224 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.ValueNotSupportedForGuid"> |
||
10225 | <summary>
|
||
10226 | Looks up a localized string similar to The requested column value could not be treated as or conveted to a Guid.. |
||
10227 | </summary>
|
||
10228 | </member>
|
||
10229 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.WinAuthNotSupportOnPlatform"> |
||
10230 | <summary>
|
||
10231 | Looks up a localized string similar to Windows authentication connections are not supported on {0}. |
||
10232 | </summary>
|
||
10233 | </member>
|
||
10234 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.WriteToStreamFailed"> |
||
10235 | <summary>
|
||
10236 | Looks up a localized string similar to Writing to the stream failed.. |
||
10237 | </summary>
|
||
10238 | </member>
|
||
10239 | <member name="P:MySql.Data.MySqlClient.Properties.Resources.WrongParameterName"> |
||
10240 | <summary>
|
||
10241 | Looks up a localized string similar to Parameter '{0}' is not found but a parameter with the name '{1}' is found. Parameter names must include the leading parameter marker.. |
||
10242 | </summary>
|
||
10243 | </member>
|
||
10244 | <member name="T:MySql.Data.Common.LowResolutionStopwatch"> |
||
10245 | <summary>
|
||
10246 | This class is modeled after .NET Stopwatch. It provides better |
||
10247 | performance (no system calls).It is however less precise than |
||
10248 | .NET Stopwatch, measuring in milliseconds. It is adequate to use |
||
10249 | when high-precision is not required (e.g for measuring IO timeouts), |
||
10250 | but not for other tasks. |
||
10251 | </summary>
|
||
10252 | </member>
|
||
10253 | <member name="F:MySql.Data.Common.MyNetworkStream.MaxRetryCount"> |
||
10254 | <summary>
|
||
10255 | Wrapper around NetworkStream. |
||
10256 | |||
10257 | MyNetworkStream is equivalent to NetworkStream, except |
||
10258 | 1. It throws TimeoutException if read or write timeout occurs, instead |
||
10259 | of IOException, to match behavior of other streams (named pipe and |
||
10260 | shared memory). This property comes handy in TimedStream. |
||
10261 | |||
10262 | 2. It implements workarounds for WSAEWOULDBLOCK errors, that can start |
||
10263 | occuring after stream has times out. For a discussion about the CLR bug, |
||
10264 | refer to http://tinyurl.com/lhgpyf. This error should never occur, as |
||
10265 | we're not using asynchronous operations, but apparerntly it does occur |
||
10266 | directly after timeout has expired. |
||
10267 | The workaround is hinted in the URL above and implemented like this: |
||
10268 | For each IO operation, if it throws WSAEWOULDBLOCK, we explicitely set |
||
10269 | the socket to Blocking and retry the operation once again. |
||
10270 | </summary>
|
||
10271 | </member>
|
||
10272 | <member name="M:MySql.Data.Common.MyNetworkStream.SetKeepAlive(System.Net.Sockets.Socket,System.UInt32)"> |
||
10273 | <summary>
|
||
10274 | Set keepalive + timeout on socket. |
||
10275 | </summary>
|
||
10276 | <param name="s">socket</param> |
||
10277 | <param name="time">keepalive timeout, in seconds</param> |
||
10278 | </member>
|
||
10279 | <member name="T:MySql.Data.Common.NamedPipeStream"> |
||
10280 | <summary>
|
||
10281 | Summary description for API. |
||
10282 | </summary>
|
||
10283 | </member>
|
||
10284 | <member name="M:MySql.Data.Common.Platform.#ctor"> |
||
10285 | <summary>
|
||
10286 | By creating a private ctor, we keep the compiler from creating a default ctor |
||
10287 | </summary>
|
||
10288 | </member>
|
||
10289 | <member name="M:MySql.Data.Common.QueryNormalizer.ProcessMathSymbols(System.Collections.Generic.List{MySql.Data.Common.Token})"> |
||
10290 | <summary>
|
||
10291 | Mark - or + signs that are unary ops as no output |
||
10292 | </summary>
|
||
10293 | <param name="tok"></param> |
||
10294 | </member>
|
||
10295 | <member name="T:MySql.Data.Common.SharedMemory"> |
||
10296 | <summary>
|
||
10297 | Helper class to encapsulate shared memory functionality |
||
10298 | Also cares of proper cleanup of file mapping object and cew |
||
10299 | </summary>
|
||
10300 | </member>
|
||
10301 | <member name="T:MySql.Data.Common.SharedMemoryStream"> |
||
10302 | <summary>
|
||
10303 | Summary description for SharedMemoryStream. |
||
10304 | </summary>
|
||
10305 | </member>
|
||
10306 | <member name="T:MySql.Data.Common.StreamCreator"> |
||
10307 | <summary>
|
||
10308 | Summary description for StreamCreator. |
||
10309 | </summary>
|
||
10310 | </member>
|
||
10311 | <member name="T:MySql.Data.Common.DBVersion"> |
||
10312 | <summary>
|
||
10313 | Summary description for Version. |
||
10314 | </summary>
|
||
10315 | </member>
|
||
10316 | <member name="T:MySql.Data.Types.MySqlDateTime"> |
||
10317 | <summary>
|
||
10318 | |||
10319 | </summary>
|
||
10320 | </member>
|
||
10321 | <member name="M:MySql.Data.Types.MySqlDateTime.#ctor(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)"> |
||
10322 | <summary>
|
||
10323 | Constructs a new <b>MySqlDateTime</b> object by setting the individual time properties to |
||
10324 | the given values. |
||
10325 | </summary>
|
||
10326 | <param name="year">The year to use.</param> |
||
10327 | <param name="month">The month to use.</param> |
||
10328 | <param name="day">The day to use.</param> |
||
10329 | <param name="hour">The hour to use.</param> |
||
10330 | <param name="minute">The minute to use.</param> |
||
10331 | <param name="second">The second to use.</param> |
||
10332 | <param name="microsecond">The microsecond to use.</param> |
||
10333 | </member>
|
||
10334 | <member name="M:MySql.Data.Types.MySqlDateTime.#ctor(System.DateTime)"> |
||
10335 | <summary>
|
||
10336 | Constructs a new <b>MySqlDateTime</b> object by using values from the given <see cref="T:System.DateTime"/> object. |
||
10337 | </summary>
|
||
10338 | <param name="dt">The <see cref="T:System.DateTime"/> object to copy.</param> |
||
10339 | </member>
|
||
10340 | <member name="M:MySql.Data.Types.MySqlDateTime.#ctor(MySql.Data.Types.MySqlDateTime)"> |
||
10341 | <summary>
|
||
10342 | Constructs a new <b>MySqlDateTime</b> object by copying the current value of the given object. |
||
10343 | </summary>
|
||
10344 | <param name="mdt">The <b>MySqlDateTime</b> object to copy.</param> |
||
10345 | </member>
|
||
10346 | <member name="M:MySql.Data.Types.MySqlDateTime.#ctor(System.String)"> |
||
10347 | <summary>
|
||
10348 | Enables the contruction of a <b>MySqlDateTime</b> object by parsing a string. |
||
10349 | </summary>
|
||
10350 | </member>
|
||
10351 | <member name="P:MySql.Data.Types.MySqlDateTime.IsValidDateTime"> |
||
10352 | <summary>
|
||
10353 | Indicates if this object contains a value that can be represented as a DateTime |
||
10354 | </summary>
|
||
10355 | </member>
|
||
10356 | <member name="P:MySql.Data.Types.MySqlDateTime.Year"> |
||
10357 | <summary>Returns the year portion of this datetime</summary> |
||
10358 | </member>
|
||
10359 | <member name="P:MySql.Data.Types.MySqlDateTime.Month"> |
||
10360 | <summary>Returns the month portion of this datetime</summary> |
||
10361 | </member>
|
||
10362 | <member name="P:MySql.Data.Types.MySqlDateTime.Day"> |
||
10363 | <summary>Returns the day portion of this datetime</summary> |
||
10364 | </member>
|
||
10365 | <member name="P:MySql.Data.Types.MySqlDateTime.Hour"> |
||
10366 | <summary>Returns the hour portion of this datetime</summary> |
||
10367 | </member>
|
||
10368 | <member name="P:MySql.Data.Types.MySqlDateTime.Minute"> |
||
10369 | <summary>Returns the minute portion of this datetime</summary> |
||
10370 | </member>
|
||
10371 | <member name="P:MySql.Data.Types.MySqlDateTime.Second"> |
||
10372 | <summary>Returns the second portion of this datetime</summary> |
||
10373 | </member>
|
||
10374 | <member name="P:MySql.Data.Types.MySqlDateTime.Millisecond"> |
||
10375 | <summary>
|
||
10376 | Returns the milliseconds portion of this datetime |
||
10377 | expressed as a value between 0 and 999 |
||
10378 | </summary>
|
||
10379 | </member>
|
||
10380 | <member name="P:MySql.Data.Types.MySqlDateTime.Microsecond"> |
||
10381 | <summary>
|
||
10382 | Returns the microseconds portion of this datetime (6 digit precision) |
||
10383 | </summary>
|
||
10384 | </member>
|
||
10385 | <member name="P:MySql.Data.Types.MySqlDateTime.IsNull"> |
||
10386 | <summary>
|
||
10387 | Returns true if this datetime object has a null value |
||
10388 | </summary>
|
||
10389 | </member>
|
||
10390 | <member name="P:MySql.Data.Types.MySqlDateTime.Value"> |
||
10391 | <summary>
|
||
10392 | Retrieves the value of this <see cref="T:MySql.Data.Types.MySqlDateTime"/> as a DateTime object. |
||
10393 | </summary>
|
||
10394 | </member>
|
||
10395 | <member name="M:MySql.Data.Types.MySqlDateTime.GetDateTime"> |
||
10396 | <summary>Returns this value as a DateTime</summary> |
||
10397 | </member>
|
||
10398 | <member name="M:MySql.Data.Types.MySqlDateTime.ToString"> |
||
10399 | <summary>Returns a MySQL specific string representation of this value</summary> |
||
10400 | </member>
|
||
10401 | <member name="M:MySql.Data.Types.MySqlDateTime.op_Explicit(MySql.Data.Types.MySqlDateTime)~System.DateTime"> |
||
10402 | <summary></summary> |
||
10403 | <param name="val"></param> |
||
10404 | <returns></returns> |
||
10405 | </member>
|
||
10406 | <member name="T:MySql.Data.Types.MySqlBit"> |
||
10407 | <summary>
|
||
10408 | Summary description for MySqlUInt64. |
||
10409 | </summary>
|
||
10410 | </member>
|
||
10411 | <member name="T:MySql.Data.Types.MySqlConversionException"> |
||
10412 | <summary>
|
||
10413 | Summary description for MySqlConversionException. |
||
10414 | </summary>
|
||
10415 | </member>
|
||
10416 | <member name="M:MySql.Data.Types.MySqlConversionException.#ctor(System.String)"> |
||
10417 | <summary>Ctor</summary> |
||
10418 | </member>
|
||
10419 | <member name="M:MySql.Data.Types.MySqlGeometry.ToString"> |
||
10420 | <summary>Returns the Well-Known Text representation of this value</summary> |
||
10421 | POINT({0} {1})", longitude, latitude |
||
10422 | http://dev.mysql.com/doc/refman/4.1/en/gis-wkt-format.html |
||
10423 | </member>
|
||
10424 | <member name="M:MySql.Data.Types.MySqlGeometry.Parse(System.String)"> |
||
10425 | <summary>
|
||
10426 | Get value from WKT format |
||
10427 | SRID=0;POINT (x y) or POINT (x y) |
||
10428 | </summary>
|
||
10429 | <param name="value">WKT string format</param> |
||
10430 | </member>
|
||
10431 | <member name="M:MySql.Data.Types.MySqlGeometry.TryParse(System.String,MySql.Data.Types.MySqlGeometry@)"> |
||
10432 | <summary>
|
||
10433 | Try to get value from WKT format |
||
10434 | SRID=0;POINT (x y) or POINT (x y) |
||
10435 | </summary>
|
||
10436 | <param name="value">WKT string format</param> |
||
10437 | </member>
|
||
10438 | <member name="M:zlib.SupportClass.Identity(System.Int64)"> |
||
10439 | <summary>
|
||
10440 | This method returns the literal value received |
||
10441 | </summary>
|
||
10442 | <param name="literal">The literal to return</param> |
||
10443 | <returns>The received value</returns> |
||
10444 | </member>
|
||
10445 | <member name="M:zlib.SupportClass.Identity(System.UInt64)"> |
||
10446 | <summary>
|
||
10447 | This method returns the literal value received |
||
10448 | </summary>
|
||
10449 | <param name="literal">The literal to return</param> |
||
10450 | <returns>The received value</returns> |
||
10451 | </member>
|
||
10452 | <member name="M:zlib.SupportClass.Identity(System.Single)"> |
||
10453 | <summary>
|
||
10454 | This method returns the literal value received |
||
10455 | </summary>
|
||
10456 | <param name="literal">The literal to return</param> |
||
10457 | <returns>The received value</returns> |
||
10458 | </member>
|
||
10459 | <member name="M:zlib.SupportClass.Identity(System.Double)"> |
||
10460 | <summary>
|
||
10461 | This method returns the literal value received |
||
10462 | </summary>
|
||
10463 | <param name="literal">The literal to return</param> |
||
10464 | <returns>The received value</returns> |
||
10465 | </member>
|
||
10466 | <member name="M:zlib.SupportClass.URShift(System.Int32,System.Int32)"> |
||
10467 | <summary>
|
||
10468 | Performs an unsigned bitwise right shift with the specified number |
||
10469 | </summary>
|
||
10470 | <param name="number">Number to operate on</param> |
||
10471 | <param name="bits">Ammount of bits to shift</param> |
||
10472 | <returns>The resulting number from the shift operation</returns> |
||
10473 | </member>
|
||
10474 | <member name="M:zlib.SupportClass.URShift(System.Int32,System.Int64)"> |
||
10475 | <summary>
|
||
10476 | Performs an unsigned bitwise right shift with the specified number |
||
10477 | </summary>
|
||
10478 | <param name="number">Number to operate on</param> |
||
10479 | <param name="bits">Ammount of bits to shift</param> |
||
10480 | <returns>The resulting number from the shift operation</returns> |
||
10481 | </member>
|
||
10482 | <member name="M:zlib.SupportClass.URShift(System.Int64,System.Int32)"> |
||
10483 | <summary>
|
||
10484 | Performs an unsigned bitwise right shift with the specified number |
||
10485 | </summary>
|
||
10486 | <param name="number">Number to operate on</param> |
||
10487 | <param name="bits">Ammount of bits to shift</param> |
||
10488 | <returns>The resulting number from the shift operation</returns> |
||
10489 | </member>
|
||
10490 | <member name="M:zlib.SupportClass.URShift(System.Int64,System.Int64)"> |
||
10491 | <summary>
|
||
10492 | Performs an unsigned bitwise right shift with the specified number |
||
10493 | </summary>
|
||
10494 | <param name="number">Number to operate on</param> |
||
10495 | <param name="bits">Ammount of bits to shift</param> |
||
10496 | <returns>The resulting number from the shift operation</returns> |
||
10497 | </member>
|
||
10498 | <member name="M:zlib.SupportClass.ReadInput(System.IO.Stream,System.Byte[],System.Int32,System.Int32)"> |
||
10499 | <summary>Reads a number of characters from the current source Stream and writes the data to the target array at the specified index.</summary> |
||
10500 | <param name="sourceStream">The source Stream to read from.</param> |
||
10501 | <param name="target">Contains the array of characteres read from the source Stream.</param> |
||
10502 | <param name="start">The starting index of the target array.</param> |
||
10503 | <param name="count">The maximum number of characters to read from the source Stream.</param> |
||
10504 | <returns>The number of characters read. The number will be less than or equal to count depending on the data available in the source Stream. Returns -1 if the end of the stream is reached.</returns> |
||
10505 | </member>
|
||
10506 | <member name="M:zlib.SupportClass.ReadInput(System.IO.TextReader,System.Byte[],System.Int32,System.Int32)"> |
||
10507 | <summary>Reads a number of characters from the current source TextReader and writes the data to the target array at the specified index.</summary> |
||
10508 | <param name="sourceTextReader">The source TextReader to read from</param> |
||
10509 | <param name="target">Contains the array of characteres read from the source TextReader.</param> |
||
10510 | <param name="start">The starting index of the target array.</param> |
||
10511 | <param name="count">The maximum number of characters to read from the source TextReader.</param> |
||
10512 | <returns>The number of characters read. The number will be less than or equal to count depending on the data available in the source TextReader. Returns -1 if the end of the stream is reached.</returns> |
||
10513 | </member>
|
||
10514 | <member name="M:zlib.SupportClass.ToByteArray(System.String)"> |
||
10515 | <summary>
|
||
10516 | Converts a string to an array of bytes |
||
10517 | </summary>
|
||
10518 | <param name="sourceString">The string to be converted</param> |
||
10519 | <returns>The new array of bytes</returns> |
||
10520 | </member>
|
||
10521 | <member name="M:zlib.SupportClass.ToCharArray(System.Byte[])"> |
||
10522 | <summary>
|
||
10523 | Converts an array of bytes to an array of chars |
||
10524 | </summary>
|
||
10525 | <param name="byteArray">The array of bytes to convert</param> |
||
10526 | <returns>The new array of chars</returns> |
||
10527 | </member>
|
||
10528 | <member name="M:zlib.SupportClass.Serialize(System.IO.Stream,System.Object)"> |
||
10529 | <summary>
|
||
10530 | Writes an object to the specified Stream |
||
10531 | </summary>
|
||
10532 | <param name="stream">The target Stream</param> |
||
10533 | <param name="objectToSend">The object to be sent</param> |
||
10534 | </member>
|
||
10535 | <member name="M:zlib.SupportClass.Serialize(System.IO.BinaryWriter,System.Object)"> |
||
10536 | <summary>
|
||
10537 | Writes an object to the specified BinaryWriter |
||
10538 | </summary>
|
||
10539 | <param name="binaryWriter">The target BinaryWriter</param> |
||
10540 | <param name="objectToSend">The object to be sent</param> |
||
10541 | </member>
|
||
10542 | <member name="M:zlib.SupportClass.Deserialize(System.IO.BinaryReader)"> |
||
10543 | <summary>
|
||
10544 | Deserializes an object, or an entire graph of connected objects, and returns the object intance |
||
10545 | </summary>
|
||
10546 | <param name="binaryReader">Reader instance used to read the object</param> |
||
10547 | <returns>The object instance</returns> |
||
10548 | </member>
|
||
10549 | <member name="M:zlib.SupportClass.WriteStackTrace(System.Exception,System.IO.TextWriter)"> |
||
10550 | <summary>
|
||
10551 | Writes the exception stack trace to the received stream |
||
10552 | </summary>
|
||
10553 | <param name="throwable">Exception to obtain information from</param> |
||
10554 | <param name="stream">Output sream used to write to</param> |
||
10555 | </member>
|
||
10556 | <member name="P:zlib.ZInputStream.TotalIn"> |
||
10557 | <summary> Returns the total number of bytes input so far.</summary> |
||
10558 | </member>
|
||
10559 | <member name="P:zlib.ZInputStream.TotalOut"> |
||
10560 | <summary> Returns the total number of bytes output so far.</summary> |
||
10561 | </member>
|
||
10562 | <member name="P:zlib.ZOutputStream.TotalIn"> |
||
10563 | <summary> Returns the total number of bytes input so far.</summary> |
||
10564 | </member>
|
||
10565 | <member name="P:zlib.ZOutputStream.TotalOut"> |
||
10566 | <summary> Returns the total number of bytes output so far.</summary> |
||
10567 | </member>
|
||
10568 | </members>
|
||
10569 | </doc> |