diff options
Diffstat (limited to '')
-rw-r--r-- | bin/Npgsql.xml | 5516 |
1 files changed, 3508 insertions, 2008 deletions
diff --git a/bin/Npgsql.xml b/bin/Npgsql.xml index a51252d..8133430 100644 --- a/bin/Npgsql.xml +++ b/bin/Npgsql.xml | |||
@@ -4,241 +4,2021 @@ | |||
4 | <name>Npgsql</name> | 4 | <name>Npgsql</name> |
5 | </assembly> | 5 | </assembly> |
6 | <members> | 6 | <members> |
7 | <member name="T:Npgsql.NpgsqlParameter"> | 7 | <member name="T:NpgsqlTypes.ArrayNativeToBackendTypeConverter"> |
8 | <summary> | 8 | <summary> |
9 | This class represents a parameter to a command that will be sent to server | 9 | Handles serialisation of .NET array or IEnumeration to pg format. |
10 | Arrays of arrays, enumerations of enumerations, arrays of enumerations etc. | ||
11 | are treated as multi-dimensional arrays (in much the same manner as an array of arrays | ||
12 | is used to emulate multi-dimensional arrays in languages that lack native support for them). | ||
13 | If such an enumeration of enumerations is "jagged" (as opposed to rectangular, cuboid, | ||
14 | hypercuboid, hyperhypercuboid, etc) then this class will "correctly" serialise it, but pg | ||
15 | will raise an error as it doesn't allow jagged arrays. | ||
10 | </summary> | 16 | </summary> |
11 | </member> | 17 | </member> |
12 | <member name="M:Npgsql.NpgsqlParameter.#ctor"> | 18 | <member name="M:NpgsqlTypes.ArrayNativeToBackendTypeConverter.#ctor(NpgsqlTypes.NpgsqlNativeTypeInfo)"> |
13 | <summary> | 19 | <summary> |
14 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> class. | 20 | Create an ArrayNativeToBackendTypeConverter with the element converter passed |
15 | </summary> | 21 | </summary> |
22 | <param name="elementConverter">The <see cref="T:NpgsqlTypes.NpgsqlNativeTypeInfo"/> that would be used to serialise the element type.</param> | ||
16 | </member> | 23 | </member> |
17 | <member name="M:Npgsql.NpgsqlParameter.#ctor(System.String,System.Object)"> | 24 | <member name="M:NpgsqlTypes.ArrayNativeToBackendTypeConverter.ArrayToArrayText(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean,NpgsqlTypes.NativeToBackendTypeConverterOptions,System.Boolean)"> |
18 | <summary> | 25 | <summary> |
19 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> | 26 | Serialise the enumeration or array. |
20 | class with the parameter m_Name and a value of the new <b>NpgsqlParameter</b>. | ||
21 | </summary> | 27 | </summary> |
22 | <param m_Name="parameterName">The m_Name of the parameter to map.</param> | 28 | </member> |
23 | <param m_Name="value">An <see cref="T:System.Object">Object</see> that is the value of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see>.</param> | 29 | <member name="M:NpgsqlTypes.ArrayNativeToBackendTypeConverter.ArrayToArrayBinary(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,NpgsqlTypes.NativeToBackendTypeConverterOptions)"> |
30 | <summary> | ||
31 | Convert a System.Array to PG binary format. | ||
32 | Write the array header and prepare to write array data to the stream. | ||
33 | </summary> | ||
34 | </member> | ||
35 | <member name="M:NpgsqlTypes.ArrayNativeToBackendTypeConverter.WriteBinaryArrayData(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Array,NpgsqlTypes.NativeToBackendTypeConverterOptions,System.IO.MemoryStream,System.Int32,System.Int32[])"> | ||
36 | <summary> | ||
37 | Append all array data to the binary stream. | ||
38 | </summary> | ||
39 | </member> | ||
40 | <member name="T:NpgsqlTypes.ArrayBackendToNativeTypeConverter"> | ||
41 | <summary> | ||
42 | Handles parsing of pg arrays into .NET arrays. | ||
43 | </summary> | ||
44 | </member> | ||
45 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.TokenEnumeration(System.String)"> | ||
46 | <summary> | ||
47 | Takes a string representation of a pg 1-dimensional array | ||
48 | (or a 1-dimensional row within an n-dimensional array) | ||
49 | and allows enumeration of the string represenations of each items. | ||
50 | </summary> | ||
51 | </member> | ||
52 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.ArrayChunkEnumeration(System.String)"> | ||
53 | <summary> | ||
54 | Takes a string representation of a pg n-dimensional array | ||
55 | and allows enumeration of the string represenations of the next | ||
56 | lower level of rows (which in turn can be taken as (n-1)-dimensional arrays. | ||
57 | </summary> | ||
58 | </member> | ||
59 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.RecursiveArrayListEnumeration(System.Collections.ArrayList)"> | ||
60 | <summary> | ||
61 | Takes an ArrayList which may be an ArrayList of ArrayLists, an ArrayList of ArrayLists of ArrayLists | ||
62 | and so on and enumerates the items that aren't ArrayLists (the leaf nodes if we think of the ArrayList | ||
63 | passed as a tree). Simply uses the ArrayLists' own IEnumerators to get that of the next, | ||
64 | pushing them onto a stack until we hit something that isn't an ArrayList. | ||
65 | <param name="list"><see cref="T:System.Collections.ArrayList">ArrayList</see> to enumerate</param> | ||
66 | <returns><see cref="T:System.Collections.IEnumerable">IEnumerable</see></returns> | ||
67 | </summary> | ||
68 | </member> | ||
69 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.#ctor(NpgsqlTypes.NpgsqlBackendTypeInfo)"> | ||
70 | <summary> | ||
71 | Create a new ArrayBackendToNativeTypeConverter | ||
72 | </summary> | ||
73 | <param name="elementConverter"><see cref="T:NpgsqlTypes.NpgsqlBackendTypeInfo"/> for the element type.</param> | ||
74 | </member> | ||
75 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.ArrayTextToArray(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int16,System.Int32)"> | ||
76 | <summary> | ||
77 | Creates an array from pg text representation. | ||
78 | </summary> | ||
79 | </member> | ||
80 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.ToArrayList(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | ||
81 | <summary> | ||
82 | Creates an array list from pg represenation of an array. | ||
83 | Multidimensional arrays are treated as ArrayLists of ArrayLists | ||
84 | </summary> | ||
85 | </member> | ||
86 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.ToArray(System.Collections.ArrayList,System.Type)"> | ||
87 | <summary> | ||
88 | Creates an n-dimensional array from an ArrayList of ArrayLists or | ||
89 | a 1-dimensional array from something else. | ||
90 | </summary> | ||
91 | <param name="list"><see cref="T:System.Collections.ArrayList"/> to convert</param> | ||
92 | <param name="elementType">Type of the elements in the list</param> | ||
93 | <returns><see cref="T:System.Array"/> produced.</returns> | ||
94 | </member> | ||
95 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.ArrayBinaryToArray(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int32,System.Int32)"> | ||
96 | <summary> | ||
97 | Creates an n-dimensional System.Array from PG binary representation. | ||
98 | This function reads the array header and sets up an n-dimensional System.Array object to hold its data. | ||
99 | PopulateArrayFromBinaryArray() is then called to carry out array population. | ||
100 | </summary> | ||
101 | </member> | ||
102 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.PopulateArrayFromBinaryArray(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int32,System.Int32,System.Int32@,System.Int32[],System.Int32[],System.Int32,System.Array,System.Int32[])"> | ||
103 | <summary> | ||
104 | Recursively populates an array from PB binary data representation. | ||
105 | </summary> | ||
106 | </member> | ||
107 | <member name="T:NpgsqlTypes.ArrayBackendToNativeTypeConverter.IntSetIterator"> | ||
108 | <summary> | ||
109 | Takes an array of ints and treats them like the limits of a set of counters. | ||
110 | Retains a matching set of ints that is set to all zeros on the first ++ | ||
111 | On a ++ it increments the "right-most" int. If that int reaches it's | ||
112 | limit it is set to zero and the one before it is incremented, and so on. | ||
113 | |||
114 | Making this a more general purpose class is pretty straight-forward, but we'll just put what we need here. | ||
115 | </summary> | ||
116 | </member> | ||
117 | <member name="T:NpgsqlTypes.BitString"> | ||
118 | <summary> | ||
119 | <para>Implements a bit string; a collection of zero or more bits which can each be 1 or 0.</para> | ||
120 | <para>BitString's behave as a list of bools, though like most strings and unlike most collections the position | ||
121 | tends to be of as much significance as the value.</para> | ||
122 | <para>BitStrings are often used as masks, and are commonly cast to and from other values.</para> | ||
123 | </summary> | ||
124 | </member> | ||
125 | <member name="F:NpgsqlTypes.BitString.Empty"> | ||
126 | <summary> | ||
127 | Represents the empty string. | ||
128 | </summary> | ||
129 | </member> | ||
130 | <member name="M:NpgsqlTypes.BitString.#ctor(System.Collections.Generic.IEnumerable{System.Boolean})"> | ||
131 | <summary> | ||
132 | Create a BitString from an enumeration of boolean values. The BitString will contain | ||
133 | those booleans in the order they came in. | ||
134 | </summary> | ||
135 | <param name="bits">The boolean values.</param> | ||
136 | </member> | ||
137 | <member name="M:NpgsqlTypes.BitString.#ctor(System.Boolean,System.Int32)"> | ||
138 | <summary> | ||
139 | Creates a BitString filled with a given number of true or false values. | ||
140 | </summary> | ||
141 | <param name="value">The value to fill the string with.</param> | ||
142 | <param name="count">The number of bits to fill.</param> | ||
143 | </member> | ||
144 | <member name="M:NpgsqlTypes.BitString.#ctor(System.String)"> | ||
145 | <summary> | ||
146 | Creats a bitstring from a <see cref="T:System.String">string</see>. | ||
147 | <param name="str">The <see cref="T:System.String">string to copy from</see>.</param> | ||
148 | <seealso cref="M:NpgsqlTypes.BitString.Parse(System.String)"/> | ||
149 | </summary> | ||
150 | </member> | ||
151 | <member name="M:NpgsqlTypes.BitString.#ctor(System.Boolean)"> | ||
152 | <summary> | ||
153 | Creates a single-bit element from a boolean value. | ||
154 | </summary> | ||
155 | <param name="boolean">The <see cref="T:System.Boolean">bool</see> value which determines whether | ||
156 | the bit is 1 or 0.</param> | ||
157 | </member> | ||
158 | <member name="M:NpgsqlTypes.BitString.#ctor(System.UInt32)"> | ||
159 | <summary> | ||
160 | Creates a bitstring from an unsigned integer value. The string will be the shortest required to | ||
161 | contain the integer (e.g. 1 bit for 0 or 1, 2 for 2 or 3, 3 for 4-7, and so on). | ||
162 | </summary> | ||
163 | <param name="integer">The <see cref="T:System.UInt32">integer</see>.</param> | ||
164 | <remarks>This method is not CLS Compliant, and may not be available to some languages.</remarks> | ||
165 | </member> | ||
166 | <member name="M:NpgsqlTypes.BitString.#ctor(System.Int32)"> | ||
167 | <summary> | ||
168 | Creates a bitstring from an integer value. The string will be the shortest required to | ||
169 | contain the integer (e.g. 1 bit for 0 or 1, 2 for 2 or 3, 3 for 4-7, and so on). | ||
170 | </summary> | ||
171 | <param name="integer">The <see cref="T:System.Int32">integer</see>.</param> | ||
172 | </member> | ||
173 | <member name="M:NpgsqlTypes.BitString.IndexOf(System.Boolean)"> | ||
174 | <summary> | ||
175 | Finds the first instance of a given value | ||
176 | </summary> | ||
177 | <param name="item">The value - whether true or false - to search for.</param> | ||
178 | <returns>The index of the value found, or -1 if none are present.</returns> | ||
179 | </member> | ||
180 | <member name="M:NpgsqlTypes.BitString.Contains(System.Boolean)"> | ||
181 | <summary> | ||
182 | True if there is at least one bit with the value looked for. | ||
183 | </summary> | ||
184 | <param name="item">The value - true or false - to detect.</param> | ||
185 | <returns>True if at least one bit was the same as item, false otherwise.</returns> | ||
186 | </member> | ||
187 | <member name="M:NpgsqlTypes.BitString.CopyTo(System.Boolean[],System.Int32)"> | ||
188 | <summary> | ||
189 | Copies the bitstring to an array of bools. | ||
190 | </summary> | ||
191 | <param name="array">The <see cref="T:System.Boolean">boolean</see> array to copy to.</param> | ||
192 | <param name="arrayIndex">The index in the array to start copying from.</param> | ||
193 | </member> | ||
194 | <member name="M:NpgsqlTypes.BitString.GetEnumerator"> | ||
195 | <summary> | ||
196 | Returns an enumerator that enumerates through the string. | ||
197 | </summary> | ||
198 | <returns>The enumerator.</returns> | ||
199 | </member> | ||
200 | <member name="M:NpgsqlTypes.BitString.Concat(NpgsqlTypes.BitString)"> | ||
201 | <summary> | ||
202 | Creats a bitstring by concatenating another onto this one. | ||
203 | </summary> | ||
204 | <param name="append">The string to append to this one.</param> | ||
205 | <returns>The combined strings.</returns> | ||
206 | </member> | ||
207 | <member name="M:NpgsqlTypes.BitString.Substring(System.Int32,System.Int32)"> | ||
208 | <summary> | ||
209 | Returns a substring of this string. | ||
210 | </summary> | ||
211 | <param name="start">The position to start from, must be between 0 and the length of the string.</param> | ||
212 | <param name="length">The length of the string to return, must be greater than zero, and may not be | ||
213 | so large that the start + length exceeds the bounds of this instance.</param> | ||
214 | <returns>The Bitstring identified</returns> | ||
215 | </member> | ||
216 | <member name="M:NpgsqlTypes.BitString.Substring(System.Int32)"> | ||
217 | <summary> | ||
218 | Returns a substring of this string. | ||
219 | </summary> | ||
220 | <param name="start">The position to start from, must be between 0 and the length of the string, | ||
221 | the rest of the string is returned.</param> | ||
222 | <returns>The Bitstring identified</returns> | ||
223 | </member> | ||
224 | <member name="M:NpgsqlTypes.BitString.And(NpgsqlTypes.BitString)"> | ||
225 | <summary> | ||
226 | A logical and between this string and another. The two strings must be the same length. | ||
227 | </summary> | ||
228 | <param name="operand">Another BitString to AND with this one.</param> | ||
229 | <returns>A bitstring with 1 where both BitStrings had 1 and 0 otherwise.</returns> | ||
230 | </member> | ||
231 | <member name="M:NpgsqlTypes.BitString.Or(NpgsqlTypes.BitString)"> | ||
232 | <summary> | ||
233 | A logical or between this string and another. The two strings must be the same length. | ||
234 | </summary> | ||
235 | <param name="operand">Another BitString to OR with this one.</param> | ||
236 | <returns>A bitstring with 1 where either BitString had 1 and 0 otherwise.</returns> | ||
237 | </member> | ||
238 | <member name="M:NpgsqlTypes.BitString.Xor(NpgsqlTypes.BitString)"> | ||
239 | <summary> | ||
240 | A logical xor between this string and another. The two strings must be the same length. | ||
241 | </summary> | ||
242 | <param name="operand">Another BitString to XOR with this one.</param> | ||
243 | <returns>A bitstring with 1 where one BitStrings and the other had 0, | ||
244 | and 0 where they both had 1 or both had 0.</returns> | ||
245 | </member> | ||
246 | <member name="M:NpgsqlTypes.BitString.Not"> | ||
247 | <summary> | ||
248 | A bitstring that is the logical inverse of this one. | ||
249 | </summary> | ||
250 | <returns>A bitstring of the same length as this with 1 where this has 0 and vice-versa.</returns> | ||
251 | </member> | ||
252 | <member name="M:NpgsqlTypes.BitString.LShift(System.Int32)"> | ||
253 | <summary> | ||
254 | Shifts the string operand bits to the left, filling with zeros to produce a | ||
255 | string of the same length. | ||
256 | </summary> | ||
257 | <param name="operand">The number of bits to shift to the left.</param> | ||
258 | <returns>A left-shifted bitstring.</returns> | ||
259 | <remarks><para>The behaviour of LShift is closer to what one would expect from dealing | ||
260 | with PostgreSQL bit-strings than in using the same operations on integers in .NET</para> | ||
261 | <para>In particular, negative operands result in a right-shift, and operands greater than | ||
262 | the length of the string will shift it entirely, resulting in a zero-filled string.</para> | ||
263 | </remarks> | ||
264 | </member> | ||
265 | <member name="M:NpgsqlTypes.BitString.RShift(System.Int32)"> | ||
266 | <summary> | ||
267 | Shifts the string operand bits to the right, filling with zeros to produce a | ||
268 | string of the same length. | ||
269 | </summary> | ||
270 | <param name="operand">The number of bits to shift to the right.</param> | ||
271 | <returns>A right-shifted bitstring.</returns> | ||
272 | <remarks><para>The behaviour of RShift is closer to what one would expect from dealing | ||
273 | with PostgreSQL bit-strings than in using the same operations on integers in .NET</para> | ||
274 | <para>In particular, negative operands result in a left-shift, and operands greater than | ||
275 | the length of the string will shift it entirely, resulting in a zero-filled string. It also performs | ||
276 | a logical shift, rather than an arithmetic shift, so it always sets the vacated bit positions to zero | ||
277 | (like PostgreSQL and like .NET for unsigned integers but not for signed integers).</para> | ||
278 | </remarks> | ||
279 | </member> | ||
280 | <member name="M:NpgsqlTypes.BitString.Equals(NpgsqlTypes.BitString)"> | ||
281 | <summary> | ||
282 | Returns true if the this string is identical to the argument passed. | ||
283 | </summary> | ||
284 | </member> | ||
285 | <member name="M:NpgsqlTypes.BitString.CompareTo(NpgsqlTypes.BitString)"> | ||
286 | <summary> | ||
287 | Compares two strings. Strings are compared as strings, so while 0 being less than 1 will | ||
288 | mean a comparison between two strings of the same size is the same as treating them as numbers, | ||
289 | in the case of two strings of differing lengths the comparison starts at the right-most (most significant) | ||
290 | bit, and if all bits of the shorter string are exhausted without finding a comparison, then the larger | ||
291 | string is deemed to be greater than the shorter (0010 is greater than 0001 but less than 00100). | ||
292 | </summary> | ||
293 | <param name="other">Another string to compare with this one.</param> | ||
294 | <returns>A value if the two strings are identical, an integer less | ||
295 | than zero if this is less than the argument, and an integer greater | ||
296 | than zero otherwise.</returns> | ||
297 | </member> | ||
298 | <member name="M:NpgsqlTypes.BitString.CompareTo(System.Object)"> | ||
299 | <summary> | ||
300 | Compares the string with another object. | ||
301 | </summary> | ||
302 | <param name="obj">The object to compare with.</param> | ||
303 | <returns>If the object is null then this string is considered greater. If the object is another BitString | ||
304 | then they are compared as in <see cref="M:NpgsqlTypes.BitString.CompareTo(NpgsqlTypes.BitString)">the explicit comparison for BitStrings</see> | ||
305 | in any other case a <see cref="T:System.ArgumentException"/> is thrown.</returns> | ||
306 | </member> | ||
307 | <member name="M:NpgsqlTypes.BitString.Equals(System.Object)"> | ||
308 | <summary> | ||
309 | Compares this BitString with an object for equality. | ||
310 | </summary> | ||
311 | </member> | ||
312 | <member name="M:NpgsqlTypes.BitString.GetHashCode"> | ||
313 | <summary> | ||
314 | Returns a code for use in hashing operations. | ||
315 | </summary> | ||
316 | </member> | ||
317 | <member name="M:NpgsqlTypes.BitString.ToString(System.String)"> | ||
318 | <summary> | ||
319 | Returns a string representation of the BitString. | ||
320 | </summary> | ||
321 | <param name="format"> | ||
322 | A string which can contain a letter and optionally a number which sets a minimum size for the string | ||
323 | returned. In each case using the lower-case form of the letter will result in a lower-case string | ||
324 | being returned. | ||
325 | <list type="table"> | ||
326 | <item> | ||
327 | <term>B</term> | ||
328 | <description>A string of 1s and 0s.</description> | ||
329 | </item> | ||
330 | <item> | ||
331 | <term>X</term> | ||
332 | <description>An hexadecimal string (will result in an error unless the string's length is divisible by 4).</description> | ||
333 | </item> | ||
334 | <item> | ||
335 | <term>G</term> | ||
336 | <description>A string of 1s and 0s in single-quotes preceded by 'B' (Postgres bit string literal syntax).</description> | ||
337 | </item> | ||
338 | <term>Y</term> | ||
339 | <description>An hexadecimal string in single-quotes preceded by 'X' (Postgres bit literal syntax, will result in an error unless the string's length is divisible by 4.</description> | ||
340 | </list> | ||
341 | <term>C</term> | ||
342 | <description>The format produced by format-string "Y" if legal, otherwise that produced by format-string "G".</description> | ||
343 | <term>E</term> | ||
344 | <description>The most compact safe representation for Postgres. If single bit will be either a 0 or a 1. Otherwise if it | ||
345 | can be that produce by format string "Y" it will, otherwise if there are less than 9bits in length it will be that | ||
346 | produced by format-string "G". For longer strings that cannot be represented in hexadecimal it will be a string | ||
347 | representing the first part of the string in format "Y" followed by the PostgreSQL concatenation operator, followed | ||
348 | by the final bits in the format "G". E.g. "X'13DCE'||B'110'"</description> | ||
349 | If format is empty or null, it is treated as if "B" had been passed (the default repreesentation, and that | ||
350 | generally used by PostgreSQL for display). | ||
351 | </param> | ||
352 | <returns>The formatted string.</returns> | ||
353 | </member> | ||
354 | <member name="M:NpgsqlTypes.BitString.ToString"> | ||
355 | <summary> | ||
356 | Returns a string representation for the Bitstring | ||
357 | </summary> | ||
358 | <returns>A string containing '0' and '1' characters.</returns> | ||
359 | </member> | ||
360 | <member name="M:NpgsqlTypes.BitString.ToString(System.String,System.IFormatProvider)"> | ||
361 | <summary> | ||
362 | Returns the same string as <see cref="M:NpgsqlTypes.BitString.ToString(System.String)"/>. formatProvider is ignored. | ||
363 | </summary> | ||
364 | </member> | ||
365 | <member name="M:NpgsqlTypes.BitString.Parse(System.String)"> | ||
366 | <summary> | ||
367 | Parses a string to produce a BitString. Most formats that can be produced by | ||
368 | <see cref="M:NpgsqlTypes.BitString.ToString(System.String)"/> can be accepted, but hexadecimal | ||
369 | can be interpreted with the preceding X' to mark the following characters as | ||
370 | being hexadecimal rather than binary. | ||
371 | </summary> | ||
372 | </member> | ||
373 | <member name="M:NpgsqlTypes.BitString.op_BitwiseAnd(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | ||
374 | <summary> | ||
375 | Performs a logical AND on the two operands. | ||
376 | </summary> | ||
377 | </member> | ||
378 | <member name="M:NpgsqlTypes.BitString.op_BitwiseOr(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | ||
379 | <summary> | ||
380 | Performs a logcial OR on the two operands. | ||
381 | </summary> | ||
382 | </member> | ||
383 | <member name="M:NpgsqlTypes.BitString.op_ExclusiveOr(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | ||
384 | <summary> | ||
385 | Perofrms a logical EXCLUSIVE-OR on the two operands | ||
386 | </summary> | ||
387 | </member> | ||
388 | <member name="M:NpgsqlTypes.BitString.op_OnesComplement(NpgsqlTypes.BitString)"> | ||
389 | <summary> | ||
390 | Performs a logical NOT on the operand. | ||
391 | </summary> | ||
392 | </member> | ||
393 | <member name="M:NpgsqlTypes.BitString.op_Addition(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | ||
394 | <summary> | ||
395 | Concatenates the operands. | ||
396 | </summary> | ||
397 | </member> | ||
398 | <member name="M:NpgsqlTypes.BitString.op_LeftShift(NpgsqlTypes.BitString,System.Int32)"> | ||
399 | <summary> | ||
400 | Left-shifts the string BitString. | ||
401 | </summary> | ||
402 | </member> | ||
403 | <member name="M:NpgsqlTypes.BitString.op_RightShift(NpgsqlTypes.BitString,System.Int32)"> | ||
404 | <summary> | ||
405 | Right-shifts the string BitString. | ||
406 | </summary> | ||
407 | </member> | ||
408 | <member name="M:NpgsqlTypes.BitString.op_Equality(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | ||
409 | <summary> | ||
410 | Compares the two operands. | ||
411 | </summary> | ||
412 | </member> | ||
413 | <member name="M:NpgsqlTypes.BitString.op_Inequality(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | ||
414 | <summary> | ||
415 | Compares the two operands. | ||
416 | </summary> | ||
417 | </member> | ||
418 | <member name="M:NpgsqlTypes.BitString.op_LessThan(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | ||
419 | <summary> | ||
420 | Compares the two operands. | ||
421 | </summary> | ||
422 | </member> | ||
423 | <member name="M:NpgsqlTypes.BitString.op_GreaterThan(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | ||
424 | <summary> | ||
425 | Compares the two operands. | ||
426 | </summary> | ||
427 | </member> | ||
428 | <member name="M:NpgsqlTypes.BitString.op_LessThanOrEqual(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | ||
429 | <summary> | ||
430 | Compares the two operands. | ||
431 | </summary> | ||
432 | </member> | ||
433 | <member name="M:NpgsqlTypes.BitString.op_GreaterThanOrEqual(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | ||
434 | <summary> | ||
435 | Compares the two operands. | ||
436 | </summary> | ||
437 | </member> | ||
438 | <member name="M:NpgsqlTypes.BitString.ToString(System.Text.Encoding)"> | ||
439 | <summary> | ||
440 | Interprets the bitstring as a series of bits in an encoded character string, | ||
441 | encoded according to the Encoding passed, and returns that string. | ||
442 | The bitstring must contain a whole number of octets(bytes) and also be | ||
443 | valid according to the Encoding passed. | ||
444 | </summary> | ||
445 | <param name="encoding">The <see cref="T:System.Text.Encoding"/> to use in producing the string.</param> | ||
446 | <returns>The string that was encoded in the BitString.</returns> | ||
447 | </member> | ||
448 | <member name="M:NpgsqlTypes.BitString.ToByteEnumerable"> | ||
449 | <summary> | ||
450 | Interprets the bitstring as a series of octets (bytes) and returns those octets. Fails | ||
451 | if the Bitstring does not contain a whole number of octets (its length is not evenly | ||
452 | divisible by 8). | ||
453 | </summary> | ||
454 | </member> | ||
455 | <member name="M:NpgsqlTypes.BitString.ToSByteEnumerable"> | ||
456 | <summary> | ||
457 | Interprets the bitstring as a series of signed octets (bytes) and returns those octets. Fails | ||
458 | if the Bitstring does not contain a whole number of octets (its length is not evenly | ||
459 | divisible by 8). | ||
460 | <remarks>This method is not CLS-Compliant and may not be available to languages that cannot | ||
461 | handle signed bytes.</remarks> | ||
462 | </summary> | ||
463 | </member> | ||
464 | <member name="M:NpgsqlTypes.BitString.ToUInt16Enumerable"> | ||
465 | <summary> | ||
466 | Interprets the bitstring as a series of unsigned 16-bit integers and returns those integers. | ||
467 | Fails if the Bitstring's length is not evenly divisible by 16. | ||
468 | <remarks>This method is not CLS-Compliant and may not be available to languages that cannot | ||
469 | handle unsigned integers.</remarks> | ||
470 | </summary> | ||
471 | </member> | ||
472 | <member name="M:NpgsqlTypes.BitString.ToInt16Enumerable"> | ||
473 | <summary> | ||
474 | Interprets the bitstring as a series of 16-bit integers and returns those integers. | ||
475 | Fails if the Bitstring's length is not evenly divisible by 16. | ||
476 | </summary> | ||
477 | </member> | ||
478 | <member name="M:NpgsqlTypes.BitString.ToUInt32Enumerable"> | ||
479 | <summary> | ||
480 | Interprets the bitstring as a series of unsigned 32-bit integers and returns those integers. | ||
481 | Fails if the Bitstring's length is not evenly divisible by 32. | ||
482 | <remarks>This method is not CLS-Compliant and may not be available to languages that cannot | ||
483 | handle unsigned integers.</remarks> | ||
484 | </summary> | ||
485 | </member> | ||
486 | <member name="M:NpgsqlTypes.BitString.ToInt32Enumerable"> | ||
487 | <summary> | ||
488 | Interprets the bitstring as a series of signed 32-bit integers and returns those integers. | ||
489 | Fails if the Bitstring's length is not evenly divisible by 32. | ||
490 | </summary> | ||
491 | </member> | ||
492 | <member name="M:NpgsqlTypes.BitString.ToUInt64Enumerable"> | ||
493 | <summary> | ||
494 | Interprets the bitstring as a series of unsigned 64-bit integers and returns those integers. | ||
495 | Fails if the Bitstring's length is not evenly divisible by 64. | ||
496 | <remarks>This method is not CLS-Compliant and may not be available to languages that cannot | ||
497 | handle unsigned integers.</remarks> | ||
498 | </summary> | ||
499 | </member> | ||
500 | <member name="M:NpgsqlTypes.BitString.ToInt64Enumerable"> | ||
501 | <summary> | ||
502 | Interprets the bitstring as a series of signed 64-bit integers and returns those integers. | ||
503 | Fails if the Bitstring's length is not evenly divisible by 64. | ||
504 | </summary> | ||
505 | </member> | ||
506 | <member name="P:NpgsqlTypes.BitString.Length"> | ||
507 | <summary> | ||
508 | The length of the string. | ||
509 | </summary> | ||
510 | </member> | ||
511 | <member name="P:NpgsqlTypes.BitString.Item(System.Int32)"> | ||
512 | <summary> | ||
513 | Retrieves the value of the bit at the given index. | ||
514 | </summary> | ||
515 | </member> | ||
516 | <member name="T:NpgsqlTypes.NpgsqlInterval"> | ||
517 | <summary> | ||
518 | Represents the PostgreSQL interval datatype. | ||
519 | <remarks>PostgreSQL differs from .NET in how it's interval type doesn't assume 24 hours in a day | ||
520 | (to deal with 23- and 25-hour days caused by daylight savings adjustments) and has a concept | ||
521 | of months that doesn't exist in .NET's <see cref="T:System.TimeSpan"/> class. (Neither datatype | ||
522 | has any concessions for leap-seconds). | ||
523 | <para>For most uses just casting to and from TimeSpan will work correctly — in particular, | ||
524 | the results of subtracting one <see cref="T:System.DateTime"/> or the PostgreSQL date, time and | ||
525 | timestamp types from another should be the same whether you do so in .NET or PostgreSQL — | ||
526 | but if the handling of days and months in PostgreSQL is important to your application then you | ||
527 | should use this class instead of <see cref="T:System.TimeSpan"/>.</para> | ||
528 | <para>If you don't know whether these differences are important to your application, they | ||
529 | probably arent! Just use <see cref="T:System.TimeSpan"/> and do not use this class directly ☺</para> | ||
530 | <para>To avoid forcing unnecessary provider-specific concerns on users who need not be concerned | ||
531 | with them a call to <see cref="M:System.Data.IDataRecord.GetValue(System.Int32)"/> on a field containing an | ||
532 | <see cref="T:NpgsqlTypes.NpgsqlInterval"/> value will return a <see cref="T:System.TimeSpan"/> rather than an | ||
533 | <see cref="T:NpgsqlTypes.NpgsqlInterval"/>. If you need the extra functionality of <see cref="T:NpgsqlTypes.NpgsqlInterval"/> | ||
534 | then use <see cref="M:Npgsql.NpgsqlDataReader.GetInterval(System.Int32)"/>.</para> | ||
535 | </remarks> | ||
536 | <seealso cref="P:NpgsqlTypes.NpgsqlInterval.Ticks"/> | ||
537 | <seealso cref="M:NpgsqlTypes.NpgsqlInterval.JustifyDays"/> | ||
538 | <seealso cref="M:NpgsqlTypes.NpgsqlInterval.JustifyMonths"/> | ||
539 | <seealso cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/> | ||
540 | </summary> | ||
541 | </member> | ||
542 | <member name="F:NpgsqlTypes.NpgsqlInterval.TicksPerMicrosecond"> | ||
543 | <summary> | ||
544 | Represents the number of ticks (100ns periods) in one microsecond. This field is constant. | ||
545 | </summary> | ||
546 | </member> | ||
547 | <member name="F:NpgsqlTypes.NpgsqlInterval.TicksPerMillsecond"> | ||
548 | <summary> | ||
549 | Represents the number of ticks (100ns periods) in one millisecond. This field is constant. | ||
550 | </summary> | ||
551 | </member> | ||
552 | <member name="F:NpgsqlTypes.NpgsqlInterval.TicksPerSecond"> | ||
553 | <summary> | ||
554 | Represents the number of ticks (100ns periods) in one second. This field is constant. | ||
555 | </summary> | ||
556 | </member> | ||
557 | <member name="F:NpgsqlTypes.NpgsqlInterval.TicksPerMinute"> | ||
558 | <summary> | ||
559 | Represents the number of ticks (100ns periods) in one minute. This field is constant. | ||
560 | </summary> | ||
561 | </member> | ||
562 | <member name="F:NpgsqlTypes.NpgsqlInterval.TicksPerHour"> | ||
563 | <summary> | ||
564 | Represents the number of ticks (100ns periods) in one hour. This field is constant. | ||
565 | </summary> | ||
566 | </member> | ||
567 | <member name="F:NpgsqlTypes.NpgsqlInterval.TicksPerDay"> | ||
568 | <summary> | ||
569 | Represents the number of ticks (100ns periods) in one day. This field is constant. | ||
570 | </summary> | ||
571 | </member> | ||
572 | <member name="F:NpgsqlTypes.NpgsqlInterval.HoursPerDay"> | ||
573 | <summary> | ||
574 | Represents the number of hours in one day (assuming no daylight savings adjustments). This field is constant. | ||
575 | </summary> | ||
576 | </member> | ||
577 | <member name="F:NpgsqlTypes.NpgsqlInterval.DaysPerMonth"> | ||
578 | <summary> | ||
579 | Represents the number of days assumed in one month if month justification or unjustifcation is performed. | ||
580 | This is set to 30 for consistency with PostgreSQL. Note that this is means that month adjustments cause | ||
581 | a year to be taken as 30 × 12 = 360 rather than 356/366 days. | ||
582 | </summary> | ||
583 | </member> | ||
584 | <member name="F:NpgsqlTypes.NpgsqlInterval.TicksPerMonth"> | ||
585 | <summary> | ||
586 | Represents the number of ticks (100ns periods) in one day, assuming 30 days per month. <seealso cref="F:NpgsqlTypes.NpgsqlInterval.DaysPerMonth"/> | ||
587 | </summary> | ||
588 | </member> | ||
589 | <member name="F:NpgsqlTypes.NpgsqlInterval.MonthsPerYear"> | ||
590 | <summary> | ||
591 | Represents the number of months in a year. This field is constant. | ||
592 | </summary> | ||
593 | </member> | ||
594 | <member name="F:NpgsqlTypes.NpgsqlInterval.MaxValue"> | ||
595 | <summary> | ||
596 | Represents the maximum <see cref="T:NpgsqlTypes.NpgsqlInterval"/>. This field is read-only. | ||
597 | </summary> | ||
598 | </member> | ||
599 | <member name="F:NpgsqlTypes.NpgsqlInterval.MinValue"> | ||
600 | <summary> | ||
601 | Represents the minimum <see cref="T:NpgsqlTypes.NpgsqlInterval"/>. This field is read-only. | ||
602 | </summary> | ||
603 | </member> | ||
604 | <member name="F:NpgsqlTypes.NpgsqlInterval.Zero"> | ||
605 | <summary> | ||
606 | Represents the zero <see cref="T:NpgsqlTypes.NpgsqlInterval"/>. This field is read-only. | ||
607 | </summary> | ||
608 | </member> | ||
609 | <member name="M:NpgsqlTypes.NpgsqlInterval.#ctor(System.Int64)"> | ||
610 | <summary> | ||
611 | Initializes a new <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to the specified number of ticks. | ||
612 | </summary> | ||
613 | <param name="ticks">A time period expressed in 100ns units.</param> | ||
614 | </member> | ||
615 | <member name="M:NpgsqlTypes.NpgsqlInterval.#ctor(System.TimeSpan)"> | ||
616 | <summary> | ||
617 | Initializes a new <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to hold the same time as a <see cref="T:System.TimeSpan"/> | ||
618 | </summary> | ||
619 | <param name="timespan">A time period expressed in a <see cref="T:System.TimeSpan"/></param> | ||
620 | </member> | ||
621 | <member name="M:NpgsqlTypes.NpgsqlInterval.#ctor(System.Int32,System.Int32,System.Int64)"> | ||
622 | <summary> | ||
623 | Initializes a new <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to the specified number of months, days | ||
624 | & ticks. | ||
625 | </summary> | ||
626 | <param name="months">Number of months.</param> | ||
627 | <param name="days">Number of days.</param> | ||
628 | <param name="ticks">Number of 100ns units.</param> | ||
629 | </member> | ||
630 | <member name="M:NpgsqlTypes.NpgsqlInterval.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)"> | ||
631 | <summary> | ||
632 | Initializes a new <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to the specified number of | ||
633 | days, hours, minutes & seconds. | ||
634 | </summary> | ||
635 | <param name="days">Number of days.</param> | ||
636 | <param name="hours">Number of hours.</param> | ||
637 | <param name="minutes">Number of minutes.</param> | ||
638 | <param name="seconds">Number of seconds.</param> | ||
639 | </member> | ||
640 | <member name="M:NpgsqlTypes.NpgsqlInterval.#ctor(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)"> | ||
641 | <summary> | ||
642 | Initializes a new <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to the specified number of | ||
643 | days, hours, minutes, seconds & milliseconds. | ||
644 | </summary> | ||
645 | <param name="days">Number of days.</param> | ||
646 | <param name="hours">Number of hours.</param> | ||
647 | <param name="minutes">Number of minutes.</param> | ||
648 | <param name="seconds">Number of seconds.</param> | ||
649 | <param name="milliseconds">Number of milliseconds.</param> | ||
650 | </member> | ||
651 | <member name="M:NpgsqlTypes.NpgsqlInterval.#ctor(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)"> | ||
652 | <summary> | ||
653 | Initializes a new <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to the specified number of | ||
654 | months, days, hours, minutes, seconds & milliseconds. | ||
655 | </summary> | ||
656 | <param name="months">Number of months.</param> | ||
657 | <param name="days">Number of days.</param> | ||
658 | <param name="hours">Number of hours.</param> | ||
659 | <param name="minutes">Number of minutes.</param> | ||
660 | <param name="seconds">Number of seconds.</param> | ||
661 | <param name="milliseconds">Number of milliseconds.</param> | ||
662 | </member> | ||
663 | <member name="M:NpgsqlTypes.NpgsqlInterval.#ctor(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)"> | ||
664 | <summary> | ||
665 | Initializes a new <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to the specified number of | ||
666 | years, months, days, hours, minutes, seconds & milliseconds. | ||
667 | <para>Years are calculated exactly equivalent to 12 months.</para> | ||
668 | </summary> | ||
669 | <param name="years">Number of years.</param> | ||
670 | <param name="months">Number of months.</param> | ||
671 | <param name="days">Number of days.</param> | ||
672 | <param name="hours">Number of hours.</param> | ||
673 | <param name="minutes">Number of minutes.</param> | ||
674 | <param name="seconds">Number of seconds.</param> | ||
675 | <param name="milliseconds">Number of milliseconds.</param> | ||
676 | </member> | ||
677 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromTicks(System.Int64)"> | ||
678 | <summary> | ||
679 | Creates an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> from a number of ticks. | ||
680 | </summary> | ||
681 | <param name="ticks">The number of ticks (100ns units) in the interval.</param> | ||
682 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of ticks.</returns> | ||
683 | </member> | ||
684 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromMicroseconds(System.Double)"> | ||
685 | <summary> | ||
686 | Creates an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> from a number of microseconds. | ||
687 | </summary> | ||
688 | <param name="micro">The number of microseconds in the interval.</param> | ||
689 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of microseconds.</returns> | ||
690 | </member> | ||
691 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromMilliseconds(System.Double)"> | ||
692 | <summary> | ||
693 | Creates an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> from a number of milliseconds. | ||
694 | </summary> | ||
695 | <param name="milli">The number of milliseconds in the interval.</param> | ||
696 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of milliseconds.</returns> | ||
697 | </member> | ||
698 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromSeconds(System.Double)"> | ||
699 | <summary> | ||
700 | Creates an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> from a number of seconds. | ||
701 | </summary> | ||
702 | <param name="seconds">The number of seconds in the interval.</param> | ||
703 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of seconds.</returns> | ||
704 | </member> | ||
705 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromMinutes(System.Double)"> | ||
706 | <summary> | ||
707 | Creates an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> from a number of minutes. | ||
708 | </summary> | ||
709 | <param name="minutes">The number of minutes in the interval.</param> | ||
710 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of minutes.</returns> | ||
711 | </member> | ||
712 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromHours(System.Double)"> | ||
713 | <summary> | ||
714 | Creates an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> from a number of hours. | ||
715 | </summary> | ||
716 | <param name="hours">The number of hours in the interval.</param> | ||
717 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of hours.</returns> | ||
718 | </member> | ||
719 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromDays(System.Double)"> | ||
720 | <summary> | ||
721 | Creates an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> from a number of days. | ||
722 | </summary> | ||
723 | <param name="days">The number of days in the interval.</param> | ||
724 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of days.</returns> | ||
725 | </member> | ||
726 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromMonths(System.Double)"> | ||
727 | <summary> | ||
728 | Creates an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> from a number of months. | ||
729 | </summary> | ||
730 | <param name="months">The number of months in the interval.</param> | ||
731 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of months.</returns> | ||
732 | </member> | ||
733 | <member name="M:NpgsqlTypes.NpgsqlInterval.Add(NpgsqlTypes.NpgsqlInterval)"> | ||
734 | <summary> | ||
735 | Adds another interval to this instance and returns the result. | ||
736 | </summary> | ||
737 | <param name="interval">An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to add to this instance.</param> | ||
738 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"></see> whose values are the sums of the two instances.</returns> | ||
739 | </member> | ||
740 | <member name="M:NpgsqlTypes.NpgsqlInterval.Subtract(NpgsqlTypes.NpgsqlInterval)"> | ||
741 | <summary> | ||
742 | Subtracts another interval from this instance and returns the result. | ||
743 | </summary> | ||
744 | <param name="interval">An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to subtract from this instance.</param> | ||
745 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"></see> whose values are the differences of the two instances.</returns> | ||
746 | </member> | ||
747 | <member name="M:NpgsqlTypes.NpgsqlInterval.Negate"> | ||
748 | <summary> | ||
749 | Returns an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> whose value is the negated value of this instance. | ||
750 | </summary> | ||
751 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> whose value is the negated value of this instance.</returns> | ||
752 | </member> | ||
753 | <member name="M:NpgsqlTypes.NpgsqlInterval.Duration"> | ||
754 | <summary> | ||
755 | This absolute value of this instance. In the case of some, but not all, components being negative, | ||
756 | the rules used for justification are used to determine if the instance is positive or negative. | ||
757 | </summary> | ||
758 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> whose value is the absolute value of this instance.</returns> | ||
759 | </member> | ||
760 | <member name="M:NpgsqlTypes.NpgsqlInterval.JustifyDays"> | ||
761 | <summary> | ||
762 | Equivalent to PostgreSQL's justify_days function. | ||
763 | </summary> | ||
764 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> based on this one, but with any hours outside of the range [-23, 23] | ||
765 | converted into days.</returns> | ||
766 | </member> | ||
767 | <member name="M:NpgsqlTypes.NpgsqlInterval.UnjustifyDays"> | ||
768 | <summary> | ||
769 | Opposite to PostgreSQL's justify_days function. | ||
770 | </summary> | ||
771 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> based on this one, but with any days converted to multiples of ±24hours.</returns> | ||
772 | </member> | ||
773 | <member name="M:NpgsqlTypes.NpgsqlInterval.JustifyMonths"> | ||
774 | <summary> | ||
775 | Equivalent to PostgreSQL's justify_months function. | ||
776 | </summary> | ||
777 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> based on this one, but with any days outside of the range [-30, 30] | ||
778 | converted into months.</returns> | ||
779 | </member> | ||
780 | <member name="M:NpgsqlTypes.NpgsqlInterval.UnjustifyMonths"> | ||
781 | <summary> | ||
782 | Opposite to PostgreSQL's justify_months function. | ||
783 | </summary> | ||
784 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> based on this one, but with any months converted to multiples of ±30days.</returns> | ||
785 | </member> | ||
786 | <member name="M:NpgsqlTypes.NpgsqlInterval.JustifyInterval"> | ||
787 | <summary> | ||
788 | Equivalent to PostgreSQL's justify_interval function. | ||
789 | </summary> | ||
790 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> based on this one, | ||
791 | but with any months converted to multiples of ±30days | ||
792 | and then with any days converted to multiples of ±24hours</returns> | ||
793 | </member> | ||
794 | <member name="M:NpgsqlTypes.NpgsqlInterval.UnjustifyInterval"> | ||
795 | <summary> | ||
796 | Opposite to PostgreSQL's justify_interval function. | ||
797 | </summary> | ||
798 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> based on this one, but with any months converted to multiples of ±30days and then any days converted to multiples of ±24hours;</returns> | ||
799 | </member> | ||
800 | <member name="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"> | ||
801 | <summary> | ||
802 | Produces a canonical NpgslInterval with 0 months and hours in the range of [-23, 23]. | ||
24 | <remarks> | 803 | <remarks> |
25 | <p>When you specify an <see cref="T:System.Object">Object</see> | 804 | <para> |
26 | in the value parameter, the <see cref="T:System.Data.DbType">DbType</see> is | 805 | While the fact that for many purposes, two different <see cref="T:NpgsqlTypes.NpgsqlInterval"/> instances could be considered |
27 | inferred from the .NET Framework type of the <b>Object</b>.</p> | 806 | equivalent (e.g. one with 2days, 3hours and one with 1day 27hours) there are different possible canonical forms. |
28 | <p>When using this constructor, you must be aware of a possible misuse of the constructor which takes a DbType parameter. | 807 | </para><para> |
29 | This happens when calling this constructor passing an int 0 and the compiler thinks you are passing a value of DbType. | 808 | E.g. we could move all excess hours into days and all excess days into months and have the most readable form, |
30 | Use <code> Convert.ToInt32(value) </code> for example to have compiler calling the correct constructor.</p> | 809 | or we could move everything into the ticks and have the form that allows for the easiest arithmetic) the form |
810 | chosen has two important properties that make it the best choice. | ||
811 | </para><para>First, it is closest two how | ||
812 | <see cref="T:System.TimeSpan"/> objects are most often represented. Second, it is compatible with results of many | ||
813 | PostgreSQL functions, particularly with age() and the results of subtracting one date, time or timestamp from | ||
814 | another. | ||
815 | </para> | ||
816 | <para>Note that the results of casting a <see cref="T:System.TimeSpan"/> to <see cref="T:NpgsqlTypes.NpgsqlInterval"/> is | ||
817 | canonicalised.</para> | ||
31 | </remarks> | 818 | </remarks> |
819 | </summary> | ||
820 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> based on this one, but with months converted to multiples of ±30days and with any hours outside of the range [-23, 23] | ||
821 | converted into days.</returns> | ||
32 | </member> | 822 | </member> |
33 | <member name="M:Npgsql.NpgsqlParameter.#ctor(System.String,NpgsqlTypes.NpgsqlDbType)"> | 823 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_Implicit(System.TimeSpan)~NpgsqlTypes.NpgsqlInterval"> |
34 | <summary> | 824 | <summary> |
35 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> | 825 | Implicit cast of a <see cref="T:System.TimeSpan"/> to an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> |
36 | class with the parameter m_Name and the data type. | ||
37 | </summary> | 826 | </summary> |
38 | <param m_Name="parameterName">The m_Name of the parameter to map.</param> | 827 | <param name="timespan">A <see cref="T:System.TimeSpan"/></param> |
39 | <param m_Name="parameterType">One of the <see cref="T:System.Data.DbType">DbType</see> values.</param> | 828 | <returns>An eqivalent, canonical, <see cref="T:NpgsqlTypes.NpgsqlInterval"/>.</returns> |
40 | </member> | 829 | </member> |
41 | <member name="M:Npgsql.NpgsqlParameter.#ctor(System.String,NpgsqlTypes.NpgsqlDbType,System.Int32)"> | 830 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_Explicit(NpgsqlTypes.NpgsqlInterval)~System.TimeSpan"> |
42 | <summary> | 831 | <summary> |
43 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> | 832 | Implicit cast of an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to a <see cref="T:System.TimeSpan"/>. |
44 | class with the parameter m_Name, the <see cref="T:System.Data.DbType">DbType</see>, and the size. | ||
45 | </summary> | 833 | </summary> |
46 | <param m_Name="parameterName">The m_Name of the parameter to map.</param> | 834 | <param name="interval">A <see cref="T:NpgsqlTypes.NpgsqlInterval"/>.</param> |
47 | <param m_Name="parameterType">One of the <see cref="T:System.Data.DbType">DbType</see> values.</param> | 835 | <returns>An equivalent <see cref="T:System.TimeSpan"/>.</returns> |
48 | <param m_Name="size">The length of the parameter.</param> | ||
49 | </member> | 836 | </member> |
50 | <member name="M:Npgsql.NpgsqlParameter.#ctor(System.String,NpgsqlTypes.NpgsqlDbType,System.Int32,System.String)"> | 837 | <member name="M:NpgsqlTypes.NpgsqlInterval.Equals(NpgsqlTypes.NpgsqlInterval)"> |
51 | <summary> | 838 | <summary> |
52 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> | 839 | Returns true if another <see cref="T:NpgsqlTypes.NpgsqlInterval"/> is exactly the same as this instance. |
53 | class with the parameter m_Name, the <see cref="T:System.Data.DbType">DbType</see>, the size, | ||
54 | and the source column m_Name. | ||
55 | </summary> | 840 | </summary> |
56 | <param m_Name="parameterName">The m_Name of the parameter to map.</param> | 841 | <param name="other">An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> for comparison.</param> |
57 | <param m_Name="parameterType">One of the <see cref="T:System.Data.DbType">DbType</see> values.</param> | 842 | <returns>true if the two <see cref="T:NpgsqlTypes.NpgsqlInterval"/> instances are exactly the same, |
58 | <param m_Name="size">The length of the parameter.</param> | 843 | false otherwise.</returns> |
59 | <param m_Name="sourceColumn">The m_Name of the source column.</param> | ||
60 | </member> | 844 | </member> |
61 | <member name="M:Npgsql.NpgsqlParameter.#ctor(System.String,NpgsqlTypes.NpgsqlDbType,System.Int32,System.String,System.Data.ParameterDirection,System.Boolean,System.Byte,System.Byte,System.Data.DataRowVersion,System.Object)"> | 845 | <member name="M:NpgsqlTypes.NpgsqlInterval.Equals(System.Object)"> |
62 | <summary> | 846 | <summary> |
63 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> | 847 | Returns true if another object is an <see cref="T:NpgsqlTypes.NpgsqlInterval"/>, that is exactly the same as |
64 | class with the parameter m_Name, the <see cref="T:System.Data.DbType">DbType</see>, the size, | 848 | this instance |
65 | the source column m_Name, a <see cref="T:System.Data.ParameterDirection">ParameterDirection</see>, | ||
66 | the precision of the parameter, the scale of the parameter, a | ||
67 | <see cref="T:System.Data.DataRowVersion">DataRowVersion</see> to use, and the | ||
68 | value of the parameter. | ||
69 | </summary> | 849 | </summary> |
70 | <param m_Name="parameterName">The m_Name of the parameter to map.</param> | 850 | <param name="obj">An <see cref="T:System.Object"/> for comparison.</param> |
71 | <param m_Name="parameterType">One of the <see cref="T:System.Data.DbType">DbType</see> values.</param> | 851 | <returns>true if the argument is an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> and is exactly the same |
72 | <param m_Name="size">The length of the parameter.</param> | 852 | as this one, false otherwise.</returns> |
73 | <param m_Name="sourceColumn">The m_Name of the source column.</param> | ||
74 | <param m_Name="direction">One of the <see cref="T:System.Data.ParameterDirection">ParameterDirection</see> values.</param> | ||
75 | <param m_Name="isNullable"><b>true</b> if the value of the field can be null, otherwise <b>false</b>.</param> | ||
76 | <param m_Name="precision">The total number of digits to the left and right of the decimal point to which | ||
77 | <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see> is resolved.</param> | ||
78 | <param m_Name="scale">The total number of decimal places to which | ||
79 | <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see> is resolved.</param> | ||
80 | <param m_Name="sourceVersion">One of the <see cref="T:System.Data.DataRowVersion">DataRowVersion</see> values.</param> | ||
81 | <param m_Name="value">An <see cref="T:System.Object">Object</see> that is the value | ||
82 | of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see>.</param> | ||
83 | </member> | 853 | </member> |
84 | <member name="M:Npgsql.NpgsqlParameter.Clone"> | 854 | <member name="M:NpgsqlTypes.NpgsqlInterval.Compare(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> |
85 | <summary> | 855 | <summary> |
86 | Creates a new <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> that | 856 | Compares two <see cref="T:NpgsqlTypes.NpgsqlInterval"/> instances. |
87 | is a copy of the current instance. | ||
88 | </summary> | 857 | </summary> |
89 | <returns>A new <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> that is a copy of this instance.</returns> | 858 | <param name="x">The first <see cref="T:NpgsqlTypes.NpgsqlInterval"/>.</param> |
859 | <param name="y">The second <see cref="T:NpgsqlTypes.NpgsqlInterval"/>.</param> | ||
860 | <returns>0 if the two are equal or equivalent. A value greater than zero if x is greater than y, | ||
861 | a value less than zero if x is less than y.</returns> | ||
90 | </member> | 862 | </member> |
91 | <member name="P:Npgsql.NpgsqlParameter.Precision"> | 863 | <member name="M:NpgsqlTypes.NpgsqlInterval.GetHashCode"> |
92 | <summary> | 864 | <summary> |
93 | Gets or sets the maximum number of digits used to represent the | 865 | A hash code suitable for uses with hashing algorithms. |
94 | <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see> property. | ||
95 | </summary> | 866 | </summary> |
96 | <value>The maximum number of digits used to represent the | 867 | <returns>An signed integer.</returns> |
97 | <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see> property. | ||
98 | The default value is 0, which indicates that the data provider | ||
99 | sets the precision for <b>Value</b>.</value> | ||
100 | </member> | 868 | </member> |
101 | <member name="P:Npgsql.NpgsqlParameter.Scale"> | 869 | <member name="M:NpgsqlTypes.NpgsqlInterval.CompareTo(NpgsqlTypes.NpgsqlInterval)"> |
102 | <summary> | 870 | <summary> |
103 | Gets or sets the number of decimal places to which | 871 | Compares this instance with another/ |
104 | <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see> is resolved. | ||
105 | </summary> | 872 | </summary> |
106 | <value>The number of decimal places to which | 873 | <param name="other">An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare this with.</param> |
107 | <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see> is resolved. The default is 0.</value> | 874 | <returns>0 if the instances are equal or equivalent. A value less than zero if |
875 | this instance is less than the argument. A value greater than zero if this instance | ||
876 | is greater than the instance.</returns> | ||
108 | </member> | 877 | </member> |
109 | <member name="P:Npgsql.NpgsqlParameter.Size"> | 878 | <member name="M:NpgsqlTypes.NpgsqlInterval.CompareTo(System.Object)"> |
110 | <summary> | 879 | <summary> |
111 | Gets or sets the maximum size, in bytes, of the data within the column. | 880 | Compares this instance with another/ |
112 | </summary> | 881 | </summary> |
113 | <value>The maximum size, in bytes, of the data within the column. | 882 | <param name="other">An object to compare this with.</param> |
114 | The default value is inferred from the parameter value.</value> | 883 | <returns>0 if the argument is an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> and the instances are equal or equivalent. |
884 | A value less than zero if the argument is an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> and | ||
885 | this instance is less than the argument. | ||
886 | A value greater than zero if the argument is an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> and this instance | ||
887 | is greater than the instance.</returns> | ||
888 | A value greater than zero if the argument is null. | ||
889 | <exception cref="T:System.ArgumentException">The argument is not an <see cref="T:NpgsqlTypes.NpgsqlInterval"/>.</exception> | ||
115 | </member> | 890 | </member> |
116 | <member name="P:Npgsql.NpgsqlParameter.DbType"> | 891 | <member name="M:NpgsqlTypes.NpgsqlInterval.Parse(System.String)"> |
117 | <summary> | 892 | <summary> |
118 | Gets or sets the <see cref="T:System.Data.DbType">DbType</see> of the parameter. | 893 | Parses a <see cref="T:System.String"/> and returns a <see cref="T:NpgsqlTypes.NpgsqlInterval"/> instance. |
894 | Designed to use the formats generally returned by PostgreSQL. | ||
119 | </summary> | 895 | </summary> |
120 | <value>One of the <see cref="T:System.Data.DbType">DbType</see> values. The default is <b>String</b>.</value> | 896 | <param name="str">The <see cref="T:System.String"/> to parse.</param> |
897 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> represented by the argument.</returns> | ||
898 | <exception cref="T:System.ArgumentNullException">The string was null.</exception> | ||
899 | <exception cref="T:System.OverflowException">A value obtained from parsing the string exceeded the values allowed for the relevant component.</exception> | ||
900 | <exception cref="T:System.FormatException">The string was not in a format that could be parsed to produce an <see cref="T:NpgsqlTypes.NpgsqlInterval"/>.</exception> | ||
121 | </member> | 901 | </member> |
122 | <member name="P:Npgsql.NpgsqlParameter.NpgsqlDbType"> | 902 | <member name="M:NpgsqlTypes.NpgsqlInterval.TryParse(System.String,NpgsqlTypes.NpgsqlInterval@)"> |
123 | <summary> | 903 | <summary> |
124 | Gets or sets the <see cref="T:System.Data.DbType">DbType</see> of the parameter. | 904 | Attempt to parse a <see cref="T:System.String"/> to produce an <see cref="T:NpgsqlTypes.NpgsqlInterval"/>. |
125 | </summary> | 905 | </summary> |
126 | <value>One of the <see cref="T:System.Data.DbType">DbType</see> values. The default is <b>String</b>.</value> | 906 | <param name="str">The <see cref="T:System.String"/> to parse.</param> |
907 | <param name="result">(out) The <see cref="T:NpgsqlTypes.NpgsqlInterval"/> produced, or <see cref="F:NpgsqlTypes.NpgsqlInterval.Zero"/> if the parsing failed.</param> | ||
908 | <returns>true if the parsing succeeded, false otherwise.</returns> | ||
127 | </member> | 909 | </member> |
128 | <member name="P:Npgsql.NpgsqlParameter.Direction"> | 910 | <member name="M:NpgsqlTypes.NpgsqlInterval.ToString"> |
129 | <summary> | 911 | <summary> |
130 | Gets or sets a value indicating whether the parameter is input-only, | 912 | Create a <see cref="T:System.String"/> representation of the <see cref="T:NpgsqlTypes.NpgsqlInterval"/> instance. |
131 | output-only, bidirectional, or a stored procedure return value parameter. | 913 | The format returned is of the form: |
914 | [M mon[s]] [d day[s]] [HH:mm:ss[.f[f[f[f[f[f[f[f[f]]]]]]]]]] | ||
915 | A zero <see cref="T:NpgsqlTypes.NpgsqlInterval"/> is represented as 00:00:00 | ||
916 | <remarks> | ||
917 | Ticks are 100ns, Postgress resolution is only to 1µs at most. Hence we lose 1 or more decimal | ||
918 | precision in storing values in the database. Despite this, this method will output that extra | ||
919 | digit of precision. It's forward-compatible with any future increases in resolution up to 100ns, | ||
920 | and also makes this ToString() more applicable to any other use-case. | ||
921 | </remarks> | ||
132 | </summary> | 922 | </summary> |
133 | <value>One of the <see cref="T:System.Data.ParameterDirection">ParameterDirection</see> | 923 | <returns>The <see cref="T:System.String"/> representation.</returns> |
134 | values. The default is <b>Input</b>.</value> | ||
135 | </member> | 924 | </member> |
136 | <member name="P:Npgsql.NpgsqlParameter.IsNullable"> | 925 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_Addition(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> |
137 | <summary> | 926 | <summary> |
138 | Gets or sets a value indicating whether the parameter accepts null values. | 927 | Adds two <see cref="T:NpgsqlTypes.NpgsqlInterval"/> together. |
139 | </summary> | 928 | </summary> |
140 | <value><b>true</b> if null values are accepted; otherwise, <b>false</b>. The default is <b>false</b>.</value> | 929 | <param name="x">The first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to add.</param> |
930 | <param name="y">The second <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to add.</param> | ||
931 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> whose values are the sum of the arguments.</returns> | ||
141 | </member> | 932 | </member> |
142 | <member name="P:Npgsql.NpgsqlParameter.ParameterName"> | 933 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_Subtraction(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> |
143 | <summary> | 934 | <summary> |
144 | Gets or sets the m_Name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see>. | 935 | Subtracts one <see cref="T:NpgsqlTypes.NpgsqlInterval"/> from another. |
145 | </summary> | 936 | </summary> |
146 | <value>The m_Name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see>. | 937 | <param name="x">The <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to subtract the other from.</param> |
147 | The default is an empty string.</value> | 938 | <param name="y">The <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to subtract from the other.</param> |
939 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> whose values are the difference of the arguments</returns> | ||
148 | </member> | 940 | </member> |
149 | <member name="P:Npgsql.NpgsqlParameter.CleanName"> | 941 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_Equality(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> |
150 | <summary> | 942 | <summary> |
151 | The m_Name scrubbed of any optional marker | 943 | Returns true if two <see cref="T:NpgsqlTypes.NpgsqlInterval"/> are exactly the same. |
152 | </summary> | 944 | </summary> |
945 | <param name="x">The first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> | ||
946 | <param name="y">The second <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> | ||
947 | <returns>true if the two arguments are exactly the same, false otherwise.</returns> | ||
153 | </member> | 948 | </member> |
154 | <member name="P:Npgsql.NpgsqlParameter.SourceColumn"> | 949 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_Inequality(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> |
155 | <summary> | 950 | <summary> |
156 | Gets or sets the m_Name of the source column that is mapped to the | 951 | Returns false if two <see cref="T:NpgsqlTypes.NpgsqlInterval"/> are exactly the same. |
157 | <see cref="T:System.Data.DataSet">DataSet</see> and used for loading or | ||
158 | returning the <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see>. | ||
159 | </summary> | 952 | </summary> |
160 | <value>The m_Name of the source column that is mapped to the | 953 | <param name="x">The first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> |
161 | <see cref="T:System.Data.DataSet">DataSet</see>. The default is an empty string.</value> | 954 | <param name="y">The second <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> |
955 | <returns>false if the two arguments are exactly the same, true otherwise.</returns> | ||
162 | </member> | 956 | </member> |
163 | <member name="P:Npgsql.NpgsqlParameter.SourceVersion"> | 957 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_LessThan(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> |
164 | <summary> | 958 | <summary> |
165 | Gets or sets the <see cref="T:System.Data.DataRowVersion">DataRowVersion</see> | 959 | Compares two <see cref="T:NpgsqlTypes.NpgsqlInterval"/> instances to see if the first is less than the second |
166 | to use when loading <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see>. | ||
167 | </summary> | 960 | </summary> |
168 | <value>One of the <see cref="T:System.Data.DataRowVersion">DataRowVersion</see> values. | 961 | <param name="x">The first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> |
169 | The default is <b>Current</b>.</value> | 962 | <param name="y">The second <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> |
963 | <returns>true if the first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> is less than second, false otherwise.</returns> | ||
170 | </member> | 964 | </member> |
171 | <member name="P:Npgsql.NpgsqlParameter.Value"> | 965 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_LessThanOrEqual(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> |
172 | <summary> | 966 | <summary> |
173 | Gets or sets the value of the parameter. | 967 | Compares two <see cref="T:NpgsqlTypes.NpgsqlInterval"/> instances to see if the first is less than or equivalent to the second |
174 | </summary> | 968 | </summary> |
175 | <value>An <see cref="T:System.Object">Object</see> that is the value of the parameter. | 969 | <param name="x">The first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> |
176 | The default value is null.</value> | 970 | <param name="y">The second <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> |
971 | <returns>true if the first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> is less than or equivalent to second, false otherwise.</returns> | ||
177 | </member> | 972 | </member> |
178 | <member name="P:Npgsql.NpgsqlParameter.NpgsqlValue"> | 973 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_GreaterThan(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> |
179 | <summary> | 974 | <summary> |
180 | Gets or sets the value of the parameter. | 975 | Compares two <see cref="T:NpgsqlTypes.NpgsqlInterval"/> instances to see if the first is greater than the second |
181 | </summary> | 976 | </summary> |
182 | <value>An <see cref="T:System.Object">Object</see> that is the value of the parameter. | 977 | <param name="x">The first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> |
183 | The default value is null.</value> | 978 | <param name="y">The second <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> |
979 | <returns>true if the first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> is greater than second, false otherwise.</returns> | ||
184 | </member> | 980 | </member> |
185 | <member name="T:Npgsql.NpgsqlFlush"> | 981 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_GreaterThanOrEqual(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> |
982 | <summary> | ||
983 | Compares two <see cref="T:NpgsqlTypes.NpgsqlInterval"/> instances to see if the first is greater than or equivalent the second | ||
984 | </summary> | ||
985 | <param name="x">The first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> | ||
986 | <param name="y">The second <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> | ||
987 | <returns>true if the first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> is greater than or equivalent to the second, false otherwise.</returns> | ||
988 | </member> | ||
989 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_UnaryPlus(NpgsqlTypes.NpgsqlInterval)"> | ||
990 | <summary> | ||
991 | Returns the instance. | ||
992 | </summary> | ||
993 | <param name="x">An <see cref="T:NpgsqlTypes.NpgsqlInterval"/>.</param> | ||
994 | <returns>The argument.</returns> | ||
995 | </member> | ||
996 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_UnaryNegation(NpgsqlTypes.NpgsqlInterval)"> | ||
997 | <summary> | ||
998 | Negates an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> instance. | ||
999 | </summary> | ||
1000 | <param name="x">An <see cref="T:NpgsqlTypes.NpgsqlInterval"/>.</param> | ||
1001 | <returns>The negation of the argument.</returns> | ||
1002 | </member> | ||
1003 | <member name="P:NpgsqlTypes.NpgsqlInterval.Ticks"> | ||
1004 | <summary> | ||
1005 | The total number of ticks(100ns units) contained. This is the resolution of the | ||
1006 | <see cref="T:NpgsqlTypes.NpgsqlInterval"/> type. This ignores the number of days and | ||
1007 | months held. If you want them included use <see cref="M:NpgsqlTypes.NpgsqlInterval.UnjustifyInterval"/> first. | ||
1008 | <remarks>The resolution of the PostgreSQL | ||
1009 | interval type is by default 1µs = 1,000 ns. It may be smaller as follows: | ||
1010 | <list type="number"> | ||
1011 | <item> | ||
1012 | <term>interval(0)</term> | ||
1013 | <description>resolution of 1s (1 second)</description> | ||
1014 | </item> | ||
1015 | <item> | ||
1016 | <term>interval(1)</term> | ||
1017 | <description>resolution of 100ms = 0.1s (100 milliseconds)</description> | ||
1018 | </item> | ||
1019 | <item> | ||
1020 | <term>interval(2)</term> | ||
1021 | <description>resolution of 10ms = 0.01s (10 milliseconds)</description> | ||
1022 | </item> | ||
1023 | <item> | ||
1024 | <term>interval(3)</term> | ||
1025 | <description>resolution of 1ms = 0.001s (1 millisecond)</description> | ||
1026 | </item> | ||
1027 | <item> | ||
1028 | <term>interval(4)</term> | ||
1029 | <description>resolution of 100µs = 0.0001s (100 microseconds)</description> | ||
1030 | </item> | ||
1031 | <item> | ||
1032 | <term>interval(5)</term> | ||
1033 | <description>resolution of 10µs = 0.00001s (10 microseconds)</description> | ||
1034 | </item> | ||
1035 | <item> | ||
1036 | <term>interval(6) or interval</term> | ||
1037 | <description>resolution of 1µs = 0.000001s (1 microsecond)</description> | ||
1038 | </item> | ||
1039 | </list> | ||
1040 | <para>As such, if the 100-nanosecond resolution is significant to an application, a PostgreSQL interval will | ||
1041 | not suffice for those purposes.</para> | ||
1042 | <para>In more frequent cases though, the resolution of the interval suffices. | ||
1043 | <see cref="T:NpgsqlTypes.NpgsqlInterval"/> will always suffice to handle the resolution of any interval value, and upon | ||
1044 | writing to the database, will be rounded to the resolution used.</para> | ||
1045 | </remarks> | ||
1046 | <returns>The number of ticks in the instance.</returns> | ||
1047 | </summary> | ||
1048 | </member> | ||
1049 | <member name="P:NpgsqlTypes.NpgsqlInterval.Microseconds"> | ||
1050 | <summary> | ||
1051 | Gets the number of whole microseconds held in the instance. | ||
1052 | <returns>An in the range [-999999, 999999].</returns> | ||
1053 | </summary> | ||
1054 | </member> | ||
1055 | <member name="P:NpgsqlTypes.NpgsqlInterval.Milliseconds"> | ||
1056 | <summary> | ||
1057 | Gets the number of whole milliseconds held in the instance. | ||
1058 | <returns>An in the range [-999, 999].</returns> | ||
1059 | </summary> | ||
1060 | </member> | ||
1061 | <member name="P:NpgsqlTypes.NpgsqlInterval.Seconds"> | ||
1062 | <summary> | ||
1063 | Gets the number of whole seconds held in the instance. | ||
1064 | <returns>An in the range [-59, 59].</returns> | ||
1065 | </summary> | ||
1066 | </member> | ||
1067 | <member name="P:NpgsqlTypes.NpgsqlInterval.Minutes"> | ||
1068 | <summary> | ||
1069 | Gets the number of whole minutes held in the instance. | ||
1070 | <returns>An in the range [-59, 59].</returns> | ||
1071 | </summary> | ||
1072 | </member> | ||
1073 | <member name="P:NpgsqlTypes.NpgsqlInterval.Hours"> | ||
1074 | <summary> | ||
1075 | Gets the number of whole hours held in the instance. | ||
1076 | <remarks>Note that this can be less than -23 or greater than 23 unless <see cref="M:NpgsqlTypes.NpgsqlInterval.JustifyDays"/> | ||
1077 | has been used to produce this instance.</remarks> | ||
1078 | </summary> | ||
1079 | </member> | ||
1080 | <member name="P:NpgsqlTypes.NpgsqlInterval.Days"> | ||
1081 | <summary> | ||
1082 | Gets the number of days held in the instance. | ||
1083 | <remarks>Note that this does not pay attention to a time component with -24 or less hours or | ||
1084 | 24 or more hours, unless <see cref="M:NpgsqlTypes.NpgsqlInterval.JustifyDays"/> has been called to produce this instance.</remarks> | ||
1085 | </summary> | ||
1086 | </member> | ||
1087 | <member name="P:NpgsqlTypes.NpgsqlInterval.Months"> | ||
1088 | <summary> | ||
1089 | Gets the number of months held in the instance. | ||
1090 | <remarks>Note that this does not pay attention to a day component with -30 or less days or | ||
1091 | 30 or more days, unless <see cref="M:NpgsqlTypes.NpgsqlInterval.JustifyMonths"/> has been called to produce this instance.</remarks> | ||
1092 | </summary> | ||
1093 | </member> | ||
1094 | <member name="P:NpgsqlTypes.NpgsqlInterval.Time"> | ||
1095 | <summary> | ||
1096 | Returns a <see cref="T:System.TimeSpan"/> representing the time component of the instance. | ||
1097 | <remarks>Note that this may have a value beyond the range ±23:59:59.9999999 unless | ||
1098 | <see cref="M:NpgsqlTypes.NpgsqlInterval.JustifyDays"/> has been called to produce this instance.</remarks> | ||
1099 | </summary> | ||
1100 | </member> | ||
1101 | <member name="P:NpgsqlTypes.NpgsqlInterval.TotalTicks"> | ||
1102 | <summary> | ||
1103 | The total number of ticks (100ns units) in the instance, assuming 24 hours in each day and | ||
1104 | 30 days in a month. | ||
1105 | </summary> | ||
1106 | </member> | ||
1107 | <member name="P:NpgsqlTypes.NpgsqlInterval.TotalMicroseconds"> | ||
1108 | <summary> | ||
1109 | The total number of microseconds in the instance, assuming 24 hours in each day and | ||
1110 | 30 days in a month. | ||
1111 | </summary> | ||
1112 | </member> | ||
1113 | <member name="P:NpgsqlTypes.NpgsqlInterval.TotalMilliseconds"> | ||
1114 | <summary> | ||
1115 | The total number of milliseconds in the instance, assuming 24 hours in each day and | ||
1116 | 30 days in a month. | ||
1117 | </summary> | ||
1118 | </member> | ||
1119 | <member name="P:NpgsqlTypes.NpgsqlInterval.TotalSeconds"> | ||
1120 | <summary> | ||
1121 | The total number of seconds in the instance, assuming 24 hours in each day and | ||
1122 | 30 days in a month. | ||
1123 | </summary> | ||
1124 | </member> | ||
1125 | <member name="P:NpgsqlTypes.NpgsqlInterval.TotalMinutes"> | ||
1126 | <summary> | ||
1127 | The total number of minutes in the instance, assuming 24 hours in each day and | ||
1128 | 30 days in a month. | ||
1129 | </summary> | ||
1130 | </member> | ||
1131 | <member name="P:NpgsqlTypes.NpgsqlInterval.TotalHours"> | ||
1132 | <summary> | ||
1133 | The total number of hours in the instance, assuming 24 hours in each day and | ||
1134 | 30 days in a month. | ||
1135 | </summary> | ||
1136 | </member> | ||
1137 | <member name="P:NpgsqlTypes.NpgsqlInterval.TotalDays"> | ||
1138 | <summary> | ||
1139 | The total number of days in the instance, assuming 24 hours in each day and | ||
1140 | 30 days in a month. | ||
1141 | </summary> | ||
1142 | </member> | ||
1143 | <member name="P:NpgsqlTypes.NpgsqlInterval.TotalMonths"> | ||
1144 | <summary> | ||
1145 | The total number of months in the instance, assuming 24 hours in each day and | ||
1146 | 30 days in a month. | ||
1147 | </summary> | ||
1148 | </member> | ||
1149 | <member name="M:NpgsqlTypes.NpgsqlTime.Normalize"> | ||
1150 | <summary> | ||
1151 | Normalise this time; if it is 24:00:00, convert it to 00:00:00 | ||
1152 | </summary> | ||
1153 | <returns>This time, normalised</returns> | ||
1154 | </member> | ||
1155 | <member name="P:NpgsqlTypes.NpgsqlTime.Ticks"> | ||
1156 | <summary> | ||
1157 | The total number of ticks(100ns units) contained. This is the resolution of the | ||
1158 | <see cref="T:NpgsqlTypes.NpgsqlTime"/> type. | ||
1159 | <remarks>The resolution of the PostgreSQL | ||
1160 | interval type is by default 1µs = 1,000 ns. It may be smaller as follows: | ||
1161 | <list type="number"> | ||
1162 | <item> | ||
1163 | <term>time(0)</term> | ||
1164 | <description>resolution of 1s (1 second)</description> | ||
1165 | </item> | ||
1166 | <item> | ||
1167 | <term>time(1)</term> | ||
1168 | <description>resolution of 100ms = 0.1s (100 milliseconds)</description> | ||
1169 | </item> | ||
1170 | <item> | ||
1171 | <term>time(2)</term> | ||
1172 | <description>resolution of 10ms = 0.01s (10 milliseconds)</description> | ||
1173 | </item> | ||
1174 | <item> | ||
1175 | <term>time(3)</term> | ||
1176 | <description>resolution of 1ms = 0.001s (1 millisecond)</description> | ||
1177 | </item> | ||
1178 | <item> | ||
1179 | <term>time(4)</term> | ||
1180 | <description>resolution of 100µs = 0.0001s (100 microseconds)</description> | ||
1181 | </item> | ||
1182 | <item> | ||
1183 | <term>time(5)</term> | ||
1184 | <description>resolution of 10µs = 0.00001s (10 microseconds)</description> | ||
1185 | </item> | ||
1186 | <item> | ||
1187 | <term>time(6) or interval</term> | ||
1188 | <description>resolution of 1µs = 0.000001s (1 microsecond)</description> | ||
1189 | </item> | ||
1190 | </list> | ||
1191 | <para>As such, if the 100-nanosecond resolution is significant to an application, a PostgreSQL time will | ||
1192 | not suffice for those purposes.</para> | ||
1193 | <para>In more frequent cases though, the resolution of time suffices. | ||
1194 | <see cref="T:NpgsqlTypes.NpgsqlTime"/> will always suffice to handle the resolution of any time value, and upon | ||
1195 | writing to the database, will be rounded to the resolution used.</para> | ||
1196 | </remarks> | ||
1197 | <returns>The number of ticks in the instance.</returns> | ||
1198 | </summary> | ||
1199 | </member> | ||
1200 | <member name="P:NpgsqlTypes.NpgsqlTime.Microseconds"> | ||
1201 | <summary> | ||
1202 | Gets the number of whole microseconds held in the instance. | ||
1203 | <returns>An integer in the range [0, 999999].</returns> | ||
1204 | </summary> | ||
1205 | </member> | ||
1206 | <member name="P:NpgsqlTypes.NpgsqlTime.Milliseconds"> | ||
1207 | <summary> | ||
1208 | Gets the number of whole milliseconds held in the instance. | ||
1209 | <returns>An integer in the range [0, 999].</returns> | ||
1210 | </summary> | ||
1211 | </member> | ||
1212 | <member name="P:NpgsqlTypes.NpgsqlTime.Seconds"> | ||
1213 | <summary> | ||
1214 | Gets the number of whole seconds held in the instance. | ||
1215 | <returns>An interger in the range [0, 59].</returns> | ||
1216 | </summary> | ||
1217 | </member> | ||
1218 | <member name="P:NpgsqlTypes.NpgsqlTime.Minutes"> | ||
1219 | <summary> | ||
1220 | Gets the number of whole minutes held in the instance. | ||
1221 | <returns>An integer in the range [0, 59].</returns> | ||
1222 | </summary> | ||
1223 | </member> | ||
1224 | <member name="P:NpgsqlTypes.NpgsqlTime.Hours"> | ||
1225 | <summary> | ||
1226 | Gets the number of whole hours held in the instance. | ||
1227 | <remarks>Note that the time 24:00:00 can be stored for roundtrip compatibility. Any calculations on such a | ||
1228 | value will normalised it to 00:00:00.</remarks> | ||
1229 | </summary> | ||
1230 | </member> | ||
1231 | <member name="M:NpgsqlTypes.NpgsqlTimeTZ.Normalize"> | ||
1232 | <summary> | ||
1233 | Normalise this time; if it is 24:00:00, convert it to 00:00:00 | ||
1234 | </summary> | ||
1235 | <returns>This time, normalised</returns> | ||
1236 | </member> | ||
1237 | <member name="M:NpgsqlTypes.NpgsqlTimeTZ.CompareTo(NpgsqlTypes.NpgsqlTimeTZ)"> | ||
1238 | <summary> | ||
1239 | Compares this with another <see cref="T:NpgsqlTypes.NpgsqlTimeTZ"/>. As per postgres' rules, | ||
1240 | first the times are compared as if they were both in the same timezone. If they are equal then | ||
1241 | then timezones are compared (+01:00 being "smaller" than -01:00). | ||
1242 | </summary> | ||
1243 | <param name="other">the <see cref="T:NpgsqlTypes.NpgsqlTimeTZ"/> to compare with.</param> | ||
1244 | <returns>An integer which is 0 if they are equal, < 0 if this is the smaller and > 0 if this is the larger.</returns> | ||
1245 | </member> | ||
1246 | <member name="P:NpgsqlTypes.NpgsqlTimeTZ.Microseconds"> | ||
1247 | <summary> | ||
1248 | Gets the number of whole microseconds held in the instance. | ||
1249 | <returns>An integer in the range [0, 999999].</returns> | ||
1250 | </summary> | ||
1251 | </member> | ||
1252 | <member name="P:NpgsqlTypes.NpgsqlTimeTZ.Milliseconds"> | ||
1253 | <summary> | ||
1254 | Gets the number of whole milliseconds held in the instance. | ||
1255 | <returns>An integer in the range [0, 999].</returns> | ||
1256 | </summary> | ||
1257 | </member> | ||
1258 | <member name="P:NpgsqlTypes.NpgsqlTimeTZ.Seconds"> | ||
1259 | <summary> | ||
1260 | Gets the number of whole seconds held in the instance. | ||
1261 | <returns>An interger in the range [0, 59].</returns> | ||
1262 | </summary> | ||
1263 | </member> | ||
1264 | <member name="P:NpgsqlTypes.NpgsqlTimeTZ.Minutes"> | ||
1265 | <summary> | ||
1266 | Gets the number of whole minutes held in the instance. | ||
1267 | <returns>An integer in the range [0, 59].</returns> | ||
1268 | </summary> | ||
1269 | </member> | ||
1270 | <member name="P:NpgsqlTypes.NpgsqlTimeTZ.Hours"> | ||
1271 | <summary> | ||
1272 | Gets the number of whole hours held in the instance. | ||
1273 | <remarks>Note that the time 24:00:00 can be stored for roundtrip compatibility. Any calculations on such a | ||
1274 | value will normalised it to 00:00:00.</remarks> | ||
1275 | </summary> | ||
1276 | </member> | ||
1277 | <member name="T:NpgsqlTypes.LargeObjectManager"> | ||
1278 | <summary> | ||
1279 | Summary description for LargeObjectManager. | ||
1280 | </summary> | ||
1281 | </member> | ||
1282 | <member name="T:NpgsqlTypes.NativeToBackendTypeConverterOptions"> | ||
1283 | <summary> | ||
1284 | Options that control certain aspects of native to backend conversions that depend | ||
1285 | on backend version and status. | ||
1286 | </summary> | ||
1287 | </member> | ||
1288 | <member name="M:NpgsqlTypes.NativeToBackendTypeConverterOptions.System#ICloneable#Clone"> | ||
1289 | <summary> | ||
1290 | Clone the current object. | ||
1291 | </summary> | ||
1292 | <returns>A new NativeToBackendTypeConverterOptions object.</returns> | ||
1293 | </member> | ||
1294 | <member name="M:NpgsqlTypes.NativeToBackendTypeConverterOptions.Clone(NpgsqlTypes.NpgsqlBackendTypeMapping)"> | ||
1295 | <summary> | ||
1296 | Clone the current object with a different OID/Name mapping. | ||
1297 | </summary> | ||
1298 | <param name="oidToNameMapping">OID/Name mapping object to use in the new instance.</param> | ||
1299 | <returns>A new NativeToBackendTypeConverterOptions object.</returns> | ||
1300 | </member> | ||
1301 | <member name="T:NpgsqlTypes.BasicBackendToNativeTypeConverter"> | ||
1302 | <summary> | ||
1303 | Provide event handlers to convert all native supported basic data types from their backend | ||
1304 | text representation to a .NET object. | ||
1305 | </summary> | ||
1306 | </member> | ||
1307 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.TextBinaryToString(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int32,System.Int32)"> | ||
1308 | <summary> | ||
1309 | Convert UTF8 encoded text a string. | ||
1310 | </summary> | ||
1311 | </member> | ||
1312 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ByteaTextToByteArray(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int16,System.Int32)"> | ||
1313 | <summary> | ||
1314 | Byte array from bytea encoded as ASCII text, escaped or hex format. | ||
1315 | </summary> | ||
1316 | </member> | ||
1317 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ByteaBinaryToByteArray(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int32,System.Int32)"> | ||
1318 | <summary> | ||
1319 | Byte array from bytea encoded as binary. | ||
1320 | </summary> | ||
1321 | </member> | ||
1322 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.BooleanTextToBoolean(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int16,System.Int32)"> | ||
1323 | <summary> | ||
1324 | Convert a postgresql boolean to a System.Boolean. | ||
1325 | </summary> | ||
1326 | </member> | ||
1327 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.BooleanBinaryToBoolean(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int32,System.Int32)"> | ||
1328 | <summary> | ||
1329 | Convert a postgresql boolean to a System.Boolean. | ||
1330 | </summary> | ||
1331 | </member> | ||
1332 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToBit(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int16,System.Int32)"> | ||
1333 | <summary> | ||
1334 | Convert a postgresql bit to a System.Boolean. | ||
1335 | </summary> | ||
1336 | </member> | ||
1337 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToDateTime(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int16,System.Int32)"> | ||
1338 | <summary> | ||
1339 | Convert a postgresql datetime to a System.DateTime. | ||
1340 | </summary> | ||
1341 | </member> | ||
1342 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToDate(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int16,System.Int32)"> | ||
1343 | <summary> | ||
1344 | Convert a postgresql date to a System.DateTime. | ||
1345 | </summary> | ||
1346 | </member> | ||
1347 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToTime(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int16,System.Int32)"> | ||
1348 | <summary> | ||
1349 | Convert a postgresql time to a System.DateTime. | ||
1350 | </summary> | ||
1351 | </member> | ||
1352 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToMoney(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int16,System.Int32)"> | ||
1353 | <summary> | ||
1354 | Convert a postgresql money to a System.Decimal. | ||
1355 | </summary> | ||
1356 | </member> | ||
1357 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.Float4Float8BinaryToFloatDouble(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int32,System.Int32)"> | ||
1358 | <summary> | ||
1359 | Convert a postgresql float4 or float8 to a System.Float or System.Double respectively. | ||
1360 | </summary> | ||
1361 | </member> | ||
1362 | <member name="T:NpgsqlTypes.ExtendedBackendToNativeTypeConverter"> | ||
1363 | <summary> | ||
1364 | Provide event handlers to convert extended native supported data types from their backend | ||
1365 | text representation to a .NET object. | ||
1366 | </summary> | ||
1367 | </member> | ||
1368 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToPoint(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int16,System.Int32)"> | ||
1369 | <summary> | ||
1370 | Convert a postgresql point to a System.NpgsqlPoint. | ||
1371 | </summary> | ||
1372 | </member> | ||
1373 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToBox(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int16,System.Int32)"> | ||
1374 | <summary> | ||
1375 | Convert a postgresql point to a System.RectangleF. | ||
1376 | </summary> | ||
1377 | </member> | ||
1378 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToLSeg(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int16,System.Int32)"> | ||
1379 | <summary> | ||
1380 | LDeg. | ||
1381 | </summary> | ||
1382 | </member> | ||
1383 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToPath(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int16,System.Int32)"> | ||
1384 | <summary> | ||
1385 | Path. | ||
1386 | </summary> | ||
1387 | </member> | ||
1388 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToPolygon(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int16,System.Int32)"> | ||
1389 | <summary> | ||
1390 | Polygon. | ||
1391 | </summary> | ||
1392 | </member> | ||
1393 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToCircle(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int16,System.Int32)"> | ||
1394 | <summary> | ||
1395 | Circle. | ||
1396 | </summary> | ||
1397 | </member> | ||
1398 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToInet(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int16,System.Int32)"> | ||
1399 | <summary> | ||
1400 | Inet. | ||
1401 | </summary> | ||
1402 | </member> | ||
1403 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToMacAddress(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int16,System.Int32)"> | ||
1404 | <summary> | ||
1405 | MAC Address. | ||
1406 | </summary> | ||
1407 | </member> | ||
1408 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToInterval(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int16,System.Int32)"> | ||
1409 | <summary> | ||
1410 | interval | ||
1411 | </summary> | ||
1412 | </member> | ||
1413 | <member name="T:NpgsqlTypes.BasicNativeToBackendTypeConverter"> | ||
1414 | <summary> | ||
1415 | Provide event handlers to convert the basic native supported data types from | ||
1416 | native form to backend representation. | ||
1417 | </summary> | ||
1418 | </member> | ||
1419 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.StringToTextText(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean,NpgsqlTypes.NativeToBackendTypeConverterOptions,System.Boolean)"> | ||
1420 | <summary> | ||
1421 | Convert a string to UTF8 encoded text, escaped and quoted as required. | ||
1422 | </summary> | ||
1423 | </member> | ||
1424 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.StringToTextBinary(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,NpgsqlTypes.NativeToBackendTypeConverterOptions)"> | ||
1425 | <summary> | ||
1426 | Convert a string to UTF8 encoded text. | ||
1427 | </summary> | ||
1428 | </member> | ||
1429 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ByteArrayToByteaText(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean,NpgsqlTypes.NativeToBackendTypeConverterOptions,System.Boolean)"> | ||
1430 | <summary> | ||
1431 | Binary data, escaped and quoted as required. | ||
1432 | </summary> | ||
1433 | </member> | ||
1434 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ByteArrayToByteaTextEscaped(System.Byte[],NpgsqlTypes.BasicNativeToBackendTypeConverter.StringEncodingInfo)"> | ||
1435 | <summary> | ||
1436 | Binary data with possible older style octal escapes, quoted. | ||
1437 | </summary> | ||
1438 | </member> | ||
1439 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ByteArrayToByteaTextHexFormat(System.Byte[],NpgsqlTypes.BasicNativeToBackendTypeConverter.StringEncodingInfo)"> | ||
1440 | <summary> | ||
1441 | Binary data in the new hex format (>= 9.0), quoted. | ||
1442 | </summary> | ||
1443 | </member> | ||
1444 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ByteArrayToByteaBinary(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,NpgsqlTypes.NativeToBackendTypeConverterOptions)"> | ||
1445 | <summary> | ||
1446 | Binary data, raw. | ||
1447 | </summary> | ||
1448 | </member> | ||
1449 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.BooleanToBooleanText(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean,NpgsqlTypes.NativeToBackendTypeConverterOptions,System.Boolean)"> | ||
1450 | <summary> | ||
1451 | Convert to a postgresql boolean text format. | ||
1452 | </summary> | ||
1453 | </member> | ||
1454 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.BooleanToBooleanBinary(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,NpgsqlTypes.NativeToBackendTypeConverterOptions)"> | ||
1455 | <summary> | ||
1456 | Convert to a postgresql boolean binary format. | ||
1457 | </summary> | ||
1458 | </member> | ||
1459 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.Int16ToInt2Binary(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,NpgsqlTypes.NativeToBackendTypeConverterOptions)"> | ||
1460 | <summary> | ||
1461 | Convert to a postgresql binary int2. | ||
1462 | </summary> | ||
1463 | </member> | ||
1464 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.Int32ToInt4Binary(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,NpgsqlTypes.NativeToBackendTypeConverterOptions)"> | ||
1465 | <summary> | ||
1466 | Convert to a postgresql binary int4. | ||
1467 | </summary> | ||
1468 | </member> | ||
1469 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.Int64ToInt8Binary(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,NpgsqlTypes.NativeToBackendTypeConverterOptions)"> | ||
1470 | <summary> | ||
1471 | Convert to a postgresql binary int8. | ||
1472 | </summary> | ||
1473 | </member> | ||
1474 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToBit(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean,NpgsqlTypes.NativeToBackendTypeConverterOptions,System.Boolean)"> | ||
1475 | <summary> | ||
1476 | Convert to a postgresql bit. | ||
1477 | </summary> | ||
1478 | </member> | ||
1479 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToDateTime(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean,NpgsqlTypes.NativeToBackendTypeConverterOptions,System.Boolean)"> | ||
1480 | <summary> | ||
1481 | Convert to a postgresql timestamp. | ||
1482 | </summary> | ||
1483 | </member> | ||
1484 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToDate(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean,NpgsqlTypes.NativeToBackendTypeConverterOptions,System.Boolean)"> | ||
1485 | <summary> | ||
1486 | Convert to a postgresql date. | ||
1487 | </summary> | ||
1488 | </member> | ||
1489 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToTime(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean,NpgsqlTypes.NativeToBackendTypeConverterOptions,System.Boolean)"> | ||
1490 | <summary> | ||
1491 | Convert to a postgresql time. | ||
1492 | </summary> | ||
1493 | </member> | ||
1494 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToMoney(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean,NpgsqlTypes.NativeToBackendTypeConverterOptions,System.Boolean)"> | ||
1495 | <summary> | ||
1496 | Convert to a postgres money. | ||
1497 | </summary> | ||
1498 | </member> | ||
1499 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.SingleDoubleToFloat4Float8Text(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean,NpgsqlTypes.NativeToBackendTypeConverterOptions,System.Boolean)"> | ||
1500 | <summary> | ||
1501 | Convert to a postgres double with maximum precision. | ||
1502 | </summary> | ||
1503 | </member> | ||
1504 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.SingleToFloat4Binary(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,NpgsqlTypes.NativeToBackendTypeConverterOptions)"> | ||
1505 | <summary> | ||
1506 | Convert a System.Float to a postgres float4. | ||
1507 | </summary> | ||
1508 | </member> | ||
1509 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.DoubleToFloat8Binary(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,NpgsqlTypes.NativeToBackendTypeConverterOptions)"> | ||
1510 | <summary> | ||
1511 | Convert a System.Double to a postgres float8. | ||
1512 | </summary> | ||
1513 | </member> | ||
1514 | <member name="T:NpgsqlTypes.ExtendedNativeToBackendTypeConverter"> | ||
1515 | <summary> | ||
1516 | Provide event handlers to convert extended native supported data types from | ||
1517 | native form to backend representation. | ||
1518 | </summary> | ||
1519 | </member> | ||
1520 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToPoint(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean,NpgsqlTypes.NativeToBackendTypeConverterOptions,System.Boolean)"> | ||
1521 | <summary> | ||
1522 | Point. | ||
1523 | </summary> | ||
1524 | </member> | ||
1525 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToBox(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean,NpgsqlTypes.NativeToBackendTypeConverterOptions,System.Boolean)"> | ||
1526 | <summary> | ||
1527 | Box. | ||
1528 | </summary> | ||
1529 | </member> | ||
1530 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToLSeg(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean,NpgsqlTypes.NativeToBackendTypeConverterOptions,System.Boolean)"> | ||
1531 | <summary> | ||
1532 | LSeg. | ||
1533 | </summary> | ||
1534 | </member> | ||
1535 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToPath(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean,NpgsqlTypes.NativeToBackendTypeConverterOptions,System.Boolean)"> | ||
1536 | <summary> | ||
1537 | Open path. | ||
1538 | </summary> | ||
1539 | </member> | ||
1540 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToPolygon(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean,NpgsqlTypes.NativeToBackendTypeConverterOptions,System.Boolean)"> | ||
1541 | <summary> | ||
1542 | Polygon. | ||
1543 | </summary> | ||
1544 | </member> | ||
1545 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToMacAddress(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean,NpgsqlTypes.NativeToBackendTypeConverterOptions,System.Boolean)"> | ||
1546 | <summary> | ||
1547 | Convert to a postgres MAC Address. | ||
1548 | </summary> | ||
1549 | </member> | ||
1550 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToCircle(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean,NpgsqlTypes.NativeToBackendTypeConverterOptions,System.Boolean)"> | ||
1551 | <summary> | ||
1552 | Circle. | ||
1553 | </summary> | ||
1554 | </member> | ||
1555 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToIPAddress(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean,NpgsqlTypes.NativeToBackendTypeConverterOptions,System.Boolean)"> | ||
1556 | <summary> | ||
1557 | Convert to a postgres inet. | ||
1558 | </summary> | ||
1559 | </member> | ||
1560 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToInterval(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean,NpgsqlTypes.NativeToBackendTypeConverterOptions,System.Boolean)"> | ||
1561 | <summary> | ||
1562 | Convert to a postgres interval | ||
1563 | </summary> | ||
1564 | </member> | ||
1565 | <member name="T:NpgsqlTypes.ConvertBackendTextToNativeHandler"> | ||
1566 | <summary> | ||
1567 | Delegate called to convert the given backend text data to its native representation. | ||
1568 | </summary> | ||
1569 | </member> | ||
1570 | <member name="T:NpgsqlTypes.ConvertBackendBinaryToNativeHandler"> | ||
1571 | <summary> | ||
1572 | Delegate called to convert the given backend binary data to its native representation. | ||
1573 | </summary> | ||
1574 | </member> | ||
1575 | <member name="T:NpgsqlTypes.NpgsqlBackendTypeInfo"> | ||
1576 | <summary> | ||
1577 | Represents a backend data type. | ||
1578 | This class can be called upon to convert a backend field representation to a native object. | ||
1579 | </summary> | ||
1580 | </member> | ||
1581 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeInfo.#ctor(System.Int32,System.String,NpgsqlTypes.NpgsqlDbType,System.Data.DbType,System.Type,NpgsqlTypes.ConvertBackendTextToNativeHandler,NpgsqlTypes.ConvertBackendBinaryToNativeHandler)"> | ||
1582 | <summary> | ||
1583 | Construct a new NpgsqlTypeInfo with the given attributes and conversion handlers. | ||
1584 | </summary> | ||
1585 | <param name="OID">Type OID provided by the backend server.</param> | ||
1586 | <param name="Name">Type name provided by the backend server.</param> | ||
1587 | <param name="NpgsqlDbType">NpgsqlDbType</param> | ||
1588 | <param name="DbType">DbType</param> | ||
1589 | <param name="Type">System type to convert fields of this type to.</param> | ||
1590 | <param name="ConvertBackendTextToNative">Data conversion handler for text encoding.</param> | ||
1591 | <param name="ConvertBackendBinaryToNative">Data conversion handler for binary data.</param> | ||
1592 | </member> | ||
1593 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeInfo.ConvertBackendBinaryToNative(System.Byte[],System.Int32,System.Int32)"> | ||
1594 | <summary> | ||
1595 | Perform a data conversion from a backend representation to | ||
1596 | a native object. | ||
1597 | </summary> | ||
1598 | <param name="BackendData">Data sent from the backend.</param> | ||
1599 | <param name="fieldValueSize">fieldValueSize</param> | ||
1600 | <param name="TypeModifier">Type modifier field sent from the backend.</param> | ||
1601 | </member> | ||
1602 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeInfo.ConvertBackendTextToNative(System.Byte[],System.Int16,System.Int32)"> | ||
1603 | <summary> | ||
1604 | Perform a data conversion from a backend representation to | ||
1605 | a native object. | ||
1606 | </summary> | ||
1607 | <param name="BackendData">Data sent from the backend.</param> | ||
1608 | <param name="TypeSize">TypeSize</param> | ||
1609 | <param name="TypeModifier">Type modifier field sent from the backend.</param> | ||
1610 | </member> | ||
1611 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.OID"> | ||
1612 | <summary> | ||
1613 | Type OID provided by the backend server. | ||
1614 | </summary> | ||
1615 | </member> | ||
1616 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.Name"> | ||
1617 | <summary> | ||
1618 | Type name provided by the backend server. | ||
1619 | </summary> | ||
1620 | </member> | ||
1621 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.NpgsqlDbType"> | ||
1622 | <summary> | ||
1623 | NpgsqlDbType. | ||
1624 | </summary> | ||
1625 | </member> | ||
1626 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.DbType"> | ||
1627 | <summary> | ||
1628 | NpgsqlDbType. | ||
1629 | </summary> | ||
1630 | </member> | ||
1631 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.Type"> | ||
1632 | <summary> | ||
1633 | Provider type to convert fields of this type to. | ||
1634 | </summary> | ||
1635 | </member> | ||
1636 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.FrameworkType"> | ||
1637 | <summary> | ||
1638 | System type to convert fields of this type to. | ||
1639 | </summary> | ||
1640 | </member> | ||
1641 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.SupportsBinaryBackendData"> | ||
1642 | <summary> | ||
1643 | Reports whether a backend binary to native decoder is available for this type. | ||
1644 | </summary> | ||
1645 | </member> | ||
1646 | <member name="T:NpgsqlTypes.ConvertNativeToBackendTextHandler"> | ||
1647 | <summary> | ||
1648 | Delegate called to convert the given native data to its backand representation. | ||
1649 | </summary> | ||
1650 | </member> | ||
1651 | <member name="T:NpgsqlTypes.NpgsqlNativeTypeInfo"> | ||
1652 | <summary> | ||
1653 | Represents a backend data type. | ||
1654 | This class can be called upon to convert a native object to its backend field representation, | ||
1655 | </summary> | ||
1656 | </member> | ||
1657 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeInfo.ArrayOf(NpgsqlTypes.NpgsqlNativeTypeInfo)"> | ||
1658 | <summary> | ||
1659 | Returns an NpgsqlNativeTypeInfo for an array where the elements are of the type | ||
1660 | described by the NpgsqlNativeTypeInfo supplied. | ||
1661 | </summary> | ||
1662 | </member> | ||
1663 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeInfo.#ctor(System.String,NpgsqlTypes.NpgsqlDbType,System.Data.DbType,System.Boolean,NpgsqlTypes.ConvertNativeToBackendTextHandler,NpgsqlTypes.ConvertNativeToBackendBinaryHandler)"> | ||
1664 | <summary> | ||
1665 | Construct a new NpgsqlTypeInfo with the given attributes and conversion handlers. | ||
1666 | </summary> | ||
1667 | <param name="Name">Type name provided by the backend server.</param> | ||
1668 | <param name="DbType">DbType</param> | ||
1669 | <param name="Quote">Quote</param> | ||
1670 | <param name="NpgsqlDbType">NpgsqlDbType</param> | ||
1671 | <param name="ConvertNativeToBackendText">Data conversion handler for text backend encoding.</param> | ||
1672 | <param name="ConvertNativeToBackendBinary">Data conversion handler for binary backend encoding (for extended queries).</param> | ||
1673 | </member> | ||
1674 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeInfo.ConvertToBackend(System.Object,System.Boolean,NpgsqlTypes.NativeToBackendTypeConverterOptions,System.Boolean)"> | ||
1675 | <summary> | ||
1676 | Perform a data conversion from a native object to | ||
1677 | a backend representation. | ||
1678 | DBNull and null values are handled differently depending if a plain query is used | ||
1679 | When | ||
1680 | </summary> | ||
1681 | <param name="NativeData">Native .NET object to be converted.</param> | ||
1682 | <param name="forExtendedQuery">Specifies that the value should be formatted for the extended query syntax.</param> | ||
1683 | <param name="options">Options to guide serialization. If null, a default options set is used.</param> | ||
1684 | <param name="arrayElement">Specifies that the value should be formatted as an extended query array element.</param> | ||
1685 | </member> | ||
1686 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeInfo.Name"> | ||
1687 | <summary> | ||
1688 | Type name provided by the backend server. | ||
1689 | </summary> | ||
1690 | </member> | ||
1691 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeInfo.NpgsqlDbType"> | ||
1692 | <summary> | ||
1693 | NpgsqlDbType. | ||
1694 | </summary> | ||
1695 | </member> | ||
1696 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeInfo.DbType"> | ||
1697 | <summary> | ||
1698 | DbType. | ||
1699 | </summary> | ||
1700 | </member> | ||
1701 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeInfo.Quote"> | ||
1702 | <summary> | ||
1703 | Apply quoting. | ||
1704 | </summary> | ||
1705 | </member> | ||
1706 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeInfo.UseSize"> | ||
1707 | <summary> | ||
1708 | Use parameter size information. | ||
1709 | </summary> | ||
1710 | </member> | ||
1711 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeInfo.SupportsBinaryBackendData"> | ||
1712 | <summary> | ||
1713 | Reports whether a native to backend binary encoder is available for this type. | ||
1714 | </summary> | ||
1715 | </member> | ||
1716 | <member name="T:NpgsqlTypes.NpgsqlBackendTypeMapping"> | ||
1717 | <summary> | ||
1718 | Provide mapping between type OID, type name, and a NpgsqlBackendTypeInfo object that represents it. | ||
1719 | </summary> | ||
1720 | </member> | ||
1721 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.#ctor"> | ||
1722 | <summary> | ||
1723 | Construct an empty mapping. | ||
1724 | </summary> | ||
1725 | </member> | ||
1726 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.#ctor(NpgsqlTypes.NpgsqlBackendTypeMapping)"> | ||
1727 | <summary> | ||
1728 | Copy constuctor. | ||
1729 | </summary> | ||
1730 | </member> | ||
1731 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.AddType(NpgsqlTypes.NpgsqlBackendTypeInfo)"> | ||
1732 | <summary> | ||
1733 | Add the given NpgsqlBackendTypeInfo to this mapping. | ||
1734 | </summary> | ||
1735 | </member> | ||
1736 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.AddType(System.Int32,System.String,NpgsqlTypes.NpgsqlDbType,System.Data.DbType,System.Type,NpgsqlTypes.ConvertBackendTextToNativeHandler,NpgsqlTypes.ConvertBackendBinaryToNativeHandler)"> | ||
1737 | <summary> | ||
1738 | Add a new NpgsqlBackendTypeInfo with the given attributes and conversion handlers to this mapping. | ||
1739 | </summary> | ||
1740 | <param name="OID">Type OID provided by the backend server.</param> | ||
1741 | <param name="Name">Type name provided by the backend server.</param> | ||
1742 | <param name="NpgsqlDbType">NpgsqlDbType</param> | ||
1743 | <param name="DbType">DbType</param> | ||
1744 | <param name="Type">System type to convert fields of this type to.</param> | ||
1745 | <param name="BackendTextConvert">Data conversion handler for text encoding.</param> | ||
1746 | <param name="BackendBinaryConvert">Data conversion handler for binary data.</param> | ||
1747 | </member> | ||
1748 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.Clone"> | ||
1749 | <summary> | ||
1750 | Make a shallow copy of this type mapping. | ||
1751 | </summary> | ||
1752 | </member> | ||
1753 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.ContainsOID(System.Int32)"> | ||
1754 | <summary> | ||
1755 | Determine if a NpgsqlBackendTypeInfo with the given backend type OID exists in this mapping. | ||
1756 | </summary> | ||
1757 | </member> | ||
1758 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.ContainsName(System.String)"> | ||
1759 | <summary> | ||
1760 | Determine if a NpgsqlBackendTypeInfo with the given backend type name exists in this mapping. | ||
1761 | </summary> | ||
1762 | </member> | ||
1763 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeMapping.Count"> | ||
1764 | <summary> | ||
1765 | Get the number of type infos held. | ||
1766 | </summary> | ||
1767 | </member> | ||
1768 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeMapping.Item(System.Int32)"> | ||
1769 | <summary> | ||
1770 | Retrieve the NpgsqlBackendTypeInfo with the given backend type OID, or null if none found. | ||
1771 | </summary> | ||
1772 | </member> | ||
1773 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeMapping.Item(System.String)"> | ||
1774 | <summary> | ||
1775 | Retrieve the NpgsqlBackendTypeInfo with the given backend type name, or null if none found. | ||
1776 | </summary> | ||
1777 | </member> | ||
1778 | <member name="T:NpgsqlTypes.NpgsqlNativeTypeMapping"> | ||
1779 | <summary> | ||
1780 | Provide mapping between type Type, NpgsqlDbType and a NpgsqlNativeTypeInfo object that represents it. | ||
1781 | </summary> | ||
1782 | </member> | ||
1783 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.AddType(NpgsqlTypes.NpgsqlNativeTypeInfo)"> | ||
1784 | <summary> | ||
1785 | Add the given NpgsqlNativeTypeInfo to this mapping. | ||
1786 | </summary> | ||
1787 | </member> | ||
1788 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.AddType(System.String,NpgsqlTypes.NpgsqlDbType,System.Data.DbType,System.Boolean,NpgsqlTypes.ConvertNativeToBackendTextHandler,NpgsqlTypes.ConvertNativeToBackendBinaryHandler)"> | ||
1789 | <summary> | ||
1790 | Add a new NpgsqlNativeTypeInfo with the given attributes and conversion handlers to this mapping. | ||
1791 | </summary> | ||
1792 | <param name="Name">Type name provided by the backend server.</param> | ||
1793 | <param name="NpgsqlDbType">NpgsqlDbType</param> | ||
1794 | <param name="DbType">DbType</param> | ||
1795 | <param name="Quote">Quote</param> | ||
1796 | <param name="NativeTextConvert">Data conversion handler for text backend encoding.</param> | ||
1797 | <param name="NativeBinaryConvert">Data conversion handler for binary backend encoding (for extended query).</param> | ||
1798 | </member> | ||
1799 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.TryGetValue(NpgsqlTypes.NpgsqlDbType,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> | ||
1800 | <summary> | ||
1801 | Retrieve the NpgsqlNativeTypeInfo with the given NpgsqlDbType. | ||
1802 | </summary> | ||
1803 | </member> | ||
1804 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.TryGetValue(System.Data.DbType,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> | ||
1805 | <summary> | ||
1806 | Retrieve the NpgsqlNativeTypeInfo with the given DbType. | ||
1807 | </summary> | ||
1808 | </member> | ||
1809 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.TryGetValue(System.Type,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> | ||
1810 | <summary> | ||
1811 | Retrieve the NpgsqlNativeTypeInfo with the given Type. | ||
1812 | </summary> | ||
1813 | </member> | ||
1814 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.ContainsName(System.String)"> | ||
1815 | <summary> | ||
1816 | Determine if a NpgsqlNativeTypeInfo with the given backend type name exists in this mapping. | ||
1817 | </summary> | ||
1818 | </member> | ||
1819 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.ContainsNpgsqlDbType(NpgsqlTypes.NpgsqlDbType)"> | ||
1820 | <summary> | ||
1821 | Determine if a NpgsqlNativeTypeInfo with the given NpgsqlDbType exists in this mapping. | ||
1822 | </summary> | ||
1823 | </member> | ||
1824 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.ContainsType(System.Type)"> | ||
1825 | <summary> | ||
1826 | Determine if a NpgsqlNativeTypeInfo with the given Type name exists in this mapping. | ||
1827 | </summary> | ||
1828 | </member> | ||
1829 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeMapping.Count"> | ||
1830 | <summary> | ||
1831 | Get the number of type infos held. | ||
1832 | </summary> | ||
1833 | </member> | ||
1834 | <member name="T:NpgsqlTypes.NpgsqlPoint"> | ||
1835 | <summary> | ||
1836 | Represents a PostgreSQL Point type | ||
1837 | </summary> | ||
1838 | </member> | ||
1839 | <member name="T:NpgsqlTypes.NpgsqlLSeg"> | ||
1840 | <summary> | ||
1841 | Represents a PostgreSQL Line Segment type. | ||
1842 | </summary> | ||
1843 | </member> | ||
1844 | <member name="T:NpgsqlTypes.NpgsqlPath"> | ||
1845 | <summary> | ||
1846 | Represents a PostgreSQL Path type. | ||
1847 | </summary> | ||
1848 | </member> | ||
1849 | <member name="T:NpgsqlTypes.NpgsqlPolygon"> | ||
1850 | <summary> | ||
1851 | Represents a PostgreSQL Polygon type. | ||
1852 | </summary> | ||
1853 | </member> | ||
1854 | <member name="T:NpgsqlTypes.NpgsqlCircle"> | ||
1855 | <summary> | ||
1856 | Represents a PostgreSQL Circle type. | ||
1857 | </summary> | ||
1858 | </member> | ||
1859 | <member name="T:NpgsqlTypes.NpgsqlInet"> | ||
1860 | <summary> | ||
1861 | Represents a PostgreSQL inet type. | ||
1862 | </summary> | ||
1863 | </member> | ||
1864 | <member name="T:NpgsqlTypes.NpgsqlMacAddress"> | ||
1865 | <summary> | ||
1866 | Represents a PostgreSQL MacAddress type. | ||
1867 | </summary> | ||
1868 | </member> | ||
1869 | <member name="M:NpgsqlTypes.NpgsqlMacAddress.#ctor(System.String)"> | ||
186 | <summary> | 1870 | <summary> |
187 | This class represents the Parse message sent to PostgreSQL | ||
188 | server. | ||
189 | </summary> | ||
190 | 1871 | ||
1872 | </summary> | ||
1873 | <param name="macAddr">The macAddr parameter must contain a string that can only consist of numbers | ||
1874 | and upper-case letters as hexadecimal digits. (See PhysicalAddress.Parse method on MSDN)</param> | ||
191 | </member> | 1875 | </member> |
192 | <member name="T:Npgsql.ClientMessage"> | 1876 | <member name="T:NpgsqlTypes.NpgsqlTypesHelper"> |
193 | <summary> | 1877 | <summary> |
194 | For classes representing messages sent from the client to the server. | 1878 | This class contains helper methods for type conversion between |
1879 | the .Net type system and postgresql. | ||
195 | </summary> | 1880 | </summary> |
196 | </member> | 1881 | </member> |
197 | <member name="T:Npgsql.NpgsqlCopySerializer"> | 1882 | <member name="F:NpgsqlTypes.NpgsqlTypesHelper.BackendTypeMappingCache"> |
198 | <summary> | 1883 | <summary> |
199 | Writes given objects into a stream for PostgreSQL COPY in default copy format (not CSV or BINARY). | 1884 | A cache of basic datatype mappings keyed by server version. This way we don't |
1885 | have to load the basic type mappings for every connection. | ||
200 | </summary> | 1886 | </summary> |
201 | </member> | 1887 | </member> |
202 | <member name="M:Npgsql.NpgsqlConnectionStringBuilder.Clone"> | 1888 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.TryGetBackendTypeInfo(System.String,NpgsqlTypes.NpgsqlBackendTypeInfo@)"> |
203 | <summary> | 1889 | <summary> |
204 | Return an exact copy of this NpgsqlConnectionString. | 1890 | Find a NpgsqlNativeTypeInfo in the default types map that can handle objects |
1891 | of the given NpgsqlDbType. | ||
205 | </summary> | 1892 | </summary> |
206 | </member> | 1893 | </member> |
207 | <member name="M:Npgsql.NpgsqlConnectionStringBuilder.SetValue(System.String,System.Object)"> | 1894 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.TryGetNativeTypeInfo(NpgsqlTypes.NpgsqlDbType,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> |
208 | <summary> | 1895 | <summary> |
209 | This function will set value for known key, both private member and base[key]. | 1896 | Find a NpgsqlNativeTypeInfo in the default types map that can handle objects |
1897 | of the given NpgsqlDbType. | ||
210 | </summary> | 1898 | </summary> |
211 | <param name="keyword"></param> | ||
212 | <param name="value"></param> | ||
213 | </member> | 1899 | </member> |
214 | <member name="M:Npgsql.NpgsqlConnectionStringBuilder.SetValue(Npgsql.Keywords,System.Object)"> | 1900 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.TryGetNativeTypeInfo(System.Data.DbType,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> |
215 | <summary> | 1901 | <summary> |
216 | The function will modify private member only, not base[key]. | 1902 | Find a NpgsqlNativeTypeInfo in the default types map that can handle objects |
1903 | of the given DbType. | ||
217 | </summary> | 1904 | </summary> |
218 | <param name="keyword"></param> | ||
219 | <param name="value"></param> | ||
220 | </member> | 1905 | </member> |
221 | <member name="M:Npgsql.NpgsqlConnectionStringBuilder.Clear"> | 1906 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.TryGetNativeTypeInfo(System.Type,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> |
222 | <summary> | 1907 | <summary> |
223 | Clear the member and assign them to the default value. | 1908 | Find a NpgsqlNativeTypeInfo in the default types map that can handle objects |
1909 | of the given System.Type. | ||
224 | </summary> | 1910 | </summary> |
225 | </member> | 1911 | </member> |
226 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.Compatible"> | 1912 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.ConvertBackendBytesToSystemType(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int32,System.Int32)"> |
227 | <summary> | 1913 | <summary> |
228 | Compatibilty version. When possible, behaviour caused by breaking changes will be preserved | 1914 | This method is responsible to convert the byte[] received from the backend |
229 | if this version is less than that where the breaking change was introduced. | 1915 | to the corresponding NpgsqlType. |
1916 | The given TypeInfo is called upon to do the conversion. | ||
1917 | If no TypeInfo object is provided, no conversion is performed. | ||
1918 | </summary> | ||
1919 | </member> | ||
1920 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.ConvertBackendStringToSystemType(NpgsqlTypes.NpgsqlBackendTypeInfo,System.Byte[],System.Int16,System.Int32)"> | ||
1921 | <summary> | ||
1922 | This method is responsible to convert the string received from the backend | ||
1923 | to the corresponding NpgsqlType. | ||
1924 | The given TypeInfo is called upon to do the conversion. | ||
1925 | If no TypeInfo object is provided, no conversion is performed. | ||
1926 | </summary> | ||
1927 | </member> | ||
1928 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.PrepareDefaultTypesMap"> | ||
1929 | <summary> | ||
1930 | Create the one and only native to backend type map. | ||
1931 | This map is used when formatting native data | ||
1932 | types to backend representations. | ||
230 | </summary> | 1933 | </summary> |
231 | </member> | 1934 | </member> |
232 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.Item(System.String)"> | 1935 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.CreateAndLoadInitialTypesMapping(Npgsql.NpgsqlConnector)"> |
233 | <summary> | 1936 | <summary> |
234 | Case insensative accessor for indivual connection string values. | 1937 | This method creates (or retrieves from cache) a mapping between type and OID |
1938 | of all natively supported postgresql data types. | ||
1939 | This is needed as from one version to another, this mapping can be changed and | ||
1940 | so we avoid hardcoding them. | ||
1941 | </summary> | ||
1942 | <returns>NpgsqlTypeMapping containing all known data types. The mapping must be | ||
1943 | cloned before it is modified because it is cached; changes made by one connection may | ||
1944 | effect another connection. | ||
1945 | </returns> | ||
1946 | </member> | ||
1947 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.LoadTypesMappings(Npgsql.NpgsqlConnector,NpgsqlTypes.NpgsqlBackendTypeMapping,System.Collections.Generic.IEnumerable{NpgsqlTypes.NpgsqlBackendTypeInfo})"> | ||
1948 | <summary> | ||
1949 | Attempt to map types by issuing a query against pg_type. | ||
1950 | This function takes a list of NpgsqlTypeInfo and attempts to resolve the OID field | ||
1951 | of each by querying pg_type. If the mapping is found, the type info object is | ||
1952 | updated (OID) and added to the provided NpgsqlTypeMapping object. | ||
235 | </summary> | 1953 | </summary> |
1954 | <param name="conn">NpgsqlConnector to send query through.</param> | ||
1955 | <param name="TypeMappings">Mapping object to add types too.</param> | ||
1956 | <param name="TypeInfoList">List of types that need to have OID's mapped.</param> | ||
236 | </member> | 1957 | </member> |
237 | <member name="T:Npgsql.MD5"> | 1958 | <member name="P:Npgsql.Cache`1.CacheSize"> |
238 | <summary> | 1959 | <summary> |
239 | Common base class for all derived MD5 implementations. | 1960 | Set Cache Size. The default value is 20. |
240 | </summary> | 1961 | </summary> |
241 | </member> | 1962 | </member> |
1963 | <member name="P:Npgsql.Cache`1.Item(System.String)"> | ||
1964 | <summary> | ||
1965 | Lookup cached entity. null will returned if not match. | ||
1966 | For both get{} and set{} apply LRU rule. | ||
1967 | </summary> | ||
1968 | <param name="key">key</param> | ||
1969 | <returns></returns> | ||
1970 | </member> | ||
1971 | <member name="T:Npgsql.BackendEncoding"> | ||
1972 | <summary> | ||
1973 | The globally available text encoding used for frontend/backend communication. | ||
1974 | </summary> | ||
1975 | </member> | ||
1976 | <member name="T:Npgsql.NpgsqlState"> | ||
1977 | <summary> This class represents the base class for the state pattern design pattern | ||
1978 | implementation. | ||
1979 | </summary> | ||
1980 | |||
1981 | <summary> This class represents the base class for the state pattern design pattern | ||
1982 | implementation. | ||
1983 | </summary> | ||
1984 | |||
1985 | <summary> This class represents the base class for the state pattern design pattern | ||
1986 | implementation. | ||
1987 | </summary> | ||
1988 | |||
1989 | </member> | ||
1990 | <member name="M:Npgsql.NpgsqlState.ChangeState(Npgsql.NpgsqlConnector,Npgsql.NpgsqlState)"> | ||
1991 | <summary> | ||
1992 | This method is used by the states to change the state of the context. | ||
1993 | </summary> | ||
1994 | </member> | ||
1995 | <member name="M:Npgsql.NpgsqlState.ProcessAndDiscardBackendResponses(Npgsql.NpgsqlConnector)"> | ||
1996 | <summary> | ||
1997 | Call ProcessBackendResponsesEnum(), and scan and discard all results. | ||
1998 | </summary> | ||
1999 | </member> | ||
2000 | <member name="M:Npgsql.NpgsqlState.ProcessBackendResponsesEnum(Npgsql.NpgsqlConnector)"> | ||
2001 | <summary> | ||
2002 | This method is responsible to handle all protocol messages sent from the backend. | ||
2003 | It holds all the logic to do it. | ||
2004 | To exchange data, it uses a Mediator object from which it reads/writes information | ||
2005 | to handle backend requests. | ||
2006 | </summary> | ||
2007 | |||
2008 | </member> | ||
2009 | <member name="M:Npgsql.NpgsqlState.CheckForContextSocketAvailability(Npgsql.NpgsqlConnector,System.Net.Sockets.SelectMode)"> | ||
2010 | <summary> | ||
2011 | Checks for context socket availability. | ||
2012 | Socket.Poll supports integer as microseconds parameter. | ||
2013 | This limits the usable command timeout value | ||
2014 | to 2,147 seconds: (2,147 x 1,000,000 less than max_int). | ||
2015 | In order to bypass this limit, the availability of | ||
2016 | the socket is checked in 2,147 seconds cycles | ||
2017 | </summary> | ||
2018 | <returns><c>true</c>, if for context socket availability was checked, <c>false</c> otherwise.</returns> | ||
2019 | <param name="context">Context.</param> | ||
2020 | <param name="selectMode">Select mode.</param> | ||
2021 | </member> | ||
242 | <member name="M:Npgsql.HashAlgorithm.#ctor"> | 2022 | <member name="M:Npgsql.HashAlgorithm.#ctor"> |
243 | <summary> | 2023 | <summary> |
244 | Called from constructor of derived class. | 2024 | Called from constructor of derived class. |
@@ -317,6 +2097,11 @@ | |||
317 | Must be overriden if not 1 | 2097 | Must be overriden if not 1 |
318 | </summary> | 2098 | </summary> |
319 | </member> | 2099 | </member> |
2100 | <member name="T:Npgsql.MD5"> | ||
2101 | <summary> | ||
2102 | Common base class for all derived MD5 implementations. | ||
2103 | </summary> | ||
2104 | </member> | ||
320 | <member name="M:Npgsql.MD5.#ctor"> | 2105 | <member name="M:Npgsql.MD5.#ctor"> |
321 | <summary> | 2106 | <summary> |
322 | Called from constructor of derived class. | 2107 | Called from constructor of derived class. |
@@ -327,339 +2112,564 @@ | |||
327 | Creates the default derived class. | 2112 | Creates the default derived class. |
328 | </summary> | 2113 | </summary> |
329 | </member> | 2114 | </member> |
330 | <member name="M:Npgsql.SqlGenerators.SqlBaseGenerator.GetColumnsForJoin(Npgsql.SqlGenerators.JoinExpression,Npgsql.SqlGenerators.ProjectionExpression,Npgsql.SqlGenerators.VisitedExpression)"> | 2115 | <member name="T:Npgsql.MD5CryptoServiceProvider"> |
331 | <summary> | 2116 | <summary> |
332 | Given a join expression and a projection, fetch all columns in the projection | 2117 | C# implementation of the MD5 cryptographic hash function. |
333 | that reference columns in the join. | ||
334 | </summary> | 2118 | </summary> |
335 | </member> | 2119 | </member> |
336 | <member name="M:Npgsql.SqlGenerators.SqlBaseGenerator.GetFromNames(Npgsql.SqlGenerators.InputExpression,System.Collections.Generic.List{System.String})"> | 2120 | <member name="M:Npgsql.MD5CryptoServiceProvider.#ctor"> |
337 | <summary> | 2121 | <summary> |
338 | Given an InputExpression append all from names (including nested joins) to the list. | 2122 | Creates a new MD5CryptoServiceProvider. |
339 | </summary> | 2123 | </summary> |
340 | </member> | 2124 | </member> |
341 | <member name="M:Npgsql.SqlGenerators.SqlBaseGenerator.GetReplacementColumn(Npgsql.SqlGenerators.JoinExpression,Npgsql.SqlGenerators.ColumnExpression)"> | 2125 | <member name="M:Npgsql.MD5CryptoServiceProvider.HashCore(System.Byte[],System.Int32,System.Int32)"> |
342 | <summary> | 2126 | <summary> |
343 | Get new ColumnExpression that will be used in projection that had it's existing columns moved. | 2127 | Drives the hashing function. |
344 | These should be simple references to the inner column | ||
345 | </summary> | 2128 | </summary> |
2129 | <param name="rgb">Byte array containing the data to hash.</param> | ||
2130 | <param name="start">Where in the input buffer to start.</param> | ||
2131 | <param name="size">Size in bytes of the data in the buffer to hash.</param> | ||
346 | </member> | 2132 | </member> |
347 | <member name="M:Npgsql.SqlGenerators.SqlBaseGenerator.AdjustPropertyAccess(Npgsql.SqlGenerators.ColumnExpression[],System.String)"> | 2133 | <member name="M:Npgsql.MD5CryptoServiceProvider.HashFinal"> |
348 | <summary> | 2134 | <summary> |
349 | Every property accessed in the list of columns must be adjusted for a new scope | 2135 | This finalizes the hash. Takes the data from the chaining variables and returns it. |
350 | </summary> | 2136 | </summary> |
351 | </member> | 2137 | </member> |
352 | <member name="T:Npgsql.PGUtil"> | 2138 | <member name="M:Npgsql.MD5CryptoServiceProvider.Initialize"> |
353 | <summary> | 2139 | <summary> |
354 | This class provides many util methods to handle | 2140 | Resets the class after use. Called automatically after hashing is done. |
355 | reading and writing of PostgreSQL protocol messages. | 2141 | </summary> |
356 | </summary> | ||
357 | </member> | 2142 | </member> |
358 | <member name="M:Npgsql.PGUtil.ConvertProtocolVersion(Npgsql.ProtocolVersion)"> | 2143 | <member name="M:Npgsql.MD5CryptoServiceProvider.ProcessBlock(System.Byte[],System.Int32)"> |
359 | <summary> | 2144 | <summary> |
360 | This method takes a ProtocolVersion and returns an integer | 2145 | This is the meat of the hash function. It is what processes each block one at a time. |
361 | version number that the Postgres backend will recognize in a | 2146 | </summary> |
362 | startup packet. | 2147 | <param name="inputBuffer">Byte array to process data from.</param> |
363 | </summary> | 2148 | <param name="inputOffset">Where in the byte array to start processing.</param> |
364 | </member> | 2149 | </member> |
365 | <member name="M:Npgsql.PGUtil.ExtractServerVersion(System.String)"> | 2150 | <member name="M:Npgsql.MD5CryptoServiceProvider.ProcessFinalBlock(System.Byte[],System.Int32,System.Int32)"> |
366 | <summary> | 2151 | <summary> |
367 | This method takes a version string as returned by SELECT VERSION() and returns | 2152 | Pads and then processes the final block. |
368 | a valid version string ("7.2.2" for example). | ||
369 | This is only needed when running protocol version 2. | ||
370 | This does not do any validity checks. | ||
371 | </summary> | 2153 | </summary> |
2154 | <param name="inputBuffer">Buffer to grab data from.</param> | ||
2155 | <param name="inputOffset">Position in buffer in bytes to get data from.</param> | ||
2156 | <param name="inputCount">How much data in bytes in the buffer to use.</param> | ||
372 | </member> | 2157 | </member> |
373 | <member name="M:Npgsql.PGUtil.ReadString(System.IO.Stream)"> | 2158 | <member name="T:Npgsql.StringRowReaderV3"> |
374 | <summary> | 2159 | <summary> |
375 | This method gets a C NULL terminated string from the network stream. | 2160 | Implements <see cref="T:Npgsql.RowReader"/> for version 3 of the protocol. |
376 | It keeps reading a byte in each time until a NULL byte is returned. | 2161 | </summary> |
377 | It returns the resultant string of bytes read. | 2162 | </member> |
378 | This string is sent from backend. | 2163 | <member name="T:Npgsql.RowReader"> |
2164 | <summary> | ||
2165 | Reads a row, field by field, allowing a DataRow to be built appropriately. | ||
2166 | </summary> | ||
2167 | </member> | ||
2168 | <member name="T:Npgsql.IStreamOwner"> | ||
2169 | <summary> | ||
2170 | Marker interface which identifies a class which may take possession of a stream for the duration of | ||
2171 | it's lifetime (possibly temporarily giving that possession to another class for part of that time. | ||
2172 | |||
2173 | It inherits from IDisposable, since any such class must make sure it leaves the stream in a valid state. | ||
2174 | |||
2175 | The most important such class is that compiler-generated from ProcessBackendResponsesEnum. Of course | ||
2176 | we can't make that inherit from this interface, alas. | ||
379 | </summary> | 2177 | </summary> |
380 | </member> | 2178 | </member> |
381 | <member name="M:Npgsql.PGUtil.ReadBytes(System.IO.Stream,System.Byte[],System.Int32,System.Int32)"> | 2179 | <member name="T:Npgsql.IServerResponseObject"> |
382 | <summary> | 2180 | <summary> |
383 | Reads requested number of bytes from stream with retries until Stream.Read returns 0 or count is reached. | 2181 | Marker interface which identifies a class which represents part of |
2182 | a response from the server. | ||
384 | </summary> | 2183 | </summary> |
385 | <param name="stream">Stream to read</param> | ||
386 | <param name="buffer">byte buffer to fill</param> | ||
387 | <param name="offset">starting position to fill the buffer</param> | ||
388 | <param name="count">number of bytes to read</param> | ||
389 | <returns>The number of bytes read. May be less than count if no more bytes are available.</returns> | ||
390 | </member> | 2184 | </member> |
391 | <member name="M:Npgsql.PGUtil.WriteString(System.String,System.IO.Stream)"> | 2185 | <member name="T:Npgsql.RowReader.Streamer"> |
392 | <summary> | 2186 | <summary> |
393 | This method writes a C NULL terminated string to the network stream. | 2187 | Reads part of a field, as needed (for <see cref="M:System.Data.IDataRecord.GetChars(System.Int32,System.Int64,System.Char[],System.Int32,System.Int32)"/> |
394 | It appends a NULL terminator to the end of the String. | 2188 | and <see cref="M:System.Data.IDataRecord.GetBytes(System.Int32,System.Int64,System.Byte[],System.Int32,System.Int32)"/> |
2189 | </summary> | ||
2190 | </member> | ||
2191 | <member name="T:Npgsql.RowReader.Streamer`1"> | ||
2192 | <summary> | ||
2193 | Adds further functionality to stream that is dependant upon the type of data read. | ||
2194 | </summary> | ||
2195 | </member> | ||
2196 | <member name="T:Npgsql.RowReader.CharStreamer"> | ||
2197 | <summary> | ||
2198 | Completes the implementation of Streamer for char data. | ||
2199 | </summary> | ||
2200 | </member> | ||
2201 | <member name="T:Npgsql.RowReader.ByteStreamer"> | ||
2202 | <summary> | ||
2203 | Completes the implementation of Streamer for byte data. | ||
2204 | </summary> | ||
2205 | </member> | ||
2206 | <member name="T:Npgsql.StringRowReaderV2"> | ||
2207 | <summary> | ||
2208 | Implements <see cref="T:Npgsql.RowReader"/> for version 2 of the protocol. | ||
2209 | </summary> | ||
2210 | </member> | ||
2211 | <member name="T:Npgsql.StringRowReaderV2.NullMap"> | ||
2212 | <summary> | ||
2213 | Encapsulates the null mapping bytes sent at the start of a version 2 | ||
2214 | datarow message, and the process of identifying the nullity of the data | ||
2215 | at a particular index | ||
2216 | </summary> | ||
2217 | </member> | ||
2218 | <member name="T:Npgsql.NpgsqlBackEndKeyData"> | ||
2219 | <summary> | ||
2220 | This class represents a BackEndKeyData message received | ||
2221 | from PostgreSQL | ||
2222 | </summary> | ||
2223 | </member> | ||
2224 | <member name="T:Npgsql.NpgsqlBind"> | ||
2225 | <summary> | ||
2226 | This class represents the Bind message sent to PostgreSQL | ||
2227 | server. | ||
395 | </summary> | 2228 | </summary> |
2229 | |||
2230 | </member> | ||
2231 | <member name="T:Npgsql.ClientMessage"> | ||
396 | <summary> | 2232 | <summary> |
397 | This method writes a C NULL terminated string to the network stream. | 2233 | For classes representing messages sent from the client to the server. |
398 | It appends a NULL terminator to the end of the String. | 2234 | </summary> |
2235 | </member> | ||
2236 | <member name="T:Npgsql.NpgsqlCancelRequest"> | ||
2237 | <summary> | ||
2238 | This class represents the CancelRequest message sent to PostgreSQL | ||
2239 | server. | ||
399 | </summary> | 2240 | </summary> |
2241 | |||
400 | </member> | 2242 | </member> |
401 | <member name="M:Npgsql.PGUtil.WriteBytes(System.Byte[],System.IO.Stream)"> | 2243 | <member name="T:Npgsql.NpgsqlCommand"> |
402 | <summary> | 2244 | <summary> |
403 | This method writes a set of bytes to the stream. It also enables logging of them. | 2245 | Represents a SQL statement or function (stored procedure) to execute |
2246 | against a PostgreSQL database. This class cannot be inherited. | ||
2247 | </summary> | ||
2248 | <summary> | ||
2249 | Represents a SQL statement or function (stored procedure) to execute | ||
2250 | against a PostgreSQL database. This class cannot be inherited. | ||
2251 | </summary> | ||
2252 | <summary> | ||
2253 | Represents a SQL statement or function (stored procedure) to execute | ||
2254 | against a PostgreSQL database. This class cannot be inherited. | ||
404 | </summary> | 2255 | </summary> |
405 | </member> | 2256 | </member> |
406 | <member name="M:Npgsql.PGUtil.WriteLimString(System.String,System.Int32,System.IO.Stream)"> | 2257 | <member name="M:Npgsql.NpgsqlCommand.#ctor"> |
407 | <summary> | 2258 | <summary> |
408 | This method writes a C NULL terminated string limited in length to the | 2259 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> class. |
409 | backend server. | 2260 | </summary> |
410 | It pads the string with null bytes to the size specified. | ||
411 | </summary> | ||
412 | </member> | 2261 | </member> |
413 | <member name="M:Npgsql.PGUtil.WriteInt32(System.IO.Stream,System.Int32)"> | 2262 | <member name="M:Npgsql.NpgsqlCommand.#ctor(System.String)"> |
414 | <summary> | 2263 | <summary> |
415 | Write a 32-bit integer to the given stream in the correct byte order. | 2264 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> class with the text of the query. |
416 | </summary> | 2265 | </summary> |
2266 | <param name="cmdText">The text of the query.</param> | ||
417 | </member> | 2267 | </member> |
418 | <member name="M:Npgsql.PGUtil.ReadInt32(System.IO.Stream)"> | 2268 | <member name="M:Npgsql.NpgsqlCommand.#ctor(System.String,Npgsql.NpgsqlConnection)"> |
419 | <summary> | 2269 | <summary> |
420 | Read a 32-bit integer from the given stream in the correct byte order. | 2270 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> class with the text of the query and a <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see>. |
421 | </summary> | 2271 | </summary> |
2272 | <param name="cmdText">The text of the query.</param> | ||
2273 | <param name="connection">A <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> that represents the connection to a PostgreSQL server.</param> | ||
422 | </member> | 2274 | </member> |
423 | <member name="M:Npgsql.PGUtil.WriteInt16(System.IO.Stream,System.Int16)"> | 2275 | <member name="M:Npgsql.NpgsqlCommand.#ctor(System.String,Npgsql.NpgsqlConnection,Npgsql.NpgsqlTransaction)"> |
424 | <summary> | 2276 | <summary> |
425 | Write a 16-bit integer to the given stream in the correct byte order. | 2277 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> class with the text of the query, a <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see>, and the <see cref="T:Npgsql.NpgsqlTransaction">NpgsqlTransaction</see>. |
426 | </summary> | 2278 | </summary> |
2279 | <param name="cmdText">The text of the query.</param> | ||
2280 | <param name="connection">A <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> that represents the connection to a PostgreSQL server.</param> | ||
2281 | <param name="transaction">The <see cref="T:Npgsql.NpgsqlTransaction">NpgsqlTransaction</see> in which the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> executes.</param> | ||
427 | </member> | 2282 | </member> |
428 | <member name="M:Npgsql.PGUtil.ReadInt16(System.IO.Stream)"> | 2283 | <member name="M:Npgsql.NpgsqlCommand.#ctor(System.String,Npgsql.NpgsqlConnector,System.Int32)"> |
429 | <summary> | 2284 | <summary> |
430 | Read a 16-bit integer from the given stream in the correct byte order. | 2285 | Used to execute internal commands. |
431 | </summary> | 2286 | </summary> |
432 | </member> | 2287 | </member> |
433 | <member name="T:Npgsql.ProtocolVersion"> | 2288 | <member name="M:Npgsql.NpgsqlCommand.Cancel"> |
434 | <summary> | 2289 | <summary> |
435 | Represent the frontend/backend protocol version. | 2290 | Attempts to cancel the execution of a <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see>. |
436 | </summary> | 2291 | </summary> |
2292 | <remarks>This Method isn't implemented yet.</remarks> | ||
437 | </member> | 2293 | </member> |
438 | <member name="T:Npgsql.ServerVersion"> | 2294 | <member name="M:Npgsql.NpgsqlCommand.System#ICloneable#Clone"> |
439 | <summary> | 2295 | <summary> |
440 | Represent the backend server version. | 2296 | Create a new command based on this one. |
441 | As this class offers no functionality beyond that offered by <see cref="T:System.Version"/> it has been | ||
442 | deprecated in favour of that class. | ||
443 | </summary> | 2297 | </summary> |
444 | 2298 | <returns>A new NpgsqlCommand object.</returns> | |
445 | </member> | 2299 | </member> |
446 | <member name="M:Npgsql.ServerVersion.ToString"> | 2300 | <member name="M:Npgsql.NpgsqlCommand.Clone"> |
447 | <summary> | 2301 | <summary> |
448 | Returns the string representation of this version in three place dot notation (Major.Minor.Patch). | 2302 | Create a new command based on this one. |
449 | </summary> | 2303 | </summary> |
2304 | <returns>A new NpgsqlCommand object.</returns> | ||
450 | </member> | 2305 | </member> |
451 | <member name="P:Npgsql.ServerVersion.Major"> | 2306 | <member name="M:Npgsql.NpgsqlCommand.CreateDbParameter"> |
452 | <summary> | 2307 | <summary> |
453 | Server version major number. | 2308 | Creates a new instance of an <see cref="T:System.Data.Common.DbParameter">DbParameter</see> object. |
454 | </summary> | 2309 | </summary> |
2310 | <returns>An <see cref="T:System.Data.Common.DbParameter">DbParameter</see> object.</returns> | ||
455 | </member> | 2311 | </member> |
456 | <member name="P:Npgsql.ServerVersion.Minor"> | 2312 | <member name="M:Npgsql.NpgsqlCommand.CreateParameter"> |
457 | <summary> | 2313 | <summary> |
458 | Server version minor number. | 2314 | Creates a new instance of a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object. |
459 | </summary> | 2315 | </summary> |
2316 | <returns>A <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object.</returns> | ||
460 | </member> | 2317 | </member> |
461 | <member name="P:Npgsql.ServerVersion.Patch"> | 2318 | <member name="M:Npgsql.NpgsqlCommand.ExecuteBlind"> |
462 | <summary> | 2319 | <summary> |
463 | Server version patch level number. | 2320 | Slightly optimised version of ExecuteNonQuery() for internal use in cases where the number |
2321 | of affected rows is of no interest. | ||
2322 | This function must not be called with a query that returns result rows, after calling Prepare(), or. | ||
2323 | with a query that requires parameter substitution of any kind. | ||
464 | </summary> | 2324 | </summary> |
465 | </member> | 2325 | </member> |
466 | <member name="T:Npgsql.NpgsqlCopyOut"> | 2326 | <member name="M:Npgsql.NpgsqlCommand.ExecuteNonQuery"> |
467 | <summary> | 2327 | <summary> |
468 | Represents a PostgreSQL COPY TO STDOUT operation with a corresponding SQL statement | 2328 | Executes a SQL statement against the connection and returns the number of rows affected. |
469 | to execute against a PostgreSQL database | ||
470 | and an associated stream used to write results to (if provided by user) | ||
471 | or for reading the results (when generated by driver). | ||
472 | Eg. new NpgsqlCopyOut("COPY (SELECT * FROM mytable) TO STDOUT", connection, streamToWrite).Start(); | ||
473 | </summary> | 2329 | </summary> |
2330 | <returns>The number of rows affected if known; -1 otherwise.</returns> | ||
474 | </member> | 2331 | </member> |
475 | <member name="M:Npgsql.NpgsqlCopyOut.#ctor(System.String,Npgsql.NpgsqlConnection)"> | 2332 | <member name="M:Npgsql.NpgsqlCommand.ExecuteDbDataReader(System.Data.CommandBehavior)"> |
476 | <summary> | 2333 | <summary> |
477 | Creates NpgsqlCommand to run given query upon Start(), after which CopyStream provides data from database as requested in the query. | 2334 | Sends the <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> to |
2335 | the <see cref="T:Npgsql.NpgsqlConnection">Connection</see> and builds a | ||
2336 | <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see> | ||
2337 | using one of the <see cref="T:System.Data.CommandBehavior">CommandBehavior</see> values. | ||
478 | </summary> | 2338 | </summary> |
2339 | <param name="behavior">One of the <see cref="T:System.Data.CommandBehavior">CommandBehavior</see> values.</param> | ||
2340 | <returns>A <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see> object.</returns> | ||
479 | </member> | 2341 | </member> |
480 | <member name="M:Npgsql.NpgsqlCopyOut.#ctor(Npgsql.NpgsqlCommand,Npgsql.NpgsqlConnection)"> | 2342 | <member name="M:Npgsql.NpgsqlCommand.ExecuteReader"> |
481 | <summary> | 2343 | <summary> |
482 | Given command is run upon Start(), after which CopyStream provides data from database as requested in the query. | 2344 | Sends the <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> to |
2345 | the <see cref="T:Npgsql.NpgsqlConnection">Connection</see> and builds a | ||
2346 | <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see>. | ||
483 | </summary> | 2347 | </summary> |
2348 | <returns>A <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see> object.</returns> | ||
484 | </member> | 2349 | </member> |
485 | <member name="M:Npgsql.NpgsqlCopyOut.#ctor(Npgsql.NpgsqlCommand,Npgsql.NpgsqlConnection,System.IO.Stream)"> | 2350 | <member name="M:Npgsql.NpgsqlCommand.ExecuteReader(System.Data.CommandBehavior)"> |
486 | <summary> | 2351 | <summary> |
487 | Given command is executed upon Start() and all requested copy data is written to toStream immediately. | 2352 | Sends the <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> to |
2353 | the <see cref="T:Npgsql.NpgsqlConnection">Connection</see> and builds a | ||
2354 | <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see> | ||
2355 | using one of the <see cref="T:System.Data.CommandBehavior">CommandBehavior</see> values. | ||
488 | </summary> | 2356 | </summary> |
2357 | <param name="cb">One of the <see cref="T:System.Data.CommandBehavior">CommandBehavior</see> values.</param> | ||
2358 | <returns>A <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see> object.</returns> | ||
2359 | <remarks>Currently the CommandBehavior parameter is ignored.</remarks> | ||
489 | </member> | 2360 | </member> |
490 | <member name="M:Npgsql.NpgsqlCopyOut.FieldIsBinary(System.Int32)"> | 2361 | <member name="M:Npgsql.NpgsqlCommand.BindParameters"> |
491 | <summary> | 2362 | <summary> |
492 | Returns true if this operation is currently active and field at given location is in binary format. | 2363 | This method binds the parameters from parameters collection to the bind |
2364 | message. | ||
2365 | </summary> | ||
2366 | </member> | ||
2367 | <member name="M:Npgsql.NpgsqlCommand.ExecuteScalar"> | ||
2368 | <summary> | ||
2369 | Executes the query, and returns the first column of the first row | ||
2370 | in the result set returned by the query. Extra columns or rows are ignored. | ||
493 | </summary> | 2371 | </summary> |
2372 | <returns>The first column of the first row in the result set, | ||
2373 | or a null reference if the result set is empty.</returns> | ||
494 | </member> | 2374 | </member> |
495 | <member name="M:Npgsql.NpgsqlCopyOut.Start"> | 2375 | <member name="M:Npgsql.NpgsqlCommand.Prepare"> |
496 | <summary> | 2376 | <summary> |
497 | Command specified upon creation is executed as a non-query. | 2377 | Creates a prepared version of the command on a PostgreSQL server. |
498 | If CopyStream is set upon creation, all copy data from server will be written to it, and operation will be finished immediately. | ||
499 | Otherwise the CopyStream member can be used for reading copy data from server until no more data is available. | ||
500 | </summary> | 2378 | </summary> |
501 | </member> | 2379 | </member> |
502 | <member name="M:Npgsql.NpgsqlCopyOut.End"> | 2380 | <member name="M:Npgsql.NpgsqlCommand.CheckConnectionState"> |
503 | <summary> | 2381 | <summary> |
504 | Flush generated CopyStream at once. Effectively reads and discard all the rest of copy data from server. | 2382 | This method checks the connection state to see if the connection |
2383 | is set or it is open. If one of this conditions is not met, throws | ||
2384 | an InvalidOperationException | ||
505 | </summary> | 2385 | </summary> |
506 | </member> | 2386 | </member> |
507 | <member name="P:Npgsql.NpgsqlCopyOut.IsActive"> | 2387 | <member name="M:Npgsql.NpgsqlCommand.GetCommandText"> |
508 | <summary> | 2388 | <summary> |
509 | Returns true if the connection is currently reserved for this operation. | 2389 | This method substitutes the <see cref="P:Npgsql.NpgsqlCommand.Parameters">Parameters</see>, if exist, in the command |
2390 | to their actual values. | ||
2391 | The parameter name format is <b>:ParameterName</b>. | ||
510 | </summary> | 2392 | </summary> |
2393 | <returns>A version of <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> with the <see cref="P:Npgsql.NpgsqlCommand.Parameters">Parameters</see> inserted.</returns> | ||
511 | </member> | 2394 | </member> |
512 | <member name="P:Npgsql.NpgsqlCopyOut.CopyStream"> | 2395 | <member name="M:Npgsql.NpgsqlCommand.GetCommandText(System.Boolean,System.Boolean)"> |
513 | <summary> | 2396 | <summary> |
514 | The stream provided by user or generated upon Start() | 2397 | Process this.commandText, trimming each distinct command and substituting paramater |
2398 | tokens. | ||
515 | </summary> | 2399 | </summary> |
2400 | <param name="prepare"></param> | ||
2401 | <param name="forExtendQuery"></param> | ||
2402 | <returns>UTF8 encoded command ready to be sent to the backend.</returns> | ||
516 | </member> | 2403 | </member> |
517 | <member name="P:Npgsql.NpgsqlCopyOut.NpgsqlCommand"> | 2404 | <member name="M:Npgsql.NpgsqlCommand.GetDistinctTrimmedCommands(System.String)"> |
518 | <summary> | 2405 | <summary> |
519 | The Command used to execute this copy operation. | 2406 | Find the beginning and end of each distinct SQL command and produce |
2407 | a list of descriptors, one for each command. Commands described are trimmed of | ||
2408 | leading and trailing white space and their terminating semi-colons. | ||
520 | </summary> | 2409 | </summary> |
2410 | <param name="src">Raw command text.</param> | ||
2411 | <returns>List of chunk descriptors.</returns> | ||
521 | </member> | 2412 | </member> |
522 | <member name="P:Npgsql.NpgsqlCopyOut.IsBinary"> | 2413 | <member name="M:Npgsql.NpgsqlCommand.AppendCommandReplacingParameterValues(System.IO.Stream,System.String,System.Int32,System.Int32,System.Boolean,System.Boolean)"> |
523 | <summary> | 2414 | <summary> |
524 | Returns true if this operation is currently active and in binary format. | 2415 | Append a region of a source command text to an output command, performing parameter token |
2416 | substitutions. | ||
525 | </summary> | 2417 | </summary> |
2418 | <param name="dest">Stream to which to append output.</param> | ||
2419 | <param name="src">Command text.</param> | ||
2420 | <param name="begin">Starting index within src.</param> | ||
2421 | <param name="length">Length of region to be processed.</param> | ||
2422 | <param name="prepare"></param> | ||
2423 | <param name="forExtendedQuery"></param> | ||
526 | </member> | 2424 | </member> |
527 | <member name="P:Npgsql.NpgsqlCopyOut.FieldCount"> | 2425 | <member name="P:Npgsql.NpgsqlCommand.CommandText"> |
528 | <summary> | 2426 | <summary> |
529 | Returns number of fields if this operation is currently active, otherwise -1 | 2427 | Gets or sets the SQL statement or function (stored procedure) to execute at the data source. |
530 | </summary> | 2428 | </summary> |
2429 | <value>The Transact-SQL statement or stored procedure to execute. The default is an empty string.</value> | ||
531 | </member> | 2430 | </member> |
532 | <member name="P:Npgsql.NpgsqlCopyOut.Read"> | 2431 | <member name="P:Npgsql.NpgsqlCommand.CommandTimeout"> |
533 | <summary> | 2432 | <summary> |
534 | Faster alternative to using the generated CopyStream. | 2433 | Gets or sets the wait time before terminating the attempt |
2434 | to execute a command and generating an error. | ||
535 | </summary> | 2435 | </summary> |
2436 | <value>The time (in seconds) to wait for the command to execute. | ||
2437 | The default is 20 seconds.</value> | ||
536 | </member> | 2438 | </member> |
537 | <member name="T:Npgsql.NpgsqlConnectorPool"> | 2439 | <member name="P:Npgsql.NpgsqlCommand.CommandType"> |
538 | <summary> | 2440 | <summary> |
539 | This class manages all connector objects, pooled AND non-pooled. | 2441 | Gets or sets a value indicating how the |
2442 | <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> property is to be interpreted. | ||
540 | </summary> | 2443 | </summary> |
2444 | <value>One of the <see cref="T:System.Data.CommandType">CommandType</see> values. The default is <see cref="T:System.Data.CommandType">CommandType.Text</see>.</value> | ||
541 | </member> | 2445 | </member> |
542 | <member name="F:Npgsql.NpgsqlConnectorPool.ConnectorPoolMgr"> | 2446 | <member name="P:Npgsql.NpgsqlCommand.Connection"> |
543 | <value>Unique static instance of the connector pool | 2447 | <summary> |
544 | mamager.</value> | 2448 | Gets or sets the <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> |
2449 | used by this instance of the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see>. | ||
2450 | </summary> | ||
2451 | <value>The connection to a data source. The default value is a null reference.</value> | ||
545 | </member> | 2452 | </member> |
546 | <member name="F:Npgsql.NpgsqlConnectorPool.PooledConnectors"> | 2453 | <member name="P:Npgsql.NpgsqlCommand.Parameters"> |
547 | <value>Map of index to unused pooled connectors, avaliable to the | 2454 | <summary> |
548 | next RequestConnector() call.</value> | 2455 | Gets the <see cref="T:Npgsql.NpgsqlParameterCollection">NpgsqlParameterCollection</see>. |
549 | <remarks>This hashmap will be indexed by connection string. | 2456 | </summary> |
550 | This key will hold a list of queues of pooled connectors available to be used.</remarks> | 2457 | <value>The parameters of the SQL statement or function (stored procedure). The default is an empty collection.</value> |
551 | </member> | 2458 | </member> |
552 | <member name="F:Npgsql.NpgsqlConnectorPool.Timer"> | 2459 | <member name="P:Npgsql.NpgsqlCommand.Transaction"> |
553 | <value>Timer for tracking unused connections in pools.</value> | 2460 | <summary> |
2461 | Gets or sets the <see cref="T:Npgsql.NpgsqlTransaction">NpgsqlTransaction</see> | ||
2462 | within which the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> executes. | ||
2463 | </summary> | ||
2464 | <value>The <see cref="T:Npgsql.NpgsqlTransaction">NpgsqlTransaction</see>. | ||
2465 | The default value is a null reference.</value> | ||
554 | </member> | 2466 | </member> |
555 | <member name="M:Npgsql.NpgsqlConnectorPool.RequestConnector(Npgsql.NpgsqlConnection)"> | 2467 | <member name="P:Npgsql.NpgsqlCommand.UpdatedRowSource"> |
556 | <summary> | 2468 | <summary> |
557 | Searches the shared and pooled connector lists for a | 2469 | Gets or sets how command results are applied to the <see cref="T:System.Data.DataRow">DataRow</see> |
558 | matching connector object or creates a new one. | 2470 | when used by the <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)">Update</see> |
2471 | method of the <see cref="T:System.Data.Common.DbDataAdapter">DbDataAdapter</see>. | ||
559 | </summary> | 2472 | </summary> |
560 | <param name="Connection">The NpgsqlConnection that is requesting | 2473 | <value>One of the <see cref="T:System.Data.UpdateRowSource">UpdateRowSource</see> values.</value> |
561 | the connector. Its ConnectionString will be used to search the | ||
562 | pool for available connectors.</param> | ||
563 | <returns>A connector object.</returns> | ||
564 | </member> | 2474 | </member> |
565 | <member name="M:Npgsql.NpgsqlConnectorPool.RequestPooledConnector(Npgsql.NpgsqlConnection)"> | 2475 | <member name="P:Npgsql.NpgsqlCommand.LastInsertedOID"> |
566 | <summary> | 2476 | <summary> |
567 | Find a pooled connector. Handle locking and timeout here. | 2477 | Returns oid of inserted row. This is only updated when using executenonQuery and when command inserts just a single row. If table is created without oids, this will always be 0. |
568 | </summary> | 2478 | </summary> |
569 | </member> | 2479 | </member> |
570 | <member name="M:Npgsql.NpgsqlConnectorPool.RequestPooledConnectorInternal(Npgsql.NpgsqlConnection)"> | 2480 | <member name="T:Npgsql.NpgsqlCommandBuilder"> |
571 | <summary> | 2481 | <summary> |
572 | Find a pooled connector. Handle shared/non-shared here. | 2482 | This class is responsible to create database commands for automatic insert, update and delete operations. |
573 | </summary> | 2483 | </summary> |
574 | </member> | 2484 | </member> |
575 | <member name="M:Npgsql.NpgsqlConnectorPool.ReleaseConnector(Npgsql.NpgsqlConnection,Npgsql.NpgsqlConnector)"> | 2485 | <member name="M:Npgsql.NpgsqlCommandBuilder.#ctor"> |
576 | <summary> | 2486 | <summary> |
577 | Releases a connector, possibly back to the pool for future use. | 2487 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlCommandBuilder"/> class. |
578 | </summary> | 2488 | </summary> |
579 | <remarks> | ||
580 | Pooled connectors will be put back into the pool if there is room. | ||
581 | Shared connectors should just have their use count decremented | ||
582 | since they always stay in the shared pool. | ||
583 | </remarks> | ||
584 | <param name="Connector">The connector to release.</param> | ||
585 | </member> | 2489 | </member> |
586 | <member name="M:Npgsql.NpgsqlConnectorPool.ReleasePooledConnector(Npgsql.NpgsqlConnection,Npgsql.NpgsqlConnector)"> | 2490 | <member name="M:Npgsql.NpgsqlCommandBuilder.#ctor(Npgsql.NpgsqlDataAdapter)"> |
587 | <summary> | 2491 | <summary> |
588 | Release a pooled connector. Handle locking here. | 2492 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlCommandBuilder"/> class. |
589 | </summary> | 2493 | </summary> |
2494 | <param name="adapter">The adapter.</param> | ||
590 | </member> | 2495 | </member> |
591 | <member name="M:Npgsql.NpgsqlConnectorPool.ReleasePooledConnectorInternal(Npgsql.NpgsqlConnection,Npgsql.NpgsqlConnector)"> | 2496 | <member name="M:Npgsql.NpgsqlCommandBuilder.DeriveParameters(Npgsql.NpgsqlCommand)"> |
592 | <summary> | 2497 | <summary> |
593 | Release a pooled connector. Handle shared/non-shared here. | 2498 | |
2499 | This method is reponsible to derive the command parameter list with values obtained from function definition. | ||
2500 | It clears the Parameters collection of command. Also, if there is any parameter type which is not supported by Npgsql, an InvalidOperationException will be thrown. | ||
2501 | Parameters name will be parameter1, parameter2, ... | ||
594 | </summary> | 2502 | </summary> |
2503 | <param name="command">NpgsqlCommand whose function parameters will be obtained.</param> | ||
595 | </member> | 2504 | </member> |
596 | <member name="M:Npgsql.NpgsqlConnectorPool.GetNonPooledConnector(Npgsql.NpgsqlConnection)"> | 2505 | <member name="M:Npgsql.NpgsqlCommandBuilder.GetInsertCommand"> |
597 | <summary> | 2506 | <summary> |
598 | Create a connector without any pooling functionality. | 2507 | Gets the automatically generated <see cref="T:Npgsql.NpgsqlCommand"/> object required |
2508 | to perform insertions at the data source. | ||
599 | </summary> | 2509 | </summary> |
2510 | <returns> | ||
2511 | The automatically generated <see cref="T:Npgsql.NpgsqlCommand"/> object required to perform insertions. | ||
2512 | </returns> | ||
600 | </member> | 2513 | </member> |
601 | <member name="M:Npgsql.NpgsqlConnectorPool.GetPooledConnector(Npgsql.NpgsqlConnection)"> | 2514 | <member name="M:Npgsql.NpgsqlCommandBuilder.GetInsertCommand(System.Boolean)"> |
602 | <summary> | 2515 | <summary> |
603 | Find an available pooled connector in the non-shared pool, or create | 2516 | Gets the automatically generated <see cref="T:Npgsql.NpgsqlCommand"/> object required to perform insertions |
604 | a new one if none found. | 2517 | at the data source, optionally using columns for parameter names. |
605 | </summary> | 2518 | </summary> |
2519 | <param name="useColumnsForParameterNames"> | ||
2520 | If <c>true</c>, generate parameter names matching column names, if possible. | ||
2521 | If <c>false</c>, generate @p1, @p2, and so on. | ||
2522 | </param> | ||
2523 | <returns> | ||
2524 | The automatically generated <see cref="T:Npgsql.NpgsqlCommand"/> object required to perform insertions. | ||
2525 | </returns> | ||
606 | </member> | 2526 | </member> |
607 | <member name="M:Npgsql.NpgsqlConnectorPool.FixPoolCountBecauseOfConnectionDisposeFalse(Npgsql.NpgsqlConnection)"> | 2527 | <member name="M:Npgsql.NpgsqlCommandBuilder.GetUpdateCommand"> |
608 | <summary> | 2528 | <summary> |
609 | This method is only called when NpgsqlConnection.Dispose(false) is called which means a | 2529 | Gets the automatically generated System.Data.Common.DbCommand object required |
610 | finalization. This also means, an NpgsqlConnection was leak. We clear pool count so that | 2530 | to perform updates at the data source. |
611 | client doesn't end running out of connections from pool. When the connection is finalized, its underlying | ||
612 | socket is closed. | ||
613 | </summary> | 2531 | </summary> |
2532 | <returns> | ||
2533 | The automatically generated System.Data.Common.DbCommand object required to perform updates. | ||
2534 | </returns> | ||
614 | </member> | 2535 | </member> |
615 | <member name="M:Npgsql.NpgsqlConnectorPool.UngetNonPooledConnector(Npgsql.NpgsqlConnection,Npgsql.NpgsqlConnector)"> | 2536 | <member name="M:Npgsql.NpgsqlCommandBuilder.GetUpdateCommand(System.Boolean)"> |
616 | <summary> | 2537 | <summary> |
617 | Close the connector. | 2538 | Gets the automatically generated <see cref="T:Npgsql.NpgsqlCommand"/> object required to perform updates |
2539 | at the data source, optionally using columns for parameter names. | ||
618 | </summary> | 2540 | </summary> |
619 | <param name="Connection"></param> | 2541 | <param name="useColumnsForParameterNames"> |
620 | <param name="Connector">Connector to release</param> | 2542 | If <c>true</c>, generate parameter names matching column names, if possible. |
2543 | If <c>false</c>, generate @p1, @p2, and so on. | ||
2544 | </param> | ||
2545 | <returns> | ||
2546 | The automatically generated <see cref="T:Npgsql.NpgsqlCommand"/> object required to perform updates. | ||
2547 | </returns> | ||
621 | </member> | 2548 | </member> |
622 | <member name="M:Npgsql.NpgsqlConnectorPool.UngetPooledConnector(Npgsql.NpgsqlConnection,Npgsql.NpgsqlConnector)"> | 2549 | <member name="M:Npgsql.NpgsqlCommandBuilder.GetDeleteCommand"> |
623 | <summary> | 2550 | <summary> |
624 | Put a pooled connector into the pool queue. | 2551 | Gets the automatically generated System.Data.Common.DbCommand object required |
2552 | to perform deletions at the data source. | ||
625 | </summary> | 2553 | </summary> |
626 | <param name="Connector">Connector to pool</param> | 2554 | <returns> |
2555 | The automatically generated System.Data.Common.DbCommand object required to perform deletions. | ||
2556 | </returns> | ||
627 | </member> | 2557 | </member> |
628 | <member name="T:Npgsql.NpgsqlConnectorPool.ConnectorQueue"> | 2558 | <member name="M:Npgsql.NpgsqlCommandBuilder.GetDeleteCommand(System.Boolean)"> |
629 | <summary> | 2559 | <summary> |
630 | A queue with an extra Int32 for keeping track of busy connections. | 2560 | Gets the automatically generated <see cref="T:Npgsql.NpgsqlCommand"/> object required to perform deletions |
2561 | at the data source, optionally using columns for parameter names. | ||
631 | </summary> | 2562 | </summary> |
2563 | <param name="useColumnsForParameterNames"> | ||
2564 | If <c>true</c>, generate parameter names matching column names, if possible. | ||
2565 | If <c>false</c>, generate @p1, @p2, and so on. | ||
2566 | </param> | ||
2567 | <returns> | ||
2568 | The automatically generated <see cref="T:Npgsql.NpgsqlCommand"/> object required to perform deletions. | ||
2569 | </returns> | ||
632 | </member> | 2570 | </member> |
633 | <member name="F:Npgsql.NpgsqlConnectorPool.ConnectorQueue.Available"> | 2571 | <member name="M:Npgsql.NpgsqlCommandBuilder.ApplyParameterInfo(System.Data.Common.DbParameter,System.Data.DataRow,System.Data.StatementType,System.Boolean)"> |
634 | <summary> | 2572 | <summary> |
635 | Connections available to the end user | 2573 | Applies the parameter information. |
636 | </summary> | 2574 | </summary> |
2575 | <param name="p">The parameter.</param> | ||
2576 | <param name="row">The row.</param> | ||
2577 | <param name="statementType">Type of the statement.</param> | ||
2578 | <param name="whereClause">if set to <c>true</c> [where clause].</param> | ||
637 | </member> | 2579 | </member> |
638 | <member name="F:Npgsql.NpgsqlConnectorPool.ConnectorQueue.Busy"> | 2580 | <member name="M:Npgsql.NpgsqlCommandBuilder.GetParameterName(System.Int32)"> |
639 | <summary> | 2581 | <summary> |
640 | Connections currently in use | 2582 | Returns the name of the specified parameter in the format of @p#. |
641 | </summary> | 2583 | </summary> |
2584 | <param name="parameterOrdinal">The number to be included as part of the parameter's name..</param> | ||
2585 | <returns> | ||
2586 | The name of the parameter with the specified number appended as part of the parameter name. | ||
2587 | </returns> | ||
642 | </member> | 2588 | </member> |
643 | <member name="T:Npgsql.NpgsqlBackEndKeyData"> | 2589 | <member name="M:Npgsql.NpgsqlCommandBuilder.GetParameterName(System.String)"> |
644 | <summary> | 2590 | <summary> |
645 | This class represents a BackEndKeyData message received | 2591 | Returns the full parameter name, given the partial parameter name. |
646 | from PostgreSQL | ||
647 | </summary> | 2592 | </summary> |
2593 | <param name="parameterName">The partial name of the parameter.</param> | ||
2594 | <returns> | ||
2595 | The full parameter name corresponding to the partial parameter name requested. | ||
2596 | </returns> | ||
648 | </member> | 2597 | </member> |
649 | <member name="M:Npgsql.NpgsqlPromotableSinglePhaseNotification.Prepare"> | 2598 | <member name="M:Npgsql.NpgsqlCommandBuilder.GetParameterPlaceholder(System.Int32)"> |
650 | <summary> | 2599 | <summary> |
651 | Used when a connection is closed | 2600 | Returns the placeholder for the parameter in the associated SQL statement. |
652 | </summary> | 2601 | </summary> |
2602 | <param name="parameterOrdinal">The number to be included as part of the parameter's name.</param> | ||
2603 | <returns> | ||
2604 | The name of the parameter with the specified number appended. | ||
2605 | </returns> | ||
653 | </member> | 2606 | </member> |
654 | <member name="T:Npgsql.NpgsqlQuery"> | 2607 | <member name="M:Npgsql.NpgsqlCommandBuilder.SetRowUpdatingHandler(System.Data.Common.DbDataAdapter)"> |
655 | <summary> | 2608 | <summary> |
656 | Summary description for NpgsqlQuery | 2609 | Registers the <see cref="T:NpgsqlCommandBuilder" /> to handle the <see cref="E:NpgsqlDataAdapter.RowUpdating"/> event for a <see cref="T:NpgsqlDataAdapter" />. |
2610 | </summary> | ||
2611 | <param name="adapter">The <see cref="T:System.Data.Common.DbDataAdapter" /> to be used for the update.</param> | ||
2612 | </member> | ||
2613 | <member name="M:Npgsql.NpgsqlCommandBuilder.RowUpdatingHandler(System.Object,NpgsqlRowUpdatingEventArgs)"> | ||
2614 | <summary> | ||
2615 | Adds an event handler for the <see cref="E:Npgsql.NpgsqlDataAdapter.RowUpdating"/> event. | ||
2616 | </summary> | ||
2617 | <param name="sender">The sender</param> | ||
2618 | <param name="e">A <see cref="T:NpgsqlRowUpdatingEventArgs"/> instance containing information about the event.</param> | ||
2619 | </member> | ||
2620 | <member name="M:Npgsql.NpgsqlCommandBuilder.QuoteIdentifier(System.String)"> | ||
2621 | <summary> | ||
2622 | Given an unquoted identifier in the correct catalog case, returns the correct quoted form of that identifier, including properly escaping any embedded quotes in the identifier. | ||
2623 | </summary> | ||
2624 | <param name="unquotedIdentifier">The original unquoted identifier.</param> | ||
2625 | <returns> | ||
2626 | The quoted version of the identifier. Embedded quotes within the identifier are properly escaped. | ||
2627 | </returns> | ||
2628 | <PermissionSet> | ||
2629 | <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" PathDiscovery="*AllFiles*"/> | ||
2630 | </PermissionSet> | ||
2631 | <exception cref="T:System.ArgumentNullException">Unquoted identifier parameter cannot be null</exception> | ||
2632 | </member> | ||
2633 | <member name="M:Npgsql.NpgsqlCommandBuilder.UnquoteIdentifier(System.String)"> | ||
2634 | <summary> | ||
2635 | Given a quoted identifier, returns the correct unquoted form of that identifier, including properly un-escaping any embedded quotes in the identifier. | ||
2636 | </summary> | ||
2637 | <param name="quotedIdentifier">The identifier that will have its embedded quotes removed.</param> | ||
2638 | <returns> | ||
2639 | The unquoted identifier, with embedded quotes properly un-escaped. | ||
2640 | </returns> | ||
2641 | <PermissionSet> | ||
2642 | <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" PathDiscovery="*AllFiles*"/> | ||
2643 | </PermissionSet> | ||
2644 | <exception cref="T:System.ArgumentNullException">Quoted identifier parameter cannot be null</exception> | ||
2645 | </member> | ||
2646 | <member name="P:Npgsql.NpgsqlCommandBuilder.QuotePrefix"> | ||
2647 | <summary> | ||
2648 | Gets or sets the beginning character or characters to use when specifying database objects (for example, tables or columns) whose names contain characters such as spaces or reserved tokens. | ||
657 | </summary> | 2649 | </summary> |
2650 | <returns> | ||
2651 | The beginning character or characters to use. The default is an empty string. | ||
2652 | </returns> | ||
2653 | <PermissionSet> | ||
2654 | <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" PathDiscovery="*AllFiles*" /> | ||
2655 | </PermissionSet> | ||
2656 | </member> | ||
2657 | <member name="P:Npgsql.NpgsqlCommandBuilder.QuoteSuffix"> | ||
2658 | <summary> | ||
2659 | Gets or sets the ending character or characters to use when specifying database objects (for example, tables or columns) whose names contain characters such as spaces or reserved tokens. | ||
2660 | </summary> | ||
2661 | <returns> | ||
2662 | The ending character or characters to use. The default is an empty string. | ||
2663 | </returns> | ||
2664 | <PermissionSet> | ||
2665 | <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" PathDiscovery="*AllFiles*" /> | ||
2666 | </PermissionSet> | ||
658 | </member> | 2667 | </member> |
659 | <member name="T:Npgsql.NoticeEventHandler"> | 2668 | <member name="T:Npgsql.NoticeEventHandler"> |
660 | <summary> | 2669 | <summary> |
661 | Represents the method that handles the <see cref="E:Npgsql.NpgsqlConnection.Notification">Notice</see> events. | 2670 | Represents the method that handles the <see cref="E:Npgsql.NpgsqlConnection.Notification">Notice</see> events. |
662 | </summary> | 2671 | </summary> |
2672 | <param name="sender">The source of the event.</param> | ||
663 | <param name="e">A <see cref="T:Npgsql.NpgsqlNoticeEventArgs">NpgsqlNoticeEventArgs</see> that contains the event data.</param> | 2673 | <param name="e">A <see cref="T:Npgsql.NpgsqlNoticeEventArgs">NpgsqlNoticeEventArgs</see> that contains the event data.</param> |
664 | </member> | 2674 | </member> |
665 | <member name="T:Npgsql.NotificationEventHandler"> | 2675 | <member name="T:Npgsql.NotificationEventHandler"> |
@@ -689,6 +2699,14 @@ | |||
689 | </summary> | 2699 | </summary> |
690 | <param name="ConnectionString">The connection used to open the PostgreSQL database.</param> | 2700 | <param name="ConnectionString">The connection used to open the PostgreSQL database.</param> |
691 | </member> | 2701 | </member> |
2702 | <member name="M:Npgsql.NpgsqlConnection.#ctor(Npgsql.NpgsqlConnectionStringBuilder)"> | ||
2703 | <summary> | ||
2704 | Initializes a new instance of the | ||
2705 | <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> class | ||
2706 | and sets the <see cref="P:Npgsql.NpgsqlConnection.ConnectionString">ConnectionString</see>. | ||
2707 | </summary> | ||
2708 | <param name="ConnectionString">The connection used to open the PostgreSQL database.</param> | ||
2709 | </member> | ||
692 | <member name="M:Npgsql.NpgsqlConnection.BeginDbTransaction(System.Data.IsolationLevel)"> | 2710 | <member name="M:Npgsql.NpgsqlConnection.BeginDbTransaction(System.Data.IsolationLevel)"> |
693 | <summary> | 2711 | <summary> |
694 | Begins a database transaction with the specified isolation level. | 2712 | Begins a database transaction with the specified isolation level. |
@@ -739,7 +2757,13 @@ | |||
739 | <member name="M:Npgsql.NpgsqlConnection.Close"> | 2757 | <member name="M:Npgsql.NpgsqlConnection.Close"> |
740 | <summary> | 2758 | <summary> |
741 | Releases the connection to the database. If the connection is pooled, it will be | 2759 | Releases the connection to the database. If the connection is pooled, it will be |
742 | made available for re-use. If it is non-pooled, the actual connection will be shutdown. | 2760 | made available for re-use. If it is non-pooled, the actual connection will be shutdown. |
2761 | </summary> | ||
2762 | </member> | ||
2763 | <member name="M:Npgsql.NpgsqlConnection.PromotableLocalTransactionEnded"> | ||
2764 | <summary> | ||
2765 | When a connection is closed within an enclosing TransactionScope and the transaction | ||
2766 | hasn't been promoted, we defer the actual closing until the scope ends. | ||
743 | </summary> | 2767 | </summary> |
744 | </member> | 2768 | </member> |
745 | <member name="M:Npgsql.NpgsqlConnection.CreateDbCommand"> | 2769 | <member name="M:Npgsql.NpgsqlConnection.CreateDbCommand"> |
@@ -776,6 +2800,11 @@ | |||
776 | </summary> | 2800 | </summary> |
777 | <returns>A new NpgsqlConnection object.</returns> | 2801 | <returns>A new NpgsqlConnection object.</returns> |
778 | </member> | 2802 | </member> |
2803 | <member name="M:Npgsql.NpgsqlConnection.CopyConnectionStringBuilder"> | ||
2804 | <summary> | ||
2805 | Returns a copy of the NpgsqlConnectionStringBuilder that contains the parsed connection string values. | ||
2806 | </summary> | ||
2807 | </member> | ||
779 | <member name="M:Npgsql.NpgsqlConnection.DefaultCertificateSelectionCallback(System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Cryptography.X509Certificates.X509Certificate,System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection)"> | 2808 | <member name="M:Npgsql.NpgsqlConnection.DefaultCertificateSelectionCallback(System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Cryptography.X509Certificates.X509Certificate,System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection)"> |
780 | <summary> | 2809 | <summary> |
781 | Default SSL CertificateSelectionCallback implementation. | 2810 | Default SSL CertificateSelectionCallback implementation. |
@@ -796,11 +2825,33 @@ | |||
796 | Default SSL ProvideClientCertificatesCallback implementation. | 2825 | Default SSL ProvideClientCertificatesCallback implementation. |
797 | </summary> | 2826 | </summary> |
798 | </member> | 2827 | </member> |
2828 | <member name="M:Npgsql.NpgsqlConnection.DefaultValidateRemoteCertificateCallback(System.Security.Cryptography.X509Certificates.X509Certificate,System.Security.Cryptography.X509Certificates.X509Chain,System.Net.Security.SslPolicyErrors)"> | ||
2829 | <summary> | ||
2830 | Default SSL ValidateRemoteCertificateCallback implementation. | ||
2831 | </summary> | ||
2832 | </member> | ||
799 | <member name="M:Npgsql.NpgsqlConnection.LogConnectionString"> | 2833 | <member name="M:Npgsql.NpgsqlConnection.LogConnectionString"> |
800 | <summary> | 2834 | <summary> |
801 | Write each key/value pair in the connection string to the log. | 2835 | Write each key/value pair in the connection string to the log. |
802 | </summary> | 2836 | </summary> |
803 | </member> | 2837 | </member> |
2838 | <member name="M:Npgsql.NpgsqlConnection.LoadConnectionStringBuilder(System.String)"> | ||
2839 | <summary> | ||
2840 | Sets the `settings` ConnectionStringBuilder based on the given `connectionString` | ||
2841 | </summary> | ||
2842 | <param name="connectionString">The connection string to load the builder from</param> | ||
2843 | </member> | ||
2844 | <member name="M:Npgsql.NpgsqlConnection.LoadConnectionStringBuilder(Npgsql.NpgsqlConnectionStringBuilder)"> | ||
2845 | <summary> | ||
2846 | Sets the `settings` ConnectionStringBuilder based on the given `connectionString` | ||
2847 | </summary> | ||
2848 | <param name="connectionString">The connection string to load the builder from</param> | ||
2849 | </member> | ||
2850 | <member name="M:Npgsql.NpgsqlConnection.RefreshConnectionString"> | ||
2851 | <summary> | ||
2852 | Refresh the cached _connectionString whenever the builder settings change | ||
2853 | </summary> | ||
2854 | </member> | ||
804 | <member name="M:Npgsql.NpgsqlConnection.GetSchema"> | 2855 | <member name="M:Npgsql.NpgsqlConnection.GetSchema"> |
805 | <summary> | 2856 | <summary> |
806 | Returns the supported collections | 2857 | Returns the supported collections |
@@ -854,6 +2905,11 @@ | |||
854 | Mono.Security.Protocol.Tls.PrivateKeySelectionCallback delegate. | 2905 | Mono.Security.Protocol.Tls.PrivateKeySelectionCallback delegate. |
855 | </summary> | 2906 | </summary> |
856 | </member> | 2907 | </member> |
2908 | <member name="E:Npgsql.NpgsqlConnection.ValidateRemoteCertificateCallback"> | ||
2909 | <summary> | ||
2910 | Called to validate server's certificate during SSL handshake | ||
2911 | </summary> | ||
2912 | </member> | ||
857 | <member name="P:Npgsql.NpgsqlConnection.ConnectionString"> | 2913 | <member name="P:Npgsql.NpgsqlConnection.ConnectionString"> |
858 | <summary> | 2914 | <summary> |
859 | Gets or sets the string used to connect to a PostgreSQL database. | 2915 | Gets or sets the string used to connect to a PostgreSQL database. |
@@ -1009,6 +3065,24 @@ | |||
1009 | This can only be called when there is an active connection. | 3065 | This can only be called when there is an active connection. |
1010 | </summary> | 3066 | </summary> |
1011 | </member> | 3067 | </member> |
3068 | <member name="P:Npgsql.NpgsqlConnection.UseConformantStrings"> | ||
3069 | <summary> | ||
3070 | Report whether the backend is expecting standard conformant strings. | ||
3071 | In version 8.1, Postgres began reporting this value (false), but did not actually support standard conformant strings. | ||
3072 | In version 8.2, Postgres began supporting standard conformant strings, but defaulted this flag to false. | ||
3073 | As of version 9.1, this flag defaults to true. | ||
3074 | </summary> | ||
3075 | </member> | ||
3076 | <member name="P:Npgsql.NpgsqlConnection.Supports_E_StringPrefix"> | ||
3077 | <summary> | ||
3078 | Report whether the backend understands the string literal E prefix (>= 8.1). | ||
3079 | </summary> | ||
3080 | </member> | ||
3081 | <member name="P:Npgsql.NpgsqlConnection.SupportsHexByteFormat"> | ||
3082 | <summary> | ||
3083 | Report whether the backend understands the hex byte format (>= 9.0). | ||
3084 | </summary> | ||
3085 | </member> | ||
1012 | <member name="P:Npgsql.NpgsqlConnection.Connector"> | 3086 | <member name="P:Npgsql.NpgsqlConnection.Connector"> |
1013 | <summary> | 3087 | <summary> |
1014 | The connector object connected to the backend. | 3088 | The connector object connected to the backend. |
@@ -1034,720 +3108,499 @@ | |||
1034 | Determine if connection pooling will be used for this connection. | 3108 | Determine if connection pooling will be used for this connection. |
1035 | </summary> | 3109 | </summary> |
1036 | </member> | 3110 | </member> |
1037 | <member name="T:Npgsql.NpgsqlCancelRequest"> | 3111 | <member name="M:Npgsql.NpgsqlConnectionStringBuilder.Clone"> |
1038 | <summary> | ||
1039 | This class represents the CancelRequest message sent to PostgreSQL | ||
1040 | server. | ||
1041 | </summary> | ||
1042 | |||
1043 | </member> | ||
1044 | <!-- Badly formed XML comment ignored for member "T:NpgsqlTypes.NpgsqlInterval" --> | ||
1045 | <!-- Badly formed XML comment ignored for member "F:NpgsqlTypes.NpgsqlInterval.TicksPerMicrosecond" --> | ||
1046 | <!-- Badly formed XML comment ignored for member "F:NpgsqlTypes.NpgsqlInterval.TicksPerMillsecond" --> | ||
1047 | <!-- Badly formed XML comment ignored for member "F:NpgsqlTypes.NpgsqlInterval.TicksPerSecond" --> | ||
1048 | <!-- Badly formed XML comment ignored for member "F:NpgsqlTypes.NpgsqlInterval.TicksPerMinute" --> | ||
1049 | <!-- Badly formed XML comment ignored for member "F:NpgsqlTypes.NpgsqlInterval.TicksPerHour" --> | ||
1050 | <!-- Badly formed XML comment ignored for member "F:NpgsqlTypes.NpgsqlInterval.TicksPerDay" --> | ||
1051 | <!-- Badly formed XML comment ignored for member "F:NpgsqlTypes.NpgsqlInterval.HoursPerDay" --> | ||
1052 | <!-- Badly formed XML comment ignored for member "F:NpgsqlTypes.NpgsqlInterval.DaysPerMonth" --> | ||
1053 | <!-- Badly formed XML comment ignored for member "F:NpgsqlTypes.NpgsqlInterval.TicksPerMonth" --> | ||
1054 | <!-- Badly formed XML comment ignored for member "F:NpgsqlTypes.NpgsqlInterval.MonthsPerYear" --> | ||
1055 | <!-- Badly formed XML comment ignored for member "F:NpgsqlTypes.NpgsqlInterval.MaxValue" --> | ||
1056 | <!-- Badly formed XML comment ignored for member "F:NpgsqlTypes.NpgsqlInterval.MinValue" --> | ||
1057 | <!-- Badly formed XML comment ignored for member "F:NpgsqlTypes.NpgsqlInterval.Zero" --> | ||
1058 | <member name="M:NpgsqlTypes.NpgsqlInterval.#ctor(System.Int64)"> | ||
1059 | <param name="ticks">A time period expressed in 100ns units.</param> | ||
1060 | </member> | ||
1061 | <member name="M:NpgsqlTypes.NpgsqlInterval.#ctor(System.TimeSpan)"> | ||
1062 | <param name="timespan">A time period expressed in a <see cref="T:System.TimeSpan"/></param> | ||
1063 | </member> | ||
1064 | <member name="M:NpgsqlTypes.NpgsqlInterval.#ctor(System.Int32,System.Int32,System.Int64)"> | ||
1065 | <param name="ticks">Number of 100ns units.</param> | ||
1066 | </member> | ||
1067 | <member name="M:NpgsqlTypes.NpgsqlInterval.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)"> | ||
1068 | <param name="seconds">Number of seconds.</param> | ||
1069 | </member> | ||
1070 | <member name="M:NpgsqlTypes.NpgsqlInterval.#ctor(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)"> | ||
1071 | <param name="milliseconds">Number of milliseconds.</param> | ||
1072 | </member> | ||
1073 | <member name="M:NpgsqlTypes.NpgsqlInterval.#ctor(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)"> | ||
1074 | <param name="milliseconds">Number of milliseconds.</param> | ||
1075 | </member> | ||
1076 | <member name="M:NpgsqlTypes.NpgsqlInterval.#ctor(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)"> | ||
1077 | <param name="milliseconds">Number of milliseconds.</param> | ||
1078 | </member> | ||
1079 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromTicks(System.Int64)"> | ||
1080 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of ticks.</returns> | ||
1081 | </member> | ||
1082 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromMicroseconds(System.Double)"> | ||
1083 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of microseconds.</returns> | ||
1084 | </member> | ||
1085 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromMilliseconds(System.Double)"> | ||
1086 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of milliseconds.</returns> | ||
1087 | </member> | ||
1088 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromSeconds(System.Double)"> | ||
1089 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of seconds.</returns> | ||
1090 | </member> | ||
1091 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromMinutes(System.Double)"> | ||
1092 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of minutes.</returns> | ||
1093 | </member> | ||
1094 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromHours(System.Double)"> | ||
1095 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of hours.</returns> | ||
1096 | </member> | ||
1097 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromDays(System.Double)"> | ||
1098 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of days.</returns> | ||
1099 | </member> | ||
1100 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromMonths(System.Double)"> | ||
1101 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of months.</returns> | ||
1102 | </member> | ||
1103 | <member name="M:NpgsqlTypes.NpgsqlInterval.Add(NpgsqlTypes.NpgsqlInterval)"> | ||
1104 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"></see> whose values are the sums of the two instances.</returns> | ||
1105 | </member> | ||
1106 | <member name="M:NpgsqlTypes.NpgsqlInterval.Subtract(NpgsqlTypes.NpgsqlInterval)"> | ||
1107 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"></see> whose values are the differences of the two instances.</returns> | ||
1108 | </member> | ||
1109 | <member name="M:NpgsqlTypes.NpgsqlInterval.Negate"> | ||
1110 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> whose value is the negated value of this instance.</returns> | ||
1111 | </member> | ||
1112 | <member name="M:NpgsqlTypes.NpgsqlInterval.Duration"> | ||
1113 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> whose value is the absolute value of this instance.</returns> | ||
1114 | </member> | ||
1115 | <!-- Badly formed XML comment ignored for member "M:NpgsqlTypes.NpgsqlInterval.JustifyDays" --> | ||
1116 | <member name="M:NpgsqlTypes.NpgsqlInterval.UnjustifyDays"> | ||
1117 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> based on this one, but with any days converted to multiples of ±24hours.</returns> | ||
1118 | </member> | ||
1119 | <!-- Badly formed XML comment ignored for member "M:NpgsqlTypes.NpgsqlInterval.JustifyMonths" --> | ||
1120 | <member name="M:NpgsqlTypes.NpgsqlInterval.UnjustifyMonths"> | ||
1121 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> based on this one, but with any months converted to multiples of ±30days.</returns> | ||
1122 | </member> | ||
1123 | <!-- Badly formed XML comment ignored for member "M:NpgsqlTypes.NpgsqlInterval.JustifyInterval" --> | ||
1124 | <member name="M:NpgsqlTypes.NpgsqlInterval.UnjustifyInterval"> | ||
1125 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> based on this one, but with any months converted to multiples of ±30days and then any days converted to multiples of ±24hours;</returns> | ||
1126 | </member> | ||
1127 | <!-- Badly formed XML comment ignored for member "M:NpgsqlTypes.NpgsqlInterval.Canonicalize" --> | ||
1128 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_Implicit(System.TimeSpan)~NpgsqlTypes.NpgsqlInterval"> | ||
1129 | <returns>An eqivalent, canonical, <see cref="T:NpgsqlTypes.NpgsqlInterval"/>.</returns> | ||
1130 | </member> | ||
1131 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_Explicit(NpgsqlTypes.NpgsqlInterval)~System.TimeSpan"> | ||
1132 | <returns>An equivalent <see cref="T:System.TimeSpan"/>.</returns> | ||
1133 | </member> | ||
1134 | <!-- Badly formed XML comment ignored for member "M:NpgsqlTypes.NpgsqlInterval.Equals(NpgsqlTypes.NpgsqlInterval)" --> | ||
1135 | <!-- Badly formed XML comment ignored for member "M:NpgsqlTypes.NpgsqlInterval.Equals(System.Object)" --> | ||
1136 | <!-- Badly formed XML comment ignored for member "M:NpgsqlTypes.NpgsqlInterval.Compare(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)" --> | ||
1137 | <member name="M:NpgsqlTypes.NpgsqlInterval.GetHashCode"> | ||
1138 | <returns>An signed integer.</returns> | ||
1139 | </member> | ||
1140 | <!-- Badly formed XML comment ignored for member "M:NpgsqlTypes.NpgsqlInterval.CompareTo(NpgsqlTypes.NpgsqlInterval)" --> | ||
1141 | <member name="M:NpgsqlTypes.NpgsqlInterval.CompareTo(System.Object)"> | ||
1142 | <exception cref="T:System.ArgumentException">The argument is not an <see cref="T:NpgsqlTypes.NpgsqlInterval"/>.</exception> | ||
1143 | </member> | ||
1144 | <member name="M:NpgsqlTypes.NpgsqlInterval.Parse(System.String)"> | ||
1145 | <exception cref="T:System.FormatException">The string was not in a format that could be parsed to produce an <see cref="T:NpgsqlTypes.NpgsqlInterval"/>.</exception> | ||
1146 | </member> | ||
1147 | <member name="M:NpgsqlTypes.NpgsqlInterval.TryParse(System.String,NpgsqlTypes.NpgsqlInterval@)"> | ||
1148 | <returns>true if the parsing succeeded, false otherwise.</returns> | ||
1149 | </member> | ||
1150 | <member name="M:NpgsqlTypes.NpgsqlInterval.ToString"> | ||
1151 | <returns>The <see cref="T:System.String"/> representation.</returns> | ||
1152 | </member> | ||
1153 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_Addition(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> | ||
1154 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> whose values are the sum of the arguments.</returns> | ||
1155 | </member> | ||
1156 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_Subtraction(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> | ||
1157 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> whose values are the difference of the arguments</returns> | ||
1158 | </member> | ||
1159 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_Equality(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> | ||
1160 | <returns>true if the two arguments are exactly the same, false otherwise.</returns> | ||
1161 | </member> | ||
1162 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_Inequality(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> | ||
1163 | <returns>false if the two arguments are exactly the same, true otherwise.</returns> | ||
1164 | </member> | ||
1165 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_LessThan(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> | ||
1166 | <returns>true if the first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> is less than second, false otherwise.</returns> | ||
1167 | </member> | ||
1168 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_LessThanOrEqual(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> | ||
1169 | <returns>true if the first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> is less than or equivalent to second, false otherwise.</returns> | ||
1170 | </member> | ||
1171 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_GreaterThan(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> | ||
1172 | <returns>true if the first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> is greater than second, false otherwise.</returns> | ||
1173 | </member> | ||
1174 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_GreaterThanOrEqual(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> | ||
1175 | <returns>true if the first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> is greater than or equivalent to the second, false otherwise.</returns> | ||
1176 | </member> | ||
1177 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_UnaryPlus(NpgsqlTypes.NpgsqlInterval)"> | ||
1178 | <returns>The argument.</returns> | ||
1179 | </member> | ||
1180 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_UnaryNegation(NpgsqlTypes.NpgsqlInterval)"> | ||
1181 | <returns>The negation of the argument.</returns> | ||
1182 | </member> | ||
1183 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlInterval.Ticks" --> | ||
1184 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlInterval.Microseconds" --> | ||
1185 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlInterval.Milliseconds" --> | ||
1186 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlInterval.Seconds" --> | ||
1187 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlInterval.Minutes" --> | ||
1188 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlInterval.Hours" --> | ||
1189 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlInterval.Days" --> | ||
1190 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlInterval.Months" --> | ||
1191 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlInterval.Time" --> | ||
1192 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlInterval.TotalTicks" --> | ||
1193 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlInterval.TotalMicroseconds" --> | ||
1194 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlInterval.TotalMilliseconds" --> | ||
1195 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlInterval.TotalSeconds" --> | ||
1196 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlInterval.TotalMinutes" --> | ||
1197 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlInterval.TotalHours" --> | ||
1198 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlInterval.TotalDays" --> | ||
1199 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlInterval.TotalMonths" --> | ||
1200 | <member name="M:NpgsqlTypes.NpgsqlTime.Normalize"> | ||
1201 | <returns>This time, normalised</returns> | ||
1202 | </member> | ||
1203 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlTime.Ticks" --> | ||
1204 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlTime.Microseconds" --> | ||
1205 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlTime.Milliseconds" --> | ||
1206 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlTime.Seconds" --> | ||
1207 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlTime.Minutes" --> | ||
1208 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlTime.Hours" --> | ||
1209 | <member name="M:NpgsqlTypes.NpgsqlTimeTZ.Normalize"> | ||
1210 | <returns>This time, normalised</returns> | ||
1211 | </member> | ||
1212 | <member name="M:NpgsqlTypes.NpgsqlTimeTZ.CompareTo(NpgsqlTypes.NpgsqlTimeTZ)"> | ||
1213 | <returns>An integer which is 0 if they are equal, < 0 if this is the smaller and > 0 if this is the larger.</returns> | ||
1214 | </member> | ||
1215 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlTimeTZ.Microseconds" --> | ||
1216 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlTimeTZ.Milliseconds" --> | ||
1217 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlTimeTZ.Seconds" --> | ||
1218 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlTimeTZ.Minutes" --> | ||
1219 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlTimeTZ.Hours" --> | ||
1220 | <member name="T:Npgsql.SSPIHandler"> | ||
1221 | <summary> | 3112 | <summary> |
1222 | A class to handle everything associated with SSPI authentication | 3113 | Return an exact copy of this NpgsqlConnectionString. |
1223 | </summary> | 3114 | </summary> |
1224 | </member> | 3115 | </member> |
1225 | <member name="T:Npgsql.SSPIHandler.SecBufferDesc"> | 3116 | <member name="M:Npgsql.NpgsqlConnectionStringBuilder.CheckIntegratedSecuritySupport"> |
1226 | <summary> | 3117 | <summary> |
1227 | Simplified SecBufferDesc struct with only one SecBuffer | 3118 | No integrated security if we're on mono and .NET 4.5 because of ClaimsIdentity, |
3119 | see https://github.com/npgsql/Npgsql/issues/133 | ||
1228 | </summary> | 3120 | </summary> |
1229 | </member> | 3121 | </member> |
1230 | <member name="T:Npgsql.NpgsqlSync"> | 3122 | <member name="M:Npgsql.NpgsqlConnectionStringBuilder.SetValue(System.String,Npgsql.Keywords,System.Object)"> |
1231 | <summary> | ||
1232 | This class represents the Parse message sent to PostgreSQL | ||
1233 | server. | ||
1234 | </summary> | ||
1235 | |||
1236 | </member> | ||
1237 | <member name="T:Npgsql.NpgsqlNoticeEventArgs"> | ||
1238 | <summary> | 3123 | <summary> |
1239 | EventArgs class to send Notice parameters, which are just NpgsqlError's in a lighter context. | 3124 | This function will set value for known key, both private member and base[key]. |
1240 | </summary> | 3125 | </summary> |
3126 | <param name="keyword"></param> | ||
3127 | <param name="key"></param> | ||
3128 | <param name="value"></param> | ||
3129 | <returns>value, coerced as needed to the stored type.</returns> | ||
1241 | </member> | 3130 | </member> |
1242 | <member name="F:Npgsql.NpgsqlNoticeEventArgs.Notice"> | 3131 | <member name="M:Npgsql.NpgsqlConnectionStringBuilder.SetValue(Npgsql.Keywords,System.Object)"> |
1243 | <summary> | 3132 | <summary> |
1244 | Notice information. | 3133 | The function will modify private member only, not base[key]. |
1245 | </summary> | 3134 | </summary> |
3135 | <param name="keyword"></param> | ||
3136 | <param name="value"></param> | ||
3137 | <returns>value, coerced as needed to the stored type.</returns> | ||
1246 | </member> | 3138 | </member> |
1247 | <member name="T:Npgsql.NpgsqlError"> | 3139 | <member name="M:Npgsql.NpgsqlConnectionStringBuilder.GetValue(Npgsql.Keywords)"> |
1248 | <summary> | 3140 | <summary> |
1249 | This class represents the ErrorResponse and NoticeResponse | 3141 | The function will access private member only, not base[key]. |
1250 | message sent from PostgreSQL server. | ||
1251 | </summary> | 3142 | </summary> |
3143 | <param name="keyword"></param> | ||
3144 | <returns>value.</returns> | ||
1252 | </member> | 3145 | </member> |
1253 | <member name="M:Npgsql.NpgsqlError.ToString"> | 3146 | <member name="M:Npgsql.NpgsqlConnectionStringBuilder.Clear"> |
1254 | <summary> | 3147 | <summary> |
1255 | Return a string representation of this error object. | 3148 | Clear the member and assign them to the default value. |
1256 | </summary> | 3149 | </summary> |
1257 | </member> | 3150 | </member> |
1258 | <member name="P:Npgsql.NpgsqlError.Severity"> | 3151 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.Host"> |
1259 | <summary> | 3152 | <summary> |
1260 | Severity code. All versions. | 3153 | Gets or sets the backend server host name. |
1261 | </summary> | 3154 | </summary> |
1262 | </member> | 3155 | </member> |
1263 | <member name="P:Npgsql.NpgsqlError.Code"> | 3156 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.Port"> |
1264 | <summary> | 3157 | <summary> |
1265 | Error code. PostgreSQL 7.4 and up. | 3158 | Gets or sets the backend server port. |
1266 | </summary> | 3159 | </summary> |
1267 | </member> | 3160 | </member> |
1268 | <member name="P:Npgsql.NpgsqlError.Message"> | 3161 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.Protocol"> |
1269 | <summary> | 3162 | <summary> |
1270 | Terse error message. All versions. | 3163 | Gets or sets the specified backend communication protocol version. |
1271 | </summary> | 3164 | </summary> |
1272 | </member> | 3165 | </member> |
1273 | <member name="P:Npgsql.NpgsqlError.Detail"> | 3166 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.Database"> |
1274 | <summary> | 3167 | <summary> |
1275 | Detailed error message. PostgreSQL 7.4 and up. | 3168 | Gets or sets the name of the database to be used after a connection is opened. |
1276 | </summary> | 3169 | </summary> |
3170 | <value>The name of the database to be | ||
3171 | used after a connection is opened.</value> | ||
1277 | </member> | 3172 | </member> |
1278 | <member name="P:Npgsql.NpgsqlError.Hint"> | 3173 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.UserName"> |
1279 | <summary> | 3174 | <summary> |
1280 | Suggestion to help resolve the error. PostgreSQL 7.4 and up. | 3175 | Gets or sets the login user name. |
1281 | </summary> | 3176 | </summary> |
1282 | </member> | 3177 | </member> |
1283 | <member name="P:Npgsql.NpgsqlError.Position"> | 3178 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.WindowsIdentityUserName"> |
1284 | <summary> | 3179 | <summary> |
1285 | Position (one based) within the query string where the error was encounterd. PostgreSQL 7.4 and up. | 3180 | This is a pretty horrible hack to fix https://github.com/npgsql/Npgsql/issues/133 |
3181 | In a nutshell, starting with .NET 4.5 WindowsIdentity inherits from ClaimsIdentity | ||
3182 | which doesn't exist in mono, and calling UserName getter above bombs. | ||
3183 | The workaround is that the function that actually deals with WindowsIdentity never | ||
3184 | gets called on mono, so never gets JITted and the problem goes away. | ||
1286 | </summary> | 3185 | </summary> |
1287 | </member> | 3186 | </member> |
1288 | <member name="P:Npgsql.NpgsqlError.InternalPosition"> | 3187 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.PasswordAsByteArray"> |
1289 | <summary> | 3188 | <summary> |
1290 | Position (one based) within the query string where the error was encounterd. This position refers to an internal command executed for example inside a PL/pgSQL function. PostgreSQL 7.4 and up. | 3189 | Gets or sets the login password as a UTF8 encoded byte array. |
1291 | </summary> | 3190 | </summary> |
1292 | </member> | 3191 | </member> |
1293 | <member name="P:Npgsql.NpgsqlError.InternalQuery"> | 3192 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.Password"> |
1294 | <summary> | 3193 | <summary> |
1295 | Internal query string where the error was encounterd. This position refers to an internal command executed for example inside a PL/pgSQL function. PostgreSQL 7.4 and up. | 3194 | Sets the login password as a string. |
1296 | </summary> | 3195 | </summary> |
1297 | </member> | 3196 | </member> |
1298 | <member name="P:Npgsql.NpgsqlError.Where"> | 3197 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.SSL"> |
1299 | <summary> | 3198 | <summary> |
1300 | Trace back information. PostgreSQL 7.4 and up. | 3199 | Gets or sets a value indicating whether to attempt to use SSL. |
1301 | </summary> | 3200 | </summary> |
1302 | </member> | 3201 | </member> |
1303 | <member name="P:Npgsql.NpgsqlError.File"> | 3202 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.SslMode"> |
1304 | <summary> | 3203 | <summary> |
1305 | Source file (in backend) reporting the error. PostgreSQL 7.4 and up. | 3204 | Gets or sets a value indicating whether to attempt to use SSL. |
1306 | </summary> | 3205 | </summary> |
1307 | </member> | 3206 | </member> |
1308 | <member name="P:Npgsql.NpgsqlError.Line"> | 3207 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.Encoding"> |
1309 | <summary> | 3208 | <summary> |
1310 | Source file line number (in backend) reporting the error. PostgreSQL 7.4 and up. | 3209 | Gets the backend encoding. Always returns "UTF8". |
1311 | </summary> | 3210 | </summary> |
1312 | </member> | 3211 | </member> |
1313 | <member name="P:Npgsql.NpgsqlError.Routine"> | 3212 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.Timeout"> |
1314 | <summary> | 3213 | <summary> |
1315 | Source routine (in backend) reporting the error. PostgreSQL 7.4 and up. | 3214 | Gets or sets the time to wait while trying to establish a connection |
3215 | before terminating the attempt and generating an error. | ||
1316 | </summary> | 3216 | </summary> |
3217 | <value>The time (in seconds) to wait for a connection to open. The default value is 15 seconds.</value> | ||
1317 | </member> | 3218 | </member> |
1318 | <member name="P:Npgsql.NpgsqlError.ErrorSql"> | 3219 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.SearchPath"> |
1319 | <summary> | 3220 | <summary> |
1320 | String containing the sql sent which produced this error. | 3221 | Gets or sets the schema search path. |
1321 | </summary> | 3222 | </summary> |
1322 | </member> | 3223 | </member> |
1323 | <member name="P:Npgsql.NpgsqlError.BackendProtocolVersion"> | 3224 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.Pooling"> |
1324 | <summary> | 3225 | <summary> |
1325 | Backend protocol version in use. | 3226 | Gets or sets a value indicating whether connection pooling should be used. |
1326 | </summary> | 3227 | </summary> |
1327 | </member> | 3228 | </member> |
1328 | <member name="T:Npgsql.NpgsqlCopyOutState"> | 3229 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.ConnectionLifeTime"> |
1329 | <summary> | 3230 | <summary> |
1330 | Represents an ongoing COPY TO STDOUT operation. | 3231 | Gets or sets the time to wait before closing unused connections in the pool if the count |
1331 | Provides methods to read data from server or end the operation. | 3232 | of all connections exeeds MinPoolSize. |
1332 | </summary> | 3233 | </summary> |
3234 | <remarks> | ||
3235 | If connection pool contains unused connections for ConnectionLifeTime seconds, | ||
3236 | the half of them will be closed. If there will be unused connections in a second | ||
3237 | later then again the half of them will be closed and so on. | ||
3238 | This strategy provide smooth change of connection count in the pool. | ||
3239 | </remarks> | ||
3240 | <value>The time (in seconds) to wait. The default value is 15 seconds.</value> | ||
1333 | </member> | 3241 | </member> |
1334 | <member name="T:Npgsql.NpgsqlState"> | 3242 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.MinPoolSize"> |
1335 | <summary> This class represents the base class for the state pattern design pattern | 3243 | <summary> |
1336 | implementation. | 3244 | Gets or sets the minimum connection pool size. |
1337 | </summary> | 3245 | </summary> |
1338 | |||
1339 | </member> | 3246 | </member> |
1340 | <member name="M:Npgsql.NpgsqlState.ChangeState(Npgsql.NpgsqlConnector,Npgsql.NpgsqlState)"> | 3247 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.MaxPoolSize"> |
1341 | <summary> | 3248 | <summary> |
1342 | This method is used by the states to change the state of the context. | 3249 | Gets or sets the maximum connection pool size. |
1343 | </summary> | 3250 | </summary> |
1344 | </member> | 3251 | </member> |
1345 | <member name="M:Npgsql.NpgsqlState.ProcessBackendResponses(Npgsql.NpgsqlConnector)"> | 3252 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.SyncNotification"> |
1346 | <summary> | 3253 | <summary> |
1347 | This method is responsible to handle all protocol messages sent from the backend. | 3254 | Gets or sets a value indicating whether to listen for notifications and report them between command activity. |
1348 | It holds all the logic to do it. | 3255 | </summary> |
1349 | To exchange data, it uses a Mediator object from which it reads/writes information | ||
1350 | to handle backend requests. | ||
1351 | </summary> | ||
1352 | |||
1353 | </member> | 3256 | </member> |
1354 | <member name="M:Npgsql.NpgsqlState.ProcessBackendResponsesEnum(Npgsql.NpgsqlConnector)"> | 3257 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.CommandTimeout"> |
1355 | <summary> | 3258 | <summary> |
1356 | This method is responsible to handle all protocol messages sent from the backend. | 3259 | Gets the time to wait while trying to execute a command |
1357 | It holds all the logic to do it. | 3260 | before terminating the attempt and generating an error. |
1358 | To exchange data, it uses a Mediator object from which it reads/writes information | 3261 | </summary> |
1359 | to handle backend requests. | 3262 | <value>The time (in seconds) to wait for a command to complete. The default value is 20 seconds.</value> |
1360 | </summary> | ||
1361 | |||
1362 | </member> | 3263 | </member> |
1363 | <member name="M:Npgsql.NpgsqlCopyOutState.StartCopy(Npgsql.NpgsqlConnector,Npgsql.NpgsqlCopyFormat)"> | 3264 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.PreloadReader"> |
1364 | <summary> | 3265 | <summary> |
1365 | Called from NpgsqlState.ProcessBackendResponses upon CopyOutResponse. | 3266 | Gets or sets a value indicating whether datareaders are loaded in their entirety (for compatibility with earlier code). |
1366 | If CopyStream is already set, it is used to write data received from server, after which the copy ends. | ||
1367 | Otherwise CopyStream is set to a readable NpgsqlCopyOutStream that receives data from server. | ||
1368 | </summary> | 3267 | </summary> |
1369 | </member> | 3268 | </member> |
1370 | <member name="M:Npgsql.NpgsqlCopyOutState.GetCopyData(Npgsql.NpgsqlConnector)"> | 3269 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.Compatible"> |
1371 | <summary> | 3270 | <summary> |
1372 | Called from NpgsqlOutStream.Read to read copy data from server. | 3271 | Compatibilty version. When possible, behaviour caused by breaking changes will be preserved |
3272 | if this version is less than that where the breaking change was introduced. | ||
1373 | </summary> | 3273 | </summary> |
1374 | </member> | 3274 | </member> |
1375 | <member name="P:Npgsql.NpgsqlCopyOutState.CopyFormat"> | 3275 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.ApplicationName"> |
1376 | <summary> | 3276 | <summary> |
1377 | Copy format information returned from server. | 3277 | Gets or sets the ootional application name parameter to be sent to the backend during connection initiation. |
1378 | </summary> | 3278 | </summary> |
1379 | </member> | 3279 | </member> |
1380 | <member name="T:NpgsqlTypes.ArrayNativeToBackendTypeConverter"> | 3280 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.AlwaysPrepare"> |
1381 | <summary> | 3281 | <summary> |
1382 | Handles serialisation of .NET array or IEnumeration to pg format. | 3282 | Gets or sets a value indicating whether to silently Prepare() all commands before execution. |
1383 | Arrays of arrays, enumerations of enumerations, arrays of enumerations etc. | ||
1384 | are treated as multi-dimensional arrays (in much the same manner as an array of arrays | ||
1385 | is used to emulate multi-dimensional arrays in languages that lack native support for them). | ||
1386 | If such an enumeration of enumerations is "jagged" (as opposed to rectangular, cuboid, | ||
1387 | hypercuboid, hyperhypercuboid, etc) then this class will "correctly" serialise it, but pg | ||
1388 | will raise an error as it doesn't allow jagged arrays. | ||
1389 | </summary> | 3283 | </summary> |
1390 | </member> | 3284 | </member> |
1391 | <member name="M:NpgsqlTypes.ArrayNativeToBackendTypeConverter.#ctor(NpgsqlTypes.NpgsqlNativeTypeInfo)"> | 3285 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.Item(System.String)"> |
1392 | <summary> | 3286 | <summary> |
1393 | Create an ArrayNativeToBackendTypeConverter with the element converter passed | 3287 | Case insensative accessor for indivual connection string values. |
1394 | </summary> | 3288 | </summary> |
1395 | <param name="elementConverter">The <see cref="T:NpgsqlTypes.NpgsqlNativeTypeInfo"/> that would be used to serialise the element type.</param> | ||
1396 | </member> | 3289 | </member> |
1397 | <member name="M:NpgsqlTypes.ArrayNativeToBackendTypeConverter.FromArray(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 3290 | <member name="M:Npgsql.NpgsqlConnectionStringBuilder.ValueDescription.#ctor(System.Type,System.Boolean,Npgsql.NpgsqlConnectionStringBuilder.ValueNativeToString)"> |
1398 | <summary> | 3291 | <summary> |
1399 | Serialise the enumeration or array. | 3292 | Set both ImplicitDefault and ExplicitDefault to the <paramref name="t"/>'s default value. |
1400 | </summary> | 3293 | </summary> |
3294 | <param name="t"></param> | ||
3295 | <param name="storeInBase"></param> | ||
3296 | <param name="nativeToString"></param> | ||
1401 | </member> | 3297 | </member> |
1402 | <member name="T:NpgsqlTypes.ArrayBackendToNativeTypeConverter"> | 3298 | <member name="M:Npgsql.NpgsqlConnectionStringBuilder.ValueDescription.#ctor(System.IComparable,System.Boolean,Npgsql.NpgsqlConnectionStringBuilder.ValueNativeToString)"> |
1403 | <summary> | 3299 | <summary> |
1404 | Handles parsing of pg arrays into .NET arrays. | 3300 | Set ImplicitDefault to the default value of <paramref name="explicitDefault"/>'s type, |
3301 | and ExplicitDefault to <paramref name="explicitDefault"/>. | ||
1405 | </summary> | 3302 | </summary> |
3303 | <param name="explicitDefault"></param> | ||
3304 | <param name="storeInBase"></param> | ||
3305 | <param name="nativeToString"></param> | ||
1406 | </member> | 3306 | </member> |
1407 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.TokenEnumeration(System.String)"> | 3307 | <member name="T:Npgsql.ProvideClientCertificatesCallback"> |
1408 | <summary> | 3308 | <summary> |
1409 | Takes a string representation of a pg 1-dimensional array | 3309 | Represents the method that allows the application to provide a certificate collection to be used for SSL clien authentication |
1410 | (or a 1-dimensional row within an n-dimensional array) | ||
1411 | and allows enumeration of the string represenations of each items. | ||
1412 | </summary> | 3310 | </summary> |
3311 | <param name="certificates">A <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection">X509CertificateCollection</see> to be filled with one or more client certificates.</param> | ||
1413 | </member> | 3312 | </member> |
1414 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.ArrayChunkEnumeration(System.String)"> | 3313 | <member name="T:Npgsql.ValidateRemoteCertificateCallback"> |
1415 | <summary> | 3314 | <summary> |
1416 | Takes a string representation of a pg n-dimensional array | 3315 | Represents the method that is called to validate the certificate provided by the server during an SSL handshake |
1417 | and allows enumeration of the string represenations of the next | ||
1418 | lower level of rows (which in turn can be taken as (n-1)-dimensional arrays. | ||
1419 | </summary> | 3316 | </summary> |
3317 | <param name="cert">The server's certificate</param> | ||
3318 | <param name="chain">The certificate chain containing the certificate's CA and any intermediate authorities</param> | ||
3319 | <param name="errors">Any errors that were detected</param> | ||
1420 | </member> | 3320 | </member> |
1421 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.RecursiveArrayListEnumeration(System.Collections.ArrayList)"> | 3321 | <member name="T:Npgsql.NpgsqlConnector"> |
1422 | <summary> | 3322 | <summary> |
1423 | Takes an ArrayList which may be an ArrayList of ArrayLists, an ArrayList of ArrayLists of ArrayLists | 3323 | !!! Helper class, for compilation only. |
1424 | and so on and enumerates the items that aren't ArrayLists (the leaf nodes if we think of the ArrayList | 3324 | Connector implements the logic for the Connection Objects to |
1425 | passed as a tree). Simply uses the ArrayLists' own IEnumerators to get that of the next, | 3325 | access the physical connection to the database, and isolate |
1426 | pushing them onto a stack until we hit something that isn't an ArrayList. | 3326 | the application developer from connection pooling internals. |
1427 | <param name="list"><see cref="T:System.Collections.ArrayList">ArrayList</see> to enumerate</param> | ||
1428 | <returns><see cref="T:System.Collections.IEnumerable">IEnumerable</see></returns> | ||
1429 | </summary> | 3327 | </summary> |
1430 | </member> | 3328 | </member> |
1431 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.#ctor(NpgsqlTypes.NpgsqlBackendTypeInfo)"> | 3329 | <member name="M:Npgsql.NpgsqlConnector.#ctor(Npgsql.NpgsqlConnectionStringBuilder,System.Boolean,System.Boolean)"> |
1432 | <summary> | 3330 | <summary> |
1433 | Create a new ArrayBackendToNativeTypeConverter | 3331 | Constructor. |
1434 | </summary> | 3332 | </summary> |
1435 | <param name="elementConverter"><see cref="T:NpgsqlTypes.NpgsqlBackendTypeInfo"/> for the element type.</param> | 3333 | <param name="ConnectionString">Connection string.</param> |
3334 | <param name="Pooled">Pooled</param> | ||
3335 | <param name="Shared">Controls whether the connector can be shared.</param> | ||
1436 | </member> | 3336 | </member> |
1437 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.ToArray(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 3337 | <member name="M:Npgsql.NpgsqlConnector.IsValid"> |
1438 | <summary> | 3338 | <summary> |
1439 | Creates an array from pg representation. | 3339 | This method checks if the connector is still ok. |
3340 | We try to send a simple query text, select 1 as ConnectionTest; | ||
1440 | </summary> | 3341 | </summary> |
1441 | </member> | 3342 | </member> |
1442 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.ToArrayList(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 3343 | <member name="M:Npgsql.NpgsqlConnector.ReleaseResources"> |
1443 | <summary> | 3344 | <summary> |
1444 | Creates an array list from pg represenation of an array. | 3345 | This method is responsible for releasing all resources associated with this Connector. |
1445 | Multidimensional arrays are treated as ArrayLists of ArrayLists | ||
1446 | </summary> | 3346 | </summary> |
1447 | </member> | 3347 | </member> |
1448 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.ToArray(System.Collections.ArrayList,System.Type)"> | 3348 | <member name="M:Npgsql.NpgsqlConnector.ReleasePlansPortals"> |
1449 | <summary> | 3349 | <summary> |
1450 | Creates an n-dimensional array from an ArrayList of ArrayLists or | 3350 | This method is responsible to release all portals used by this Connector. |
1451 | a 1-dimensional array from something else. | ||
1452 | </summary> | 3351 | </summary> |
1453 | <param name="list"><see cref="T:System.Collections.ArrayList"/> to convert</param> | ||
1454 | <returns><see cref="T:System.Array"/> produced.</returns> | ||
1455 | </member> | 3352 | </member> |
1456 | <member name="T:NpgsqlTypes.ArrayBackendToNativeTypeConverter.IntSetIterator"> | 3353 | <member name="M:Npgsql.NpgsqlConnector.DefaultCertificateSelectionCallback(System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Cryptography.X509Certificates.X509Certificate,System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection)"> |
1457 | <summary> | 3354 | <summary> |
1458 | Takes an array of ints and treats them like the limits of a set of counters. | 3355 | Default SSL CertificateSelectionCallback implementation. |
1459 | Retains a matching set of ints that is set to all zeros on the first ++ | ||
1460 | On a ++ it increments the "right-most" int. If that int reaches it's | ||
1461 | limit it is set to zero and the one before it is incremented, and so on. | ||
1462 | |||
1463 | Making this a more general purpose class is pretty straight-forward, but we'll just put what we need here. | ||
1464 | </summary> | 3356 | </summary> |
1465 | </member> | 3357 | </member> |
1466 | <member name="T:Npgsql.NpgsqlParameterStatus"> | 3358 | <member name="M:Npgsql.NpgsqlConnector.DefaultCertificateValidationCallback(System.Security.Cryptography.X509Certificates.X509Certificate,System.Int32[])"> |
1467 | <summary> | 3359 | <summary> |
1468 | This class represents the ParameterStatus message sent from PostgreSQL | 3360 | Default SSL CertificateValidationCallback implementation. |
1469 | server. | 3361 | </summary> |
1470 | </summary> | ||
1471 | |||
1472 | </member> | 3362 | </member> |
1473 | <member name="T:Npgsql.NpgsqlMediator"> | 3363 | <member name="M:Npgsql.NpgsqlConnector.DefaultPrivateKeySelectionCallback(System.Security.Cryptography.X509Certificates.X509Certificate,System.String)"> |
1474 | <summary> | 3364 | <summary> |
1475 | This class is responsible for serving as bridge between the backend | 3365 | Default SSL PrivateKeySelectionCallback implementation. |
1476 | protocol handling and the core classes. It is used as the mediator for | 3366 | </summary> |
1477 | exchanging data generated/sent from/to backend. | ||
1478 | </summary> | ||
1479 | |||
1480 | </member> | 3367 | </member> |
1481 | <member name="T:Npgsql.NpgsqlCommandBuilder"> | 3368 | <member name="M:Npgsql.NpgsqlConnector.DefaultProvideClientCertificatesCallback(System.Security.Cryptography.X509Certificates.X509CertificateCollection)"> |
1482 | <summary> | 3369 | <summary> |
1483 | This class is responsible to create database commands for automatic insert, update and delete operations. | 3370 | Default SSL ProvideClientCertificatesCallback implementation. |
1484 | </summary> | 3371 | </summary> |
1485 | </member> | 3372 | </member> |
1486 | <member name="M:Npgsql.NpgsqlCommandBuilder.DeriveParameters(Npgsql.NpgsqlCommand)"> | 3373 | <member name="M:Npgsql.NpgsqlConnector.DefaultValidateRemoteCertificateCallback(System.Object,System.Security.Cryptography.X509Certificates.X509Certificate,System.Security.Cryptography.X509Certificates.X509Chain,System.Net.Security.SslPolicyErrors)"> |
1487 | <summary> | 3374 | <summary> |
1488 | 3375 | Default SSL ValidateRemoteCertificateCallback implementation. | |
1489 | This method is reponsible to derive the command parameter list with values obtained from function definition. | ||
1490 | It clears the Parameters collection of command. Also, if there is any parameter type which is not supported by Npgsql, an InvalidOperationException will be thrown. | ||
1491 | Parameters name will be parameter1, parameter2, ... | ||
1492 | For while, only parameter name and NpgsqlDbType are obtained. | ||
1493 | </summary> | 3376 | </summary> |
1494 | <param name="command">NpgsqlCommand whose function parameters will be obtained.</param> | ||
1495 | </member> | 3377 | </member> |
1496 | <member name="T:Npgsql.CompletedResponse"> | 3378 | <member name="M:Npgsql.NpgsqlConnector.ProcessServerVersion"> |
1497 | <summary> | 3379 | <summary> |
1498 | Represents a completed response message. | 3380 | This method is required to set all the version dependent features flags. |
3381 | SupportsPrepare means the server can use prepared query plans (7.3+) | ||
1499 | </summary> | 3382 | </summary> |
1500 | </member> | 3383 | </member> |
1501 | <!-- Badly formed XML comment ignored for member "T:Npgsql.IServerResponseObject" --> | 3384 | <member name="M:Npgsql.NpgsqlConnector.Open"> |
1502 | <member name="T:Npgsql.IStreamOwner"> | ||
1503 | <summary> | 3385 | <summary> |
1504 | Marker interface which identifies a class which may take possession of a stream for the duration of | 3386 | Opens the physical connection to the server. |
1505 | it's lifetime (possibly temporarily giving that possession to another class for part of that time. | ||
1506 | |||
1507 | It inherits from IDisposable, since any such class must make sure it leaves the stream in a valid state. | ||
1508 | |||
1509 | The most important such class is that compiler-generated from ProcessBackendResponsesEnum. Of course | ||
1510 | we can't make that inherit from this interface, alas. | ||
1511 | </summary> | 3387 | </summary> |
3388 | <remarks>Usually called by the RequestConnector | ||
3389 | Method of the connection pool manager.</remarks> | ||
1512 | </member> | 3390 | </member> |
1513 | <member name="T:Npgsql.NpgsqlException"> | 3391 | <member name="M:Npgsql.NpgsqlConnector.Close"> |
1514 | <summary> | 3392 | <summary> |
1515 | The exception that is thrown when the PostgreSQL backend reports errors. | 3393 | Closes the physical connection to the server. |
1516 | </summary> | 3394 | </summary> |
1517 | </member> | 3395 | </member> |
1518 | <member name="M:Npgsql.NpgsqlException.#ctor(System.Collections.IList)"> | 3396 | <member name="M:Npgsql.NpgsqlConnector.NextPortalName"> |
1519 | <summary> | 3397 | <summary> |
1520 | Construct a backend error exception based on a list of one or more | 3398 | Returns next portal index. |
1521 | backend errors. The basic Exception.Message will be built from the | ||
1522 | first (usually the only) error in the list. | ||
1523 | </summary> | 3399 | </summary> |
1524 | </member> | 3400 | </member> |
1525 | <member name="M:Npgsql.NpgsqlException.ToString"> | 3401 | <member name="M:Npgsql.NpgsqlConnector.NextPlanName"> |
1526 | <summary> | 3402 | <summary> |
1527 | Format a .NET style exception string. | 3403 | Returns next plan index. |
1528 | Include all errors in the list, including any hints. | ||
1529 | </summary> | 3404 | </summary> |
1530 | </member> | 3405 | </member> |
1531 | <member name="M:Npgsql.NpgsqlException.AppendString(System.IO.StringWriter,System.String,System.String)"> | 3406 | <member name="E:Npgsql.NpgsqlConnector.Notice"> |
1532 | <summary> | 3407 | <summary> |
1533 | Append a line to the given Stream, first checking for zero-length. | 3408 | Occurs on NoticeResponses from the PostgreSQL backend. |
1534 | </summary> | 3409 | </summary> |
1535 | </member> | 3410 | </member> |
1536 | <member name="P:Npgsql.NpgsqlException.Item(System.Int32)"> | 3411 | <member name="E:Npgsql.NpgsqlConnector.Notification"> |
1537 | <summary> | 3412 | <summary> |
1538 | Provide access to the entire list of errors provided by the PostgreSQL backend. | 3413 | Occurs on NotificationResponses from the PostgreSQL backend. |
1539 | </summary> | 3414 | </summary> |
1540 | </member> | 3415 | </member> |
1541 | <member name="P:Npgsql.NpgsqlException.Severity"> | 3416 | <member name="E:Npgsql.NpgsqlConnector.ProvideClientCertificatesCallback"> |
1542 | <summary> | 3417 | <summary> |
1543 | Severity code. All versions. | 3418 | Called to provide client certificates for SSL handshake. |
1544 | </summary> | 3419 | </summary> |
1545 | </member> | 3420 | </member> |
1546 | <member name="P:Npgsql.NpgsqlException.Code"> | 3421 | <member name="E:Npgsql.NpgsqlConnector.CertificateSelectionCallback"> |
1547 | <summary> | 3422 | <summary> |
1548 | Error code. PostgreSQL 7.4 and up. | 3423 | Mono.Security.Protocol.Tls.CertificateSelectionCallback delegate. |
1549 | </summary> | 3424 | </summary> |
1550 | </member> | 3425 | </member> |
1551 | <member name="P:Npgsql.NpgsqlException.BaseMessage"> | 3426 | <member name="E:Npgsql.NpgsqlConnector.CertificateValidationCallback"> |
1552 | <summary> | 3427 | <summary> |
1553 | Basic error message. All versions. | 3428 | Mono.Security.Protocol.Tls.CertificateValidationCallback delegate. |
1554 | </summary> | 3429 | </summary> |
1555 | </member> | 3430 | </member> |
1556 | <member name="P:Npgsql.NpgsqlException.Detail"> | 3431 | <member name="E:Npgsql.NpgsqlConnector.PrivateKeySelectionCallback"> |
1557 | <summary> | 3432 | <summary> |
1558 | Detailed error message. PostgreSQL 7.4 and up. | 3433 | Mono.Security.Protocol.Tls.PrivateKeySelectionCallback delegate. |
1559 | </summary> | 3434 | </summary> |
1560 | </member> | 3435 | </member> |
1561 | <member name="P:Npgsql.NpgsqlException.Hint"> | 3436 | <member name="E:Npgsql.NpgsqlConnector.ValidateRemoteCertificateCallback"> |
1562 | <summary> | 3437 | <summary> |
1563 | Suggestion to help resolve the error. PostgreSQL 7.4 and up. | 3438 | Called to validate server's certificate during SSL handshake |
1564 | </summary> | 3439 | </summary> |
1565 | </member> | 3440 | </member> |
1566 | <member name="P:Npgsql.NpgsqlException.Position"> | 3441 | <member name="P:Npgsql.NpgsqlConnector.State"> |
1567 | <summary> | 3442 | <summary> |
1568 | Position (one based) within the query string where the error was encounterd. PostgreSQL 7.4 and up. | 3443 | Gets the current state of the connection. |
1569 | </summary> | 3444 | </summary> |
1570 | </member> | 3445 | </member> |
1571 | <member name="P:Npgsql.NpgsqlException.Where"> | 3446 | <member name="P:Npgsql.NpgsqlConnector.ConnectionString"> |
1572 | <summary> | 3447 | <summary> |
1573 | Trace back information. PostgreSQL 7.4 and up. | 3448 | Return Connection String. |
1574 | </summary> | 3449 | </summary> |
1575 | </member> | 3450 | </member> |
1576 | <member name="P:Npgsql.NpgsqlException.File"> | 3451 | <member name="P:Npgsql.NpgsqlConnector.ServerVersion"> |
1577 | <summary> | 3452 | <summary> |
1578 | Source file (in backend) reporting the error. PostgreSQL 7.4 and up. | 3453 | Version of backend server this connector is connected to. |
1579 | </summary> | 3454 | </summary> |
1580 | </member> | 3455 | </member> |
1581 | <member name="P:Npgsql.NpgsqlException.Line"> | 3456 | <member name="P:Npgsql.NpgsqlConnector.BackendProtocolVersion"> |
1582 | <summary> | 3457 | <summary> |
1583 | Source file line number (in backend) reporting the error. PostgreSQL 7.4 and up. | 3458 | Backend protocol version in use by this connector. |
1584 | </summary> | 3459 | </summary> |
1585 | </member> | 3460 | </member> |
1586 | <member name="P:Npgsql.NpgsqlException.Routine"> | 3461 | <member name="P:Npgsql.NpgsqlConnector.Socket"> |
1587 | <summary> | 3462 | <summary> |
1588 | Source routine (in backend) reporting the error. PostgreSQL 7.4 and up. | 3463 | The physical connection socket to the backend. |
1589 | </summary> | 3464 | </summary> |
1590 | </member> | 3465 | </member> |
1591 | <member name="P:Npgsql.NpgsqlException.ErrorSql"> | 3466 | <member name="P:Npgsql.NpgsqlConnector.BaseStream"> |
1592 | <summary> | 3467 | <summary> |
1593 | String containing the sql sent which produced this error. | 3468 | The physical connection stream to the backend. |
1594 | </summary> | 3469 | </summary> |
1595 | </member> | 3470 | </member> |
1596 | <member name="P:Npgsql.NpgsqlException.Errors"> | 3471 | <member name="P:Npgsql.NpgsqlConnector.Stream"> |
1597 | <summary> | 3472 | <summary> |
1598 | Returns the entire list of errors provided by the PostgreSQL backend. | 3473 | The top level stream to the backend. |
1599 | </summary> | 3474 | </summary> |
1600 | </member> | 3475 | </member> |
1601 | <member name="T:Npgsql.LogLevel"> | 3476 | <member name="P:Npgsql.NpgsqlConnector.IsInitialized"> |
1602 | <summary> | 3477 | <summary> |
1603 | The level of verbosity of the NpgsqlEventLog | 3478 | Reports if this connector is fully connected. |
1604 | </summary> | 3479 | </summary> |
1605 | </member> | 3480 | </member> |
1606 | <member name="F:Npgsql.LogLevel.None"> | 3481 | <member name="P:Npgsql.NpgsqlConnector.Mediator"> |
1607 | <summary> | 3482 | <summary> |
1608 | Don't log at all | 3483 | The connection mediator. |
1609 | </summary> | 3484 | </summary> |
1610 | </member> | 3485 | </member> |
1611 | <member name="F:Npgsql.LogLevel.Normal"> | 3486 | <member name="P:Npgsql.NpgsqlConnector.Transaction"> |
1612 | <summary> | 3487 | <summary> |
1613 | Only log the most common issues | 3488 | Report if the connection is in a transaction. |
1614 | </summary> | 3489 | </summary> |
1615 | </member> | 3490 | </member> |
1616 | <member name="F:Npgsql.LogLevel.Debug"> | 3491 | <member name="P:Npgsql.NpgsqlConnector.SupportsPrepare"> |
1617 | <summary> | 3492 | <summary> |
1618 | Log everything | 3493 | Report whether the current connection can support prepare functionality. |
1619 | </summary> | 3494 | </summary> |
1620 | </member> | 3495 | </member> |
1621 | <member name="T:Npgsql.NpgsqlEventLog"> | 3496 | <member name="P:Npgsql.NpgsqlConnector.NativeToBackendTypeConverterOptions"> |
1622 | <summary> | 3497 | <summary> |
1623 | This class handles all the Npgsql event and debug logging | 3498 | Options that control certain aspects of native to backend conversions that depend |
3499 | on backend version and status. | ||
1624 | </summary> | 3500 | </summary> |
1625 | </member> | 3501 | </member> |
1626 | <member name="M:Npgsql.NpgsqlEventLog.LogMsg(System.String,Npgsql.LogLevel)"> | 3502 | <member name="T:Npgsql.NpgsqlConnectorPool"> |
1627 | <summary> | 3503 | <summary> |
1628 | Writes a string to the Npgsql event log if msglevel is bigger then <see cref="P:Npgsql.NpgsqlEventLog.Level">NpgsqlEventLog.Level</see> | 3504 | This class manages all connector objects, pooled AND non-pooled. |
1629 | </summary> | 3505 | </summary> |
1630 | <remarks> | ||
1631 | This method is obsolete and should no longer be used. | ||
1632 | It is likely to be removed in future versions of Npgsql | ||
1633 | </remarks> | ||
1634 | <param name="message">The message to write to the event log</param> | ||
1635 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
1636 | </member> | 3506 | </member> |
1637 | <member name="M:Npgsql.NpgsqlEventLog.LogMsg(System.Resources.ResourceManager,System.String,Npgsql.LogLevel,System.Object[])"> | 3507 | <member name="F:Npgsql.NpgsqlConnectorPool.ConnectorPoolMgr"> |
3508 | <value>Unique static instance of the connector pool | ||
3509 | mamager.</value> | ||
3510 | </member> | ||
3511 | <member name="F:Npgsql.NpgsqlConnectorPool.PooledConnectors"> | ||
3512 | <value>Map of index to unused pooled connectors, avaliable to the | ||
3513 | next RequestConnector() call.</value> | ||
3514 | <remarks>This hashmap will be indexed by connection string. | ||
3515 | This key will hold a list of queues of pooled connectors available to be used.</remarks> | ||
3516 | </member> | ||
3517 | <member name="F:Npgsql.NpgsqlConnectorPool.Timer"> | ||
3518 | <value>Timer for tracking unused connections in pools.</value> | ||
3519 | </member> | ||
3520 | <member name="M:Npgsql.NpgsqlConnectorPool.RequestConnector(Npgsql.NpgsqlConnection)"> | ||
1638 | <summary> | 3521 | <summary> |
1639 | Writes a string to the Npgsql event log if msglevel is bigger then <see cref="P:Npgsql.NpgsqlEventLog.Level">NpgsqlEventLog.Level</see> | 3522 | Searches the shared and pooled connector lists for a |
3523 | matching connector object or creates a new one. | ||
1640 | </summary> | 3524 | </summary> |
1641 | <param name="resman">The <see cref="T:System.Resources.ResourceManager">ResourceManager</see> to get the localized resources</param> | 3525 | <param name="Connection">The NpgsqlConnection that is requesting |
1642 | <param name="ResourceString">The name of the resource that should be fetched by the <see cref="T:System.Resources.ResourceManager">ResourceManager</see></param> | 3526 | the connector. Its ConnectionString will be used to search the |
1643 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | 3527 | pool for available connectors.</param> |
1644 | <param name="Parameters">The additional parameters that shall be included into the log-message (must be compatible with the string in the resource):</param> | 3528 | <returns>A connector object.</returns> |
1645 | </member> | 3529 | </member> |
1646 | <member name="M:Npgsql.NpgsqlEventLog.LogIndexerGet(Npgsql.LogLevel,System.String,System.Object)"> | 3530 | <member name="M:Npgsql.NpgsqlConnectorPool.RequestPooledConnectorInternal(Npgsql.NpgsqlConnection)"> |
1647 | <summary> | 3531 | <summary> |
1648 | Writes the default log-message for the action of calling the Get-part of an Indexer to the log file. | 3532 | Find a pooled connector. Handle shared/non-shared here. |
1649 | </summary> | 3533 | </summary> |
1650 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
1651 | <param name="ClassName">The name of the class that contains the Indexer</param> | ||
1652 | <param name="IndexerParam">The parameter given to the Indexer</param> | ||
1653 | </member> | 3534 | </member> |
1654 | <member name="M:Npgsql.NpgsqlEventLog.LogIndexerSet(Npgsql.LogLevel,System.String,System.Object,System.Object)"> | 3535 | <member name="M:Npgsql.NpgsqlConnectorPool.ReleaseConnector(Npgsql.NpgsqlConnection,Npgsql.NpgsqlConnector)"> |
1655 | <summary> | 3536 | <summary> |
1656 | Writes the default log-message for the action of calling the Set-part of an Indexer to the logfile. | 3537 | Releases a connector, possibly back to the pool for future use. |
1657 | </summary> | 3538 | </summary> |
1658 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | 3539 | <remarks> |
1659 | <param name="ClassName">The name of the class that contains the Indexer</param> | 3540 | Pooled connectors will be put back into the pool if there is room. |
1660 | <param name="IndexerParam">The parameter given to the Indexer</param> | 3541 | Shared connectors should just have their use count decremented |
1661 | <param name="value">The value the Indexer is set to</param> | 3542 | since they always stay in the shared pool. |
3543 | </remarks> | ||
3544 | <param name="Connection">Connection to which the connector is leased.</param> | ||
3545 | <param name="Connector">The connector to release.</param> | ||
1662 | </member> | 3546 | </member> |
1663 | <member name="M:Npgsql.NpgsqlEventLog.LogPropertyGet(Npgsql.LogLevel,System.String,System.String)"> | 3547 | <member name="M:Npgsql.NpgsqlConnectorPool.ReleaseConnectorInternal(Npgsql.NpgsqlConnection,Npgsql.NpgsqlConnector)"> |
1664 | <summary> | 3548 | <summary> |
1665 | Writes the default log-message for the action of calling the Get-part of a Property to the logfile. | 3549 | Release a pooled connector. Handle shared/non-shared here. |
1666 | </summary> | 3550 | </summary> |
1667 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
1668 | <param name="ClassName">The name of the class that contains the Property</param> | ||
1669 | <param name="PropertyName">The name of the Property</param> | ||
1670 | </member> | 3551 | </member> |
1671 | <member name="M:Npgsql.NpgsqlEventLog.LogPropertySet(Npgsql.LogLevel,System.String,System.String,System.Object)"> | 3552 | <member name="M:Npgsql.NpgsqlConnectorPool.GetPooledConnector(Npgsql.NpgsqlConnection)"> |
1672 | <summary> | 3553 | <summary> |
1673 | Writes the default log-message for the action of calling the Set-part of a Property to the logfile. | 3554 | Find an available pooled connector in the non-shared pool, or create |
3555 | a new one if none found. | ||
1674 | </summary> | 3556 | </summary> |
1675 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
1676 | <param name="ClassName">The name of the class that contains the Property</param> | ||
1677 | <param name="PropertyName">The name of the Property</param> | ||
1678 | <param name="value">The value the Property is set to</param> | ||
1679 | </member> | 3557 | </member> |
1680 | <member name="M:Npgsql.NpgsqlEventLog.LogMethodEnter(Npgsql.LogLevel,System.String,System.String)"> | 3558 | <member name="M:Npgsql.NpgsqlConnectorPool.UngetConnector(Npgsql.NpgsqlConnection,Npgsql.NpgsqlConnector)"> |
1681 | <summary> | 3559 | <summary> |
1682 | Writes the default log-message for the action of calling a Method without Arguments to the logfile. | 3560 | Put a pooled connector into the pool queue. |
1683 | </summary> | 3561 | </summary> |
1684 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | 3562 | <param name="Connection">Connection <paramref name="Connector"/> is leased to.</param> |
1685 | <param name="ClassName">The name of the class that contains the Method</param> | 3563 | <param name="Connector">Connector to pool</param> |
1686 | <param name="MethodName">The name of the Method</param> | ||
1687 | </member> | 3564 | </member> |
1688 | <member name="M:Npgsql.NpgsqlEventLog.LogMethodEnter(Npgsql.LogLevel,System.String,System.String,System.Object)"> | 3565 | <member name="T:Npgsql.NpgsqlConnectorPool.ConnectorQueue"> |
1689 | <summary> | 3566 | <summary> |
1690 | Writes the default log-message for the action of calling a Method with one Argument to the logfile. | 3567 | A queue with an extra Int32 for keeping track of busy connections. |
1691 | </summary> | 3568 | </summary> |
1692 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
1693 | <param name="ClassName">The name of the class that contains the Method</param> | ||
1694 | <param name="MethodName">The name of the Method</param> | ||
1695 | <param name="MethodParameter">The value of the Argument of the Method</param> | ||
1696 | </member> | 3569 | </member> |
1697 | <member name="M:Npgsql.NpgsqlEventLog.LogMethodEnter(Npgsql.LogLevel,System.String,System.String,System.Object,System.Object)"> | 3570 | <member name="F:Npgsql.NpgsqlConnectorPool.ConnectorQueue.Available"> |
1698 | <summary> | 3571 | <summary> |
1699 | Writes the default log-message for the action of calling a Method with two Arguments to the logfile. | 3572 | Connections available to the end user |
1700 | </summary> | 3573 | </summary> |
1701 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
1702 | <param name="ClassName">The name of the class that contains the Method</param> | ||
1703 | <param name="MethodName">The name of the Method</param> | ||
1704 | <param name="MethodParameter1">The value of the first Argument of the Method</param> | ||
1705 | <param name="MethodParameter2">The value of the second Argument of the Method</param> | ||
1706 | </member> | 3574 | </member> |
1707 | <member name="M:Npgsql.NpgsqlEventLog.LogMethodEnter(Npgsql.LogLevel,System.String,System.String,System.Object,System.Object,System.Object)"> | 3575 | <member name="F:Npgsql.NpgsqlConnectorPool.ConnectorQueue.Busy"> |
1708 | <summary> | 3576 | <summary> |
1709 | Writes the default log-message for the action of calling a Method with three Arguments to the logfile. | 3577 | Connections currently in use |
1710 | </summary> | 3578 | </summary> |
1711 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
1712 | <param name="ClassName">The name of the class that contains the Method</param> | ||
1713 | <param name="MethodName">The name of the Method</param> | ||
1714 | <param name="MethodParameter1">The value of the first Argument of the Method</param> | ||
1715 | <param name="MethodParameter2">The value of the second Argument of the Method</param> | ||
1716 | <param name="MethodParameter3">The value of the third Argument of the Method</param> | ||
1717 | </member> | 3579 | </member> |
1718 | <member name="M:Npgsql.NpgsqlEventLog.LogMethodEnter(Npgsql.LogLevel,System.String,System.String,System.Object[])"> | 3580 | <member name="T:Npgsql.NpgsqlCopyFormat"> |
1719 | <summary> | 3581 | <summary> |
1720 | Writes the default log-message for the action of calling a Method with more than three Arguments to the logfile. | 3582 | Represents information about COPY operation data transfer format as returned by server. |
1721 | </summary> | 3583 | </summary> |
1722 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
1723 | <param name="ClassName">The name of the class that contains the Method</param> | ||
1724 | <param name="MethodName">The name of the Method</param> | ||
1725 | <param name="MethodParameters">A <see cref="T:System.Object">Object</see>-Array with zero or more Ojects that are Arguments of the Method.</param> | ||
1726 | </member> | 3584 | </member> |
1727 | <member name="P:Npgsql.NpgsqlEventLog.Level"> | 3585 | <member name="M:Npgsql.NpgsqlCopyFormat.#ctor(System.Byte,System.Int16[])"> |
1728 | <summary> | 3586 | <summary> |
1729 | Sets/Returns the level of information to log to the logfile. | 3587 | Only created when a CopyInResponse or CopyOutResponse is received by NpgsqlState.ProcessBackendResponses() |
1730 | </summary> | 3588 | </summary> |
1731 | <value>The current <see cref="T:Npgsql.LogLevel">LogLevel</see></value> | ||
1732 | </member> | 3589 | </member> |
1733 | <member name="P:Npgsql.NpgsqlEventLog.LogName"> | 3590 | <member name="M:Npgsql.NpgsqlCopyFormat.FieldIsBinary(System.Int32)"> |
1734 | <summary> | 3591 | <summary> |
1735 | Sets/Returns the filename to use for logging. | 3592 | Returns true if this operation is currently active and field at given location is in binary format. |
1736 | </summary> | 3593 | </summary> |
1737 | <value>The filename of the current Log file.</value> | ||
1738 | </member> | 3594 | </member> |
1739 | <member name="P:Npgsql.NpgsqlEventLog.EchoMessages"> | 3595 | <member name="P:Npgsql.NpgsqlCopyFormat.IsBinary"> |
1740 | <summary> | 3596 | <summary> |
1741 | Sets/Returns whether Log messages should be echoed to the console | 3597 | Returns true if this operation is currently active and in binary format. |
1742 | </summary> | 3598 | </summary> |
1743 | <value><b>true</b> if Log messages are echoed to the console, otherwise <b>false</b></value> | ||
1744 | </member> | 3599 | </member> |
1745 | <member name="T:Npgsql.NpgsqlDescribe"> | 3600 | <member name="P:Npgsql.NpgsqlCopyFormat.FieldCount"> |
1746 | <summary> | 3601 | <summary> |
1747 | This class represents the Parse message sent to PostgreSQL | 3602 | Returns number of fields if this operation is currently active, otherwise -1 |
1748 | server. | 3603 | </summary> |
1749 | </summary> | ||
1750 | |||
1751 | </member> | 3604 | </member> |
1752 | <member name="T:Npgsql.NpgsqlCopyIn"> | 3605 | <member name="T:Npgsql.NpgsqlCopyIn"> |
1753 | <summary> | 3606 | <summary> |
@@ -1829,305 +3682,215 @@ | |||
1829 | Set before a COPY IN query to define size of internal buffer for reading from given CopyStream. | 3682 | Set before a COPY IN query to define size of internal buffer for reading from given CopyStream. |
1830 | </summary> | 3683 | </summary> |
1831 | </member> | 3684 | </member> |
1832 | <member name="T:Npgsql.NpgsqlCopyFormat"> | 3685 | <member name="T:Npgsql.NpgsqlCopyInState"> |
1833 | <summary> | ||
1834 | Represents information about COPY operation data transfer format as returned by server. | ||
1835 | </summary> | ||
1836 | </member> | ||
1837 | <member name="M:Npgsql.NpgsqlCopyFormat.#ctor(System.Byte,System.Int16[])"> | ||
1838 | <summary> | ||
1839 | Only created when a CopyInResponse or CopyOutResponse is received by NpgsqlState.ProcessBackendResponses() | ||
1840 | </summary> | ||
1841 | </member> | ||
1842 | <member name="M:Npgsql.NpgsqlCopyFormat.FieldIsBinary(System.Int32)"> | ||
1843 | <summary> | ||
1844 | Returns true if this operation is currently active and field at given location is in binary format. | ||
1845 | </summary> | ||
1846 | </member> | ||
1847 | <member name="P:Npgsql.NpgsqlCopyFormat.IsBinary"> | ||
1848 | <summary> | ||
1849 | Returns true if this operation is currently active and in binary format. | ||
1850 | </summary> | ||
1851 | </member> | ||
1852 | <member name="P:Npgsql.NpgsqlCopyFormat.FieldCount"> | ||
1853 | <summary> | ||
1854 | Returns number of fields if this operation is currently active, otherwise -1 | ||
1855 | </summary> | ||
1856 | </member> | ||
1857 | <!-- Badly formed XML comment ignored for member "P:Npgsql.Cache`1.CacheSize" --> | ||
1858 | <member name="P:Npgsql.Cache`1.Item(System.String)"> | ||
1859 | <returns></returns> | ||
1860 | </member> | ||
1861 | <member name="T:NpgsqlTypes.BasicBackendToNativeTypeConverter"> | ||
1862 | <summary> | ||
1863 | Provide event handlers to convert all native supported basic data types from their backend | ||
1864 | text representation to a .NET object. | ||
1865 | </summary> | ||
1866 | </member> | ||
1867 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToBinary(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | ||
1868 | <summary> | ||
1869 | Binary data. | ||
1870 | </summary> | ||
1871 | </member> | ||
1872 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToBoolean(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | ||
1873 | <summary> | ||
1874 | Convert a postgresql boolean to a System.Boolean. | ||
1875 | </summary> | ||
1876 | </member> | ||
1877 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToBit(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | ||
1878 | <summary> | ||
1879 | Convert a postgresql bit to a System.Boolean. | ||
1880 | </summary> | ||
1881 | </member> | ||
1882 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToDateTime(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | ||
1883 | <summary> | ||
1884 | Convert a postgresql datetime to a System.DateTime. | ||
1885 | </summary> | ||
1886 | </member> | ||
1887 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToDate(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | ||
1888 | <summary> | ||
1889 | Convert a postgresql date to a System.DateTime. | ||
1890 | </summary> | ||
1891 | </member> | ||
1892 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToTime(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | ||
1893 | <summary> | ||
1894 | Convert a postgresql time to a System.DateTime. | ||
1895 | </summary> | ||
1896 | </member> | ||
1897 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToMoney(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | ||
1898 | <summary> | ||
1899 | Convert a postgresql money to a System.Decimal. | ||
1900 | </summary> | ||
1901 | </member> | ||
1902 | <member name="T:NpgsqlTypes.BasicNativeToBackendTypeConverter"> | ||
1903 | <summary> | ||
1904 | Provide event handlers to convert the basic native supported data types from | ||
1905 | native form to backend representation. | ||
1906 | </summary> | ||
1907 | </member> | ||
1908 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToBinary(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | ||
1909 | <summary> | ||
1910 | Binary data. | ||
1911 | </summary> | ||
1912 | </member> | ||
1913 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToBoolean(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | ||
1914 | <summary> | 3686 | <summary> |
1915 | Convert to a postgresql boolean. | 3687 | Represents an ongoing COPY FROM STDIN operation. |
3688 | Provides methods to push data to server and end or cancel the operation. | ||
1916 | </summary> | 3689 | </summary> |
1917 | </member> | 3690 | </member> |
1918 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToBit(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 3691 | <member name="M:Npgsql.NpgsqlCopyInState.StartCopy(Npgsql.NpgsqlConnector,Npgsql.NpgsqlCopyFormat)"> |
1919 | <summary> | 3692 | <summary> |
1920 | Convert to a postgresql bit. | 3693 | Called from NpgsqlState.ProcessBackendResponses upon CopyInResponse. |
3694 | If CopyStream is already set, it is used to read data to push to server, after which the copy is completed. | ||
3695 | Otherwise CopyStream is set to a writable NpgsqlCopyInStream that calls SendCopyData each time it is written to. | ||
1921 | </summary> | 3696 | </summary> |
1922 | </member> | 3697 | </member> |
1923 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToDateTime(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 3698 | <member name="M:Npgsql.NpgsqlCopyInState.SendCopyData(Npgsql.NpgsqlConnector,System.Byte[],System.Int32,System.Int32)"> |
1924 | <summary> | 3699 | <summary> |
1925 | Convert to a postgresql timestamp. | 3700 | Sends given packet to server as a CopyData message. |
3701 | Does not check for notifications! Use another thread for that. | ||
1926 | </summary> | 3702 | </summary> |
1927 | </member> | 3703 | </member> |
1928 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToDate(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 3704 | <member name="M:Npgsql.NpgsqlCopyInState.SendCopyDone(Npgsql.NpgsqlConnector)"> |
1929 | <summary> | 3705 | <summary> |
1930 | Convert to a postgresql date. | 3706 | Sends CopyDone message to server. Handles responses, ie. may throw an exception. |
1931 | </summary> | 3707 | </summary> |
1932 | </member> | 3708 | </member> |
1933 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToTime(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 3709 | <member name="M:Npgsql.NpgsqlCopyInState.SendCopyFail(Npgsql.NpgsqlConnector,System.String)"> |
1934 | <summary> | 3710 | <summary> |
1935 | Convert to a postgresql time. | 3711 | Sends CopyFail message to server. Handles responses, ie. should always throw an exception: |
3712 | in CopyIn state the server responds to CopyFail with an error response; | ||
3713 | outside of a CopyIn state the server responds to CopyFail with an error response; | ||
3714 | without network connection or whatever, there's going to eventually be a failure, timeout or user intervention. | ||
1936 | </summary> | 3715 | </summary> |
1937 | </member> | 3716 | </member> |
1938 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToMoney(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 3717 | <member name="P:Npgsql.NpgsqlCopyInState.CopyFormat"> |
1939 | <summary> | 3718 | <summary> |
1940 | Convert to a postgres money. | 3719 | Copy format information returned from server. |
1941 | </summary> | 3720 | </summary> |
1942 | </member> | 3721 | </member> |
1943 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToSingleDouble(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 3722 | <member name="T:Npgsql.NpgsqlCopyInStream"> |
1944 | <summary> | 3723 | <summary> |
1945 | Convert to a postgres double with maximum precision. | 3724 | Stream for writing data to a table on a PostgreSQL version 7.4 or newer database during an active COPY FROM STDIN operation. |
3725 | <b>Passes data exactly as is and when given</b>, so see to it that you use server encoding, correct format and reasonably sized writes! | ||
1946 | </summary> | 3726 | </summary> |
1947 | </member> | 3727 | </member> |
1948 | <member name="T:NpgsqlTypes.ExtendedBackendToNativeTypeConverter"> | 3728 | <member name="M:Npgsql.NpgsqlCopyInStream.#ctor(Npgsql.NpgsqlConnector)"> |
1949 | <summary> | 3729 | <summary> |
1950 | Provide event handlers to convert extended native supported data types from their backend | 3730 | Created only by NpgsqlCopyInState.StartCopy() |
1951 | text representation to a .NET object. | ||
1952 | </summary> | 3731 | </summary> |
1953 | </member> | 3732 | </member> |
1954 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToPoint(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 3733 | <member name="M:Npgsql.NpgsqlCopyInStream.Close"> |
1955 | <summary> | 3734 | <summary> |
1956 | Convert a postgresql point to a System.NpgsqlPoint. | 3735 | Successfully completes copying data to server. Returns after operation is finished. |
3736 | Does nothing if this stream is not the active copy operation writer. | ||
1957 | </summary> | 3737 | </summary> |
1958 | </member> | 3738 | </member> |
1959 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToBox(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 3739 | <member name="M:Npgsql.NpgsqlCopyInStream.Cancel(System.String)"> |
1960 | <summary> | 3740 | <summary> |
1961 | Convert a postgresql point to a System.RectangleF. | 3741 | Withdraws an already started copy operation. The operation will fail with given error message. |
3742 | Does nothing if this stream is not the active copy operation writer. | ||
1962 | </summary> | 3743 | </summary> |
1963 | </member> | 3744 | </member> |
1964 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToLSeg(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 3745 | <member name="M:Npgsql.NpgsqlCopyInStream.Write(System.Byte[],System.Int32,System.Int32)"> |
1965 | <summary> | 3746 | <summary> |
1966 | LDeg. | 3747 | Writes given bytes to server. |
3748 | Fails if this stream is not the active copy operation writer. | ||
1967 | </summary> | 3749 | </summary> |
1968 | </member> | 3750 | </member> |
1969 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToPath(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 3751 | <member name="M:Npgsql.NpgsqlCopyInStream.Flush"> |
1970 | <summary> | 3752 | <summary> |
1971 | Path. | 3753 | Flushes stream contents to server. |
3754 | Fails if this stream is not the active copy operation writer. | ||
1972 | </summary> | 3755 | </summary> |
1973 | </member> | 3756 | </member> |
1974 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToPolygon(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 3757 | <member name="M:Npgsql.NpgsqlCopyInStream.Read(System.Byte[],System.Int32,System.Int32)"> |
1975 | <summary> | 3758 | <summary> |
1976 | Polygon. | 3759 | Not readable |
1977 | </summary> | 3760 | </summary> |
1978 | </member> | 3761 | </member> |
1979 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToCircle(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 3762 | <member name="M:Npgsql.NpgsqlCopyInStream.Seek(System.Int64,System.IO.SeekOrigin)"> |
1980 | <summary> | 3763 | <summary> |
1981 | Circle. | 3764 | Not seekable |
1982 | </summary> | 3765 | </summary> |
1983 | </member> | 3766 | </member> |
1984 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToInet(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 3767 | <member name="M:Npgsql.NpgsqlCopyInStream.SetLength(System.Int64)"> |
1985 | <summary> | 3768 | <summary> |
1986 | Inet. | 3769 | Not supported |
1987 | </summary> | 3770 | </summary> |
1988 | </member> | 3771 | </member> |
1989 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToMacAddress(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 3772 | <member name="P:Npgsql.NpgsqlCopyInStream.IsActive"> |
1990 | <summary> | 3773 | <summary> |
1991 | MAC Address. | 3774 | True while this stream can be used to write copy data to server |
1992 | </summary> | 3775 | </summary> |
1993 | </member> | 3776 | </member> |
1994 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToInterval(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 3777 | <member name="P:Npgsql.NpgsqlCopyInStream.CanRead"> |
1995 | <summary> | 3778 | <summary> |
1996 | interval | 3779 | False |
1997 | </summary> | 3780 | </summary> |
1998 | </member> | 3781 | </member> |
1999 | <member name="T:NpgsqlTypes.ExtendedNativeToBackendTypeConverter"> | 3782 | <member name="P:Npgsql.NpgsqlCopyInStream.CanWrite"> |
2000 | <summary> | 3783 | <summary> |
2001 | Provide event handlers to convert extended native supported data types from | 3784 | True |
2002 | native form to backend representation. | ||
2003 | </summary> | 3785 | </summary> |
2004 | </member> | 3786 | </member> |
2005 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToPoint(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 3787 | <member name="P:Npgsql.NpgsqlCopyInStream.CanSeek"> |
2006 | <summary> | 3788 | <summary> |
2007 | Point. | 3789 | False |
2008 | </summary> | 3790 | </summary> |
2009 | </member> | 3791 | </member> |
2010 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToBox(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 3792 | <member name="P:Npgsql.NpgsqlCopyInStream.Length"> |
2011 | <summary> | 3793 | <summary> |
2012 | Box. | 3794 | Number of bytes written so far |
2013 | </summary> | 3795 | </summary> |
2014 | </member> | 3796 | </member> |
2015 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToLSeg(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 3797 | <member name="P:Npgsql.NpgsqlCopyInStream.Position"> |
2016 | <summary> | 3798 | <summary> |
2017 | LSeg. | 3799 | Number of bytes written so far; not settable |
2018 | </summary> | 3800 | </summary> |
2019 | </member> | 3801 | </member> |
2020 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToPath(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 3802 | <member name="T:Npgsql.NpgsqlCopyOut"> |
2021 | <summary> | 3803 | <summary> |
2022 | Open path. | 3804 | Represents a PostgreSQL COPY TO STDOUT operation with a corresponding SQL statement |
3805 | to execute against a PostgreSQL database | ||
3806 | and an associated stream used to write results to (if provided by user) | ||
3807 | or for reading the results (when generated by driver). | ||
3808 | Eg. new NpgsqlCopyOut("COPY (SELECT * FROM mytable) TO STDOUT", connection, streamToWrite).Start(); | ||
2023 | </summary> | 3809 | </summary> |
2024 | </member> | 3810 | </member> |
2025 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToPolygon(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 3811 | <member name="M:Npgsql.NpgsqlCopyOut.#ctor(System.String,Npgsql.NpgsqlConnection)"> |
2026 | <summary> | 3812 | <summary> |
2027 | Polygon. | 3813 | Creates NpgsqlCommand to run given query upon Start(), after which CopyStream provides data from database as requested in the query. |
2028 | </summary> | 3814 | </summary> |
2029 | </member> | 3815 | </member> |
2030 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToMacAddress(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 3816 | <member name="M:Npgsql.NpgsqlCopyOut.#ctor(Npgsql.NpgsqlCommand,Npgsql.NpgsqlConnection)"> |
2031 | <summary> | 3817 | <summary> |
2032 | Convert to a postgres MAC Address. | 3818 | Given command is run upon Start(), after which CopyStream provides data from database as requested in the query. |
2033 | </summary> | 3819 | </summary> |
2034 | </member> | 3820 | </member> |
2035 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToCircle(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 3821 | <member name="M:Npgsql.NpgsqlCopyOut.#ctor(Npgsql.NpgsqlCommand,Npgsql.NpgsqlConnection,System.IO.Stream)"> |
2036 | <summary> | 3822 | <summary> |
2037 | Circle. | 3823 | Given command is executed upon Start() and all requested copy data is written to toStream immediately. |
2038 | </summary> | 3824 | </summary> |
2039 | </member> | 3825 | </member> |
2040 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToIPAddress(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 3826 | <member name="M:Npgsql.NpgsqlCopyOut.FieldIsBinary(System.Int32)"> |
2041 | <summary> | 3827 | <summary> |
2042 | Convert to a postgres inet. | 3828 | Returns true if this operation is currently active and field at given location is in binary format. |
2043 | </summary> | 3829 | </summary> |
2044 | </member> | 3830 | </member> |
2045 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToInterval(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 3831 | <member name="M:Npgsql.NpgsqlCopyOut.Start"> |
2046 | <summary> | 3832 | <summary> |
2047 | Convert to a postgres interval | 3833 | Command specified upon creation is executed as a non-query. |
3834 | If CopyStream is set upon creation, all copy data from server will be written to it, and operation will be finished immediately. | ||
3835 | Otherwise the CopyStream member can be used for reading copy data from server until no more data is available. | ||
2048 | </summary> | 3836 | </summary> |
2049 | </member> | 3837 | </member> |
2050 | <member name="T:Npgsql.NpgsqlNotificationEventArgs"> | 3838 | <member name="M:Npgsql.NpgsqlCopyOut.End"> |
2051 | <summary> | 3839 | <summary> |
2052 | EventArgs class to send Notification parameters. | 3840 | Flush generated CopyStream at once. Effectively reads and discard all the rest of copy data from server. |
2053 | </summary> | 3841 | </summary> |
2054 | </member> | 3842 | </member> |
2055 | <member name="F:Npgsql.NpgsqlNotificationEventArgs.PID"> | 3843 | <member name="P:Npgsql.NpgsqlCopyOut.IsActive"> |
2056 | <summary> | 3844 | <summary> |
2057 | Process ID of the PostgreSQL backend that sent this notification. | 3845 | Returns true if the connection is currently reserved for this operation. |
2058 | </summary> | 3846 | </summary> |
2059 | </member> | 3847 | </member> |
2060 | <member name="F:Npgsql.NpgsqlNotificationEventArgs.Condition"> | 3848 | <member name="P:Npgsql.NpgsqlCopyOut.CopyStream"> |
2061 | <summary> | 3849 | <summary> |
2062 | Condition that triggered that notification. | 3850 | The stream provided by user or generated upon Start() |
2063 | </summary> | 3851 | </summary> |
2064 | </member> | 3852 | </member> |
2065 | <member name="F:Npgsql.NpgsqlNotificationEventArgs.AdditionalInformation"> | 3853 | <member name="P:Npgsql.NpgsqlCopyOut.NpgsqlCommand"> |
2066 | <summary> | 3854 | <summary> |
2067 | Additional Information From Notifiying Process (for future use, currently postgres always sets this to an empty string) | 3855 | The Command used to execute this copy operation. |
2068 | </summary> | 3856 | </summary> |
2069 | </member> | 3857 | </member> |
2070 | <member name="M:Npgsql.NpgsqlClosedState.ResolveIPHost(System.String)"> | 3858 | <member name="P:Npgsql.NpgsqlCopyOut.IsBinary"> |
2071 | <summary> | 3859 | <summary> |
2072 | Resolve a host name or IP address. | 3860 | Returns true if this operation is currently active and in binary format. |
2073 | This is needed because if you call Dns.Resolve() with an IP address, it will attempt | ||
2074 | to resolve it as a host name, when it should just convert it to an IP address. | ||
2075 | </summary> | 3861 | </summary> |
2076 | <param name="HostName"></param> | ||
2077 | </member> | 3862 | </member> |
2078 | <member name="T:Npgsql.NpgsqlRowDescription"> | 3863 | <member name="P:Npgsql.NpgsqlCopyOut.FieldCount"> |
2079 | <summary> | ||
2080 | This class represents a RowDescription message sent from | ||
2081 | the PostgreSQL. | ||
2082 | </summary> | ||
2083 | |||
2084 | </member> | ||
2085 | <member name="T:Npgsql.NpgsqlRowDescription.FieldData"> | ||
2086 | <summary> | 3864 | <summary> |
2087 | This struct represents the internal data of the RowDescription message. | 3865 | Returns number of fields if this operation is currently active, otherwise -1 |
2088 | </summary> | 3866 | </summary> |
2089 | </member> | 3867 | </member> |
2090 | <member name="T:Npgsql.NpgsqlParse"> | 3868 | <member name="P:Npgsql.NpgsqlCopyOut.Read"> |
2091 | <summary> | ||
2092 | This class represents the Parse message sent to PostgreSQL | ||
2093 | server. | ||
2094 | </summary> | ||
2095 | |||
2096 | </member> | ||
2097 | <member name="T:Npgsql.NpgsqlFactory"> | ||
2098 | <summary> | 3869 | <summary> |
2099 | A factory to create instances of various Npgsql objects. | 3870 | Faster alternative to using the generated CopyStream. |
2100 | </summary> | 3871 | </summary> |
2101 | </member> | 3872 | </member> |
2102 | <member name="M:Npgsql.NpgsqlFactory.CreateCommand"> | 3873 | <member name="T:Npgsql.NpgsqlCopyOutState"> |
2103 | <summary> | 3874 | <summary> |
2104 | Creates an NpgsqlCommand object. | 3875 | Represents an ongoing COPY TO STDOUT operation. |
3876 | Provides methods to read data from server or end the operation. | ||
2105 | </summary> | 3877 | </summary> |
2106 | </member> | 3878 | </member> |
2107 | <member name="T:Npgsql.NpgsqlExecute"> | 3879 | <member name="M:Npgsql.NpgsqlCopyOutState.StartCopy(Npgsql.NpgsqlConnector,Npgsql.NpgsqlCopyFormat)"> |
2108 | <summary> | ||
2109 | This class represents the Parse message sent to PostgreSQL | ||
2110 | server. | ||
2111 | </summary> | ||
2112 | |||
2113 | </member> | ||
2114 | <member name="T:Npgsql.NpgsqlRowUpdatedEventHandler"> | ||
2115 | <summary> | 3880 | <summary> |
2116 | Represents the method that handles the <see cref="E:Npgsql.NpgsqlDataAdapter.RowUpdated">RowUpdated</see> events. | 3881 | Called from NpgsqlState.ProcessBackendResponses upon CopyOutResponse. |
3882 | If CopyStream is already set, it is used to write data received from server, after which the copy ends. | ||
3883 | Otherwise CopyStream is set to a readable NpgsqlCopyOutStream that receives data from server. | ||
2117 | </summary> | 3884 | </summary> |
2118 | <param name="sender">The source of the event.</param> | ||
2119 | <param name="e">A <see cref="T:NpgsqlRowUpdatedEventArgs">NpgsqlRowUpdatedEventArgs</see> that contains the event data.</param> | ||
2120 | </member> | 3885 | </member> |
2121 | <member name="T:Npgsql.NpgsqlRowUpdatingEventHandler"> | 3886 | <member name="M:Npgsql.NpgsqlCopyOutState.GetCopyData(Npgsql.NpgsqlConnector)"> |
2122 | <summary> | 3887 | <summary> |
2123 | Represents the method that handles the <see cref="E:Npgsql.NpgsqlDataAdapter.RowUpdating">RowUpdating</see> events. | 3888 | Called from NpgsqlOutStream.Read to read copy data from server. |
2124 | </summary> | 3889 | </summary> |
2125 | <param name="sender">The source of the event.</param> | ||
2126 | <param name="e">A <see cref="T:NpgsqlRowUpdatingEventArgs">NpgsqlRowUpdatingEventArgs</see> that contains the event data.</param> | ||
2127 | </member> | 3890 | </member> |
2128 | <member name="T:Npgsql.NpgsqlDataAdapter"> | 3891 | <member name="P:Npgsql.NpgsqlCopyOutState.CopyFormat"> |
2129 | <summary> | 3892 | <summary> |
2130 | This class represents an adapter from many commands: select, update, insert and delete to fill <see cref="T:System.Data.DataSet">Datasets.</see> | 3893 | Copy format information returned from server. |
2131 | </summary> | 3894 | </summary> |
2132 | </member> | 3895 | </member> |
2133 | <member name="T:Npgsql.NpgsqlCopyOutStream"> | 3896 | <member name="T:Npgsql.NpgsqlCopyOutStream"> |
@@ -2210,71 +3973,29 @@ | |||
2210 | Number of bytes read so far; can not be set. | 3973 | Number of bytes read so far; can not be set. |
2211 | </summary> | 3974 | </summary> |
2212 | </member> | 3975 | </member> |
2213 | <member name="T:Npgsql.NpgsqlBind"> | 3976 | <member name="T:Npgsql.NpgsqlCopySerializer"> |
2214 | <summary> | ||
2215 | This class represents the Bind message sent to PostgreSQL | ||
2216 | server. | ||
2217 | </summary> | ||
2218 | |||
2219 | </member> | ||
2220 | <member name="T:NpgsqlTypes.LargeObjectManager"> | ||
2221 | <summary> | ||
2222 | Summary description for LargeObjectManager. | ||
2223 | </summary> | ||
2224 | </member> | ||
2225 | <member name="T:Npgsql.NpgsqlTransaction"> | ||
2226 | <summary> | ||
2227 | Represents a transaction to be made in a PostgreSQL database. This class cannot be inherited. | ||
2228 | </summary> | ||
2229 | </member> | ||
2230 | <member name="M:Npgsql.NpgsqlTransaction.Commit"> | ||
2231 | <summary> | ||
2232 | Commits the database transaction. | ||
2233 | </summary> | ||
2234 | </member> | ||
2235 | <member name="M:Npgsql.NpgsqlTransaction.Rollback"> | ||
2236 | <summary> | ||
2237 | Rolls back a transaction from a pending state. | ||
2238 | </summary> | ||
2239 | </member> | ||
2240 | <member name="M:Npgsql.NpgsqlTransaction.Rollback(System.String)"> | ||
2241 | <summary> | ||
2242 | Rolls back a transaction from a pending savepoint state. | ||
2243 | </summary> | ||
2244 | </member> | ||
2245 | <member name="M:Npgsql.NpgsqlTransaction.Save(System.String)"> | ||
2246 | <summary> | 3977 | <summary> |
2247 | Creates a transaction save point. | 3978 | Writes given objects into a stream for PostgreSQL COPY in default copy format (not CSV or BINARY). |
2248 | </summary> | 3979 | </summary> |
2249 | </member> | 3980 | </member> |
2250 | <member name="M:Npgsql.NpgsqlTransaction.Cancel"> | 3981 | <member name="T:Npgsql.NpgsqlRowUpdatedEventHandler"> |
2251 | <summary> | 3982 | <summary> |
2252 | Cancel the transaction without telling the backend about it. This is | 3983 | Represents the method that handles the <see cref="E:Npgsql.NpgsqlDataAdapter.RowUpdated">RowUpdated</see> events. |
2253 | used to make the transaction go away when closing a connection. | ||
2254 | </summary> | 3984 | </summary> |
3985 | <param name="sender">The source of the event.</param> | ||
3986 | <param name="e">A <see cref="T:NpgsqlRowUpdatedEventArgs">NpgsqlRowUpdatedEventArgs</see> that contains the event data.</param> | ||
2255 | </member> | 3987 | </member> |
2256 | <member name="P:Npgsql.NpgsqlTransaction.Connection"> | 3988 | <member name="T:Npgsql.NpgsqlRowUpdatingEventHandler"> |
2257 | <summary> | 3989 | <summary> |
2258 | Gets the <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> | 3990 | Represents the method that handles the <see cref="E:Npgsql.NpgsqlDataAdapter.RowUpdating">RowUpdating</see> events. |
2259 | object associated with the transaction, or a null reference if the | ||
2260 | transaction is no longer valid. | ||
2261 | </summary> | 3991 | </summary> |
2262 | <value>The <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> | 3992 | <param name="sender">The source of the event.</param> |
2263 | object associated with the transaction.</value> | 3993 | <param name="e">A <see cref="T:NpgsqlRowUpdatingEventArgs">NpgsqlRowUpdatingEventArgs</see> that contains the event data.</param> |
2264 | </member> | 3994 | </member> |
2265 | <member name="P:Npgsql.NpgsqlTransaction.IsolationLevel"> | 3995 | <member name="T:Npgsql.NpgsqlDataAdapter"> |
2266 | <summary> | 3996 | <summary> |
2267 | Specifies the <see cref="T:System.Data.IsolationLevel">IsolationLevel</see> for this transaction. | 3997 | This class represents an adapter from many commands: select, update, insert and delete to fill <see cref="T:System.Data.DataSet">Datasets.</see> |
2268 | </summary> | 3998 | </summary> |
2269 | <value>The <see cref="T:System.Data.IsolationLevel">IsolationLevel</see> for this transaction. | ||
2270 | The default is <b>ReadCommitted</b>.</value> | ||
2271 | </member> | ||
2272 | <member name="T:Npgsql.NpgsqlStartupPacket"> | ||
2273 | <summary> | ||
2274 | This class represents a StartupPacket message of PostgreSQL | ||
2275 | protocol. | ||
2276 | </summary> | ||
2277 | |||
2278 | </member> | 3999 | </member> |
2279 | <member name="T:Npgsql.NpgsqlDataReader"> | 4000 | <member name="T:Npgsql.NpgsqlDataReader"> |
2280 | <summary> | 4001 | <summary> |
@@ -2327,8 +4048,8 @@ | |||
2327 | <member name="M:Npgsql.NpgsqlDataReader.GetInterval(System.Int32)"> | 4048 | <member name="M:Npgsql.NpgsqlDataReader.GetInterval(System.Int32)"> |
2328 | <summary> | 4049 | <summary> |
2329 | Get the value of a column as a <see cref="T:NpgsqlTypes.NpgsqlInterval"/>. | 4050 | Get the value of a column as a <see cref="T:NpgsqlTypes.NpgsqlInterval"/>. |
2330 | <remarks>If the differences between <see cref="T:NpgsqlTypes.NpgsqlInterval"/> and <see cref="!:System.Timespan"/> | 4051 | <remarks>If the differences between <see cref="T:NpgsqlTypes.NpgsqlInterval"/> and <see cref="T:System.TimeSpan"/> |
2331 | in handling of days and months is not important to your application, use <see cref="!:GetTimeSpan()"/> | 4052 | in handling of days and months is not important to your application, use <see cref="M:Npgsql.NpgsqlDataReader.GetTimeSpan(System.Int32)"/> |
2332 | instead.</remarks> | 4053 | instead.</remarks> |
2333 | </summary> | 4054 | </summary> |
2334 | <param name="i">Index of the field to find.</param> | 4055 | <param name="i">Index of the field to find.</param> |
@@ -2381,13 +4102,14 @@ | |||
2381 | </member> | 4102 | </member> |
2382 | <member name="M:Npgsql.NpgsqlDataReader.GetValues(System.Object[])"> | 4103 | <member name="M:Npgsql.NpgsqlDataReader.GetValues(System.Object[])"> |
2383 | <summary> | 4104 | <summary> |
2384 | Copy values from each column in the current row into <param name="Values"></param>. | 4105 | Copy values from each column in the current row into <paramref name="values"/>. |
2385 | </summary> | 4106 | </summary> |
4107 | <param name="values">Destination for column values.</param> | ||
2386 | <returns>The number of column values copied.</returns> | 4108 | <returns>The number of column values copied.</returns> |
2387 | </member> | 4109 | </member> |
2388 | <member name="M:Npgsql.NpgsqlDataReader.GetProviderSpecificValues(System.Object[])"> | 4110 | <member name="M:Npgsql.NpgsqlDataReader.GetProviderSpecificValues(System.Object[])"> |
2389 | <summary> | 4111 | <summary> |
2390 | Copy values from each column in the current row into <param name="Values"></param>. | 4112 | Copy values from each column in the current row into <paramref name="values"></paramref>. |
2391 | </summary> | 4113 | </summary> |
2392 | <param name="values">An array appropriately sized to store values from all columns.</param> | 4114 | <param name="values">An array appropriately sized to store values from all columns.</param> |
2393 | <returns>The number of column values copied.</returns> | 4115 | <returns>The number of column values copied.</returns> |
@@ -2465,14 +4187,14 @@ | |||
2465 | </member> | 4187 | </member> |
2466 | <member name="T:Npgsql.ForwardsOnlyDataReader"> | 4188 | <member name="T:Npgsql.ForwardsOnlyDataReader"> |
2467 | <summary> | 4189 | <summary> |
2468 | This is the primary implementation of NpgsqlDataReader. It is the one used in normal cases (where the | 4190 | This is the primary implementation of NpgsqlDataReader. It is the one used in normal cases (where the |
2469 | preload-reader option is not set in the connection string to resolve some potential backwards-compatibility | 4191 | preload-reader option is not set in the connection string to resolve some potential backwards-compatibility |
2470 | issues), the only implementation used internally, and in cases where CachingDataReader is used, it is still | 4192 | issues), the only implementation used internally, and in cases where CachingDataReader is used, it is still |
2471 | used to do the actual "leg-work" of turning a response stream from the server into a datareader-style | 4193 | used to do the actual "leg-work" of turning a response stream from the server into a datareader-style |
2472 | object - with CachingDataReader then filling it's cache from here. | 4194 | object - with CachingDataReader then filling it's cache from here. |
2473 | </summary> | 4195 | </summary> |
2474 | </member> | 4196 | </member> |
2475 | <member name="M:Npgsql.ForwardsOnlyDataReader.GetNextResponseObject"> | 4197 | <member name="M:Npgsql.ForwardsOnlyDataReader.GetNextResponseObject(System.Boolean)"> |
2476 | <summary> | 4198 | <summary> |
2477 | Iterate through the objects returned through from the server. | 4199 | Iterate through the objects returned through from the server. |
2478 | If it's a CompletedResponse the rowsaffected count is updated appropriately, | 4200 | If it's a CompletedResponse the rowsaffected count is updated appropriately, |
@@ -2559,1561 +4281,1339 @@ | |||
2559 | and hence never used internally.</para> | 4281 | and hence never used internally.</para> |
2560 | </summary> | 4282 | </summary> |
2561 | </member> | 4283 | </member> |
2562 | <member name="T:Npgsql.ProvideClientCertificatesCallback"> | 4284 | <member name="T:Npgsql.NpgsqlDescribe"> |
2563 | <summary> | 4285 | <summary> |
2564 | Represents the method that allows the application to provide a certificate collection to be used for SSL clien authentication | 4286 | This is the base class for NpgsqlDescribeStatement and NpgsqlDescribePortal. |
2565 | </summary> | ||
2566 | <param name="certificates">A <see cref="T:System.Security.Cryptography.X509Certificates.X509CertificateCollection">X509CertificateCollection</see> to be filled with one or more client certificates.</param> | ||
2567 | </member> | ||
2568 | <member name="T:Npgsql.NpgsqlConnector"> | ||
2569 | <summary> | ||
2570 | !!! Helper class, for compilation only. | ||
2571 | Connector implements the logic for the Connection Objects to | ||
2572 | access the physical connection to the database, and isolate | ||
2573 | the application developer from connection pooling internals. | ||
2574 | </summary> | ||
2575 | </member> | ||
2576 | <member name="M:Npgsql.NpgsqlConnector.#ctor(Npgsql.NpgsqlConnectionStringBuilder,System.Boolean,System.Boolean)"> | ||
2577 | <summary> | ||
2578 | Constructor. | ||
2579 | </summary> | ||
2580 | <param name="Shared">Controls whether the connector can be shared.</param> | ||
2581 | </member> | ||
2582 | <member name="M:Npgsql.NpgsqlConnector.IsValid"> | ||
2583 | <summary> | ||
2584 | This method checks if the connector is still ok. | ||
2585 | We try to send a simple query text, select 1 as ConnectionTest; | ||
2586 | </summary> | ||
2587 | </member> | ||
2588 | <member name="M:Npgsql.NpgsqlConnector.ReleaseResources"> | ||
2589 | <summary> | ||
2590 | This method is responsible for releasing all resources associated with this Connector. | ||
2591 | </summary> | ||
2592 | </member> | ||
2593 | <member name="M:Npgsql.NpgsqlConnector.ReleasePlansPortals"> | ||
2594 | <summary> | ||
2595 | This method is responsible to release all portals used by this Connector. | ||
2596 | </summary> | ||
2597 | </member> | ||
2598 | <member name="M:Npgsql.NpgsqlConnector.DefaultCertificateSelectionCallback(System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Cryptography.X509Certificates.X509Certificate,System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection)"> | ||
2599 | <summary> | ||
2600 | Default SSL CertificateSelectionCallback implementation. | ||
2601 | </summary> | ||
2602 | </member> | ||
2603 | <member name="M:Npgsql.NpgsqlConnector.DefaultCertificateValidationCallback(System.Security.Cryptography.X509Certificates.X509Certificate,System.Int32[])"> | ||
2604 | <summary> | ||
2605 | Default SSL CertificateValidationCallback implementation. | ||
2606 | </summary> | ||
2607 | </member> | ||
2608 | <member name="M:Npgsql.NpgsqlConnector.DefaultPrivateKeySelectionCallback(System.Security.Cryptography.X509Certificates.X509Certificate,System.String)"> | ||
2609 | <summary> | ||
2610 | Default SSL PrivateKeySelectionCallback implementation. | ||
2611 | </summary> | ||
2612 | </member> | ||
2613 | <member name="M:Npgsql.NpgsqlConnector.DefaultProvideClientCertificatesCallback(System.Security.Cryptography.X509Certificates.X509CertificateCollection)"> | ||
2614 | <summary> | ||
2615 | Default SSL ProvideClientCertificatesCallback implementation. | ||
2616 | </summary> | ||
2617 | </member> | ||
2618 | <member name="M:Npgsql.NpgsqlConnector.ProcessServerVersion"> | ||
2619 | <summary> | ||
2620 | This method is required to set all the version dependent features flags. | ||
2621 | SupportsPrepare means the server can use prepared query plans (7.3+) | ||
2622 | </summary> | ||
2623 | </member> | ||
2624 | <member name="M:Npgsql.NpgsqlConnector.Open"> | ||
2625 | <summary> | ||
2626 | Opens the physical connection to the server. | ||
2627 | </summary> | ||
2628 | <remarks>Usually called by the RequestConnector | ||
2629 | Method of the connection pool manager.</remarks> | ||
2630 | </member> | ||
2631 | <member name="M:Npgsql.NpgsqlConnector.Close"> | ||
2632 | <summary> | ||
2633 | Closes the physical connection to the server. | ||
2634 | </summary> | ||
2635 | </member> | ||
2636 | <member name="M:Npgsql.NpgsqlConnector.NextPortalName"> | ||
2637 | <summary> | ||
2638 | Returns next portal index. | ||
2639 | </summary> | ||
2640 | </member> | ||
2641 | <member name="M:Npgsql.NpgsqlConnector.NextPlanName"> | ||
2642 | <summary> | ||
2643 | Returns next plan index. | ||
2644 | </summary> | ||
2645 | </member> | ||
2646 | <member name="E:Npgsql.NpgsqlConnector.Notice"> | ||
2647 | <summary> | ||
2648 | Occurs on NoticeResponses from the PostgreSQL backend. | ||
2649 | </summary> | ||
2650 | </member> | ||
2651 | <member name="E:Npgsql.NpgsqlConnector.Notification"> | ||
2652 | <summary> | ||
2653 | Occurs on NotificationResponses from the PostgreSQL backend. | ||
2654 | </summary> | ||
2655 | </member> | ||
2656 | <member name="E:Npgsql.NpgsqlConnector.ProvideClientCertificatesCallback"> | ||
2657 | <summary> | ||
2658 | Called to provide client certificates for SSL handshake. | ||
2659 | </summary> | ||
2660 | </member> | ||
2661 | <member name="E:Npgsql.NpgsqlConnector.CertificateSelectionCallback"> | ||
2662 | <summary> | ||
2663 | Mono.Security.Protocol.Tls.CertificateSelectionCallback delegate. | ||
2664 | </summary> | ||
2665 | </member> | ||
2666 | <member name="E:Npgsql.NpgsqlConnector.CertificateValidationCallback"> | ||
2667 | <summary> | ||
2668 | Mono.Security.Protocol.Tls.CertificateValidationCallback delegate. | ||
2669 | </summary> | ||
2670 | </member> | ||
2671 | <member name="E:Npgsql.NpgsqlConnector.PrivateKeySelectionCallback"> | ||
2672 | <summary> | ||
2673 | Mono.Security.Protocol.Tls.PrivateKeySelectionCallback delegate. | ||
2674 | </summary> | ||
2675 | </member> | ||
2676 | <member name="P:Npgsql.NpgsqlConnector.State"> | ||
2677 | <summary> | ||
2678 | Gets the current state of the connection. | ||
2679 | </summary> | ||
2680 | </member> | ||
2681 | <member name="P:Npgsql.NpgsqlConnector.ConnectionString"> | ||
2682 | <summary> | ||
2683 | Return Connection String. | ||
2684 | </summary> | ||
2685 | </member> | ||
2686 | <member name="P:Npgsql.NpgsqlConnector.ServerVersion"> | ||
2687 | <summary> | ||
2688 | Version of backend server this connector is connected to. | ||
2689 | </summary> | ||
2690 | </member> | ||
2691 | <member name="P:Npgsql.NpgsqlConnector.BackendProtocolVersion"> | ||
2692 | <summary> | ||
2693 | Backend protocol version in use by this connector. | ||
2694 | </summary> | ||
2695 | </member> | ||
2696 | <member name="P:Npgsql.NpgsqlConnector.Stream"> | ||
2697 | <summary> | ||
2698 | The physical connection stream to the backend. | ||
2699 | </summary> | ||
2700 | </member> | ||
2701 | <member name="P:Npgsql.NpgsqlConnector.Socket"> | ||
2702 | <summary> | ||
2703 | The physical connection socket to the backend. | ||
2704 | </summary> | ||
2705 | </member> | ||
2706 | <member name="P:Npgsql.NpgsqlConnector.IsInitialized"> | ||
2707 | <summary> | ||
2708 | Reports if this connector is fully connected. | ||
2709 | </summary> | ||
2710 | </member> | ||
2711 | <member name="P:Npgsql.NpgsqlConnector.Mediator"> | ||
2712 | <summary> | ||
2713 | The connection mediator. | ||
2714 | </summary> | ||
2715 | </member> | ||
2716 | <member name="P:Npgsql.NpgsqlConnector.Transaction"> | ||
2717 | <summary> | ||
2718 | Report if the connection is in a transaction. | ||
2719 | </summary> | ||
2720 | </member> | ||
2721 | <member name="P:Npgsql.NpgsqlConnector.SupportsPrepare"> | ||
2722 | <summary> | ||
2723 | Report whether the current connection can support prepare functionality. | ||
2724 | </summary> | ||
2725 | </member> | ||
2726 | <member name="T:NpgsqlTypes.NpgsqlTypesHelper"> | ||
2727 | <summary> | ||
2728 | This class contains helper methods for type conversion between | ||
2729 | the .Net type system and postgresql. | ||
2730 | </summary> | ||
2731 | </member> | ||
2732 | <member name="F:NpgsqlTypes.NpgsqlTypesHelper.BackendTypeMappingCache"> | ||
2733 | <summary> | ||
2734 | A cache of basic datatype mappings keyed by server version. This way we don't | ||
2735 | have to load the basic type mappings for every connection. | ||
2736 | </summary> | ||
2737 | </member> | ||
2738 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.TryGetBackendTypeInfo(System.String,NpgsqlTypes.NpgsqlBackendTypeInfo@)"> | ||
2739 | <summary> | ||
2740 | Find a NpgsqlNativeTypeInfo in the default types map that can handle objects | ||
2741 | of the given NpgsqlDbType. | ||
2742 | </summary> | ||
2743 | </member> | ||
2744 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.TryGetNativeTypeInfo(NpgsqlTypes.NpgsqlDbType,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> | ||
2745 | <summary> | ||
2746 | Find a NpgsqlNativeTypeInfo in the default types map that can handle objects | ||
2747 | of the given NpgsqlDbType. | ||
2748 | </summary> | ||
2749 | </member> | ||
2750 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.TryGetNativeTypeInfo(System.Data.DbType,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> | ||
2751 | <summary> | ||
2752 | Find a NpgsqlNativeTypeInfo in the default types map that can handle objects | ||
2753 | of the given DbType. | ||
2754 | </summary> | ||
2755 | </member> | ||
2756 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.TryGetNativeTypeInfo(System.Type,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> | ||
2757 | <summary> | ||
2758 | Find a NpgsqlNativeTypeInfo in the default types map that can handle objects | ||
2759 | of the given System.Type. | ||
2760 | </summary> | ||
2761 | </member> | ||
2762 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.ConvertBackendStringToSystemType(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | ||
2763 | <summary> | ||
2764 | This method is responsible to convert the string received from the backend | ||
2765 | to the corresponding NpgsqlType. | ||
2766 | The given TypeInfo is called upon to do the conversion. | ||
2767 | If no TypeInfo object is provided, no conversion is performed. | ||
2768 | </summary> | 4287 | </summary> |
4288 | |||
2769 | </member> | 4289 | </member> |
2770 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.PrepareDefaultTypesMap"> | 4290 | <member name="T:Npgsql.NpgsqlDescribeStatement"> |
2771 | <summary> | 4291 | <summary> |
2772 | Create the one and only native to backend type map. | 4292 | This class represents the Statement Describe message sent to PostgreSQL |
2773 | This map is used when formatting native data | 4293 | server. |
2774 | types to backend representations. | ||
2775 | </summary> | ||
2776 | </member> | ||
2777 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.CreateAndLoadInitialTypesMapping(Npgsql.NpgsqlConnector)"> | ||
2778 | <summary> | ||
2779 | This method creates (or retrieves from cache) a mapping between type and OID | ||
2780 | of all natively supported postgresql data types. | ||
2781 | This is needed as from one version to another, this mapping can be changed and | ||
2782 | so we avoid hardcoding them. | ||
2783 | </summary> | 4294 | </summary> |
2784 | <returns>NpgsqlTypeMapping containing all known data types. The mapping must be | 4295 | |
2785 | cloned before it is modified because it is cached; changes made by one connection may | ||
2786 | effect another connection.</returns> | ||
2787 | </member> | ||
2788 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.LoadTypesMappings(Npgsql.NpgsqlConnector,NpgsqlTypes.NpgsqlBackendTypeMapping,System.Collections.Generic.IEnumerable{NpgsqlTypes.NpgsqlBackendTypeInfo})"> | ||
2789 | <summary> | ||
2790 | Attempt to map types by issuing a query against pg_type. | ||
2791 | This function takes a list of NpgsqlTypeInfo and attempts to resolve the OID field | ||
2792 | of each by querying pg_type. If the mapping is found, the type info object is | ||
2793 | updated (OID) and added to the provided NpgsqlTypeMapping object. | ||
2794 | </summary> | ||
2795 | <param name="conn">NpgsqlConnector to send query through.</param> | ||
2796 | <param name="TypeMappings">Mapping object to add types too.</param> | ||
2797 | <param name="TypeInfoList">List of types that need to have OID's mapped.</param> | ||
2798 | </member> | 4296 | </member> |
2799 | <member name="T:NpgsqlTypes.ConvertBackendToNativeHandler"> | 4297 | <member name="T:Npgsql.NpgsqlDescribePortal"> |
2800 | <summary> | 4298 | <summary> |
2801 | Delegate called to convert the given backend data to its native representation. | 4299 | This class represents the Portal Describe message sent to PostgreSQL |
2802 | </summary> | 4300 | server. |
4301 | </summary> | ||
4302 | |||
2803 | </member> | 4303 | </member> |
2804 | <member name="T:NpgsqlTypes.ConvertNativeToBackendHandler"> | 4304 | <member name="T:Npgsql.NpgsqlNoticeEventArgs"> |
2805 | <summary> | 4305 | <summary> |
2806 | Delegate called to convert the given native data to its backand representation. | 4306 | EventArgs class to send Notice parameters, which are just NpgsqlError's in a lighter context. |
2807 | </summary> | 4307 | </summary> |
2808 | </member> | 4308 | </member> |
2809 | <member name="T:NpgsqlTypes.NpgsqlBackendTypeInfo"> | 4309 | <member name="F:Npgsql.NpgsqlNoticeEventArgs.Notice"> |
2810 | <summary> | 4310 | <summary> |
2811 | Represents a backend data type. | 4311 | Notice information. |
2812 | This class can be called upon to convert a backend field representation to a native object. | ||
2813 | </summary> | 4312 | </summary> |
2814 | </member> | 4313 | </member> |
2815 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeInfo.#ctor(System.Int32,System.String,NpgsqlTypes.NpgsqlDbType,System.Data.DbType,System.Type,NpgsqlTypes.ConvertBackendToNativeHandler)"> | 4314 | <member name="T:Npgsql.NpgsqlError"> |
2816 | <summary> | 4315 | <summary> |
2817 | Construct a new NpgsqlTypeInfo with the given attributes and conversion handlers. | 4316 | This class represents the ErrorResponse and NoticeResponse |
4317 | message sent from PostgreSQL server. | ||
2818 | </summary> | 4318 | </summary> |
2819 | <param name="OID">Type OID provided by the backend server.</param> | ||
2820 | <param name="Name">Type name provided by the backend server.</param> | ||
2821 | <param name="NpgsqlDbType">NpgsqlDbType</param> | ||
2822 | <param name="Type">System type to convert fields of this type to.</param> | ||
2823 | <param name="ConvertBackendToNative">Data conversion handler.</param> | ||
2824 | </member> | 4319 | </member> |
2825 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeInfo.ConvertToNative(System.String,System.Int16,System.Int32)"> | 4320 | <member name="M:Npgsql.NpgsqlError.ToString"> |
2826 | <summary> | 4321 | <summary> |
2827 | Perform a data conversion from a backend representation to | 4322 | Return a string representation of this error object. |
2828 | a native object. | ||
2829 | </summary> | 4323 | </summary> |
2830 | <param name="BackendData">Data sent from the backend.</param> | ||
2831 | <param name="TypeModifier">Type modifier field sent from the backend.</param> | ||
2832 | </member> | 4324 | </member> |
2833 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.OID"> | 4325 | <member name="P:Npgsql.NpgsqlError.Severity"> |
2834 | <summary> | 4326 | <summary> |
2835 | Type OID provided by the backend server. | 4327 | Severity code. All versions. |
2836 | </summary> | 4328 | </summary> |
2837 | </member> | 4329 | </member> |
2838 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.Name"> | 4330 | <member name="P:Npgsql.NpgsqlError.Code"> |
2839 | <summary> | 4331 | <summary> |
2840 | Type name provided by the backend server. | 4332 | Error code. PostgreSQL 7.4 and up. |
2841 | </summary> | 4333 | </summary> |
2842 | </member> | 4334 | </member> |
2843 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.NpgsqlDbType"> | 4335 | <member name="P:Npgsql.NpgsqlError.Message"> |
2844 | <summary> | 4336 | <summary> |
2845 | NpgsqlDbType. | 4337 | Terse error message. All versions. |
2846 | </summary> | 4338 | </summary> |
2847 | </member> | 4339 | </member> |
2848 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.DbType"> | 4340 | <member name="P:Npgsql.NpgsqlError.Detail"> |
2849 | <summary> | 4341 | <summary> |
2850 | NpgsqlDbType. | 4342 | Detailed error message. PostgreSQL 7.4 and up. |
2851 | </summary> | 4343 | </summary> |
2852 | </member> | 4344 | </member> |
2853 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.Type"> | 4345 | <member name="P:Npgsql.NpgsqlError.Hint"> |
2854 | <summary> | 4346 | <summary> |
2855 | Provider type to convert fields of this type to. | 4347 | Suggestion to help resolve the error. PostgreSQL 7.4 and up. |
2856 | </summary> | 4348 | </summary> |
2857 | </member> | 4349 | </member> |
2858 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.FrameworkType"> | 4350 | <member name="P:Npgsql.NpgsqlError.Position"> |
2859 | <summary> | 4351 | <summary> |
2860 | System type to convert fields of this type to. | 4352 | Position (one based) within the query string where the error was encounterd. PostgreSQL 7.4 and up. |
2861 | </summary> | 4353 | </summary> |
2862 | </member> | 4354 | </member> |
2863 | <member name="T:NpgsqlTypes.NpgsqlNativeTypeInfo"> | 4355 | <member name="P:Npgsql.NpgsqlError.InternalPosition"> |
2864 | <summary> | 4356 | <summary> |
2865 | Represents a backend data type. | 4357 | Position (one based) within the query string where the error was encounterd. This position refers to an internal command executed for example inside a PL/pgSQL function. PostgreSQL 7.4 and up. |
2866 | This class can be called upon to convert a native object to its backend field representation, | ||
2867 | </summary> | 4358 | </summary> |
2868 | </member> | 4359 | </member> |
2869 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeInfo.ArrayOf(NpgsqlTypes.NpgsqlNativeTypeInfo)"> | 4360 | <member name="P:Npgsql.NpgsqlError.InternalQuery"> |
2870 | <summary> | 4361 | <summary> |
2871 | Returns an NpgsqlNativeTypeInfo for an array where the elements are of the type | 4362 | Internal query string where the error was encounterd. This position refers to an internal command executed for example inside a PL/pgSQL function. PostgreSQL 7.4 and up. |
2872 | described by the NpgsqlNativeTypeInfo supplied. | ||
2873 | </summary> | 4363 | </summary> |
2874 | </member> | 4364 | </member> |
2875 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeInfo.#ctor(System.String,NpgsqlTypes.NpgsqlDbType,System.Data.DbType,System.Boolean,NpgsqlTypes.ConvertNativeToBackendHandler)"> | 4365 | <member name="P:Npgsql.NpgsqlError.Where"> |
2876 | <summary> | 4366 | <summary> |
2877 | Construct a new NpgsqlTypeInfo with the given attributes and conversion handlers. | 4367 | Trace back information. PostgreSQL 7.4 and up. |
2878 | </summary> | 4368 | </summary> |
2879 | <param name="Name">Type name provided by the backend server.</param> | ||
2880 | <param name="NpgsqlDbType">NpgsqlDbType</param> | ||
2881 | <param name="ConvertNativeToBackend">Data conversion handler.</param> | ||
2882 | </member> | 4369 | </member> |
2883 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeInfo.ConvertToBackend(System.Object,System.Boolean)"> | 4370 | <member name="P:Npgsql.NpgsqlError.File"> |
2884 | <summary> | 4371 | <summary> |
2885 | Perform a data conversion from a native object to | 4372 | Source file (in backend) reporting the error. PostgreSQL 7.4 and up. |
2886 | a backend representation. | ||
2887 | DBNull and null values are handled differently depending if a plain query is used | ||
2888 | When | ||
2889 | </summary> | 4373 | </summary> |
2890 | <param name="NativeData">Native .NET object to be converted.</param> | ||
2891 | <param name="ForExtendedQuery">Flag indicating if the conversion has to be done for | ||
2892 | plain queries or extended queries</param> | ||
2893 | </member> | 4374 | </member> |
2894 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeInfo.Name"> | 4375 | <member name="P:Npgsql.NpgsqlError.Line"> |
2895 | <summary> | 4376 | <summary> |
2896 | Type name provided by the backend server. | 4377 | Source file line number (in backend) reporting the error. PostgreSQL 7.4 and up. |
2897 | </summary> | 4378 | </summary> |
2898 | </member> | 4379 | </member> |
2899 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeInfo.NpgsqlDbType"> | 4380 | <member name="P:Npgsql.NpgsqlError.Routine"> |
2900 | <summary> | 4381 | <summary> |
2901 | NpgsqlDbType. | 4382 | Source routine (in backend) reporting the error. PostgreSQL 7.4 and up. |
2902 | </summary> | 4383 | </summary> |
2903 | </member> | 4384 | </member> |
2904 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeInfo.DbType"> | 4385 | <member name="P:Npgsql.NpgsqlError.SchemaName"> |
2905 | <summary> | 4386 | <summary> |
2906 | DbType. | 4387 | Schema name which relates to the error. PostgreSQL 9.3 and up. |
2907 | </summary> | 4388 | </summary> |
2908 | </member> | 4389 | </member> |
2909 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeInfo.Quote"> | 4390 | <member name="P:Npgsql.NpgsqlError.TableName"> |
2910 | <summary> | 4391 | <summary> |
2911 | Apply quoting. | 4392 | Table name which relates to the error. PostgreSQL 9.3 and up. |
2912 | </summary> | 4393 | </summary> |
2913 | </member> | 4394 | </member> |
2914 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeInfo.UseSize"> | 4395 | <member name="P:Npgsql.NpgsqlError.ColumnName"> |
2915 | <summary> | 4396 | <summary> |
2916 | Use parameter size information. | 4397 | Column name which relates to the error. PostgreSQL 9.3 and up. |
2917 | </summary> | 4398 | </summary> |
2918 | </member> | 4399 | </member> |
2919 | <member name="T:NpgsqlTypes.NpgsqlBackendTypeMapping"> | 4400 | <member name="P:Npgsql.NpgsqlError.DataTypeName"> |
2920 | <summary> | 4401 | <summary> |
2921 | Provide mapping between type OID, type name, and a NpgsqlBackendTypeInfo object that represents it. | 4402 | Data type of column which relates to the error. PostgreSQL 9.3 and up. |
2922 | </summary> | 4403 | </summary> |
2923 | </member> | 4404 | </member> |
2924 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.#ctor"> | 4405 | <member name="P:Npgsql.NpgsqlError.ConstraintName"> |
2925 | <summary> | 4406 | <summary> |
2926 | Construct an empty mapping. | 4407 | Constraint name which relates to the error. PostgreSQL 9.3 and up. |
2927 | </summary> | 4408 | </summary> |
2928 | </member> | 4409 | </member> |
2929 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.#ctor(NpgsqlTypes.NpgsqlBackendTypeMapping)"> | 4410 | <member name="P:Npgsql.NpgsqlError.ErrorSql"> |
2930 | <summary> | 4411 | <summary> |
2931 | Copy constuctor. | 4412 | String containing the sql sent which produced this error. |
2932 | </summary> | 4413 | </summary> |
2933 | </member> | 4414 | </member> |
2934 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.AddType(NpgsqlTypes.NpgsqlBackendTypeInfo)"> | 4415 | <member name="P:Npgsql.NpgsqlError.BackendProtocolVersion"> |
2935 | <summary> | 4416 | <summary> |
2936 | Add the given NpgsqlBackendTypeInfo to this mapping. | 4417 | Backend protocol version in use. |
2937 | </summary> | 4418 | </summary> |
2938 | </member> | 4419 | </member> |
2939 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.AddType(System.Int32,System.String,NpgsqlTypes.NpgsqlDbType,System.Data.DbType,System.Type,NpgsqlTypes.ConvertBackendToNativeHandler)"> | 4420 | <member name="T:Npgsql.NpgsqlError.ErrorFieldTypeCodes"> |
2940 | <summary> | 4421 | <summary> |
2941 | Add a new NpgsqlBackendTypeInfo with the given attributes and conversion handlers to this mapping. | 4422 | Error and notice message field codes |
2942 | </summary> | 4423 | </summary> |
2943 | <param name="OID">Type OID provided by the backend server.</param> | ||
2944 | <param name="Name">Type name provided by the backend server.</param> | ||
2945 | <param name="NpgsqlDbType">NpgsqlDbType</param> | ||
2946 | <param name="Type">System type to convert fields of this type to.</param> | ||
2947 | <param name="BackendConvert">Data conversion handler.</param> | ||
2948 | </member> | 4424 | </member> |
2949 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.Clone"> | 4425 | <member name="F:Npgsql.NpgsqlError.ErrorFieldTypeCodes.Severity"> |
2950 | <summary> | 4426 | <summary> |
2951 | Make a shallow copy of this type mapping. | 4427 | Severity: the field contents are ERROR, FATAL, or PANIC (in an error message), |
4428 | or WARNING, NOTICE, DEBUG, INFO, or LOG (in a notice message), or a localized | ||
4429 | translation of one of these. Always present. | ||
2952 | </summary> | 4430 | </summary> |
2953 | </member> | 4431 | </member> |
2954 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.ContainsOID(System.Int32)"> | 4432 | <member name="F:Npgsql.NpgsqlError.ErrorFieldTypeCodes.Code"> |
2955 | <summary> | 4433 | <summary> |
2956 | Determine if a NpgsqlBackendTypeInfo with the given backend type OID exists in this mapping. | 4434 | Code: the SQLSTATE code for the error (see Appendix A). Not localizable. Always present. |
2957 | </summary> | 4435 | </summary> |
2958 | </member> | 4436 | </member> |
2959 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.ContainsName(System.String)"> | 4437 | <member name="F:Npgsql.NpgsqlError.ErrorFieldTypeCodes.Message"> |
2960 | <summary> | 4438 | <summary> |
2961 | Determine if a NpgsqlBackendTypeInfo with the given backend type name exists in this mapping. | 4439 | Message: the primary human-readable error message. This should be accurate |
4440 | but terse (typically one line). Always present. | ||
2962 | </summary> | 4441 | </summary> |
2963 | </member> | 4442 | </member> |
2964 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeMapping.Count"> | 4443 | <member name="F:Npgsql.NpgsqlError.ErrorFieldTypeCodes.Detail"> |
2965 | <summary> | 4444 | <summary> |
2966 | Get the number of type infos held. | 4445 | Detail: an optional secondary error message carrying more detail about the problem. |
4446 | Might run to multiple lines. | ||
2967 | </summary> | 4447 | </summary> |
2968 | </member> | 4448 | </member> |
2969 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeMapping.Item(System.Int32)"> | 4449 | <member name="F:Npgsql.NpgsqlError.ErrorFieldTypeCodes.Hint"> |
2970 | <summary> | 4450 | <summary> |
2971 | Retrieve the NpgsqlBackendTypeInfo with the given backend type OID, or null if none found. | 4451 | Hint: an optional suggestion what to do about the problem. This is intended to differ |
4452 | from Detail in that it offers advice (potentially inappropriate) rather than hard facts. | ||
4453 | Might run to multiple lines. | ||
2972 | </summary> | 4454 | </summary> |
2973 | </member> | 4455 | </member> |
2974 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeMapping.Item(System.String)"> | 4456 | <member name="F:Npgsql.NpgsqlError.ErrorFieldTypeCodes.Position"> |
2975 | <summary> | 4457 | <summary> |
2976 | Retrieve the NpgsqlBackendTypeInfo with the given backend type name, or null if none found. | 4458 | Position: the field value is a decimal ASCII integer, indicating an error cursor |
4459 | position as an index into the original query string. The first character has index 1, | ||
4460 | and positions are measured in characters not bytes. | ||
2977 | </summary> | 4461 | </summary> |
2978 | </member> | 4462 | </member> |
2979 | <member name="T:NpgsqlTypes.NpgsqlNativeTypeMapping"> | 4463 | <member name="F:Npgsql.NpgsqlError.ErrorFieldTypeCodes.InternalPosition"> |
2980 | <summary> | 4464 | <summary> |
2981 | Provide mapping between type Type, NpgsqlDbType and a NpgsqlNativeTypeInfo object that represents it. | 4465 | Internal position: this is defined the same as the P field, but it is used when the |
4466 | cursor position refers to an internally generated command rather than the one submitted | ||
4467 | by the client. | ||
4468 | The q field will always appear when this field appears. | ||
2982 | </summary> | 4469 | </summary> |
2983 | </member> | 4470 | </member> |
2984 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.AddType(NpgsqlTypes.NpgsqlNativeTypeInfo)"> | 4471 | <member name="F:Npgsql.NpgsqlError.ErrorFieldTypeCodes.InternalQuery"> |
2985 | <summary> | 4472 | <summary> |
2986 | Add the given NpgsqlNativeTypeInfo to this mapping. | 4473 | Internal query: the text of a failed internally-generated command. |
4474 | This could be, for example, a SQL query issued by a PL/pgSQL function. | ||
2987 | </summary> | 4475 | </summary> |
2988 | </member> | 4476 | </member> |
2989 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.AddType(System.String,NpgsqlTypes.NpgsqlDbType,System.Data.DbType,System.Boolean,NpgsqlTypes.ConvertNativeToBackendHandler)"> | 4477 | <member name="F:Npgsql.NpgsqlError.ErrorFieldTypeCodes.Where"> |
2990 | <summary> | 4478 | <summary> |
2991 | Add a new NpgsqlNativeTypeInfo with the given attributes and conversion handlers to this mapping. | 4479 | Where: an indication of the context in which the error occurred. |
4480 | Presently this includes a call stack traceback of active procedural language functions | ||
4481 | and internally-generated queries. The trace is one entry per line, most recent first. | ||
2992 | </summary> | 4482 | </summary> |
2993 | <param name="Name">Type name provided by the backend server.</param> | ||
2994 | <param name="NpgsqlDbType">NpgsqlDbType</param> | ||
2995 | <param name="NativeConvert">Data conversion handler.</param> | ||
2996 | </member> | 4483 | </member> |
2997 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.TryGetValue(NpgsqlTypes.NpgsqlDbType,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> | 4484 | <member name="F:Npgsql.NpgsqlError.ErrorFieldTypeCodes.SchemaName"> |
2998 | <summary> | 4485 | <summary> |
2999 | Retrieve the NpgsqlNativeTypeInfo with the given NpgsqlDbType. | 4486 | Schema name: if the error was associated with a specific database object, |
4487 | the name of the schema containing that object, if any. | ||
3000 | </summary> | 4488 | </summary> |
3001 | </member> | 4489 | </member> |
3002 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.TryGetValue(System.Data.DbType,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> | 4490 | <member name="F:Npgsql.NpgsqlError.ErrorFieldTypeCodes.TableName"> |
3003 | <summary> | 4491 | <summary> |
3004 | Retrieve the NpgsqlNativeTypeInfo with the given DbType. | 4492 | Table name: if the error was associated with a specific table, the name of the table. |
4493 | (Refer to the schema name field for the name of the table's schema.) | ||
3005 | </summary> | 4494 | </summary> |
3006 | </member> | 4495 | </member> |
3007 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.TryGetValue(System.Type,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> | 4496 | <member name="F:Npgsql.NpgsqlError.ErrorFieldTypeCodes.ColumnName"> |
3008 | <summary> | 4497 | <summary> |
3009 | Retrieve the NpgsqlNativeTypeInfo with the given Type. | 4498 | Column name: if the error was associated with a specific table column, the name of the column. |
4499 | (Refer to the schema and table name fields to identify the table.) | ||
3010 | </summary> | 4500 | </summary> |
3011 | </member> | 4501 | </member> |
3012 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.ContainsName(System.String)"> | 4502 | <member name="F:Npgsql.NpgsqlError.ErrorFieldTypeCodes.DataTypeName"> |
3013 | <summary> | 4503 | <summary> |
3014 | Determine if a NpgsqlNativeTypeInfo with the given backend type name exists in this mapping. | 4504 | Data type name: if the error was associated with a specific data type, the name of the data type. |
4505 | (Refer to the schema name field for the name of the data type's schema.) | ||
3015 | </summary> | 4506 | </summary> |
3016 | </member> | 4507 | </member> |
3017 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.ContainsNpgsqlDbType(NpgsqlTypes.NpgsqlDbType)"> | 4508 | <member name="F:Npgsql.NpgsqlError.ErrorFieldTypeCodes.ConstraintName"> |
3018 | <summary> | 4509 | <summary> |
3019 | Determine if a NpgsqlNativeTypeInfo with the given NpgsqlDbType exists in this mapping. | 4510 | Constraint name: if the error was associated with a specific constraint, the name of the constraint. |
4511 | Refer to fields listed above for the associated table or domain. | ||
4512 | (For this purpose, indexes are treated as constraints, even if they weren't created with constraint syntax.) | ||
3020 | </summary> | 4513 | </summary> |
3021 | </member> | 4514 | </member> |
3022 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.ContainsType(System.Type)"> | 4515 | <member name="F:Npgsql.NpgsqlError.ErrorFieldTypeCodes.File"> |
3023 | <summary> | 4516 | <summary> |
3024 | Determine if a NpgsqlNativeTypeInfo with the given Type name exists in this mapping. | 4517 | File: the file name of the source-code location where the error was reported. |
3025 | </summary> | 4518 | </summary> |
3026 | </member> | 4519 | </member> |
3027 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeMapping.Count"> | 4520 | <member name="F:Npgsql.NpgsqlError.ErrorFieldTypeCodes.Line"> |
3028 | <summary> | 4521 | <summary> |
3029 | Get the number of type infos held. | 4522 | Line: the line number of the source-code location where the error was reported. |
3030 | </summary> | 4523 | </summary> |
3031 | </member> | 4524 | </member> |
3032 | <member name="T:Npgsql.StringRowReaderV3"> | 4525 | <member name="F:Npgsql.NpgsqlError.ErrorFieldTypeCodes.Routine"> |
3033 | <summary> | 4526 | <summary> |
3034 | Implements <see cref="T:Npgsql.RowReader"/> for version 3 of the protocol. | 4527 | Routine: the name of the source-code routine reporting the error. |
3035 | </summary> | 4528 | </summary> |
3036 | </member> | 4529 | </member> |
3037 | <member name="T:Npgsql.RowReader"> | 4530 | <member name="T:Npgsql.LogLevel"> |
3038 | <summary> | 4531 | <summary> |
3039 | Reads a row, field by field, allowing a DataRow to be built appropriately. | 4532 | The level of verbosity of the NpgsqlEventLog |
3040 | </summary> | 4533 | </summary> |
3041 | </member> | 4534 | </member> |
3042 | <member name="T:Npgsql.RowReader.Streamer"> | 4535 | <member name="F:Npgsql.LogLevel.None"> |
3043 | <summary> | 4536 | <summary> |
3044 | Reads part of a field, as needed (for <see cref="!:System.Data.IDataRecord.GetChars()"/> | 4537 | Don't log at all |
3045 | and <see cref="!:System.Data.IDataRecord.GetBytes()"/> | ||
3046 | </summary> | 4538 | </summary> |
3047 | </member> | 4539 | </member> |
3048 | <member name="T:Npgsql.RowReader.Streamer`1"> | 4540 | <member name="F:Npgsql.LogLevel.Normal"> |
3049 | <summary> | 4541 | <summary> |
3050 | Adds further functionality to stream that is dependant upon the type of data read. | 4542 | Only log the most common issues |
3051 | </summary> | 4543 | </summary> |
3052 | </member> | 4544 | </member> |
3053 | <member name="T:Npgsql.RowReader.CharStreamer"> | 4545 | <member name="F:Npgsql.LogLevel.Debug"> |
3054 | <summary> | 4546 | <summary> |
3055 | Completes the implementation of Streamer for char data. | 4547 | Log everything |
3056 | </summary> | 4548 | </summary> |
3057 | </member> | 4549 | </member> |
3058 | <member name="T:Npgsql.RowReader.ByteStreamer"> | 4550 | <member name="T:Npgsql.NpgsqlEventLog"> |
3059 | <summary> | 4551 | <summary> |
3060 | Completes the implementation of Streamer for byte data. | 4552 | This class handles all the Npgsql event and debug logging |
3061 | </summary> | 4553 | </summary> |
3062 | </member> | 4554 | </member> |
3063 | <member name="T:Npgsql.StringRowReaderV2"> | 4555 | <member name="M:Npgsql.NpgsqlEventLog.LogMsg(System.String,Npgsql.LogLevel)"> |
3064 | <summary> | 4556 | <summary> |
3065 | Implements <see cref="T:Npgsql.RowReader"/> for version 2 of the protocol. | 4557 | Writes a string to the Npgsql event log if msglevel is bigger then <see cref="P:Npgsql.NpgsqlEventLog.Level">NpgsqlEventLog.Level</see> |
3066 | </summary> | 4558 | </summary> |
4559 | <remarks> | ||
4560 | This method is obsolete and should no longer be used. | ||
4561 | It is likely to be removed in future versions of Npgsql | ||
4562 | </remarks> | ||
4563 | <param name="message">The message to write to the event log</param> | ||
4564 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
3067 | </member> | 4565 | </member> |
3068 | <member name="T:Npgsql.StringRowReaderV2.NullMap"> | 4566 | <member name="M:Npgsql.NpgsqlEventLog.LogMsg(System.Resources.ResourceManager,System.String,Npgsql.LogLevel,System.Object[])"> |
3069 | <summary> | 4567 | <summary> |
3070 | Encapsulates the null mapping bytes sent at the start of a version 2 | 4568 | Writes a string to the Npgsql event log if msglevel is bigger then <see cref="P:Npgsql.NpgsqlEventLog.Level">NpgsqlEventLog.Level</see> |
3071 | datarow message, and the process of identifying the nullity of the data | ||
3072 | at a particular index | ||
3073 | </summary> | 4569 | </summary> |
4570 | <param name="resman">The <see cref="T:System.Resources.ResourceManager">ResourceManager</see> to get the localized resources</param> | ||
4571 | <param name="ResourceString">The name of the resource that should be fetched by the <see cref="T:System.Resources.ResourceManager">ResourceManager</see></param> | ||
4572 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
4573 | <param name="Parameters">The additional parameters that shall be included into the log-message (must be compatible with the string in the resource):</param> | ||
3074 | </member> | 4574 | </member> |
3075 | <member name="T:Npgsql.NpgsqlSchema"> | 4575 | <member name="M:Npgsql.NpgsqlEventLog.LogIndexerGet(Npgsql.LogLevel,System.String,System.Object)"> |
3076 | <summary> | 4576 | <summary> |
3077 | Provides the underlying mechanism for reading schema information. | 4577 | Writes the default log-message for the action of calling the Get-part of an Indexer to the log file. |
3078 | </summary> | 4578 | </summary> |
4579 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
4580 | <param name="ClassName">The name of the class that contains the Indexer</param> | ||
4581 | <param name="IndexerParam">The parameter given to the Indexer</param> | ||
3079 | </member> | 4582 | </member> |
3080 | <member name="M:Npgsql.NpgsqlSchema.#ctor(Npgsql.NpgsqlConnection)"> | 4583 | <member name="M:Npgsql.NpgsqlEventLog.LogIndexerSet(Npgsql.LogLevel,System.String,System.Object,System.Object)"> |
3081 | <summary> | 4584 | <summary> |
3082 | Creates an NpgsqlSchema that can read schema information from the database. | 4585 | Writes the default log-message for the action of calling the Set-part of an Indexer to the logfile. |
3083 | </summary> | 4586 | </summary> |
3084 | <param name="connection">An open database connection for reading metadata.</param> | 4587 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> |
4588 | <param name="ClassName">The name of the class that contains the Indexer</param> | ||
4589 | <param name="IndexerParam">The parameter given to the Indexer</param> | ||
4590 | <param name="value">The value the Indexer is set to</param> | ||
3085 | </member> | 4591 | </member> |
3086 | <member name="M:Npgsql.NpgsqlSchema.GetMetaDataCollections"> | 4592 | <member name="M:Npgsql.NpgsqlEventLog.LogPropertyGet(Npgsql.LogLevel,System.String,System.String)"> |
3087 | <summary> | 4593 | <summary> |
3088 | Returns the MetaDataCollections that lists all possible collections. | 4594 | Writes the default log-message for the action of calling the Get-part of a Property to the logfile. |
3089 | </summary> | 4595 | </summary> |
3090 | <returns>The MetaDataCollections</returns> | 4596 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> |
4597 | <param name="ClassName">The name of the class that contains the Property</param> | ||
4598 | <param name="PropertyName">The name of the Property</param> | ||
3091 | </member> | 4599 | </member> |
3092 | <member name="M:Npgsql.NpgsqlSchema.GetRestrictions"> | 4600 | <member name="M:Npgsql.NpgsqlEventLog.LogPropertySet(Npgsql.LogLevel,System.String,System.String,System.Object)"> |
3093 | <summary> | 4601 | <summary> |
3094 | Returns the Restrictions that contains the meaning and position of the values in the restrictions array. | 4602 | Writes the default log-message for the action of calling the Set-part of a Property to the logfile. |
3095 | </summary> | 4603 | </summary> |
3096 | <returns>The Restrictions</returns> | 4604 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> |
4605 | <param name="ClassName">The name of the class that contains the Property</param> | ||
4606 | <param name="PropertyName">The name of the Property</param> | ||
4607 | <param name="value">The value the Property is set to</param> | ||
3097 | </member> | 4608 | </member> |
3098 | <member name="M:Npgsql.NpgsqlSchema.GetDatabases(System.String[])"> | 4609 | <member name="M:Npgsql.NpgsqlEventLog.LogMethodEnter(Npgsql.LogLevel,System.String,System.String)"> |
3099 | <summary> | 4610 | <summary> |
3100 | Returns the Databases that contains a list of all accessable databases. | 4611 | Writes the default log-message for the action of calling a Method without Arguments to the logfile. |
3101 | </summary> | 4612 | </summary> |
3102 | <param name="restrictions">The restrictions to filter the collection.</param> | 4613 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> |
3103 | <returns>The Databases</returns> | 4614 | <param name="ClassName">The name of the class that contains the Method</param> |
4615 | <param name="MethodName">The name of the Method</param> | ||
3104 | </member> | 4616 | </member> |
3105 | <member name="M:Npgsql.NpgsqlSchema.GetTables(System.String[])"> | 4617 | <member name="M:Npgsql.NpgsqlEventLog.LogMethodEnter(Npgsql.LogLevel,System.String,System.String,System.Object)"> |
3106 | <summary> | 4618 | <summary> |
3107 | Returns the Tables that contains table and view names and the database and schema they come from. | 4619 | Writes the default log-message for the action of calling a Method with one Argument to the logfile. |
3108 | </summary> | 4620 | </summary> |
3109 | <param name="restrictions">The restrictions to filter the collection.</param> | 4621 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> |
3110 | <returns>The Tables</returns> | 4622 | <param name="ClassName">The name of the class that contains the Method</param> |
4623 | <param name="MethodName">The name of the Method</param> | ||
4624 | <param name="MethodParameter">The value of the Argument of the Method</param> | ||
3111 | </member> | 4625 | </member> |
3112 | <member name="M:Npgsql.NpgsqlSchema.GetColumns(System.String[])"> | 4626 | <member name="M:Npgsql.NpgsqlEventLog.LogMethodEnter(Npgsql.LogLevel,System.String,System.String,System.Object,System.Object)"> |
3113 | <summary> | 4627 | <summary> |
3114 | Returns the Columns that contains information about columns in tables. | 4628 | Writes the default log-message for the action of calling a Method with two Arguments to the logfile. |
3115 | </summary> | 4629 | </summary> |
3116 | <param name="restrictions">The restrictions to filter the collection.</param> | 4630 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> |
3117 | <returns>The Columns.</returns> | 4631 | <param name="ClassName">The name of the class that contains the Method</param> |
4632 | <param name="MethodName">The name of the Method</param> | ||
4633 | <param name="MethodParameter1">The value of the first Argument of the Method</param> | ||
4634 | <param name="MethodParameter2">The value of the second Argument of the Method</param> | ||
3118 | </member> | 4635 | </member> |
3119 | <member name="M:Npgsql.NpgsqlSchema.GetViews(System.String[])"> | 4636 | <member name="M:Npgsql.NpgsqlEventLog.LogMethodEnter(Npgsql.LogLevel,System.String,System.String,System.Object,System.Object,System.Object)"> |
3120 | <summary> | 4637 | <summary> |
3121 | Returns the Views that contains view names and the database and schema they come from. | 4638 | Writes the default log-message for the action of calling a Method with three Arguments to the logfile. |
3122 | </summary> | 4639 | </summary> |
3123 | <param name="restrictions">The restrictions to filter the collection.</param> | 4640 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> |
3124 | <returns>The Views</returns> | 4641 | <param name="ClassName">The name of the class that contains the Method</param> |
4642 | <param name="MethodName">The name of the Method</param> | ||
4643 | <param name="MethodParameter1">The value of the first Argument of the Method</param> | ||
4644 | <param name="MethodParameter2">The value of the second Argument of the Method</param> | ||
4645 | <param name="MethodParameter3">The value of the third Argument of the Method</param> | ||
3125 | </member> | 4646 | </member> |
3126 | <member name="M:Npgsql.NpgsqlSchema.GetUsers(System.String[])"> | 4647 | <member name="M:Npgsql.NpgsqlEventLog.LogMethodEnter(Npgsql.LogLevel,System.String,System.String,System.Object[])"> |
3127 | <summary> | 4648 | <summary> |
3128 | Returns the Users containing user names and the sysid of those users. | 4649 | Writes the default log-message for the action of calling a Method with more than three Arguments to the logfile. |
3129 | </summary> | 4650 | </summary> |
3130 | <param name="restrictions">The restrictions to filter the collection.</param> | 4651 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> |
3131 | <returns>The Users.</returns> | 4652 | <param name="ClassName">The name of the class that contains the Method</param> |
4653 | <param name="MethodName">The name of the Method</param> | ||
4654 | <param name="MethodParameters">A <see cref="T:System.Object">Object</see>-Array with zero or more Ojects that are Arguments of the Method.</param> | ||
3132 | </member> | 4655 | </member> |
3133 | <member name="T:Npgsql.NpgsqlRow"> | 4656 | <member name="P:Npgsql.NpgsqlEventLog.Level"> |
3134 | <summary> | 4657 | <summary> |
3135 | This is the abstract base class for NpgsqlAsciiRow and NpgsqlBinaryRow. | 4658 | Sets/Returns the level of information to log to the logfile. |
3136 | </summary> | 4659 | </summary> |
4660 | <value>The current <see cref="T:Npgsql.LogLevel">LogLevel</see></value> | ||
3137 | </member> | 4661 | </member> |
3138 | <member name="T:NpgsqlTypes.BitString"> | 4662 | <member name="P:Npgsql.NpgsqlEventLog.LogName"> |
3139 | <summary> | 4663 | <summary> |
3140 | <para>Implements a bit string; a collection of zero or more bits which can each be 1 or 0.</para> | 4664 | Sets/Returns the filename to use for logging. |
3141 | <para>BitString's behave as a list of bools, though like most strings and unlike most collections the position | 4665 | </summary> |
3142 | tends to be of as much significance as the value.</para> | 4666 | <value>The filename of the current Log file.</value> |
3143 | <para>BitStrings are often used as masks, and are commonly cast to and from other values.</para> | ||
3144 | </summary> | ||
3145 | </member> | 4667 | </member> |
3146 | <member name="F:NpgsqlTypes.BitString.Empty"> | 4668 | <member name="P:Npgsql.NpgsqlEventLog.EchoMessages"> |
3147 | <summary> | 4669 | <summary> |
3148 | Represents the empty string. | 4670 | Sets/Returns whether Log messages should be echoed to the console |
3149 | </summary> | 4671 | </summary> |
4672 | <value><b>true</b> if Log messages are echoed to the console, otherwise <b>false</b></value> | ||
3150 | </member> | 4673 | </member> |
3151 | <member name="M:NpgsqlTypes.BitString.#ctor(System.Collections.Generic.IEnumerable{System.Boolean})"> | 4674 | <member name="T:Npgsql.NpgsqlException"> |
3152 | <summary> | 4675 | <summary> |
3153 | Create a BitString from an enumeration of boolean values. The BitString will contain | 4676 | The exception that is thrown when the PostgreSQL backend reports errors. |
3154 | those booleans in the order they came in. | ||
3155 | </summary> | 4677 | </summary> |
3156 | <param name="bits">The boolean values.</param> | ||
3157 | </member> | 4678 | </member> |
3158 | <member name="M:NpgsqlTypes.BitString.#ctor(System.Boolean,System.Int32)"> | 4679 | <member name="M:Npgsql.NpgsqlException.#ctor(System.Collections.IList)"> |
3159 | <summary> | 4680 | <summary> |
3160 | Creates a BitString filled with a given number of true or false values. | 4681 | Construct a backend error exception based on a list of one or more |
4682 | backend errors. The basic Exception.Message will be built from the | ||
4683 | first (usually the only) error in the list. | ||
3161 | </summary> | 4684 | </summary> |
3162 | <param name="value">The value to fill the string with.</param> | ||
3163 | <param name="count">The number of bits to fill.</param> | ||
3164 | </member> | 4685 | </member> |
3165 | <member name="M:NpgsqlTypes.BitString.#ctor(System.String)"> | 4686 | <member name="M:Npgsql.NpgsqlException.ToString"> |
3166 | <summary> | 4687 | <summary> |
3167 | Creats a bitstring from a <see cref="T:System.String">string</see>. | 4688 | Format a .NET style exception string. |
3168 | <param name="str">The <see cref="T:System.String">string to copy from</see>.</param> | 4689 | Include all errors in the list, including any hints. |
3169 | <seealso cref="!:Npgsql.BitString.Parse(System.String)"/> | ||
3170 | </summary> | 4690 | </summary> |
3171 | </member> | 4691 | </member> |
3172 | <member name="M:NpgsqlTypes.BitString.#ctor(System.Boolean)"> | 4692 | <member name="M:Npgsql.NpgsqlException.AppendString(System.IO.StringWriter,System.String,System.String)"> |
3173 | <summary> | 4693 | <summary> |
3174 | Creates a single-bit element from a boolean value. | 4694 | Append a line to the given Stream, first checking for zero-length. |
3175 | </summary> | 4695 | </summary> |
3176 | <param name="boolean">The <see cref="T:System.Boolean">bool</see> value which determines whether | ||
3177 | the bit is 1 or 0.</param> | ||
3178 | </member> | 4696 | </member> |
3179 | <member name="M:NpgsqlTypes.BitString.#ctor(System.UInt32)"> | 4697 | <member name="P:Npgsql.NpgsqlException.Item(System.Int32)"> |
3180 | <summary> | 4698 | <summary> |
3181 | Creates a bitstring from an unsigned integer value. The string will be the shortest required to | 4699 | Provide access to the entire list of errors provided by the PostgreSQL backend. |
3182 | contain the integer (e.g. 1 bit for 0 or 1, 2 for 2 or 3, 3 for 4-7, and so on). | ||
3183 | </summary> | 4700 | </summary> |
3184 | <param name="integer">The <see cref="T:System.UInt32">integer</see>.</param> | ||
3185 | <remarks>This method is not CLS Compliant, and may not be available to some languages.</remarks> | ||
3186 | </member> | 4701 | </member> |
3187 | <member name="M:NpgsqlTypes.BitString.#ctor(System.Int32)"> | 4702 | <member name="P:Npgsql.NpgsqlException.Severity"> |
3188 | <summary> | 4703 | <summary> |
3189 | Creates a bitstring from an integer value. The string will be the shortest required to | 4704 | Severity code. All versions. |
3190 | contain the integer (e.g. 1 bit for 0 or 1, 2 for 2 or 3, 3 for 4-7, and so on). | ||
3191 | </summary> | 4705 | </summary> |
3192 | <param name="integer">The <see cref="T:System.Int32">integer</see>.</param> | ||
3193 | </member> | 4706 | </member> |
3194 | <member name="M:NpgsqlTypes.BitString.IndexOf(System.Boolean)"> | 4707 | <member name="P:Npgsql.NpgsqlException.Code"> |
3195 | <summary> | 4708 | <summary> |
3196 | Finds the first instance of a given value | 4709 | Error code. PostgreSQL 7.4 and up. |
3197 | </summary> | 4710 | </summary> |
3198 | <param name="item">The value - whether true or false - to search for.</param> | ||
3199 | <returns>The index of the value found, or -1 if none are present.</returns> | ||
3200 | </member> | 4711 | </member> |
3201 | <member name="M:NpgsqlTypes.BitString.Contains(System.Boolean)"> | 4712 | <member name="P:Npgsql.NpgsqlException.BaseMessage"> |
3202 | <summary> | 4713 | <summary> |
3203 | True if there is at least one bit with the value looked for. | 4714 | Basic error message. All versions. |
3204 | </summary> | 4715 | </summary> |
3205 | <param name="item">The value - true or false - to detect.</param> | ||
3206 | <returns>True if at least one bit was the same as item, false otherwise.</returns> | ||
3207 | </member> | 4716 | </member> |
3208 | <member name="M:NpgsqlTypes.BitString.CopyTo(System.Boolean[],System.Int32)"> | 4717 | <member name="P:Npgsql.NpgsqlException.Detail"> |
3209 | <summary> | 4718 | <summary> |
3210 | Copies the bitstring to an array of bools. | 4719 | Detailed error message. PostgreSQL 7.4 and up. |
3211 | </summary> | 4720 | </summary> |
3212 | <param name="array">The <see cref="T:System.Boolean">boolean</see> array to copy to.</param> | ||
3213 | <param name="arrayIndex">The index in the array to start copying from.</param> | ||
3214 | </member> | 4721 | </member> |
3215 | <member name="M:NpgsqlTypes.BitString.GetEnumerator"> | 4722 | <member name="P:Npgsql.NpgsqlException.Hint"> |
3216 | <summary> | 4723 | <summary> |
3217 | Returns an enumerator that enumerates through the string. | 4724 | Suggestion to help resolve the error. PostgreSQL 7.4 and up. |
3218 | </summary> | 4725 | </summary> |
3219 | <returns>The enumerator.</returns> | ||
3220 | </member> | 4726 | </member> |
3221 | <member name="M:NpgsqlTypes.BitString.Concat(NpgsqlTypes.BitString)"> | 4727 | <member name="P:Npgsql.NpgsqlException.Position"> |
3222 | <summary> | 4728 | <summary> |
3223 | Creats a bitstring by concatenating another onto this one. | 4729 | Position (one based) within the query string where the error was encounterd. PostgreSQL 7.4 and up. |
3224 | </summary> | 4730 | </summary> |
3225 | <param name="append">The string to append to this one.</param> | ||
3226 | <returns>The combined strings.</returns> | ||
3227 | </member> | 4731 | </member> |
3228 | <member name="M:NpgsqlTypes.BitString.Substring(System.Int32,System.Int32)"> | 4732 | <member name="P:Npgsql.NpgsqlException.Where"> |
3229 | <summary> | 4733 | <summary> |
3230 | Returns a substring of this string. | 4734 | Trace back information. PostgreSQL 7.4 and up. |
3231 | </summary> | 4735 | </summary> |
3232 | <param name="start">The position to start from, must be between 0 and the length of the string.</param> | ||
3233 | <param name="length">The length of the string to return, must be greater than zero, and may not be | ||
3234 | so large that the start + length exceeds the bounds of this instance.</param> | ||
3235 | <returns>The Bitstring identified</returns> | ||
3236 | </member> | 4736 | </member> |
3237 | <member name="M:NpgsqlTypes.BitString.Substring(System.Int32)"> | 4737 | <member name="P:Npgsql.NpgsqlException.File"> |
3238 | <summary> | 4738 | <summary> |
3239 | Returns a substring of this string. | 4739 | Source file (in backend) reporting the error. PostgreSQL 7.4 and up. |
3240 | </summary> | 4740 | </summary> |
3241 | <param name="start">The position to start from, must be between 0 and the length of the string, | ||
3242 | the rest of the string is returned.</param> | ||
3243 | <returns>The Bitstring identified</returns> | ||
3244 | </member> | 4741 | </member> |
3245 | <member name="M:NpgsqlTypes.BitString.And(NpgsqlTypes.BitString)"> | 4742 | <member name="P:Npgsql.NpgsqlException.Line"> |
3246 | <summary> | 4743 | <summary> |
3247 | A logical and between this string and another. The two strings must be the same length. | 4744 | Source file line number (in backend) reporting the error. PostgreSQL 7.4 and up. |
3248 | </summary> | 4745 | </summary> |
3249 | <param name="operand">Another BitString to AND with this one.</param> | ||
3250 | <returns>A bitstring with 1 where both BitStrings had 1 and 0 otherwise.</returns> | ||
3251 | </member> | 4746 | </member> |
3252 | <member name="M:NpgsqlTypes.BitString.Or(NpgsqlTypes.BitString)"> | 4747 | <member name="P:Npgsql.NpgsqlException.Routine"> |
3253 | <summary> | 4748 | <summary> |
3254 | A logical or between this string and another. The two strings must be the same length. | 4749 | Source routine (in backend) reporting the error. PostgreSQL 7.4 and up. |
3255 | </summary> | 4750 | </summary> |
3256 | <param name="operand">Another BitString to OR with this one.</param> | ||
3257 | <returns>A bitstring with 1 where either BitString had 1 and 0 otherwise.</returns> | ||
3258 | </member> | 4751 | </member> |
3259 | <member name="M:NpgsqlTypes.BitString.Xor(NpgsqlTypes.BitString)"> | 4752 | <member name="P:Npgsql.NpgsqlException.SchemaName"> |
3260 | <summary> | 4753 | <summary> |
3261 | A logical xor between this string and another. The two strings must be the same length. | 4754 | Schema name which relates to the error. PostgreSQL 9.3 and up. |
3262 | </summary> | 4755 | </summary> |
3263 | <param name="operand">Another BitString to XOR with this one.</param> | ||
3264 | <returns>A bitstring with 1 where one BitStrings and the other had 0, | ||
3265 | and 0 where they both had 1 or both had 0.</returns> | ||
3266 | </member> | 4756 | </member> |
3267 | <member name="M:NpgsqlTypes.BitString.Not"> | 4757 | <member name="P:Npgsql.NpgsqlException.TableName"> |
3268 | <summary> | 4758 | <summary> |
3269 | A bitstring that is the logical inverse of this one. | 4759 | Table name which relates to the error. PostgreSQL 9.3 and up. |
3270 | </summary> | 4760 | </summary> |
3271 | <returns>A bitstring of the same length as this with 1 where this has 0 and vice-versa.</returns> | ||
3272 | </member> | 4761 | </member> |
3273 | <member name="M:NpgsqlTypes.BitString.LShift(System.Int32)"> | 4762 | <member name="P:Npgsql.NpgsqlException.ColumnName"> |
3274 | <summary> | 4763 | <summary> |
3275 | Shifts the string operand bits to the left, filling with zeros to produce a | 4764 | Column name which relates to the error. PostgreSQL 9.3 and up. |
3276 | string of the same length. | ||
3277 | </summary> | 4765 | </summary> |
3278 | <param name="operand">The number of bits to shift to the left.</param> | ||
3279 | <returns>A left-shifted bitstring.</returns> | ||
3280 | <remarks><para>The behaviour of LShift is closer to what one would expect from dealing | ||
3281 | with PostgreSQL bit-strings than in using the same operations on integers in .NET</para> | ||
3282 | <para>In particular, negative operands result in a right-shift, and operands greater than | ||
3283 | the length of the string will shift it entirely, resulting in a zero-filled string.</para> | ||
3284 | </remarks> | ||
3285 | </member> | 4766 | </member> |
3286 | <member name="M:NpgsqlTypes.BitString.RShift(System.Int32)"> | 4767 | <member name="P:Npgsql.NpgsqlException.DataTypeName"> |
3287 | <summary> | 4768 | <summary> |
3288 | Shifts the string operand bits to the right, filling with zeros to produce a | 4769 | Data type of column which relates to the error. PostgreSQL 9.3 and up. |
3289 | string of the same length. | ||
3290 | </summary> | 4770 | </summary> |
3291 | <param name="operand">The number of bits to shift to the right.</param> | ||
3292 | <returns>A right-shifted bitstring.</returns> | ||
3293 | <remarks><para>The behaviour of RShift is closer to what one would expect from dealing | ||
3294 | with PostgreSQL bit-strings than in using the same operations on integers in .NET</para> | ||
3295 | <para>In particular, negative operands result in a left-shift, and operands greater than | ||
3296 | the length of the string will shift it entirely, resulting in a zero-filled string. It also performs | ||
3297 | a logical shift, rather than an arithmetic shift, so it always sets the vacated bit positions to zero | ||
3298 | (like PostgreSQL and like .NET for unsigned integers but not for signed integers).</para> | ||
3299 | </remarks> | ||
3300 | </member> | 4771 | </member> |
3301 | <member name="M:NpgsqlTypes.BitString.Equals(NpgsqlTypes.BitString)"> | 4772 | <member name="P:Npgsql.NpgsqlException.ConstraintName"> |
3302 | <summary> | 4773 | <summary> |
3303 | Returns true if the this string is identical to the argument passed. | 4774 | Constraint name which relates to the error. PostgreSQL 9.3 and up. |
3304 | </summary> | 4775 | </summary> |
3305 | </member> | 4776 | </member> |
3306 | <member name="M:NpgsqlTypes.BitString.CompareTo(NpgsqlTypes.BitString)"> | 4777 | <member name="P:Npgsql.NpgsqlException.ErrorSql"> |
3307 | <summary> | 4778 | <summary> |
3308 | Compares two strings. Strings are compared as strings, so while 0 being less than 1 will | 4779 | String containing the sql sent which produced this error. |
3309 | mean a comparison between two strings of the same size is the same as treating them as numbers, | ||
3310 | in the case of two strings of differing lengths the comparison starts at the right-most (most significant) | ||
3311 | bit, and if all bits of the shorter string are exhausted without finding a comparison, then the larger | ||
3312 | string is deemed to be greater than the shorter (0010 is greater than 0001 but less than 00100). | ||
3313 | </summary> | 4780 | </summary> |
3314 | <param name="other">Another string to compare with this one.</param> | ||
3315 | <returns>A value if the two strings are identical, an integer less | ||
3316 | than zero if this is less than the argument, and an integer greater | ||
3317 | than zero otherwise.</returns> | ||
3318 | </member> | 4781 | </member> |
3319 | <member name="M:NpgsqlTypes.BitString.CompareTo(System.Object)"> | 4782 | <member name="P:Npgsql.NpgsqlException.Errors"> |
3320 | <summary> | 4783 | <summary> |
3321 | Compares the string with another object. | 4784 | Returns the entire list of errors provided by the PostgreSQL backend. |
3322 | </summary> | 4785 | </summary> |
3323 | <param name="obj">The object to compare with.</param> | ||
3324 | <returns>If the object is null then this string is considered greater. If the object is another BitString | ||
3325 | then they are compared as in <see cref="!:CompareTo(Npgsql.BitString)">the explicit comparison for BitStrings</see> | ||
3326 | in any other case a <see cref="T:System.ArgumentException"/> is thrown.</returns> | ||
3327 | </member> | 4786 | </member> |
3328 | <member name="M:NpgsqlTypes.BitString.Equals(System.Object)"> | 4787 | <member name="T:Npgsql.NpgsqlExecute"> |
3329 | <summary> | 4788 | <summary> |
3330 | Compares this BitString with an object for equality. | 4789 | This class represents the Execute message sent to PostgreSQL |
3331 | </summary> | 4790 | server. |
4791 | </summary> | ||
4792 | |||
3332 | </member> | 4793 | </member> |
3333 | <member name="M:NpgsqlTypes.BitString.GetHashCode"> | 4794 | <member name="T:Npgsql.NpgsqlFactory"> |
3334 | <summary> | 4795 | <summary> |
3335 | Returns a code for use in hashing operations. | 4796 | A factory to create instances of various Npgsql objects. |
3336 | </summary> | 4797 | </summary> |
3337 | </member> | 4798 | </member> |
3338 | <member name="M:NpgsqlTypes.BitString.ToString(System.String)"> | 4799 | <member name="M:Npgsql.NpgsqlFactory.CreateCommand"> |
3339 | <summary> | 4800 | <summary> |
3340 | Returns a string representation of the BitString. | 4801 | Creates an NpgsqlCommand object. |
3341 | </summary> | 4802 | </summary> |
3342 | <param name="format"> | ||
3343 | A string which can contain a letter and optionally a number which sets a minimum size for the string | ||
3344 | returned. In each case using the lower-case form of the letter will result in a lower-case string | ||
3345 | being returned. | ||
3346 | <list type="table"> | ||
3347 | <item> | ||
3348 | <term>B</term> | ||
3349 | <description>A string of 1s and 0s.</description> | ||
3350 | </item> | ||
3351 | <item> | ||
3352 | <term>X</term> | ||
3353 | <description>An hexadecimal string (will result in an error unless the string's length is divisible by 4).</description> | ||
3354 | </item> | ||
3355 | <item> | ||
3356 | <term>G</term> | ||
3357 | <description>A string of 1s and 0s in single-quotes preceded by 'B' (Postgres bit string literal syntax).</description> | ||
3358 | </item> | ||
3359 | <term>Y</term> | ||
3360 | <description>An hexadecimal string in single-quotes preceded by 'X' (Postgres bit literal syntax, will result in an error unless the string's length is divisible by 4.</description> | ||
3361 | </list> | ||
3362 | <term>C</term> | ||
3363 | <description>The format produced by format-string "Y" if legal, otherwise that produced by format-string "G".</description> | ||
3364 | <term>E</term> | ||
3365 | <description>The most compact safe representation for Postgres. If single bit will be either a 0 or a 1. Otherwise if it | ||
3366 | can be that produce by format string "Y" it will, otherwise if there are less than 9bits in length it will be that | ||
3367 | produced by format-string "G". For longer strings that cannot be represented in hexadecimal it will be a string | ||
3368 | representing the first part of the string in format "Y" followed by the PostgreSQL concatenation operator, followed | ||
3369 | by the final bits in the format "G". E.g. "X'13DCE'||B'110'"</description> | ||
3370 | If format is empty or null, it is treated as if "B" had been passed (the default repreesentation, and that | ||
3371 | generally used by PostgreSQL for display). | ||
3372 | </param> | ||
3373 | <returns>The formatted string.</returns> | ||
3374 | </member> | 4803 | </member> |
3375 | <member name="M:NpgsqlTypes.BitString.ToString"> | 4804 | <member name="T:Npgsql.NpgsqlFlush"> |
3376 | <summary> | 4805 | <summary> |
3377 | Returns a string representation for the Bitstring | 4806 | This class represents the Flush message sent to PostgreSQL |
3378 | </summary> | 4807 | server. |
3379 | <returns>A string containing '0' and '1' characters.</returns> | 4808 | </summary> |
4809 | |||
3380 | </member> | 4810 | </member> |
3381 | <member name="M:NpgsqlTypes.BitString.ToString(System.String,System.IFormatProvider)"> | 4811 | <member name="T:Npgsql.SimpleClientMessage"> |
3382 | <summary> | 4812 | <summary> |
3383 | Returns the same string as <see cref="M:NpgsqlTypes.BitString.ToString(System.String)"/>. formatProvider is ignored. | 4813 | For classes representing simple messages, |
4814 | consisting only of a message code and length identifier, | ||
4815 | sent from the client to the server. | ||
3384 | </summary> | 4816 | </summary> |
3385 | </member> | 4817 | </member> |
3386 | <member name="M:NpgsqlTypes.BitString.Parse(System.String)"> | 4818 | <member name="T:Npgsql.NpgsqlMediator"> |
3387 | <summary> | 4819 | <summary> |
3388 | Parses a string to produce a BitString. Most formats that can be produced by | 4820 | This class is responsible for serving as bridge between the backend |
3389 | <see cref="M:NpgsqlTypes.BitString.ToString(System.String)"/> can be accepted, but hexadecimal | 4821 | protocol handling and the core classes. It is used as the mediator for |
3390 | can be interpreted with the preceding X' to mark the following characters as | 4822 | exchanging data generated/sent from/to backend. |
3391 | being hexadecimal rather than binary. | 4823 | </summary> |
3392 | </summary> | 4824 | |
3393 | </member> | 4825 | </member> |
3394 | <member name="M:NpgsqlTypes.BitString.op_BitwiseAnd(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | 4826 | <member name="T:Npgsql.NpgsqlNotificationEventArgs"> |
3395 | <summary> | 4827 | <summary> |
3396 | Performs a logical AND on the two operands. | 4828 | EventArgs class to send Notification parameters. |
3397 | </summary> | 4829 | </summary> |
3398 | </member> | 4830 | </member> |
3399 | <member name="M:NpgsqlTypes.BitString.op_BitwiseOr(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | 4831 | <member name="F:Npgsql.NpgsqlNotificationEventArgs.PID"> |
3400 | <summary> | 4832 | <summary> |
3401 | Performs a logcial OR on the two operands. | 4833 | Process ID of the PostgreSQL backend that sent this notification. |
3402 | </summary> | 4834 | </summary> |
3403 | </member> | 4835 | </member> |
3404 | <member name="M:NpgsqlTypes.BitString.op_ExclusiveOr(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | 4836 | <member name="F:Npgsql.NpgsqlNotificationEventArgs.Condition"> |
3405 | <summary> | 4837 | <summary> |
3406 | Perofrms a logical EXCLUSIVE-OR on the two operands | 4838 | Condition that triggered that notification. |
3407 | </summary> | 4839 | </summary> |
3408 | </member> | 4840 | </member> |
3409 | <member name="M:NpgsqlTypes.BitString.op_OnesComplement(NpgsqlTypes.BitString)"> | 4841 | <member name="F:Npgsql.NpgsqlNotificationEventArgs.AdditionalInformation"> |
3410 | <summary> | 4842 | <summary> |
3411 | Performs a logical NOT on the operand. | 4843 | Additional Information From Notifiying Process (for future use, currently postgres always sets this to an empty string) |
3412 | </summary> | 4844 | </summary> |
3413 | </member> | 4845 | </member> |
3414 | <member name="M:NpgsqlTypes.BitString.op_Addition(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | 4846 | <member name="T:Npgsql.NpgsqlParameter"> |
3415 | <summary> | 4847 | <summary> |
3416 | Concatenates the operands. | 4848 | This class represents a parameter to a command that will be sent to server |
3417 | </summary> | 4849 | </summary> |
3418 | </member> | 4850 | </member> |
3419 | <member name="M:NpgsqlTypes.BitString.op_LeftShift(NpgsqlTypes.BitString,System.Int32)"> | 4851 | <member name="M:Npgsql.NpgsqlParameter.#ctor"> |
3420 | <summary> | 4852 | <summary> |
3421 | Left-shifts the string BitString. | 4853 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> class. |
3422 | </summary> | 4854 | </summary> |
3423 | </member> | 4855 | </member> |
3424 | <member name="M:NpgsqlTypes.BitString.op_RightShift(NpgsqlTypes.BitString,System.Int32)"> | 4856 | <member name="M:Npgsql.NpgsqlParameter.#ctor(System.String,System.Object)"> |
3425 | <summary> | 4857 | <summary> |
3426 | Right-shifts the string BitString. | 4858 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> |
4859 | class with the parameter m_Name and a value of the new <b>NpgsqlParameter</b>. | ||
3427 | </summary> | 4860 | </summary> |
4861 | <param m_Name="parameterName">The m_Name of the parameter to map.</param> | ||
4862 | <param m_Name="value">An <see cref="T:System.Object">Object</see> that is the value of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see>.</param> | ||
4863 | <remarks> | ||
4864 | <p>When you specify an <see cref="T:System.Object">Object</see> | ||
4865 | in the value parameter, the <see cref="T:System.Data.DbType">DbType</see> is | ||
4866 | inferred from the .NET Framework type of the <b>Object</b>.</p> | ||
4867 | <p>When using this constructor, you must be aware of a possible misuse of the constructor which takes a DbType parameter. | ||
4868 | This happens when calling this constructor passing an int 0 and the compiler thinks you are passing a value of DbType. | ||
4869 | Use <code> Convert.ToInt32(value) </code> for example to have compiler calling the correct constructor.</p> | ||
4870 | </remarks> | ||
3428 | </member> | 4871 | </member> |
3429 | <member name="M:NpgsqlTypes.BitString.op_Equality(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | 4872 | <member name="M:Npgsql.NpgsqlParameter.#ctor(System.String,NpgsqlTypes.NpgsqlDbType)"> |
3430 | <summary> | 4873 | <summary> |
3431 | Compares the two operands. | 4874 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> |
4875 | class with the parameter m_Name and the data type. | ||
3432 | </summary> | 4876 | </summary> |
4877 | <param m_Name="parameterName">The m_Name of the parameter to map.</param> | ||
4878 | <param m_Name="parameterType">One of the <see cref="T:System.Data.DbType">DbType</see> values.</param> | ||
3433 | </member> | 4879 | </member> |
3434 | <member name="M:NpgsqlTypes.BitString.op_Inequality(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | 4880 | <member name="M:Npgsql.NpgsqlParameter.#ctor(System.String,NpgsqlTypes.NpgsqlDbType,System.Int32)"> |
3435 | <summary> | 4881 | <summary> |
3436 | Compares the two operands. | 4882 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> |
4883 | class with the parameter m_Name, the <see cref="T:System.Data.DbType">DbType</see>, and the size. | ||
3437 | </summary> | 4884 | </summary> |
4885 | <param m_Name="parameterName">The m_Name of the parameter to map.</param> | ||
4886 | <param m_Name="parameterType">One of the <see cref="T:System.Data.DbType">DbType</see> values.</param> | ||
4887 | <param m_Name="size">The length of the parameter.</param> | ||
3438 | </member> | 4888 | </member> |
3439 | <member name="M:NpgsqlTypes.BitString.op_LessThan(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | 4889 | <member name="M:Npgsql.NpgsqlParameter.#ctor(System.String,NpgsqlTypes.NpgsqlDbType,System.Int32,System.String)"> |
3440 | <summary> | 4890 | <summary> |
3441 | Compares the two operands. | 4891 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> |
4892 | class with the parameter m_Name, the <see cref="T:System.Data.DbType">DbType</see>, the size, | ||
4893 | and the source column m_Name. | ||
3442 | </summary> | 4894 | </summary> |
4895 | <param m_Name="parameterName">The m_Name of the parameter to map.</param> | ||
4896 | <param m_Name="parameterType">One of the <see cref="T:System.Data.DbType">DbType</see> values.</param> | ||
4897 | <param m_Name="size">The length of the parameter.</param> | ||
4898 | <param m_Name="sourceColumn">The m_Name of the source column.</param> | ||
3443 | </member> | 4899 | </member> |
3444 | <member name="M:NpgsqlTypes.BitString.op_GreaterThan(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | 4900 | <member name="M:Npgsql.NpgsqlParameter.#ctor(System.String,NpgsqlTypes.NpgsqlDbType,System.Int32,System.String,System.Data.ParameterDirection,System.Boolean,System.Byte,System.Byte,System.Data.DataRowVersion,System.Object)"> |
3445 | <summary> | 4901 | <summary> |
3446 | Compares the two operands. | 4902 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> |
4903 | class with the parameter m_Name, the <see cref="T:System.Data.DbType">DbType</see>, the size, | ||
4904 | the source column m_Name, a <see cref="T:System.Data.ParameterDirection">ParameterDirection</see>, | ||
4905 | the precision of the parameter, the scale of the parameter, a | ||
4906 | <see cref="T:System.Data.DataRowVersion">DataRowVersion</see> to use, and the | ||
4907 | value of the parameter. | ||
3447 | </summary> | 4908 | </summary> |
4909 | <param m_Name="parameterName">The m_Name of the parameter to map.</param> | ||
4910 | <param m_Name="parameterType">One of the <see cref="T:System.Data.DbType">DbType</see> values.</param> | ||
4911 | <param m_Name="size">The length of the parameter.</param> | ||
4912 | <param m_Name="sourceColumn">The m_Name of the source column.</param> | ||
4913 | <param m_Name="direction">One of the <see cref="T:System.Data.ParameterDirection">ParameterDirection</see> values.</param> | ||
4914 | <param m_Name="isNullable"><b>true</b> if the value of the field can be null, otherwise <b>false</b>.</param> | ||
4915 | <param m_Name="precision">The total number of digits to the left and right of the decimal point to which | ||
4916 | <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see> is resolved.</param> | ||
4917 | <param m_Name="scale">The total number of decimal places to which | ||
4918 | <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see> is resolved.</param> | ||
4919 | <param m_Name="sourceVersion">One of the <see cref="T:System.Data.DataRowVersion">DataRowVersion</see> values.</param> | ||
4920 | <param m_Name="value">An <see cref="T:System.Object">Object</see> that is the value | ||
4921 | of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see>.</param> | ||
3448 | </member> | 4922 | </member> |
3449 | <member name="M:NpgsqlTypes.BitString.op_LessThanOrEqual(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | 4923 | <member name="M:Npgsql.NpgsqlParameter.Clone"> |
3450 | <summary> | 4924 | <summary> |
3451 | Compares the two operands. | 4925 | Creates a new <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> that |
4926 | is a copy of the current instance. | ||
3452 | </summary> | 4927 | </summary> |
4928 | <returns>A new <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> that is a copy of this instance.</returns> | ||
3453 | </member> | 4929 | </member> |
3454 | <member name="M:NpgsqlTypes.BitString.op_GreaterThanOrEqual(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | 4930 | <member name="P:Npgsql.NpgsqlParameter.Collection"> |
3455 | <summary> | 4931 | <summary> |
3456 | Compares the two operands. | 4932 | The collection to which this parameter belongs, if any. |
3457 | </summary> | 4933 | </summary> |
3458 | </member> | 4934 | </member> |
3459 | <member name="M:NpgsqlTypes.BitString.ToString(System.Text.Encoding)"> | 4935 | <member name="P:Npgsql.NpgsqlParameter.Precision"> |
3460 | <summary> | 4936 | <summary> |
3461 | Interprets the bitstring as a series of bits in an encoded character string, | 4937 | Gets or sets the maximum number of digits used to represent the |
3462 | encoded according to the Encoding passed, and returns that string. | 4938 | <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see> property. |
3463 | The bitstring must contain a whole number of octets(bytes) and also be | ||
3464 | valid according to the Encoding passed. | ||
3465 | </summary> | 4939 | </summary> |
3466 | <param name="encoding">The <see cref="T:System.Text.Encoding"/> to use in producing the string.</param> | 4940 | <value>The maximum number of digits used to represent the |
3467 | <returns>The string that was encoded in the BitString.</returns> | 4941 | <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see> property. |
4942 | The default value is 0, which indicates that the data provider | ||
4943 | sets the precision for <b>Value</b>.</value> | ||
3468 | </member> | 4944 | </member> |
3469 | <member name="M:NpgsqlTypes.BitString.ToByteEnumerable"> | 4945 | <member name="P:Npgsql.NpgsqlParameter.Scale"> |
3470 | <summary> | 4946 | <summary> |
3471 | Interprets the bitstring as a series of octets (bytes) and returns those octets. Fails | 4947 | Gets or sets the number of decimal places to which |
3472 | if the Bitstring does not contain a whole number of octets (its length is not evenly | 4948 | <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see> is resolved. |
3473 | divisible by 8). | ||
3474 | </summary> | 4949 | </summary> |
4950 | <value>The number of decimal places to which | ||
4951 | <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see> is resolved. The default is 0.</value> | ||
3475 | </member> | 4952 | </member> |
3476 | <member name="M:NpgsqlTypes.BitString.ToSByteEnumerable"> | 4953 | <member name="P:Npgsql.NpgsqlParameter.Size"> |
3477 | <summary> | 4954 | <summary> |
3478 | Interprets the bitstring as a series of signed octets (bytes) and returns those octets. Fails | 4955 | Gets or sets the maximum size, in bytes, of the data within the column. |
3479 | if the Bitstring does not contain a whole number of octets (its length is not evenly | ||
3480 | divisible by 8). | ||
3481 | <remarks>This method is not CLS-Compliant and may not be available to languages that cannot | ||
3482 | handle signed bytes.</remarks> | ||
3483 | </summary> | 4956 | </summary> |
4957 | <value>The maximum size, in bytes, of the data within the column. | ||
4958 | The default value is inferred from the parameter value.</value> | ||
3484 | </member> | 4959 | </member> |
3485 | <member name="M:NpgsqlTypes.BitString.ToUInt16Enumerable"> | 4960 | <member name="P:Npgsql.NpgsqlParameter.DbType"> |
3486 | <summary> | 4961 | <summary> |
3487 | Interprets the bitstring as a series of unsigned 16-bit integers and returns those integers. | 4962 | Gets or sets the <see cref="T:System.Data.DbType">DbType</see> of the parameter. |
3488 | Fails if the Bitstring's length is not evenly divisible by 16. | ||
3489 | <remarks>This method is not CLS-Compliant and may not be available to languages that cannot | ||
3490 | handle unsigned integers.</remarks> | ||
3491 | </summary> | 4963 | </summary> |
4964 | <value>One of the <see cref="T:System.Data.DbType">DbType</see> values. The default is <b>String</b>.</value> | ||
3492 | </member> | 4965 | </member> |
3493 | <member name="M:NpgsqlTypes.BitString.ToInt16Enumerable"> | 4966 | <member name="P:Npgsql.NpgsqlParameter.NpgsqlDbType"> |
3494 | <summary> | 4967 | <summary> |
3495 | Interprets the bitstring as a series of 16-bit integers and returns those integers. | 4968 | Gets or sets the <see cref="T:System.Data.DbType">DbType</see> of the parameter. |
3496 | Fails if the Bitstring's length is not evenly divisible by 16. | ||
3497 | </summary> | 4969 | </summary> |
4970 | <value>One of the <see cref="T:System.Data.DbType">DbType</see> values. The default is <b>String</b>.</value> | ||
3498 | </member> | 4971 | </member> |
3499 | <member name="M:NpgsqlTypes.BitString.ToUInt32Enumerable"> | 4972 | <member name="P:Npgsql.NpgsqlParameter.Direction"> |
3500 | <summary> | 4973 | <summary> |
3501 | Interprets the bitstring as a series of unsigned 32-bit integers and returns those integers. | 4974 | Gets or sets a value indicating whether the parameter is input-only, |
3502 | Fails if the Bitstring's length is not evenly divisible by 32. | 4975 | output-only, bidirectional, or a stored procedure return value parameter. |
3503 | <remarks>This method is not CLS-Compliant and may not be available to languages that cannot | ||
3504 | handle unsigned integers.</remarks> | ||
3505 | </summary> | 4976 | </summary> |
4977 | <value>One of the <see cref="T:System.Data.ParameterDirection">ParameterDirection</see> | ||
4978 | values. The default is <b>Input</b>.</value> | ||
3506 | </member> | 4979 | </member> |
3507 | <member name="M:NpgsqlTypes.BitString.ToInt32Enumerable"> | 4980 | <member name="P:Npgsql.NpgsqlParameter.IsNullable"> |
3508 | <summary> | 4981 | <summary> |
3509 | Interprets the bitstring as a series of signed 32-bit integers and returns those integers. | 4982 | Gets or sets a value indicating whether the parameter accepts null values. |
3510 | Fails if the Bitstring's length is not evenly divisible by 32. | ||
3511 | </summary> | 4983 | </summary> |
4984 | <value><b>true</b> if null values are accepted; otherwise, <b>false</b>. The default is <b>false</b>.</value> | ||
3512 | </member> | 4985 | </member> |
3513 | <member name="M:NpgsqlTypes.BitString.ToUInt64Enumerable"> | 4986 | <member name="P:Npgsql.NpgsqlParameter.ParameterName"> |
3514 | <summary> | 4987 | <summary> |
3515 | Interprets the bitstring as a series of unsigned 64-bit integers and returns those integers. | 4988 | Gets or sets the m_Name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see>. |
3516 | Fails if the Bitstring's length is not evenly divisible by 64. | ||
3517 | <remarks>This method is not CLS-Compliant and may not be available to languages that cannot | ||
3518 | handle unsigned integers.</remarks> | ||
3519 | </summary> | 4989 | </summary> |
4990 | <value>The m_Name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see>. | ||
4991 | The default is an empty string.</value> | ||
3520 | </member> | 4992 | </member> |
3521 | <member name="M:NpgsqlTypes.BitString.ToInt64Enumerable"> | 4993 | <member name="P:Npgsql.NpgsqlParameter.CleanName"> |
3522 | <summary> | 4994 | <summary> |
3523 | Interprets the bitstring as a series of signed 64-bit integers and returns those integers. | 4995 | The m_Name scrubbed of any optional marker |
3524 | Fails if the Bitstring's length is not evenly divisible by 64. | ||
3525 | </summary> | 4996 | </summary> |
3526 | </member> | 4997 | </member> |
3527 | <member name="P:NpgsqlTypes.BitString.Length"> | 4998 | <member name="P:Npgsql.NpgsqlParameter.SourceColumn"> |
3528 | <summary> | 4999 | <summary> |
3529 | The length of the string. | 5000 | Gets or sets the m_Name of the source column that is mapped to the |
5001 | <see cref="T:System.Data.DataSet">DataSet</see> and used for loading or | ||
5002 | returning the <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see>. | ||
3530 | </summary> | 5003 | </summary> |
5004 | <value>The m_Name of the source column that is mapped to the | ||
5005 | <see cref="T:System.Data.DataSet">DataSet</see>. The default is an empty string.</value> | ||
3531 | </member> | 5006 | </member> |
3532 | <member name="P:NpgsqlTypes.BitString.Item(System.Int32)"> | 5007 | <member name="P:Npgsql.NpgsqlParameter.SourceVersion"> |
3533 | <summary> | 5008 | <summary> |
3534 | Retrieves the value of the bit at the given index. | 5009 | Gets or sets the <see cref="T:System.Data.DataRowVersion">DataRowVersion</see> |
5010 | to use when loading <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see>. | ||
3535 | </summary> | 5011 | </summary> |
5012 | <value>One of the <see cref="T:System.Data.DataRowVersion">DataRowVersion</see> values. | ||
5013 | The default is <b>Current</b>.</value> | ||
3536 | </member> | 5014 | </member> |
3537 | <member name="T:Npgsql.MD5CryptoServiceProvider"> | 5015 | <member name="P:Npgsql.NpgsqlParameter.Value"> |
3538 | <summary> | 5016 | <summary> |
3539 | C# implementation of the MD5 cryptographic hash function. | 5017 | Gets or sets the value of the parameter. |
3540 | </summary> | 5018 | </summary> |
5019 | <value>An <see cref="T:System.Object">Object</see> that is the value of the parameter. | ||
5020 | The default value is null.</value> | ||
3541 | </member> | 5021 | </member> |
3542 | <member name="M:Npgsql.MD5CryptoServiceProvider.#ctor"> | 5022 | <member name="P:Npgsql.NpgsqlParameter.NpgsqlValue"> |
3543 | <summary> | 5023 | <summary> |
3544 | Creates a new MD5CryptoServiceProvider. | 5024 | Gets or sets the value of the parameter. |
3545 | </summary> | 5025 | </summary> |
5026 | <value>An <see cref="T:System.Object">Object</see> that is the value of the parameter. | ||
5027 | The default value is null.</value> | ||
3546 | </member> | 5028 | </member> |
3547 | <member name="M:Npgsql.MD5CryptoServiceProvider.HashCore(System.Byte[],System.Int32,System.Int32)"> | 5029 | <member name="T:Npgsql.NpgsqlParameterCollection"> |
3548 | <summary> | 5030 | <summary> |
3549 | Drives the hashing function. | 5031 | Represents a collection of parameters relevant to a <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> |
5032 | as well as their respective mappings to columns in a <see cref="T:System.Data.DataSet">DataSet</see>. | ||
5033 | This class cannot be inherited. | ||
3550 | </summary> | 5034 | </summary> |
3551 | <param name="rgb">Byte array containing the data to hash.</param> | ||
3552 | <param name="start">Where in the input buffer to start.</param> | ||
3553 | <param name="size">Size in bytes of the data in the buffer to hash.</param> | ||
3554 | </member> | 5035 | </member> |
3555 | <member name="M:Npgsql.MD5CryptoServiceProvider.HashFinal"> | 5036 | <member name="M:Npgsql.NpgsqlParameterCollection.#ctor"> |
3556 | <summary> | 5037 | <summary> |
3557 | This finalizes the hash. Takes the data from the chaining variables and returns it. | 5038 | Initializes a new instance of the NpgsqlParameterCollection class. |
3558 | </summary> | 5039 | </summary> |
3559 | </member> | 5040 | </member> |
3560 | <member name="M:Npgsql.MD5CryptoServiceProvider.Initialize"> | 5041 | <member name="M:Npgsql.NpgsqlParameterCollection.InvalidateHashLookups"> |
3561 | <summary> | 5042 | <summary> |
3562 | Resets the class after use. Called automatically after hashing is done. | 5043 | Invalidate the hash lookup tables. This should be done any time a change |
5044 | may throw the lookups out of sync with the list. | ||
3563 | </summary> | 5045 | </summary> |
3564 | </member> | 5046 | </member> |
3565 | <member name="M:Npgsql.MD5CryptoServiceProvider.ProcessBlock(System.Byte[],System.Int32)"> | 5047 | <member name="M:Npgsql.NpgsqlParameterCollection.Add(Npgsql.NpgsqlParameter)"> |
3566 | <summary> | 5048 | <summary> |
3567 | This is the meat of the hash function. It is what processes each block one at a time. | 5049 | Adds the specified <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object to the <see cref="T:Npgsql.NpgsqlParameterCollection">NpgsqlParameterCollection</see>. |
3568 | </summary> | 5050 | </summary> |
3569 | <param name="inputBuffer">Byte array to process data from.</param> | 5051 | <param name="value">The <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to add to the collection.</param> |
3570 | <param name="inputOffset">Where in the byte array to start processing.</param> | 5052 | <returns>The index of the new <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object.</returns> |
3571 | </member> | 5053 | </member> |
3572 | <member name="M:Npgsql.MD5CryptoServiceProvider.ProcessFinalBlock(System.Byte[],System.Int32,System.Int32)"> | 5054 | <member name="M:Npgsql.NpgsqlParameterCollection.Add(System.String,System.Object)"> |
3573 | <summary> | 5055 | <summary> |
3574 | Pads and then processes the final block. | 5056 | Obsolete. Use AddWithValue instead. |
3575 | </summary> | 5057 | </summary> |
3576 | <param name="inputBuffer">Buffer to grab data from.</param> | 5058 | <remarks> |
3577 | <param name="inputOffset">Position in buffer in bytes to get data from.</param> | 5059 | Use caution when using this overload of the |
3578 | <param name="inputCount">How much data in bytes in the buffer to use.</param> | 5060 | <b>Add</b> method to specify integer parameter values. |
5061 | Because this overload takes a <i>value</i> of type Object, | ||
5062 | you must convert the integral value to an <b>Object</b> | ||
5063 | type when the value is zero, as the following C# example demonstrates. | ||
5064 | <code>parameters.Add(":pname", Convert.ToInt32(0));</code> | ||
5065 | If you do not perform this conversion, the compiler will assume you | ||
5066 | are attempting to call the NpgsqlParameterCollection.Add(string, DbType) overload. | ||
5067 | </remarks> | ||
3579 | </member> | 5068 | </member> |
3580 | <member name="T:Npgsql.NpgsqlCopyInStream"> | 5069 | <member name="M:Npgsql.NpgsqlParameterCollection.AddWithValue(System.String,System.Object)"> |
3581 | <summary> | 5070 | <summary> |
3582 | Stream for writing data to a table on a PostgreSQL version 7.4 or newer database during an active COPY FROM STDIN operation. | 5071 | Adds a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to the <see cref="T:Npgsql.NpgsqlParameterCollection">NpgsqlParameterCollection</see> given the specified parameter name and value. |
3583 | <b>Passes data exactly as is and when given</b>, so see to it that you use server encoding, correct format and reasonably sized writes! | ||
3584 | </summary> | 5072 | </summary> |
5073 | <param name="parameterName">The name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see>.</param> | ||
5074 | <param name="value">The Value of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to add to the collection.</param> | ||
5075 | <returns>The paramater that was added.</returns> | ||
3585 | </member> | 5076 | </member> |
3586 | <member name="M:Npgsql.NpgsqlCopyInStream.#ctor(Npgsql.NpgsqlConnector)"> | 5077 | <member name="M:Npgsql.NpgsqlParameterCollection.AddWithValue(System.String,NpgsqlTypes.NpgsqlDbType,System.Object)"> |
3587 | <summary> | 5078 | <summary> |
3588 | Created only by NpgsqlCopyInState.StartCopy() | 5079 | Adds a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to the <see cref="T:Npgsql.NpgsqlParameterCollection">NpgsqlParameterCollection</see> given the specified parameter name and value. |
3589 | </summary> | 5080 | </summary> |
5081 | <param name="parameterName">The name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see>.</param> | ||
5082 | <param name="value">The Value of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to add to the collection.</param> | ||
5083 | <param name="parameterType">One of the NpgsqlDbType values.</param> | ||
5084 | <returns>The paramater that was added.</returns> | ||
3590 | </member> | 5085 | </member> |
3591 | <member name="M:Npgsql.NpgsqlCopyInStream.Close"> | 5086 | <member name="M:Npgsql.NpgsqlParameterCollection.AddWithValue(System.String,NpgsqlTypes.NpgsqlDbType,System.Int32,System.Object)"> |
3592 | <summary> | 5087 | <summary> |
3593 | Successfully completes copying data to server. Returns after operation is finished. | 5088 | Adds a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to the <see cref="T:Npgsql.NpgsqlParameterCollection">NpgsqlParameterCollection</see> given the specified parameter name and value. |
3594 | Does nothing if this stream is not the active copy operation writer. | ||
3595 | </summary> | 5089 | </summary> |
5090 | <param name="parameterName">The name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see>.</param> | ||
5091 | <param name="value">The Value of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to add to the collection.</param> | ||
5092 | <param name="parameterType">One of the NpgsqlDbType values.</param> | ||
5093 | <param name="size">The length of the column.</param> | ||
5094 | <returns>The paramater that was added.</returns> | ||
3596 | </member> | 5095 | </member> |
3597 | <member name="M:Npgsql.NpgsqlCopyInStream.Cancel(System.String)"> | 5096 | <member name="M:Npgsql.NpgsqlParameterCollection.AddWithValue(System.String,NpgsqlTypes.NpgsqlDbType,System.Int32,System.String,System.Object)"> |
3598 | <summary> | 5097 | <summary> |
3599 | Withdraws an already started copy operation. The operation will fail with given error message. | 5098 | Adds a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to the <see cref="T:Npgsql.NpgsqlParameterCollection">NpgsqlParameterCollection</see> given the specified parameter name and value. |
3600 | Does nothing if this stream is not the active copy operation writer. | ||
3601 | </summary> | 5099 | </summary> |
5100 | <param name="parameterName">The name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see>.</param> | ||
5101 | <param name="value">The Value of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to add to the collection.</param> | ||
5102 | <param name="parameterType">One of the NpgsqlDbType values.</param> | ||
5103 | <param name="size">The length of the column.</param> | ||
5104 | <param name="sourceColumn">The name of the source column.</param> | ||
5105 | <returns>The paramater that was added.</returns> | ||
3602 | </member> | 5106 | </member> |
3603 | <member name="M:Npgsql.NpgsqlCopyInStream.Write(System.Byte[],System.Int32,System.Int32)"> | 5107 | <member name="M:Npgsql.NpgsqlParameterCollection.Add(System.String,NpgsqlTypes.NpgsqlDbType)"> |
3604 | <summary> | 5108 | <summary> |
3605 | Writes given bytes to server. | 5109 | Adds a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to the <see cref="T:Npgsql.NpgsqlParameterCollection">NpgsqlParameterCollection</see> given the parameter name and the data type. |
3606 | Fails if this stream is not the active copy operation writer. | ||
3607 | </summary> | 5110 | </summary> |
5111 | <param name="parameterName">The name of the parameter.</param> | ||
5112 | <param name="parameterType">One of the DbType values.</param> | ||
5113 | <returns>The index of the new <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object.</returns> | ||
3608 | </member> | 5114 | </member> |
3609 | <member name="M:Npgsql.NpgsqlCopyInStream.Flush"> | 5115 | <member name="M:Npgsql.NpgsqlParameterCollection.Add(System.String,NpgsqlTypes.NpgsqlDbType,System.Int32)"> |
3610 | <summary> | 5116 | <summary> |
3611 | Flushes stream contents to server. | 5117 | Adds a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to the <see cref="T:Npgsql.NpgsqlParameterCollection">NpgsqlParameterCollection</see> with the parameter name, the data type, and the column length. |
3612 | Fails if this stream is not the active copy operation writer. | ||
3613 | </summary> | 5118 | </summary> |
5119 | <param name="parameterName">The name of the parameter.</param> | ||
5120 | <param name="parameterType">One of the DbType values.</param> | ||
5121 | <param name="size">The length of the column.</param> | ||
5122 | <returns>The index of the new <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object.</returns> | ||
3614 | </member> | 5123 | </member> |
3615 | <member name="M:Npgsql.NpgsqlCopyInStream.Read(System.Byte[],System.Int32,System.Int32)"> | 5124 | <member name="M:Npgsql.NpgsqlParameterCollection.Add(System.String,NpgsqlTypes.NpgsqlDbType,System.Int32,System.String)"> |
3616 | <summary> | 5125 | <summary> |
3617 | Not readable | 5126 | Adds a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to the <see cref="T:Npgsql.NpgsqlParameterCollection">NpgsqlParameterCollection</see> with the parameter name, the data type, the column length, and the source column name. |
3618 | </summary> | 5127 | </summary> |
5128 | <param name="parameterName">The name of the parameter.</param> | ||
5129 | <param name="parameterType">One of the DbType values.</param> | ||
5130 | <param name="size">The length of the column.</param> | ||
5131 | <param name="sourceColumn">The name of the source column.</param> | ||
5132 | <returns>The index of the new <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object.</returns> | ||
3619 | </member> | 5133 | </member> |
3620 | <member name="M:Npgsql.NpgsqlCopyInStream.Seek(System.Int64,System.IO.SeekOrigin)"> | 5134 | <member name="M:Npgsql.NpgsqlParameterCollection.RemoveAt(System.String)"> |
3621 | <summary> | 5135 | <summary> |
3622 | Not seekable | 5136 | Removes the specified <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> from the collection using the parameter name. |
3623 | </summary> | 5137 | </summary> |
5138 | <param name="parameterName">The name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object to retrieve.</param> | ||
3624 | </member> | 5139 | </member> |
3625 | <member name="M:Npgsql.NpgsqlCopyInStream.SetLength(System.Int64)"> | 5140 | <member name="M:Npgsql.NpgsqlParameterCollection.Contains(System.String)"> |
3626 | <summary> | 5141 | <summary> |
3627 | Not supported | 5142 | Gets a value indicating whether a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> with the specified parameter name exists in the collection. |
3628 | </summary> | 5143 | </summary> |
5144 | <param name="parameterName">The name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object to find.</param> | ||
5145 | <returns><b>true</b> if the collection contains the parameter; otherwise, <b>false</b>.</returns> | ||
3629 | </member> | 5146 | </member> |
3630 | <member name="P:Npgsql.NpgsqlCopyInStream.IsActive"> | 5147 | <member name="M:Npgsql.NpgsqlParameterCollection.IndexOf(System.String)"> |
3631 | <summary> | 5148 | <summary> |
3632 | True while this stream can be used to write copy data to server | 5149 | Gets the location of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> in the collection with a specific parameter name. |
3633 | </summary> | 5150 | </summary> |
5151 | <param name="parameterName">The name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object to find.</param> | ||
5152 | <returns>The zero-based location of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> in the collection.</returns> | ||
3634 | </member> | 5153 | </member> |
3635 | <member name="P:Npgsql.NpgsqlCopyInStream.CanRead"> | 5154 | <member name="M:Npgsql.NpgsqlParameterCollection.RemoveAt(System.Int32)"> |
3636 | <summary> | 5155 | <summary> |
3637 | False | 5156 | Removes the specified <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> from the collection using a specific index. |
3638 | </summary> | 5157 | </summary> |
5158 | <param name="index">The zero-based index of the parameter.</param> | ||
3639 | </member> | 5159 | </member> |
3640 | <member name="P:Npgsql.NpgsqlCopyInStream.CanWrite"> | 5160 | <member name="M:Npgsql.NpgsqlParameterCollection.Insert(System.Int32,System.Object)"> |
3641 | <summary> | 5161 | <summary> |
3642 | True | 5162 | Inserts a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> into the collection at the specified index. |
3643 | </summary> | 5163 | </summary> |
5164 | <param name="index">The zero-based index where the parameter is to be inserted within the collection.</param> | ||
5165 | <param name="oValue">The <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to add to the collection.</param> | ||
3644 | </member> | 5166 | </member> |
3645 | <member name="P:Npgsql.NpgsqlCopyInStream.CanSeek"> | 5167 | <member name="M:Npgsql.NpgsqlParameterCollection.Remove(System.String)"> |
3646 | <summary> | 5168 | <summary> |
3647 | False | 5169 | Removes the specified <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> from the collection. |
3648 | </summary> | 5170 | </summary> |
5171 | <param name="parameterName">The name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to remove from the collection.</param> | ||
3649 | </member> | 5172 | </member> |
3650 | <member name="P:Npgsql.NpgsqlCopyInStream.Length"> | 5173 | <member name="M:Npgsql.NpgsqlParameterCollection.Remove(System.Object)"> |
3651 | <summary> | 5174 | <summary> |
3652 | Number of bytes written so far | 5175 | Removes the specified <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> from the collection. |
3653 | </summary> | 5176 | </summary> |
5177 | <param name="oValue">The <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to remove from the collection.</param> | ||
3654 | </member> | 5178 | </member> |
3655 | <member name="P:Npgsql.NpgsqlCopyInStream.Position"> | 5179 | <member name="M:Npgsql.NpgsqlParameterCollection.Contains(System.Object)"> |
3656 | <summary> | 5180 | <summary> |
3657 | Number of bytes written so far; not settable | 5181 | Gets a value indicating whether a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> exists in the collection. |
3658 | </summary> | 5182 | </summary> |
5183 | <param name="value">The value of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object to find.</param> | ||
5184 | <returns>true if the collection contains the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object; otherwise, false.</returns> | ||
3659 | </member> | 5185 | </member> |
3660 | <member name="T:Npgsql.NpgsqlCommand"> | 5186 | <member name="M:Npgsql.NpgsqlParameterCollection.TryGetValue(System.String,Npgsql.NpgsqlParameter@)"> |
3661 | <summary> | 5187 | <summary> |
3662 | Represents a SQL statement or function (stored procedure) to execute | 5188 | Gets a value indicating whether a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> with the specified parameter name exists in the collection. |
3663 | against a PostgreSQL database. This class cannot be inherited. | ||
3664 | </summary> | 5189 | </summary> |
5190 | <param name="parameterName">The name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object to find.</param> | ||
5191 | <param name="parameter">A reference to the requested parameter is returned in this out param if it is found in the list. This value is null if the parameter is not found.</param> | ||
5192 | <returns><b>true</b> if the collection contains the parameter and param will contain the parameter; otherwise, <b>false</b>.</returns> | ||
3665 | </member> | 5193 | </member> |
3666 | <member name="M:Npgsql.NpgsqlCommand.#ctor"> | 5194 | <member name="M:Npgsql.NpgsqlParameterCollection.Clear"> |
3667 | <summary> | 5195 | <summary> |
3668 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> class. | 5196 | Removes all items from the collection. |
3669 | </summary> | 5197 | </summary> |
3670 | </member> | 5198 | </member> |
3671 | <member name="M:Npgsql.NpgsqlCommand.#ctor(System.String)"> | 5199 | <member name="M:Npgsql.NpgsqlParameterCollection.IndexOf(System.Object)"> |
3672 | <summary> | 5200 | <summary> |
3673 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> class with the text of the query. | 5201 | Gets the location of a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> in the collection. |
3674 | </summary> | 5202 | </summary> |
3675 | <param name="cmdText">The text of the query.</param> | 5203 | <param name="value">The value of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object to find.</param> |
5204 | <returns>The zero-based index of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object in the collection.</returns> | ||
3676 | </member> | 5205 | </member> |
3677 | <member name="M:Npgsql.NpgsqlCommand.#ctor(System.String,Npgsql.NpgsqlConnection)"> | 5206 | <member name="M:Npgsql.NpgsqlParameterCollection.Add(System.Object)"> |
3678 | <summary> | 5207 | <summary> |
3679 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> class with the text of the query and a <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see>. | 5208 | Adds the specified <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object to the <see cref="T:Npgsql.NpgsqlParameterCollection">NpgsqlParameterCollection</see>. |
3680 | </summary> | 5209 | </summary> |
3681 | <param name="cmdText">The text of the query.</param> | 5210 | <param name="value">The <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to add to the collection.</param> |
3682 | <param name="connection">A <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> that represents the connection to a PostgreSQL server.</param> | 5211 | <returns>The zero-based index of the new <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object.</returns> |
3683 | </member> | 5212 | </member> |
3684 | <member name="M:Npgsql.NpgsqlCommand.#ctor(System.String,Npgsql.NpgsqlConnection,Npgsql.NpgsqlTransaction)"> | 5213 | <member name="M:Npgsql.NpgsqlParameterCollection.CopyTo(System.Array,System.Int32)"> |
3685 | <summary> | 5214 | <summary> |
3686 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> class with the text of the query, a <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see>, and the <see cref="T:Npgsql.NpgsqlTransaction">NpgsqlTransaction</see>. | 5215 | Copies <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> objects from the <see cref="T:Npgsql.NpgsqlParameterCollection">NpgsqlParameterCollection</see> to the specified array. |
3687 | </summary> | 5216 | </summary> |
3688 | <param name="cmdText">The text of the query.</param> | 5217 | <param name="array">An <see cref="T:System.Array">Array</see> to which to copy the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> objects in the collection.</param> |
3689 | <param name="connection">A <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> that represents the connection to a PostgreSQL server.</param> | 5218 | <param name="index">The starting index of the array.</param> |
3690 | <param name="transaction">The <see cref="T:Npgsql.NpgsqlTransaction">NpgsqlTransaction</see> in which the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> executes.</param> | ||
3691 | </member> | 5219 | </member> |
3692 | <member name="M:Npgsql.NpgsqlCommand.#ctor(System.String,Npgsql.NpgsqlConnector)"> | 5220 | <member name="M:Npgsql.NpgsqlParameterCollection.GetEnumerator"> |
3693 | <summary> | 5221 | <summary> |
3694 | Used to execute internal commands. | 5222 | Returns an enumerator that can iterate through the collection. |
3695 | </summary> | 5223 | </summary> |
5224 | <returns>An <see cref="T:System.Collections.IEnumerator">IEnumerator</see> that can be used to iterate through the collection.</returns> | ||
3696 | </member> | 5225 | </member> |
3697 | <member name="M:Npgsql.NpgsqlCommand.Cancel"> | 5226 | <member name="M:Npgsql.NpgsqlParameterCollection.CheckType(System.Object)"> |
3698 | <summary> | 5227 | <summary> |
3699 | Attempts to cancel the execution of a <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see>. | 5228 | In methods taking an object as argument this method is used to verify |
5229 | that the argument has the type <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> | ||
3700 | </summary> | 5230 | </summary> |
3701 | <remarks>This Method isn't implemented yet.</remarks> | 5231 | <param name="Object">The object to verify</param> |
3702 | </member> | 5232 | </member> |
3703 | <member name="M:Npgsql.NpgsqlCommand.System#ICloneable#Clone"> | 5233 | <member name="P:Npgsql.NpgsqlParameterCollection.Item(System.String)"> |
3704 | <summary> | 5234 | <summary> |
3705 | Create a new command based on this one. | 5235 | Gets the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> with the specified name. |
3706 | </summary> | 5236 | </summary> |
3707 | <returns>A new NpgsqlCommand object.</returns> | 5237 | <param name="parameterName">The name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to retrieve.</param> |
5238 | <value>The <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> with the specified name, or a null reference if the parameter is not found.</value> | ||
3708 | </member> | 5239 | </member> |
3709 | <member name="M:Npgsql.NpgsqlCommand.Clone"> | 5240 | <member name="P:Npgsql.NpgsqlParameterCollection.Item(System.Int32)"> |
3710 | <summary> | 5241 | <summary> |
3711 | Create a new command based on this one. | 5242 | Gets the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> at the specified index. |
3712 | </summary> | 5243 | </summary> |
3713 | <returns>A new NpgsqlCommand object.</returns> | 5244 | <param name="index">The zero-based index of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to retrieve.</param> |
5245 | <value>The <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> at the specified index.</value> | ||
3714 | </member> | 5246 | </member> |
3715 | <member name="M:Npgsql.NpgsqlCommand.CreateDbParameter"> | 5247 | <member name="P:Npgsql.NpgsqlParameterCollection.Count"> |
3716 | <summary> | 5248 | <summary> |
3717 | Creates a new instance of an <see cref="T:System.Data.Common.DbParameter">DbParameter</see> object. | 5249 | Gets the number of <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> objects in the collection. |
3718 | </summary> | 5250 | </summary> |
3719 | <returns>An <see cref="T:System.Data.Common.DbParameter">DbParameter</see> object.</returns> | 5251 | <value>The number of <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> objects in the collection.</value> |
3720 | </member> | 5252 | </member> |
3721 | <member name="M:Npgsql.NpgsqlCommand.CreateParameter"> | 5253 | <member name="T:Npgsql.NpgsqlParameterStatus"> |
3722 | <summary> | 5254 | <summary> |
3723 | Creates a new instance of a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object. | 5255 | This class represents the ParameterStatus message sent from PostgreSQL |
3724 | </summary> | 5256 | server. |
3725 | <returns>A <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object.</returns> | 5257 | </summary> |
5258 | |||
3726 | </member> | 5259 | </member> |
3727 | <member name="M:Npgsql.NpgsqlCommand.ExecuteBlind"> | 5260 | <member name="T:Npgsql.NpgsqlParse"> |
3728 | <summary> | 5261 | <summary> |
3729 | Slightly optimised version of ExecuteNonQuery() for internal ues in cases where the number | 5262 | This class represents the Parse message sent to PostgreSQL |
3730 | of affected rows is of no interest. | 5263 | server. |
3731 | </summary> | 5264 | </summary> |
5265 | |||
3732 | </member> | 5266 | </member> |
3733 | <member name="M:Npgsql.NpgsqlCommand.ExecuteNonQuery"> | 5267 | <member name="T:Npgsql.NpgsqlPasswordPacket"> |
3734 | <summary> | 5268 | <summary> |
3735 | Executes a SQL statement against the connection and returns the number of rows affected. | 5269 | This class represents a PasswordPacket message sent to backend |
5270 | PostgreSQL. | ||
3736 | </summary> | 5271 | </summary> |
3737 | <returns>The number of rows affected if known; -1 otherwise.</returns> | ||
3738 | </member> | 5272 | </member> |
3739 | <member name="M:Npgsql.NpgsqlCommand.ExecuteDbDataReader(System.Data.CommandBehavior)"> | 5273 | <member name="M:Npgsql.NpgsqlPromotableSinglePhaseNotification.Prepare"> |
3740 | <summary> | 5274 | <summary> |
3741 | Sends the <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> to | 5275 | Used when a connection is closed |
3742 | the <see cref="T:Npgsql.NpgsqlConnection">Connection</see> and builds a | ||
3743 | <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see> | ||
3744 | using one of the <see cref="T:System.Data.CommandBehavior">CommandBehavior</see> values. | ||
3745 | </summary> | 5276 | </summary> |
3746 | <param name="behavior">One of the <see cref="T:System.Data.CommandBehavior">CommandBehavior</see> values.</param> | ||
3747 | <returns>A <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see> object.</returns> | ||
3748 | </member> | 5277 | </member> |
3749 | <member name="M:Npgsql.NpgsqlCommand.ExecuteReader"> | 5278 | <member name="T:Npgsql.NpgsqlQuery"> |
3750 | <summary> | 5279 | <summary> |
3751 | Sends the <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> to | 5280 | Summary description for NpgsqlQuery |
3752 | the <see cref="T:Npgsql.NpgsqlConnection">Connection</see> and builds a | ||
3753 | <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see>. | ||
3754 | </summary> | 5281 | </summary> |
3755 | <returns>A <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see> object.</returns> | ||
3756 | </member> | 5282 | </member> |
3757 | <member name="M:Npgsql.NpgsqlCommand.ExecuteReader(System.Data.CommandBehavior)"> | 5283 | <member name="T:Npgsql.NpgsqlRow"> |
3758 | <summary> | 5284 | <summary> |
3759 | Sends the <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> to | 5285 | This is the abstract base class for NpgsqlAsciiRow and NpgsqlBinaryRow. |
3760 | the <see cref="T:Npgsql.NpgsqlConnection">Connection</see> and builds a | ||
3761 | <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see> | ||
3762 | using one of the <see cref="T:System.Data.CommandBehavior">CommandBehavior</see> values. | ||
3763 | </summary> | 5286 | </summary> |
3764 | <param name="cb">One of the <see cref="T:System.Data.CommandBehavior">CommandBehavior</see> values.</param> | ||
3765 | <returns>A <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see> object.</returns> | ||
3766 | <remarks>Currently the CommandBehavior parameter is ignored.</remarks> | ||
3767 | </member> | 5287 | </member> |
3768 | <member name="M:Npgsql.NpgsqlCommand.BindParameters"> | 5288 | <member name="T:Npgsql.NpgsqlRowDescription"> |
3769 | <summary> | 5289 | <summary> |
3770 | This method binds the parameters from parameters collection to the bind | 5290 | This class represents a RowDescription message sent from |
3771 | message. | 5291 | the PostgreSQL. |
3772 | </summary> | 5292 | </summary> |
5293 | |||
3773 | </member> | 5294 | </member> |
3774 | <member name="M:Npgsql.NpgsqlCommand.ExecuteScalar"> | 5295 | <member name="T:Npgsql.NpgsqlRowDescription.FieldData"> |
3775 | <summary> | 5296 | <summary> |
3776 | Executes the query, and returns the first column of the first row | 5297 | This struct represents the internal data of the RowDescription message. |
3777 | in the result set returned by the query. Extra columns or rows are ignored. | ||
3778 | </summary> | 5298 | </summary> |
3779 | <returns>The first column of the first row in the result set, | ||
3780 | or a null reference if the result set is empty.</returns> | ||
3781 | </member> | 5299 | </member> |
3782 | <member name="M:Npgsql.NpgsqlCommand.Prepare"> | 5300 | <member name="T:Npgsql.NpgsqlSchema"> |
3783 | <summary> | 5301 | <summary> |
3784 | Creates a prepared version of the command on a PostgreSQL server. | 5302 | Provides the underlying mechanism for reading schema information. |
3785 | </summary> | 5303 | </summary> |
3786 | </member> | 5304 | </member> |
3787 | <member name="M:Npgsql.NpgsqlCommand.CheckConnectionState"> | 5305 | <member name="M:Npgsql.NpgsqlSchema.GetMetaDataCollections"> |
3788 | <summary> | 5306 | <summary> |
3789 | This method checks the connection state to see if the connection | 5307 | Returns the MetaDataCollections that lists all possible collections. |
3790 | is set or it is open. If one of this conditions is not met, throws | ||
3791 | an InvalidOperationException | ||
3792 | </summary> | 5308 | </summary> |
5309 | <returns>The MetaDataCollections</returns> | ||
3793 | </member> | 5310 | </member> |
3794 | <member name="M:Npgsql.NpgsqlCommand.GetCommandText"> | 5311 | <member name="M:Npgsql.NpgsqlSchema.GetRestrictions"> |
3795 | <summary> | 5312 | <summary> |
3796 | This method substitutes the <see cref="P:Npgsql.NpgsqlCommand.Parameters">Parameters</see>, if exist, in the command | 5313 | Returns the Restrictions that contains the meaning and position of the values in the restrictions array. |
3797 | to their actual values. | ||
3798 | The parameter name format is <b>:ParameterName</b>. | ||
3799 | </summary> | 5314 | </summary> |
3800 | <returns>A version of <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> with the <see cref="P:Npgsql.NpgsqlCommand.Parameters">Parameters</see> inserted.</returns> | 5315 | <returns>The Restrictions</returns> |
3801 | </member> | 5316 | </member> |
3802 | <member name="P:Npgsql.NpgsqlCommand.CommandText"> | 5317 | <member name="M:Npgsql.NpgsqlSchema.GetDatabases(Npgsql.NpgsqlConnection,System.String[])"> |
3803 | <summary> | 5318 | <summary> |
3804 | Gets or sets the SQL statement or function (stored procedure) to execute at the data source. | 5319 | Returns the Databases that contains a list of all accessable databases. |
3805 | </summary> | 5320 | </summary> |
3806 | <value>The Transact-SQL statement or stored procedure to execute. The default is an empty string.</value> | 5321 | <param name="conn">The database connection on which to run the metadataquery.</param> |
5322 | <param name="restrictions">The restrictions to filter the collection.</param> | ||
5323 | <returns>The Databases</returns> | ||
3807 | </member> | 5324 | </member> |
3808 | <member name="P:Npgsql.NpgsqlCommand.CommandTimeout"> | 5325 | <member name="M:Npgsql.NpgsqlSchema.GetTables(Npgsql.NpgsqlConnection,System.String[])"> |
3809 | <summary> | 5326 | <summary> |
3810 | Gets or sets the wait time before terminating the attempt | 5327 | Returns the Tables that contains table and view names and the database and schema they come from. |
3811 | to execute a command and generating an error. | ||
3812 | </summary> | 5328 | </summary> |
3813 | <value>The time (in seconds) to wait for the command to execute. | 5329 | <param name="conn">The database connection on which to run the metadataquery.</param> |
3814 | The default is 20 seconds.</value> | 5330 | <param name="restrictions">The restrictions to filter the collection.</param> |
5331 | <returns>The Tables</returns> | ||
3815 | </member> | 5332 | </member> |
3816 | <member name="P:Npgsql.NpgsqlCommand.CommandType"> | 5333 | <member name="M:Npgsql.NpgsqlSchema.GetColumns(Npgsql.NpgsqlConnection,System.String[])"> |
3817 | <summary> | 5334 | <summary> |
3818 | Gets or sets a value indicating how the | 5335 | Returns the Columns that contains information about columns in tables. |
3819 | <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> property is to be interpreted. | ||
3820 | </summary> | 5336 | </summary> |
3821 | <value>One of the <see cref="T:System.Data.CommandType">CommandType</see> values. The default is <see cref="T:System.Data.CommandType">CommandType.Text</see>.</value> | 5337 | <param name="conn">The database connection on which to run the metadataquery.</param> |
5338 | <param name="restrictions">The restrictions to filter the collection.</param> | ||
5339 | <returns>The Columns.</returns> | ||
3822 | </member> | 5340 | </member> |
3823 | <member name="P:Npgsql.NpgsqlCommand.Connection"> | 5341 | <member name="M:Npgsql.NpgsqlSchema.GetViews(Npgsql.NpgsqlConnection,System.String[])"> |
3824 | <summary> | 5342 | <summary> |
3825 | Gets or sets the <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> | 5343 | Returns the Views that contains view names and the database and schema they come from. |
3826 | used by this instance of the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see>. | ||
3827 | </summary> | 5344 | </summary> |
3828 | <value>The connection to a data source. The default value is a null reference.</value> | 5345 | <param name="conn">The database connection on which to run the metadataquery.</param> |
5346 | <param name="restrictions">The restrictions to filter the collection.</param> | ||
5347 | <returns>The Views</returns> | ||
3829 | </member> | 5348 | </member> |
3830 | <member name="P:Npgsql.NpgsqlCommand.Parameters"> | 5349 | <member name="M:Npgsql.NpgsqlSchema.GetUsers(Npgsql.NpgsqlConnection,System.String[])"> |
3831 | <summary> | 5350 | <summary> |
3832 | Gets the <see cref="T:Npgsql.NpgsqlParameterCollection">NpgsqlParameterCollection</see>. | 5351 | Returns the Users containing user names and the sysid of those users. |
3833 | </summary> | 5352 | </summary> |
3834 | <value>The parameters of the SQL statement or function (stored procedure). The default is an empty collection.</value> | 5353 | <param name="conn">The database connection on which to run the metadataquery.</param> |
5354 | <param name="restrictions">The restrictions to filter the collection.</param> | ||
5355 | <returns>The Users.</returns> | ||
3835 | </member> | 5356 | </member> |
3836 | <member name="P:Npgsql.NpgsqlCommand.Transaction"> | 5357 | <member name="T:Npgsql.NpgsqlStartupPacket"> |
3837 | <summary> | 5358 | <summary> |
3838 | Gets or sets the <see cref="T:Npgsql.NpgsqlTransaction">NpgsqlTransaction</see> | 5359 | This class represents a StartupPacket message of PostgreSQL |
3839 | within which the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> executes. | 5360 | protocol. |
3840 | </summary> | 5361 | </summary> |
3841 | <value>The <see cref="T:Npgsql.NpgsqlTransaction">NpgsqlTransaction</see>. | 5362 | |
3842 | The default value is a null reference.</value> | ||
3843 | </member> | 5363 | </member> |
3844 | <member name="P:Npgsql.NpgsqlCommand.UpdatedRowSource"> | 5364 | <member name="T:Npgsql.CompletedResponse"> |
3845 | <summary> | 5365 | <summary> |
3846 | Gets or sets how command results are applied to the <see cref="T:System.Data.DataRow">DataRow</see> | 5366 | Represents a completed response message. |
3847 | when used by the <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)">Update</see> | ||
3848 | method of the <see cref="T:System.Data.Common.DbDataAdapter">DbDataAdapter</see>. | ||
3849 | </summary> | 5367 | </summary> |
3850 | <value>One of the <see cref="T:System.Data.UpdateRowSource">UpdateRowSource</see> values.</value> | ||
3851 | </member> | 5368 | </member> |
3852 | <member name="P:Npgsql.NpgsqlCommand.LastInsertedOID"> | 5369 | <member name="T:Npgsql.NpgsqlSync"> |
3853 | <summary> | 5370 | <summary> |
3854 | Returns oid of inserted row. This is only updated when using executenonQuery and when command inserts just a single row. If table is created without oids, this will always be 0. | 5371 | This class represents the Sync message sent to PostgreSQL |
3855 | </summary> | 5372 | server. |
5373 | </summary> | ||
5374 | |||
3856 | </member> | 5375 | </member> |
3857 | <member name="T:Npgsql.NpgsqlParameterCollection"> | 5376 | <member name="T:Npgsql.NpgsqlTransaction"> |
3858 | <summary> | 5377 | <summary> |
3859 | Represents a collection of parameters relevant to a <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> | 5378 | Represents a transaction to be made in a PostgreSQL database. This class cannot be inherited. |
3860 | as well as their respective mappings to columns in a <see cref="T:System.Data.DataSet">DataSet</see>. | ||
3861 | This class cannot be inherited. | ||
3862 | </summary> | 5379 | </summary> |
3863 | </member> | 5380 | </member> |
3864 | <member name="M:Npgsql.NpgsqlParameterCollection.#ctor"> | 5381 | <member name="M:Npgsql.NpgsqlTransaction.Commit"> |
3865 | <summary> | 5382 | <summary> |
3866 | Initializes a new instance of the NpgsqlParameterCollection class. | 5383 | Commits the database transaction. |
3867 | </summary> | 5384 | </summary> |
3868 | </member> | 5385 | </member> |
3869 | <member name="M:Npgsql.NpgsqlParameterCollection.Add(Npgsql.NpgsqlParameter)"> | 5386 | <member name="M:Npgsql.NpgsqlTransaction.Rollback"> |
3870 | <summary> | 5387 | <summary> |
3871 | Adds the specified <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object to the <see cref="T:Npgsql.NpgsqlParameterCollection">NpgsqlParameterCollection</see>. | 5388 | Rolls back a transaction from a pending state. |
3872 | </summary> | 5389 | </summary> |
3873 | <param name="value">The <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to add to the collection.</param> | ||
3874 | <returns>The index of the new <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object.</returns> | ||
3875 | </member> | 5390 | </member> |
3876 | <member name="M:Npgsql.NpgsqlParameterCollection.Add(System.String,System.Object)"> | 5391 | <member name="M:Npgsql.NpgsqlTransaction.Rollback(System.String)"> |
3877 | <summary> | 5392 | <summary> |
3878 | Adds a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to the <see cref="T:Npgsql.NpgsqlParameterCollection">NpgsqlParameterCollection</see> given the specified parameter name and value. | 5393 | Rolls back a transaction from a pending savepoint state. |
3879 | </summary> | 5394 | </summary> |
3880 | <param name="parameterName">The name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see>.</param> | ||
3881 | <param name="value">The Value of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to add to the collection.</param> | ||
3882 | <returns>The index of the new <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object.</returns> | ||
3883 | <remarks> | ||
3884 | Use caution when using this overload of the | ||
3885 | <b>Add</b> method to specify integer parameter values. | ||
3886 | Because this overload takes a <i>value</i> of type Object, | ||
3887 | you must convert the integral value to an <b>Object</b> | ||
3888 | type when the value is zero, as the following C# example demonstrates. | ||
3889 | <code>parameters.Add(":pname", Convert.ToInt32(0));</code> | ||
3890 | If you do not perform this conversion, the compiler will assume you | ||
3891 | are attempting to call the NpgsqlParameterCollection.Add(string, DbType) overload. | ||
3892 | </remarks> | ||
3893 | </member> | 5395 | </member> |
3894 | <member name="M:Npgsql.NpgsqlParameterCollection.Add(System.String,NpgsqlTypes.NpgsqlDbType)"> | 5396 | <member name="M:Npgsql.NpgsqlTransaction.Save(System.String)"> |
3895 | <summary> | 5397 | <summary> |
3896 | Adds a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to the <see cref="T:Npgsql.NpgsqlParameterCollection">NpgsqlParameterCollection</see> given the parameter name and the data type. | 5398 | Creates a transaction save point. |
3897 | </summary> | 5399 | </summary> |
3898 | <param name="parameterName">The name of the parameter.</param> | ||
3899 | <param name="parameterType">One of the DbType values.</param> | ||
3900 | <returns>The index of the new <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object.</returns> | ||
3901 | </member> | 5400 | </member> |
3902 | <member name="M:Npgsql.NpgsqlParameterCollection.Add(System.String,NpgsqlTypes.NpgsqlDbType,System.Int32)"> | 5401 | <member name="M:Npgsql.NpgsqlTransaction.Cancel"> |
3903 | <summary> | 5402 | <summary> |
3904 | Adds a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to the <see cref="T:Npgsql.NpgsqlParameterCollection">NpgsqlParameterCollection</see> with the parameter name, the data type, and the column length. | 5403 | Cancel the transaction without telling the backend about it. This is |
5404 | used to make the transaction go away when closing a connection. | ||
3905 | </summary> | 5405 | </summary> |
3906 | <param name="parameterName">The name of the parameter.</param> | ||
3907 | <param name="parameterType">One of the DbType values.</param> | ||
3908 | <param name="size">The length of the column.</param> | ||
3909 | <returns>The index of the new <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object.</returns> | ||
3910 | </member> | 5406 | </member> |
3911 | <member name="M:Npgsql.NpgsqlParameterCollection.Add(System.String,NpgsqlTypes.NpgsqlDbType,System.Int32,System.String)"> | 5407 | <member name="P:Npgsql.NpgsqlTransaction.Connection"> |
3912 | <summary> | 5408 | <summary> |
3913 | Adds a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to the <see cref="T:Npgsql.NpgsqlParameterCollection">NpgsqlParameterCollection</see> with the parameter name, the data type, the column length, and the source column name. | 5409 | Gets the <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> |
5410 | object associated with the transaction, or a null reference if the | ||
5411 | transaction is no longer valid. | ||
3914 | </summary> | 5412 | </summary> |
3915 | <param name="parameterName">The name of the parameter.</param> | 5413 | <value>The <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> |
3916 | <param name="parameterType">One of the DbType values.</param> | 5414 | object associated with the transaction.</value> |
3917 | <param name="size">The length of the column.</param> | ||
3918 | <param name="sourceColumn">The name of the source column.</param> | ||
3919 | <returns>The index of the new <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object.</returns> | ||
3920 | </member> | 5415 | </member> |
3921 | <member name="M:Npgsql.NpgsqlParameterCollection.RemoveAt(System.String)"> | 5416 | <member name="P:Npgsql.NpgsqlTransaction.IsolationLevel"> |
3922 | <summary> | 5417 | <summary> |
3923 | Removes the specified <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> from the collection using the parameter name. | 5418 | Specifies the <see cref="T:System.Data.IsolationLevel">IsolationLevel</see> for this transaction. |
3924 | </summary> | 5419 | </summary> |
3925 | <param name="parameterName">The name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object to retrieve.</param> | 5420 | <value>The <see cref="T:System.Data.IsolationLevel">IsolationLevel</see> for this transaction. |
5421 | The default is <b>ReadCommitted</b>.</value> | ||
3926 | </member> | 5422 | </member> |
3927 | <member name="M:Npgsql.NpgsqlParameterCollection.Contains(System.String)"> | 5423 | <member name="T:Npgsql.PGUtil"> |
3928 | <summary> | 5424 | <summary> |
3929 | Gets a value indicating whether a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> with the specified parameter name exists in the collection. | 5425 | This class provides many util methods to handle |
3930 | </summary> | 5426 | reading and writing of PostgreSQL protocol messages. |
3931 | <param name="parameterName">The name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object to find.</param> | 5427 | </summary> |
3932 | <returns><b>true</b> if the collection contains the parameter; otherwise, <b>false</b>.</returns> | ||
3933 | </member> | 5428 | </member> |
3934 | <member name="M:Npgsql.NpgsqlParameterCollection.IndexOf(System.String)"> | 5429 | <member name="M:Npgsql.PGUtil.ConvertProtocolVersion(Npgsql.ProtocolVersion)"> |
3935 | <summary> | 5430 | <summary> |
3936 | Gets the location of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> in the collection with a specific parameter name. | 5431 | This method takes a ProtocolVersion and returns an integer |
3937 | </summary> | 5432 | version number that the Postgres backend will recognize in a |
3938 | <param name="parameterName">The name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object to find.</param> | 5433 | startup packet. |
3939 | <returns>The zero-based location of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> in the collection.</returns> | 5434 | </summary> |
3940 | </member> | 5435 | </member> |
3941 | <member name="M:Npgsql.NpgsqlParameterCollection.RemoveAt(System.Int32)"> | 5436 | <member name="M:Npgsql.PGUtil.ExtractServerVersion(System.String)"> |
3942 | <summary> | 5437 | <summary> |
3943 | Removes the specified <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> from the collection using a specific index. | 5438 | This method takes a version string as returned by SELECT VERSION() and returns |
5439 | a valid version string ("7.2.2" for example). | ||
5440 | This is only needed when running protocol version 2. | ||
5441 | This does not do any validity checks. | ||
3944 | </summary> | 5442 | </summary> |
3945 | <param name="index">The zero-based index of the parameter.</param> | ||
3946 | </member> | 5443 | </member> |
3947 | <member name="M:Npgsql.NpgsqlParameterCollection.Insert(System.Int32,System.Object)"> | 5444 | <member name="M:Npgsql.PGUtil.ReadString(System.IO.Stream)"> |
3948 | <summary> | 5445 | <summary> |
3949 | Inserts a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> into the collection at the specified index. | 5446 | This method gets a C NULL terminated string from the network stream. |
3950 | </summary> | 5447 | It keeps reading a byte in each time until a NULL byte is returned. |
3951 | <param name="index">The zero-based index where the parameter is to be inserted within the collection.</param> | 5448 | It returns the resultant string of bytes read. |
3952 | <param name="value">The <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to add to the collection.</param> | 5449 | This string is sent from backend. |
5450 | </summary> | ||
3953 | </member> | 5451 | </member> |
3954 | <member name="M:Npgsql.NpgsqlParameterCollection.Remove(System.Object)"> | 5452 | <member name="M:Npgsql.PGUtil.ReadBytes(System.IO.Stream,System.Byte[],System.Int32,System.Int32)"> |
3955 | <summary> | 5453 | <summary> |
3956 | Removes the specified <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> from the collection. | 5454 | Reads requested number of bytes from stream with retries until Stream.Read returns 0 or count is reached. |
3957 | </summary> | 5455 | </summary> |
3958 | <param name="value">The <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to remove from the collection.</param> | 5456 | <param name="stream">Stream to read</param> |
5457 | <param name="buffer">byte buffer to fill</param> | ||
5458 | <param name="offset">starting position to fill the buffer</param> | ||
5459 | <param name="count">number of bytes to read</param> | ||
5460 | <returns>The number of bytes read. May be less than count if no more bytes are available.</returns> | ||
3959 | </member> | 5461 | </member> |
3960 | <member name="M:Npgsql.NpgsqlParameterCollection.Contains(System.Object)"> | 5462 | <member name="M:Npgsql.PGUtil.ReadBytes(System.Byte[],System.Int32,System.Int32,System.Boolean)"> |
3961 | <summary> | 5463 | <summary> |
3962 | Gets a value indicating whether a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> exists in the collection. | 5464 | Reads requested number of bytes from <paramref name="src"/>. If output matches <paramref name="src"/> exactly, and <paramref name="forceCopy"/> == false, <paramref name="src"/> is returned directly. |
3963 | </summary> | 5465 | </summary> |
3964 | <param name="value">The value of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object to find.</param> | 5466 | <param name="src">Source array.</param> |
3965 | <returns>true if the collection contains the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object; otherwise, false.</returns> | 5467 | <param name="offset">Starting position to read from <paramref name="src"/></param> |
5468 | <param name="count">Number of bytes to read</param> | ||
5469 | <param name="forceCopy">Force a copy, even if the output is an exact copy of <paramref name="src"/>.</param> | ||
5470 | <returns>byte[] containing data requested.</returns> | ||
3966 | </member> | 5471 | </member> |
3967 | <member name="M:Npgsql.NpgsqlParameterCollection.TryGetValue(System.String,Npgsql.NpgsqlParameter@)"> | 5472 | <member name="M:Npgsql.PGUtil.WriteString(System.IO.Stream,System.String)"> |
3968 | <summary> | 5473 | <summary> |
3969 | Gets a value indicating whether a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> with the specified parameter name exists in the collection. | 5474 | This method writes a string to the network stream. |
3970 | </summary> | 5475 | </summary> |
3971 | <param name="parameterName">The name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object to find.</param> | ||
3972 | <param name="parameter">A reference to the requested parameter is returned in this out param if it is found in the list. This value is null if the parameter is not found.</param> | ||
3973 | <returns><b>true</b> if the collection contains the parameter and param will contain the parameter; otherwise, <b>false</b>.</returns> | ||
3974 | </member> | 5476 | </member> |
3975 | <member name="M:Npgsql.NpgsqlParameterCollection.Clear"> | 5477 | <member name="M:Npgsql.PGUtil.WriteString(System.IO.Stream,System.String,System.Object[])"> |
3976 | <summary> | 5478 | <summary> |
3977 | Removes all items from the collection. | 5479 | This method writes a string to the network stream. |
3978 | </summary> | 5480 | </summary> |
3979 | </member> | 5481 | </member> |
3980 | <member name="M:Npgsql.NpgsqlParameterCollection.IndexOf(System.Object)"> | 5482 | <member name="M:Npgsql.PGUtil.WriteStringNullTerminated(System.IO.Stream,System.String)"> |
3981 | <summary> | 5483 | <summary> |
3982 | Gets the location of a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> in the collection. | 5484 | This method writes a C NULL terminated string to the network stream. |
3983 | </summary> | 5485 | It appends a NULL terminator to the end of the String. |
3984 | <param name="value">The value of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object to find.</param> | 5486 | </summary> |
3985 | <returns>The zero-based index of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object in the collection.</returns> | ||
3986 | </member> | 5487 | </member> |
3987 | <member name="M:Npgsql.NpgsqlParameterCollection.Add(System.Object)"> | 5488 | <member name="M:Npgsql.PGUtil.WriteStringNullTerminated(System.IO.Stream,System.String,System.Object[])"> |
3988 | <summary> | 5489 | <summary> |
3989 | Adds the specified <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object to the <see cref="T:Npgsql.NpgsqlParameterCollection">NpgsqlParameterCollection</see>. | 5490 | This method writes a C NULL terminated string to the network stream. |
3990 | </summary> | 5491 | It appends a NULL terminator to the end of the String. |
3991 | <param name="value">The <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to add to the collection.</param> | 5492 | </summary> |
3992 | <returns>The zero-based index of the new <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object.</returns> | ||
3993 | </member> | 5493 | </member> |
3994 | <member name="M:Npgsql.NpgsqlParameterCollection.CopyTo(System.Array,System.Int32)"> | 5494 | <member name="M:Npgsql.PGUtil.WriteBytes(System.IO.Stream,System.Byte)"> |
3995 | <summary> | 5495 | <summary> |
3996 | Copies <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> objects from the <see cref="T:Npgsql.NpgsqlParameterCollection">NpgsqlParameterCollection</see> to the specified array. | 5496 | This method writes a byte to the stream. It also enables logging of them. |
3997 | </summary> | 5497 | </summary> |
3998 | <param name="array">An <see cref="T:System.Array">Array</see> to which to copy the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> objects in the collection.</param> | ||
3999 | <param name="index">The starting index of the array.</param> | ||
4000 | </member> | 5498 | </member> |
4001 | <member name="M:Npgsql.NpgsqlParameterCollection.GetEnumerator"> | 5499 | <member name="M:Npgsql.PGUtil.WriteBytesNullTerminated(System.IO.Stream,System.Byte)"> |
4002 | <summary> | 5500 | <summary> |
4003 | Returns an enumerator that can iterate through the collection. | 5501 | This method writes a byte to the stream. It also enables logging of them. |
4004 | </summary> | 5502 | </summary> |
4005 | <returns>An <see cref="T:System.Collections.IEnumerator">IEnumerator</see> that can be used to iterate through the collection.</returns> | ||
4006 | </member> | 5503 | </member> |
4007 | <member name="M:Npgsql.NpgsqlParameterCollection.CheckType(System.Object)"> | 5504 | <member name="M:Npgsql.PGUtil.WriteBytes(System.IO.Stream,System.Byte[])"> |
4008 | <summary> | 5505 | <summary> |
4009 | In methods taking an object as argument this method is used to verify | 5506 | This method writes a set of bytes to the stream. It also enables logging of them. |
4010 | that the argument has the type <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> | ||
4011 | </summary> | 5507 | </summary> |
4012 | <param name="Object">The object to verify</param> | ||
4013 | </member> | 5508 | </member> |
4014 | <member name="P:Npgsql.NpgsqlParameterCollection.Item(System.String)"> | 5509 | <member name="M:Npgsql.PGUtil.WriteBytesNullTerminated(System.IO.Stream,System.Byte[])"> |
4015 | <summary> | 5510 | <summary> |
4016 | Gets the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> with the specified name. | 5511 | This method writes a set of bytes to the stream. It also enables logging of them. |
4017 | </summary> | 5512 | </summary> |
4018 | <param name="parameterName">The name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to retrieve.</param> | ||
4019 | <value>The <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> with the specified name, or a null reference if the parameter is not found.</value> | ||
4020 | </member> | 5513 | </member> |
4021 | <member name="P:Npgsql.NpgsqlParameterCollection.Item(System.Int32)"> | 5514 | <member name="M:Npgsql.PGUtil.WriteLimString(System.IO.Stream,System.String,System.Int32)"> |
4022 | <summary> | 5515 | <summary> |
4023 | Gets the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> at the specified index. | 5516 | This method writes a C NULL terminated string limited in length to the |
4024 | </summary> | 5517 | backend server. |
4025 | <param name="index">The zero-based index of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> to retrieve.</param> | 5518 | It pads the string with null bytes to the size specified. |
4026 | <value>The <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> at the specified index.</value> | 5519 | </summary> |
4027 | </member> | 5520 | </member> |
4028 | <member name="P:Npgsql.NpgsqlParameterCollection.Count"> | 5521 | <member name="M:Npgsql.PGUtil.WriteLimBytes(System.IO.Stream,System.Byte[],System.Int32)"> |
4029 | <summary> | 5522 | <summary> |
4030 | Gets the number of <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> objects in the collection. | 5523 | This method writes a C NULL terminated byte[] limited in length to the |
4031 | </summary> | 5524 | backend server. |
4032 | <value>The number of <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> objects in the collection.</value> | 5525 | It pads the string with null bytes to the size specified. |
5526 | </summary> | ||
4033 | </member> | 5527 | </member> |
4034 | <member name="T:Npgsql.NpgsqlCopyInState"> | 5528 | <member name="M:Npgsql.PGUtil.WriteInt32(System.IO.Stream,System.Int32)"> |
4035 | <summary> | 5529 | <summary> |
4036 | Represents an ongoing COPY FROM STDIN operation. | 5530 | Write a 32-bit integer to the given stream in the correct byte order. |
4037 | Provides methods to push data to server and end or cancel the operation. | ||
4038 | </summary> | 5531 | </summary> |
4039 | </member> | 5532 | </member> |
4040 | <member name="M:Npgsql.NpgsqlCopyInState.StartCopy(Npgsql.NpgsqlConnector,Npgsql.NpgsqlCopyFormat)"> | 5533 | <member name="M:Npgsql.PGUtil.ReadInt32(System.IO.Stream)"> |
4041 | <summary> | 5534 | <summary> |
4042 | Called from NpgsqlState.ProcessBackendResponses upon CopyInResponse. | 5535 | Read a 32-bit integer from the given stream in the correct byte order. |
4043 | If CopyStream is already set, it is used to read data to push to server, after which the copy is completed. | ||
4044 | Otherwise CopyStream is set to a writable NpgsqlCopyInStream that calls SendCopyData each time it is written to. | ||
4045 | </summary> | 5536 | </summary> |
4046 | </member> | 5537 | </member> |
4047 | <member name="M:Npgsql.NpgsqlCopyInState.SendCopyData(Npgsql.NpgsqlConnector,System.Byte[],System.Int32,System.Int32)"> | 5538 | <member name="M:Npgsql.PGUtil.ReadInt32(System.Byte[],System.Int32)"> |
4048 | <summary> | 5539 | <summary> |
4049 | Sends given packet to server as a CopyData message. | 5540 | Read a 32-bit integer from the given array in the correct byte order. |
4050 | Does not check for notifications! Use another thread for that. | ||
4051 | </summary> | 5541 | </summary> |
4052 | </member> | 5542 | </member> |
4053 | <member name="M:Npgsql.NpgsqlCopyInState.SendCopyDone(Npgsql.NpgsqlConnector)"> | 5543 | <member name="M:Npgsql.PGUtil.WriteInt16(System.IO.Stream,System.Int16)"> |
4054 | <summary> | 5544 | <summary> |
4055 | Sends CopyDone message to server. Handles responses, ie. may throw an exception. | 5545 | Write a 16-bit integer to the given stream in the correct byte order. |
4056 | </summary> | 5546 | </summary> |
4057 | </member> | 5547 | </member> |
4058 | <member name="M:Npgsql.NpgsqlCopyInState.SendCopyFail(Npgsql.NpgsqlConnector,System.String)"> | 5548 | <member name="M:Npgsql.PGUtil.ReadInt16(System.IO.Stream)"> |
4059 | <summary> | 5549 | <summary> |
4060 | Sends CopyFail message to server. Handles responses, ie. should always throw an exception: | 5550 | Read a 16-bit integer from the given stream in the correct byte order. |
4061 | in CopyIn state the server responds to CopyFail with an error response; | ||
4062 | outside of a CopyIn state the server responds to CopyFail with an error response; | ||
4063 | without network connection or whatever, there's going to eventually be a failure, timeout or user intervention. | ||
4064 | </summary> | 5551 | </summary> |
4065 | </member> | 5552 | </member> |
4066 | <member name="P:Npgsql.NpgsqlCopyInState.CopyFormat"> | 5553 | <member name="M:Npgsql.PGUtil.ReadInt16(System.Byte[],System.Int32)"> |
4067 | <summary> | 5554 | <summary> |
4068 | Copy format information returned from server. | 5555 | Read a 16-bit integer from the given array in the correct byte order. |
4069 | </summary> | 5556 | </summary> |
4070 | </member> | 5557 | </member> |
4071 | <member name="T:NpgsqlTypes.NpgsqlPoint"> | 5558 | <member name="M:Npgsql.PGUtil.HostNetworkByteOrderSwap(System.Byte[],System.Boolean)"> |
4072 | <summary> | 5559 | <summary> |
4073 | Represents a PostgreSQL Point type | 5560 | Copy and possibly reverse a byte array, depending on host architecture endienness. |
4074 | </summary> | 5561 | </summary> |
5562 | <param name="src">Source byte array.</param> | ||
5563 | <param name="forceCopy">Force a copy even if no swap is performed.</param> | ||
5564 | <returns><paramref name="src"/>, reversed if on a little-endian architecture, copied if required.</returns> | ||
4075 | </member> | 5565 | </member> |
4076 | <member name="T:NpgsqlTypes.NpgsqlLSeg"> | 5566 | <member name="M:Npgsql.PGUtil.HostNetworkByteOrderSwap(System.Byte[],System.Int32,System.Int32,System.Boolean)"> |
4077 | <summary> | 5567 | <summary> |
4078 | Represents a PostgreSQL Line Segment type. | 5568 | Copy and possibly reverse a byte array, depending on host architecture endienness. |
4079 | </summary> | 5569 | </summary> |
5570 | <param name="src">Source byte array.</param> | ||
5571 | <param name="start">Starting offset in source array.</param> | ||
5572 | <param name="length">Number of bytes to copy.</param> | ||
5573 | <param name="forceCopy">Force a copy even if no swap is performed.</param> | ||
5574 | <returns><paramref name="src"/>, reversed if on a little-endian architecture, copied if required.</returns> | ||
4080 | </member> | 5575 | </member> |
4081 | <member name="T:NpgsqlTypes.NpgsqlPath"> | 5576 | <member name="T:Npgsql.ProtocolVersion"> |
4082 | <summary> | 5577 | <summary> |
4083 | Represents a PostgreSQL Path type. | 5578 | Represent the frontend/backend protocol version. |
4084 | </summary> | 5579 | </summary> |
4085 | </member> | 5580 | </member> |
4086 | <member name="T:NpgsqlTypes.NpgsqlPolygon"> | 5581 | <member name="T:Npgsql.ServerVersion"> |
5582 | <summary> | ||
5583 | Represent the backend server version. | ||
5584 | As this class offers no functionality beyond that offered by <see cref="T:System.Version"/> it has been | ||
5585 | deprecated in favour of that class. | ||
5586 | </summary> | ||
5587 | |||
5588 | </member> | ||
5589 | <member name="M:Npgsql.ServerVersion.ToString"> | ||
4087 | <summary> | 5590 | <summary> |
4088 | Represents a PostgreSQL Polygon type. | 5591 | Returns the string representation of this version in three place dot notation (Major.Minor.Patch). |
4089 | </summary> | 5592 | </summary> |
4090 | </member> | 5593 | </member> |
4091 | <member name="T:NpgsqlTypes.NpgsqlCircle"> | 5594 | <member name="P:Npgsql.ServerVersion.Major"> |
4092 | <summary> | 5595 | <summary> |
4093 | Represents a PostgreSQL Circle type. | 5596 | Server version major number. |
4094 | </summary> | 5597 | </summary> |
4095 | </member> | 5598 | </member> |
4096 | <member name="T:NpgsqlTypes.NpgsqlInet"> | 5599 | <member name="P:Npgsql.ServerVersion.Minor"> |
4097 | <summary> | 5600 | <summary> |
4098 | Represents a PostgreSQL inet type. | 5601 | Server version minor number. |
4099 | </summary> | 5602 | </summary> |
4100 | </member> | 5603 | </member> |
4101 | <member name="T:NpgsqlTypes.NpgsqlMacAddress"> | 5604 | <member name="P:Npgsql.ServerVersion.Patch"> |
4102 | <summary> | 5605 | <summary> |
4103 | Represents a PostgreSQL MacAddress type. | 5606 | Server version patch level number. |
4104 | </summary> | 5607 | </summary> |
4105 | </member> | 5608 | </member> |
4106 | <member name="M:NpgsqlTypes.NpgsqlMacAddress.#ctor(System.String)"> | 5609 | <member name="T:Npgsql.SSPIHandler"> |
4107 | <summary> | 5610 | <summary> |
4108 | 5611 | A class to handle everything associated with SSPI authentication | |
4109 | </summary> | 5612 | </summary> |
4110 | <param name="macAddr">The macAddr parameter must contain a string that can only consist of numbers | ||
4111 | and upper-case letters as hexadecimal digits. (See PhysicalAddress.Parse method on MSDN)</param> | ||
4112 | </member> | 5613 | </member> |
4113 | <member name="T:Npgsql.NpgsqlPasswordPacket"> | 5614 | <member name="T:Npgsql.SSPIHandler.SecBufferDesc"> |
4114 | <summary> | 5615 | <summary> |
4115 | This class represents a PasswordPacket message sent to backend | 5616 | Simplified SecBufferDesc struct with only one SecBuffer |
4116 | PostgreSQL. | ||
4117 | </summary> | 5617 | </summary> |
4118 | </member> | 5618 | </member> |
4119 | </members> | 5619 | </members> |