diff options
author | Geir Nøklebye | 2017-05-07 15:11:09 +0200 |
---|---|---|
committer | UbitUmarov | 2017-05-14 18:58:16 +0100 |
commit | c1d06a806d581e9036a0833501ded1a83db06ab7 (patch) | |
tree | 4c71a5ec57f69b58bf51352ff707b9f619618413 | |
parent | clear land object on delete (diff) | |
download | opensim-SC_OLD-c1d06a806d581e9036a0833501ded1a83db06ab7.zip opensim-SC_OLD-c1d06a806d581e9036a0833501ded1a83db06ab7.tar.gz opensim-SC_OLD-c1d06a806d581e9036a0833501ded1a83db06ab7.tar.bz2 opensim-SC_OLD-c1d06a806d581e9036a0833501ded1a83db06ab7.tar.xz |
Updated Npgsql.dll to version 2.0.14.3 built for .NET 4.0 Mono.Security has been updated for the same build.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
-rw-r--r--[-rwxr-xr-x] | bin/Npgsql.dll | bin | 413184 -> 363008 bytes | |||
-rw-r--r-- | bin/Npgsql.xml | 4771 | ||||
-rw-r--r-- | bin/lib/NET/Mono.Security.dll | bin | 282624 -> 291840 bytes |
3 files changed, 2678 insertions, 2093 deletions
diff --git a/bin/Npgsql.dll b/bin/Npgsql.dll index 24ca4bd..593e366 100755..100644 --- a/bin/Npgsql.dll +++ b/bin/Npgsql.dll | |||
Binary files differ | |||
diff --git a/bin/Npgsql.xml b/bin/Npgsql.xml index a51252d..aec35c1 100644 --- a/bin/Npgsql.xml +++ b/bin/Npgsql.xml | |||
@@ -4,2559 +4,2696 @@ | |||
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.FromArray(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,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> | ||
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> | ||
24 | <remarks> | ||
25 | <p>When you specify an <see cref="T:System.Object">Object</see> | ||
26 | in the value parameter, the <see cref="T:System.Data.DbType">DbType</see> is | ||
27 | inferred from the .NET Framework type of the <b>Object</b>.</p> | ||
28 | <p>When using this constructor, you must be aware of a possible misuse of the constructor which takes a DbType parameter. | ||
29 | This happens when calling this constructor passing an int 0 and the compiler thinks you are passing a value of DbType. | ||
30 | Use <code> Convert.ToInt32(value) </code> for example to have compiler calling the correct constructor.</p> | ||
31 | </remarks> | ||
32 | </member> | 28 | </member> |
33 | <member name="M:Npgsql.NpgsqlParameter.#ctor(System.String,NpgsqlTypes.NpgsqlDbType)"> | 29 | <member name="T:NpgsqlTypes.ArrayBackendToNativeTypeConverter"> |
34 | <summary> | 30 | <summary> |
35 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> | 31 | Handles parsing of pg arrays into .NET arrays. |
36 | class with the parameter m_Name and the data type. | ||
37 | </summary> | 32 | </summary> |
38 | <param m_Name="parameterName">The m_Name of the parameter to map.</param> | ||
39 | <param m_Name="parameterType">One of the <see cref="T:System.Data.DbType">DbType</see> values.</param> | ||
40 | </member> | 33 | </member> |
41 | <member name="M:Npgsql.NpgsqlParameter.#ctor(System.String,NpgsqlTypes.NpgsqlDbType,System.Int32)"> | 34 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.TokenEnumeration(System.String)"> |
42 | <summary> | 35 | <summary> |
43 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> | 36 | Takes a string representation of a pg 1-dimensional array |
44 | class with the parameter m_Name, the <see cref="T:System.Data.DbType">DbType</see>, and the size. | 37 | (or a 1-dimensional row within an n-dimensional array) |
38 | and allows enumeration of the string represenations of each items. | ||
45 | </summary> | 39 | </summary> |
46 | <param m_Name="parameterName">The m_Name of the parameter to map.</param> | ||
47 | <param m_Name="parameterType">One of the <see cref="T:System.Data.DbType">DbType</see> values.</param> | ||
48 | <param m_Name="size">The length of the parameter.</param> | ||
49 | </member> | 40 | </member> |
50 | <member name="M:Npgsql.NpgsqlParameter.#ctor(System.String,NpgsqlTypes.NpgsqlDbType,System.Int32,System.String)"> | 41 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.ArrayChunkEnumeration(System.String)"> |
51 | <summary> | 42 | <summary> |
52 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> | 43 | Takes a string representation of a pg n-dimensional array |
53 | class with the parameter m_Name, the <see cref="T:System.Data.DbType">DbType</see>, the size, | 44 | and allows enumeration of the string represenations of the next |
54 | and the source column m_Name. | 45 | lower level of rows (which in turn can be taken as (n-1)-dimensional arrays. |
55 | </summary> | 46 | </summary> |
56 | <param m_Name="parameterName">The m_Name of the parameter to map.</param> | ||
57 | <param m_Name="parameterType">One of the <see cref="T:System.Data.DbType">DbType</see> values.</param> | ||
58 | <param m_Name="size">The length of the parameter.</param> | ||
59 | <param m_Name="sourceColumn">The m_Name of the source column.</param> | ||
60 | </member> | 47 | </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)"> | 48 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.RecursiveArrayListEnumeration(System.Collections.ArrayList)"> |
62 | <summary> | 49 | <summary> |
63 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> | 50 | Takes an ArrayList which may be an ArrayList of ArrayLists, an ArrayList of ArrayLists of ArrayLists |
64 | class with the parameter m_Name, the <see cref="T:System.Data.DbType">DbType</see>, the size, | 51 | and so on and enumerates the items that aren't ArrayLists (the leaf nodes if we think of the ArrayList |
65 | the source column m_Name, a <see cref="T:System.Data.ParameterDirection">ParameterDirection</see>, | 52 | passed as a tree). Simply uses the ArrayLists' own IEnumerators to get that of the next, |
66 | the precision of the parameter, the scale of the parameter, a | 53 | pushing them onto a stack until we hit something that isn't an ArrayList. |
67 | <see cref="T:System.Data.DataRowVersion">DataRowVersion</see> to use, and the | 54 | <param name="list"><see cref="T:System.Collections.ArrayList">ArrayList</see> to enumerate</param> |
68 | value of the parameter. | 55 | <returns><see cref="T:System.Collections.IEnumerable">IEnumerable</see></returns> |
69 | </summary> | 56 | </summary> |
70 | <param m_Name="parameterName">The m_Name of the parameter to map.</param> | ||
71 | <param m_Name="parameterType">One of the <see cref="T:System.Data.DbType">DbType</see> values.</param> | ||
72 | <param m_Name="size">The length of the parameter.</param> | ||
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> | 57 | </member> |
84 | <member name="M:Npgsql.NpgsqlParameter.Clone"> | 58 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.#ctor(NpgsqlTypes.NpgsqlBackendTypeInfo)"> |
85 | <summary> | 59 | <summary> |
86 | Creates a new <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> that | 60 | Create a new ArrayBackendToNativeTypeConverter |
87 | is a copy of the current instance. | ||
88 | </summary> | 61 | </summary> |
89 | <returns>A new <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> that is a copy of this instance.</returns> | 62 | <param name="elementConverter"><see cref="T:NpgsqlTypes.NpgsqlBackendTypeInfo"/> for the element type.</param> |
90 | </member> | 63 | </member> |
91 | <member name="P:Npgsql.NpgsqlParameter.Precision"> | 64 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.ToArray(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> |
92 | <summary> | 65 | <summary> |
93 | Gets or sets the maximum number of digits used to represent the | 66 | Creates an array from pg representation. |
94 | <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see> property. | ||
95 | </summary> | 67 | </summary> |
96 | <value>The maximum number of digits used to represent the | ||
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> | 68 | </member> |
101 | <member name="P:Npgsql.NpgsqlParameter.Scale"> | 69 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.ToArrayList(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> |
102 | <summary> | 70 | <summary> |
103 | Gets or sets the number of decimal places to which | 71 | Creates an array list from pg represenation of an array. |
104 | <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see> is resolved. | 72 | Multidimensional arrays are treated as ArrayLists of ArrayLists |
105 | </summary> | 73 | </summary> |
106 | <value>The number of decimal places to which | ||
107 | <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see> is resolved. The default is 0.</value> | ||
108 | </member> | 74 | </member> |
109 | <member name="P:Npgsql.NpgsqlParameter.Size"> | 75 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.ToArray(System.Collections.ArrayList,System.Type)"> |
110 | <summary> | 76 | <summary> |
111 | Gets or sets the maximum size, in bytes, of the data within the column. | 77 | Creates an n-dimensional array from an ArrayList of ArrayLists or |
78 | a 1-dimensional array from something else. | ||
112 | </summary> | 79 | </summary> |
113 | <value>The maximum size, in bytes, of the data within the column. | 80 | <param name="list"><see cref="T:System.Collections.ArrayList"/> to convert</param> |
114 | The default value is inferred from the parameter value.</value> | 81 | <returns><see cref="T:System.Array"/> produced.</returns> |
115 | </member> | 82 | </member> |
116 | <member name="P:Npgsql.NpgsqlParameter.DbType"> | 83 | <member name="T:NpgsqlTypes.ArrayBackendToNativeTypeConverter.IntSetIterator"> |
117 | <summary> | 84 | <summary> |
118 | Gets or sets the <see cref="T:System.Data.DbType">DbType</see> of the parameter. | 85 | Takes an array of ints and treats them like the limits of a set of counters. |
86 | Retains a matching set of ints that is set to all zeros on the first ++ | ||
87 | On a ++ it increments the "right-most" int. If that int reaches it's | ||
88 | limit it is set to zero and the one before it is incremented, and so on. | ||
89 | |||
90 | Making this a more general purpose class is pretty straight-forward, but we'll just put what we need here. | ||
119 | </summary> | 91 | </summary> |
120 | <value>One of the <see cref="T:System.Data.DbType">DbType</see> values. The default is <b>String</b>.</value> | ||
121 | </member> | 92 | </member> |
122 | <member name="P:Npgsql.NpgsqlParameter.NpgsqlDbType"> | 93 | <member name="T:NpgsqlTypes.BitString"> |
123 | <summary> | 94 | <summary> |
124 | Gets or sets the <see cref="T:System.Data.DbType">DbType</see> of the parameter. | 95 | <para>Implements a bit string; a collection of zero or more bits which can each be 1 or 0.</para> |
96 | <para>BitString's behave as a list of bools, though like most strings and unlike most collections the position | ||
97 | tends to be of as much significance as the value.</para> | ||
98 | <para>BitStrings are often used as masks, and are commonly cast to and from other values.</para> | ||
125 | </summary> | 99 | </summary> |
126 | <value>One of the <see cref="T:System.Data.DbType">DbType</see> values. The default is <b>String</b>.</value> | ||
127 | </member> | 100 | </member> |
128 | <member name="P:Npgsql.NpgsqlParameter.Direction"> | 101 | <member name="F:NpgsqlTypes.BitString.Empty"> |
129 | <summary> | 102 | <summary> |
130 | Gets or sets a value indicating whether the parameter is input-only, | 103 | Represents the empty string. |
131 | output-only, bidirectional, or a stored procedure return value parameter. | ||
132 | </summary> | 104 | </summary> |
133 | <value>One of the <see cref="T:System.Data.ParameterDirection">ParameterDirection</see> | ||
134 | values. The default is <b>Input</b>.</value> | ||
135 | </member> | 105 | </member> |
136 | <member name="P:Npgsql.NpgsqlParameter.IsNullable"> | 106 | <member name="M:NpgsqlTypes.BitString.#ctor(System.Collections.Generic.IEnumerable{System.Boolean})"> |
137 | <summary> | 107 | <summary> |
138 | Gets or sets a value indicating whether the parameter accepts null values. | 108 | Create a BitString from an enumeration of boolean values. The BitString will contain |
109 | those booleans in the order they came in. | ||
139 | </summary> | 110 | </summary> |
140 | <value><b>true</b> if null values are accepted; otherwise, <b>false</b>. The default is <b>false</b>.</value> | 111 | <param name="bits">The boolean values.</param> |
141 | </member> | 112 | </member> |
142 | <member name="P:Npgsql.NpgsqlParameter.ParameterName"> | 113 | <member name="M:NpgsqlTypes.BitString.#ctor(System.Boolean,System.Int32)"> |
143 | <summary> | 114 | <summary> |
144 | Gets or sets the m_Name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see>. | 115 | Creates a BitString filled with a given number of true or false values. |
145 | </summary> | 116 | </summary> |
146 | <value>The m_Name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see>. | 117 | <param name="value">The value to fill the string with.</param> |
147 | The default is an empty string.</value> | 118 | <param name="count">The number of bits to fill.</param> |
148 | </member> | 119 | </member> |
149 | <member name="P:Npgsql.NpgsqlParameter.CleanName"> | 120 | <member name="M:NpgsqlTypes.BitString.#ctor(System.String)"> |
150 | <summary> | 121 | <summary> |
151 | The m_Name scrubbed of any optional marker | 122 | Creats a bitstring from a <see cref="T:System.String">string</see>. |
123 | <param name="str">The <see cref="T:System.String">string to copy from</see>.</param> | ||
124 | <seealso cref="!:Npgsql.BitString.Parse(System.String)"/> | ||
152 | </summary> | 125 | </summary> |
153 | </member> | 126 | </member> |
154 | <member name="P:Npgsql.NpgsqlParameter.SourceColumn"> | 127 | <member name="M:NpgsqlTypes.BitString.#ctor(System.Boolean)"> |
155 | <summary> | 128 | <summary> |
156 | Gets or sets the m_Name of the source column that is mapped to the | 129 | Creates a single-bit element from a boolean value. |
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> | 130 | </summary> |
160 | <value>The m_Name of the source column that is mapped to the | 131 | <param name="boolean">The <see cref="T:System.Boolean">bool</see> value which determines whether |
161 | <see cref="T:System.Data.DataSet">DataSet</see>. The default is an empty string.</value> | 132 | the bit is 1 or 0.</param> |
162 | </member> | 133 | </member> |
163 | <member name="P:Npgsql.NpgsqlParameter.SourceVersion"> | 134 | <member name="M:NpgsqlTypes.BitString.#ctor(System.UInt32)"> |
164 | <summary> | 135 | <summary> |
165 | Gets or sets the <see cref="T:System.Data.DataRowVersion">DataRowVersion</see> | 136 | Creates a bitstring from an unsigned integer value. The string will be the shortest required to |
166 | to use when loading <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see>. | 137 | contain the integer (e.g. 1 bit for 0 or 1, 2 for 2 or 3, 3 for 4-7, and so on). |
167 | </summary> | 138 | </summary> |
168 | <value>One of the <see cref="T:System.Data.DataRowVersion">DataRowVersion</see> values. | 139 | <param name="integer">The <see cref="T:System.UInt32">integer</see>.</param> |
169 | The default is <b>Current</b>.</value> | 140 | <remarks>This method is not CLS Compliant, and may not be available to some languages.</remarks> |
170 | </member> | 141 | </member> |
171 | <member name="P:Npgsql.NpgsqlParameter.Value"> | 142 | <member name="M:NpgsqlTypes.BitString.#ctor(System.Int32)"> |
172 | <summary> | 143 | <summary> |
173 | Gets or sets the value of the parameter. | 144 | Creates a bitstring from an integer value. The string will be the shortest required to |
145 | contain the integer (e.g. 1 bit for 0 or 1, 2 for 2 or 3, 3 for 4-7, and so on). | ||
174 | </summary> | 146 | </summary> |
175 | <value>An <see cref="T:System.Object">Object</see> that is the value of the parameter. | 147 | <param name="integer">The <see cref="T:System.Int32">integer</see>.</param> |
176 | The default value is null.</value> | ||
177 | </member> | 148 | </member> |
178 | <member name="P:Npgsql.NpgsqlParameter.NpgsqlValue"> | 149 | <member name="M:NpgsqlTypes.BitString.IndexOf(System.Boolean)"> |
179 | <summary> | 150 | <summary> |
180 | Gets or sets the value of the parameter. | 151 | Finds the first instance of a given value |
181 | </summary> | 152 | </summary> |
182 | <value>An <see cref="T:System.Object">Object</see> that is the value of the parameter. | 153 | <param name="item">The value - whether true or false - to search for.</param> |
183 | The default value is null.</value> | 154 | <returns>The index of the value found, or -1 if none are present.</returns> |
184 | </member> | ||
185 | <member name="T:Npgsql.NpgsqlFlush"> | ||
186 | <summary> | ||
187 | This class represents the Parse message sent to PostgreSQL | ||
188 | server. | ||
189 | </summary> | ||
190 | |||
191 | </member> | 155 | </member> |
192 | <member name="T:Npgsql.ClientMessage"> | 156 | <member name="M:NpgsqlTypes.BitString.Contains(System.Boolean)"> |
193 | <summary> | 157 | <summary> |
194 | For classes representing messages sent from the client to the server. | 158 | True if there is at least one bit with the value looked for. |
195 | </summary> | 159 | </summary> |
160 | <param name="item">The value - true or false - to detect.</param> | ||
161 | <returns>True if at least one bit was the same as item, false otherwise.</returns> | ||
196 | </member> | 162 | </member> |
197 | <member name="T:Npgsql.NpgsqlCopySerializer"> | 163 | <member name="M:NpgsqlTypes.BitString.CopyTo(System.Boolean[],System.Int32)"> |
198 | <summary> | 164 | <summary> |
199 | Writes given objects into a stream for PostgreSQL COPY in default copy format (not CSV or BINARY). | 165 | Copies the bitstring to an array of bools. |
200 | </summary> | 166 | </summary> |
167 | <param name="array">The <see cref="T:System.Boolean">boolean</see> array to copy to.</param> | ||
168 | <param name="arrayIndex">The index in the array to start copying from.</param> | ||
201 | </member> | 169 | </member> |
202 | <member name="M:Npgsql.NpgsqlConnectionStringBuilder.Clone"> | 170 | <member name="M:NpgsqlTypes.BitString.GetEnumerator"> |
203 | <summary> | 171 | <summary> |
204 | Return an exact copy of this NpgsqlConnectionString. | 172 | Returns an enumerator that enumerates through the string. |
205 | </summary> | 173 | </summary> |
174 | <returns>The enumerator.</returns> | ||
206 | </member> | 175 | </member> |
207 | <member name="M:Npgsql.NpgsqlConnectionStringBuilder.SetValue(System.String,System.Object)"> | 176 | <member name="M:NpgsqlTypes.BitString.Concat(NpgsqlTypes.BitString)"> |
208 | <summary> | 177 | <summary> |
209 | This function will set value for known key, both private member and base[key]. | 178 | Creats a bitstring by concatenating another onto this one. |
210 | </summary> | 179 | </summary> |
211 | <param name="keyword"></param> | 180 | <param name="append">The string to append to this one.</param> |
212 | <param name="value"></param> | 181 | <returns>The combined strings.</returns> |
213 | </member> | 182 | </member> |
214 | <member name="M:Npgsql.NpgsqlConnectionStringBuilder.SetValue(Npgsql.Keywords,System.Object)"> | 183 | <member name="M:NpgsqlTypes.BitString.Substring(System.Int32,System.Int32)"> |
215 | <summary> | 184 | <summary> |
216 | The function will modify private member only, not base[key]. | 185 | Returns a substring of this string. |
217 | </summary> | 186 | </summary> |
218 | <param name="keyword"></param> | 187 | <param name="start">The position to start from, must be between 0 and the length of the string.</param> |
219 | <param name="value"></param> | 188 | <param name="length">The length of the string to return, must be greater than zero, and may not be |
189 | so large that the start + length exceeds the bounds of this instance.</param> | ||
190 | <returns>The Bitstring identified</returns> | ||
220 | </member> | 191 | </member> |
221 | <member name="M:Npgsql.NpgsqlConnectionStringBuilder.Clear"> | 192 | <member name="M:NpgsqlTypes.BitString.Substring(System.Int32)"> |
222 | <summary> | 193 | <summary> |
223 | Clear the member and assign them to the default value. | 194 | Returns a substring of this string. |
224 | </summary> | 195 | </summary> |
196 | <param name="start">The position to start from, must be between 0 and the length of the string, | ||
197 | the rest of the string is returned.</param> | ||
198 | <returns>The Bitstring identified</returns> | ||
225 | </member> | 199 | </member> |
226 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.Compatible"> | 200 | <member name="M:NpgsqlTypes.BitString.And(NpgsqlTypes.BitString)"> |
227 | <summary> | 201 | <summary> |
228 | Compatibilty version. When possible, behaviour caused by breaking changes will be preserved | 202 | A logical and between this string and another. The two strings must be the same length. |
229 | if this version is less than that where the breaking change was introduced. | ||
230 | </summary> | 203 | </summary> |
204 | <param name="operand">Another BitString to AND with this one.</param> | ||
205 | <returns>A bitstring with 1 where both BitStrings had 1 and 0 otherwise.</returns> | ||
231 | </member> | 206 | </member> |
232 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.Item(System.String)"> | 207 | <member name="M:NpgsqlTypes.BitString.Or(NpgsqlTypes.BitString)"> |
233 | <summary> | 208 | <summary> |
234 | Case insensative accessor for indivual connection string values. | 209 | A logical or between this string and another. The two strings must be the same length. |
235 | </summary> | 210 | </summary> |
211 | <param name="operand">Another BitString to OR with this one.</param> | ||
212 | <returns>A bitstring with 1 where either BitString had 1 and 0 otherwise.</returns> | ||
236 | </member> | 213 | </member> |
237 | <member name="T:Npgsql.MD5"> | 214 | <member name="M:NpgsqlTypes.BitString.Xor(NpgsqlTypes.BitString)"> |
238 | <summary> | 215 | <summary> |
239 | Common base class for all derived MD5 implementations. | 216 | A logical xor between this string and another. The two strings must be the same length. |
240 | </summary> | 217 | </summary> |
218 | <param name="operand">Another BitString to XOR with this one.</param> | ||
219 | <returns>A bitstring with 1 where one BitStrings and the other had 0, | ||
220 | and 0 where they both had 1 or both had 0.</returns> | ||
241 | </member> | 221 | </member> |
242 | <member name="M:Npgsql.HashAlgorithm.#ctor"> | 222 | <member name="M:NpgsqlTypes.BitString.Not"> |
243 | <summary> | 223 | <summary> |
244 | Called from constructor of derived class. | 224 | A bitstring that is the logical inverse of this one. |
245 | </summary> | 225 | </summary> |
226 | <returns>A bitstring of the same length as this with 1 where this has 0 and vice-versa.</returns> | ||
246 | </member> | 227 | </member> |
247 | <member name="M:Npgsql.HashAlgorithm.Finalize"> | 228 | <member name="M:NpgsqlTypes.BitString.LShift(System.Int32)"> |
248 | <summary> | 229 | <summary> |
249 | Finalizer for HashAlgorithm | 230 | Shifts the string operand bits to the left, filling with zeros to produce a |
231 | string of the same length. | ||
250 | </summary> | 232 | </summary> |
233 | <param name="operand">The number of bits to shift to the left.</param> | ||
234 | <returns>A left-shifted bitstring.</returns> | ||
235 | <remarks><para>The behaviour of LShift is closer to what one would expect from dealing | ||
236 | with PostgreSQL bit-strings than in using the same operations on integers in .NET</para> | ||
237 | <para>In particular, negative operands result in a right-shift, and operands greater than | ||
238 | the length of the string will shift it entirely, resulting in a zero-filled string.</para> | ||
239 | </remarks> | ||
251 | </member> | 240 | </member> |
252 | <member name="M:Npgsql.HashAlgorithm.ComputeHash(System.Byte[])"> | 241 | <member name="M:NpgsqlTypes.BitString.RShift(System.Int32)"> |
253 | <summary> | 242 | <summary> |
254 | Computes the entire hash of all the bytes in the byte array. | 243 | Shifts the string operand bits to the right, filling with zeros to produce a |
244 | string of the same length. | ||
255 | </summary> | 245 | </summary> |
246 | <param name="operand">The number of bits to shift to the right.</param> | ||
247 | <returns>A right-shifted bitstring.</returns> | ||
248 | <remarks><para>The behaviour of RShift is closer to what one would expect from dealing | ||
249 | with PostgreSQL bit-strings than in using the same operations on integers in .NET</para> | ||
250 | <para>In particular, negative operands result in a left-shift, and operands greater than | ||
251 | the length of the string will shift it entirely, resulting in a zero-filled string. It also performs | ||
252 | a logical shift, rather than an arithmetic shift, so it always sets the vacated bit positions to zero | ||
253 | (like PostgreSQL and like .NET for unsigned integers but not for signed integers).</para> | ||
254 | </remarks> | ||
256 | </member> | 255 | </member> |
257 | <member name="M:Npgsql.HashAlgorithm.HashCore(System.Byte[],System.Int32,System.Int32)"> | 256 | <member name="M:NpgsqlTypes.BitString.Equals(NpgsqlTypes.BitString)"> |
258 | <summary> | 257 | <summary> |
259 | When overridden in a derived class, drives the hashing function. | 258 | Returns true if the this string is identical to the argument passed. |
260 | </summary> | 259 | </summary> |
261 | <param name="rgb"></param> | ||
262 | <param name="start"></param> | ||
263 | <param name="size"></param> | ||
264 | </member> | 260 | </member> |
265 | <member name="M:Npgsql.HashAlgorithm.HashFinal"> | 261 | <member name="M:NpgsqlTypes.BitString.CompareTo(NpgsqlTypes.BitString)"> |
266 | <summary> | 262 | <summary> |
267 | When overridden in a derived class, this pads and hashes whatever data might be left in the buffers and then returns the hash created. | 263 | Compares two strings. Strings are compared as strings, so while 0 being less than 1 will |
264 | mean a comparison between two strings of the same size is the same as treating them as numbers, | ||
265 | in the case of two strings of differing lengths the comparison starts at the right-most (most significant) | ||
266 | bit, and if all bits of the shorter string are exhausted without finding a comparison, then the larger | ||
267 | string is deemed to be greater than the shorter (0010 is greater than 0001 but less than 00100). | ||
268 | </summary> | 268 | </summary> |
269 | <param name="other">Another string to compare with this one.</param> | ||
270 | <returns>A value if the two strings are identical, an integer less | ||
271 | than zero if this is less than the argument, and an integer greater | ||
272 | than zero otherwise.</returns> | ||
269 | </member> | 273 | </member> |
270 | <member name="M:Npgsql.HashAlgorithm.Initialize"> | 274 | <member name="M:NpgsqlTypes.BitString.CompareTo(System.Object)"> |
271 | <summary> | 275 | <summary> |
272 | When overridden in a derived class, initializes the object to prepare for hashing. | 276 | Compares the string with another object. |
273 | </summary> | 277 | </summary> |
278 | <param name="obj">The object to compare with.</param> | ||
279 | <returns>If the object is null then this string is considered greater. If the object is another BitString | ||
280 | then they are compared as in <see cref="!:CompareTo(Npgsql.BitString)">the explicit comparison for BitStrings</see> | ||
281 | in any other case a <see cref="T:System.ArgumentException"/> is thrown.</returns> | ||
274 | </member> | 282 | </member> |
275 | <member name="M:Npgsql.HashAlgorithm.TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)"> | 283 | <member name="M:NpgsqlTypes.BitString.Equals(System.Object)"> |
276 | <summary> | 284 | <summary> |
277 | Used for stream chaining. Computes hash as data passes through it. | 285 | Compares this BitString with an object for equality. |
278 | </summary> | 286 | </summary> |
279 | <param name="inputBuffer">The buffer from which to grab the data to be copied.</param> | ||
280 | <param name="inputOffset">The offset into the input buffer to start reading at.</param> | ||
281 | <param name="inputCount">The number of bytes to be copied.</param> | ||
282 | <param name="outputBuffer">The buffer to write the copied data to.</param> | ||
283 | <param name="outputOffset">At what point in the outputBuffer to write the data at.</param> | ||
284 | </member> | 287 | </member> |
285 | <member name="M:Npgsql.HashAlgorithm.TransformFinalBlock(System.Byte[],System.Int32,System.Int32)"> | 288 | <member name="M:NpgsqlTypes.BitString.GetHashCode"> |
286 | <summary> | 289 | <summary> |
287 | Used for stream chaining. Computes hash as data passes through it. Finishes off the hash. | 290 | Returns a code for use in hashing operations. |
288 | </summary> | 291 | </summary> |
289 | <param name="inputBuffer">The buffer from which to grab the data to be copied.</param> | ||
290 | <param name="inputOffset">The offset into the input buffer to start reading at.</param> | ||
291 | <param name="inputCount">The number of bytes to be copied.</param> | ||
292 | </member> | 292 | </member> |
293 | <member name="P:Npgsql.HashAlgorithm.CanTransformMultipleBlocks"> | 293 | <member name="M:NpgsqlTypes.BitString.ToString(System.String)"> |
294 | <summary> | 294 | <summary> |
295 | Get whether or not the hash can transform multiple blocks at a time. | 295 | Returns a string representation of the BitString. |
296 | Note: MUST be overriden if descendant can transform multiple block | ||
297 | on a single call! | ||
298 | </summary> | 296 | </summary> |
297 | <param name="format"> | ||
298 | A string which can contain a letter and optionally a number which sets a minimum size for the string | ||
299 | returned. In each case using the lower-case form of the letter will result in a lower-case string | ||
300 | being returned. | ||
301 | <list type="table"> | ||
302 | <item> | ||
303 | <term>B</term> | ||
304 | <description>A string of 1s and 0s.</description> | ||
305 | </item> | ||
306 | <item> | ||
307 | <term>X</term> | ||
308 | <description>An hexadecimal string (will result in an error unless the string's length is divisible by 4).</description> | ||
309 | </item> | ||
310 | <item> | ||
311 | <term>G</term> | ||
312 | <description>A string of 1s and 0s in single-quotes preceded by 'B' (Postgres bit string literal syntax).</description> | ||
313 | </item> | ||
314 | <term>Y</term> | ||
315 | <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> | ||
316 | </list> | ||
317 | <term>C</term> | ||
318 | <description>The format produced by format-string "Y" if legal, otherwise that produced by format-string "G".</description> | ||
319 | <term>E</term> | ||
320 | <description>The most compact safe representation for Postgres. If single bit will be either a 0 or a 1. Otherwise if it | ||
321 | can be that produce by format string "Y" it will, otherwise if there are less than 9bits in length it will be that | ||
322 | produced by format-string "G". For longer strings that cannot be represented in hexadecimal it will be a string | ||
323 | representing the first part of the string in format "Y" followed by the PostgreSQL concatenation operator, followed | ||
324 | by the final bits in the format "G". E.g. "X'13DCE'||B'110'"</description> | ||
325 | If format is empty or null, it is treated as if "B" had been passed (the default repreesentation, and that | ||
326 | generally used by PostgreSQL for display). | ||
327 | </param> | ||
328 | <returns>The formatted string.</returns> | ||
299 | </member> | 329 | </member> |
300 | <member name="P:Npgsql.HashAlgorithm.Hash"> | 330 | <member name="M:NpgsqlTypes.BitString.ToString"> |
301 | <summary> | 331 | <summary> |
302 | Gets the previously computed hash. | 332 | Returns a string representation for the Bitstring |
303 | </summary> | 333 | </summary> |
334 | <returns>A string containing '0' and '1' characters.</returns> | ||
304 | </member> | 335 | </member> |
305 | <member name="P:Npgsql.HashAlgorithm.HashSize"> | 336 | <member name="M:NpgsqlTypes.BitString.ToString(System.String,System.IFormatProvider)"> |
306 | <summary> | 337 | <summary> |
307 | Returns the size in bits of the hash. | 338 | Returns the same string as <see cref="M:NpgsqlTypes.BitString.ToString(System.String)"/>. formatProvider is ignored. |
308 | </summary> | 339 | </summary> |
309 | </member> | 340 | </member> |
310 | <member name="P:Npgsql.HashAlgorithm.InputBlockSize"> | 341 | <member name="M:NpgsqlTypes.BitString.Parse(System.String)"> |
311 | <summary> | 342 | <summary> |
312 | Must be overriden if not 1 | 343 | Parses a string to produce a BitString. Most formats that can be produced by |
344 | <see cref="M:NpgsqlTypes.BitString.ToString(System.String)"/> can be accepted, but hexadecimal | ||
345 | can be interpreted with the preceding X' to mark the following characters as | ||
346 | being hexadecimal rather than binary. | ||
313 | </summary> | 347 | </summary> |
314 | </member> | 348 | </member> |
315 | <member name="P:Npgsql.HashAlgorithm.OutputBlockSize"> | 349 | <member name="M:NpgsqlTypes.BitString.op_BitwiseAnd(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> |
316 | <summary> | 350 | <summary> |
317 | Must be overriden if not 1 | 351 | Performs a logical AND on the two operands. |
318 | </summary> | 352 | </summary> |
319 | </member> | 353 | </member> |
320 | <member name="M:Npgsql.MD5.#ctor"> | 354 | <member name="M:NpgsqlTypes.BitString.op_BitwiseOr(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> |
321 | <summary> | 355 | <summary> |
322 | Called from constructor of derived class. | 356 | Performs a logcial OR on the two operands. |
323 | </summary> | 357 | </summary> |
324 | </member> | 358 | </member> |
325 | <member name="M:Npgsql.MD5.Create"> | 359 | <member name="M:NpgsqlTypes.BitString.op_ExclusiveOr(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> |
326 | <summary> | 360 | <summary> |
327 | Creates the default derived class. | 361 | Perofrms a logical EXCLUSIVE-OR on the two operands |
328 | </summary> | 362 | </summary> |
329 | </member> | 363 | </member> |
330 | <member name="M:Npgsql.SqlGenerators.SqlBaseGenerator.GetColumnsForJoin(Npgsql.SqlGenerators.JoinExpression,Npgsql.SqlGenerators.ProjectionExpression,Npgsql.SqlGenerators.VisitedExpression)"> | 364 | <member name="M:NpgsqlTypes.BitString.op_OnesComplement(NpgsqlTypes.BitString)"> |
331 | <summary> | 365 | <summary> |
332 | Given a join expression and a projection, fetch all columns in the projection | 366 | Performs a logical NOT on the operand. |
333 | that reference columns in the join. | ||
334 | </summary> | 367 | </summary> |
335 | </member> | 368 | </member> |
336 | <member name="M:Npgsql.SqlGenerators.SqlBaseGenerator.GetFromNames(Npgsql.SqlGenerators.InputExpression,System.Collections.Generic.List{System.String})"> | 369 | <member name="M:NpgsqlTypes.BitString.op_Addition(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> |
337 | <summary> | 370 | <summary> |
338 | Given an InputExpression append all from names (including nested joins) to the list. | 371 | Concatenates the operands. |
339 | </summary> | 372 | </summary> |
340 | </member> | 373 | </member> |
341 | <member name="M:Npgsql.SqlGenerators.SqlBaseGenerator.GetReplacementColumn(Npgsql.SqlGenerators.JoinExpression,Npgsql.SqlGenerators.ColumnExpression)"> | 374 | <member name="M:NpgsqlTypes.BitString.op_LeftShift(NpgsqlTypes.BitString,System.Int32)"> |
342 | <summary> | 375 | <summary> |
343 | Get new ColumnExpression that will be used in projection that had it's existing columns moved. | 376 | Left-shifts the string BitString. |
344 | These should be simple references to the inner column | ||
345 | </summary> | 377 | </summary> |
346 | </member> | 378 | </member> |
347 | <member name="M:Npgsql.SqlGenerators.SqlBaseGenerator.AdjustPropertyAccess(Npgsql.SqlGenerators.ColumnExpression[],System.String)"> | 379 | <member name="M:NpgsqlTypes.BitString.op_RightShift(NpgsqlTypes.BitString,System.Int32)"> |
348 | <summary> | 380 | <summary> |
349 | Every property accessed in the list of columns must be adjusted for a new scope | 381 | Right-shifts the string BitString. |
350 | </summary> | 382 | </summary> |
351 | </member> | 383 | </member> |
352 | <member name="T:Npgsql.PGUtil"> | 384 | <member name="M:NpgsqlTypes.BitString.op_Equality(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> |
353 | <summary> | 385 | <summary> |
354 | This class provides many util methods to handle | 386 | Compares the two operands. |
355 | reading and writing of PostgreSQL protocol messages. | 387 | </summary> |
356 | </summary> | ||
357 | </member> | 388 | </member> |
358 | <member name="M:Npgsql.PGUtil.ConvertProtocolVersion(Npgsql.ProtocolVersion)"> | 389 | <member name="M:NpgsqlTypes.BitString.op_Inequality(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> |
359 | <summary> | 390 | <summary> |
360 | This method takes a ProtocolVersion and returns an integer | 391 | Compares the two operands. |
361 | version number that the Postgres backend will recognize in a | 392 | </summary> |
362 | startup packet. | ||
363 | </summary> | ||
364 | </member> | 393 | </member> |
365 | <member name="M:Npgsql.PGUtil.ExtractServerVersion(System.String)"> | 394 | <member name="M:NpgsqlTypes.BitString.op_LessThan(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> |
366 | <summary> | 395 | <summary> |
367 | This method takes a version string as returned by SELECT VERSION() and returns | 396 | Compares the two operands. |
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> | 397 | </summary> |
372 | </member> | 398 | </member> |
373 | <member name="M:Npgsql.PGUtil.ReadString(System.IO.Stream)"> | 399 | <member name="M:NpgsqlTypes.BitString.op_GreaterThan(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> |
374 | <summary> | 400 | <summary> |
375 | This method gets a C NULL terminated string from the network stream. | 401 | Compares the two operands. |
376 | It keeps reading a byte in each time until a NULL byte is returned. | 402 | </summary> |
377 | It returns the resultant string of bytes read. | ||
378 | This string is sent from backend. | ||
379 | </summary> | ||
380 | </member> | 403 | </member> |
381 | <member name="M:Npgsql.PGUtil.ReadBytes(System.IO.Stream,System.Byte[],System.Int32,System.Int32)"> | 404 | <member name="M:NpgsqlTypes.BitString.op_LessThanOrEqual(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> |
382 | <summary> | 405 | <summary> |
383 | Reads requested number of bytes from stream with retries until Stream.Read returns 0 or count is reached. | 406 | Compares the two operands. |
384 | </summary> | 407 | </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> | 408 | </member> |
391 | <member name="M:Npgsql.PGUtil.WriteString(System.String,System.IO.Stream)"> | 409 | <member name="M:NpgsqlTypes.BitString.op_GreaterThanOrEqual(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> |
392 | <summary> | ||
393 | This method writes a C NULL terminated string to the network stream. | ||
394 | It appends a NULL terminator to the end of the String. | ||
395 | </summary> | ||
396 | <summary> | 410 | <summary> |
397 | This method writes a C NULL terminated string to the network stream. | 411 | Compares the two operands. |
398 | It appends a NULL terminator to the end of the String. | 412 | </summary> |
399 | </summary> | ||
400 | </member> | 413 | </member> |
401 | <member name="M:Npgsql.PGUtil.WriteBytes(System.Byte[],System.IO.Stream)"> | 414 | <member name="M:NpgsqlTypes.BitString.ToString(System.Text.Encoding)"> |
402 | <summary> | 415 | <summary> |
403 | This method writes a set of bytes to the stream. It also enables logging of them. | 416 | Interprets the bitstring as a series of bits in an encoded character string, |
417 | encoded according to the Encoding passed, and returns that string. | ||
418 | The bitstring must contain a whole number of octets(bytes) and also be | ||
419 | valid according to the Encoding passed. | ||
404 | </summary> | 420 | </summary> |
421 | <param name="encoding">The <see cref="T:System.Text.Encoding"/> to use in producing the string.</param> | ||
422 | <returns>The string that was encoded in the BitString.</returns> | ||
405 | </member> | 423 | </member> |
406 | <member name="M:Npgsql.PGUtil.WriteLimString(System.String,System.Int32,System.IO.Stream)"> | 424 | <member name="M:NpgsqlTypes.BitString.ToByteEnumerable"> |
407 | <summary> | 425 | <summary> |
408 | This method writes a C NULL terminated string limited in length to the | 426 | Interprets the bitstring as a series of octets (bytes) and returns those octets. Fails |
409 | backend server. | 427 | if the Bitstring does not contain a whole number of octets (its length is not evenly |
410 | It pads the string with null bytes to the size specified. | 428 | divisible by 8). |
411 | </summary> | 429 | </summary> |
412 | </member> | 430 | </member> |
413 | <member name="M:Npgsql.PGUtil.WriteInt32(System.IO.Stream,System.Int32)"> | 431 | <member name="M:NpgsqlTypes.BitString.ToSByteEnumerable"> |
414 | <summary> | 432 | <summary> |
415 | Write a 32-bit integer to the given stream in the correct byte order. | 433 | Interprets the bitstring as a series of signed octets (bytes) and returns those octets. Fails |
434 | if the Bitstring does not contain a whole number of octets (its length is not evenly | ||
435 | divisible by 8). | ||
436 | <remarks>This method is not CLS-Compliant and may not be available to languages that cannot | ||
437 | handle signed bytes.</remarks> | ||
416 | </summary> | 438 | </summary> |
417 | </member> | 439 | </member> |
418 | <member name="M:Npgsql.PGUtil.ReadInt32(System.IO.Stream)"> | 440 | <member name="M:NpgsqlTypes.BitString.ToUInt16Enumerable"> |
419 | <summary> | 441 | <summary> |
420 | Read a 32-bit integer from the given stream in the correct byte order. | 442 | Interprets the bitstring as a series of unsigned 16-bit integers and returns those integers. |
443 | Fails if the Bitstring's length is not evenly divisible by 16. | ||
444 | <remarks>This method is not CLS-Compliant and may not be available to languages that cannot | ||
445 | handle unsigned integers.</remarks> | ||
421 | </summary> | 446 | </summary> |
422 | </member> | 447 | </member> |
423 | <member name="M:Npgsql.PGUtil.WriteInt16(System.IO.Stream,System.Int16)"> | 448 | <member name="M:NpgsqlTypes.BitString.ToInt16Enumerable"> |
424 | <summary> | 449 | <summary> |
425 | Write a 16-bit integer to the given stream in the correct byte order. | 450 | Interprets the bitstring as a series of 16-bit integers and returns those integers. |
451 | Fails if the Bitstring's length is not evenly divisible by 16. | ||
426 | </summary> | 452 | </summary> |
427 | </member> | 453 | </member> |
428 | <member name="M:Npgsql.PGUtil.ReadInt16(System.IO.Stream)"> | 454 | <member name="M:NpgsqlTypes.BitString.ToUInt32Enumerable"> |
429 | <summary> | 455 | <summary> |
430 | Read a 16-bit integer from the given stream in the correct byte order. | 456 | Interprets the bitstring as a series of unsigned 32-bit integers and returns those integers. |
457 | Fails if the Bitstring's length is not evenly divisible by 32. | ||
458 | <remarks>This method is not CLS-Compliant and may not be available to languages that cannot | ||
459 | handle unsigned integers.</remarks> | ||
431 | </summary> | 460 | </summary> |
432 | </member> | 461 | </member> |
433 | <member name="T:Npgsql.ProtocolVersion"> | 462 | <member name="M:NpgsqlTypes.BitString.ToInt32Enumerable"> |
434 | <summary> | 463 | <summary> |
435 | Represent the frontend/backend protocol version. | 464 | Interprets the bitstring as a series of signed 32-bit integers and returns those integers. |
465 | Fails if the Bitstring's length is not evenly divisible by 32. | ||
436 | </summary> | 466 | </summary> |
437 | </member> | 467 | </member> |
438 | <member name="T:Npgsql.ServerVersion"> | 468 | <member name="M:NpgsqlTypes.BitString.ToUInt64Enumerable"> |
439 | <summary> | 469 | <summary> |
440 | Represent the backend server version. | 470 | Interprets the bitstring as a series of unsigned 64-bit integers and returns those integers. |
441 | As this class offers no functionality beyond that offered by <see cref="T:System.Version"/> it has been | 471 | Fails if the Bitstring's length is not evenly divisible by 64. |
442 | deprecated in favour of that class. | 472 | <remarks>This method is not CLS-Compliant and may not be available to languages that cannot |
473 | handle unsigned integers.</remarks> | ||
443 | </summary> | 474 | </summary> |
444 | |||
445 | </member> | 475 | </member> |
446 | <member name="M:Npgsql.ServerVersion.ToString"> | 476 | <member name="M:NpgsqlTypes.BitString.ToInt64Enumerable"> |
447 | <summary> | 477 | <summary> |
448 | Returns the string representation of this version in three place dot notation (Major.Minor.Patch). | 478 | Interprets the bitstring as a series of signed 64-bit integers and returns those integers. |
479 | Fails if the Bitstring's length is not evenly divisible by 64. | ||
449 | </summary> | 480 | </summary> |
450 | </member> | 481 | </member> |
451 | <member name="P:Npgsql.ServerVersion.Major"> | 482 | <member name="P:NpgsqlTypes.BitString.Length"> |
452 | <summary> | 483 | <summary> |
453 | Server version major number. | 484 | The length of the string. |
454 | </summary> | 485 | </summary> |
455 | </member> | 486 | </member> |
456 | <member name="P:Npgsql.ServerVersion.Minor"> | 487 | <member name="P:NpgsqlTypes.BitString.Item(System.Int32)"> |
457 | <summary> | 488 | <summary> |
458 | Server version minor number. | 489 | Retrieves the value of the bit at the given index. |
459 | </summary> | 490 | </summary> |
460 | </member> | 491 | </member> |
461 | <member name="P:Npgsql.ServerVersion.Patch"> | 492 | <member name="T:NpgsqlTypes.NpgsqlInterval"> |
462 | <summary> | 493 | <summary> |
463 | Server version patch level number. | 494 | Represents the PostgreSQL interval datatype. |
495 | <remarks>PostgreSQL differs from .NET in how it's interval type doesn't assume 24 hours in a day | ||
496 | (to deal with 23- and 25-hour days caused by daylight savings adjustments) and has a concept | ||
497 | of months that doesn't exist in .NET's <see cref="T:System.TimeSpan"/> class. (Neither datatype | ||
498 | has any concessions for leap-seconds). | ||
499 | <para>For most uses just casting to and from TimeSpan will work correctly — in particular, | ||
500 | the results of subtracting one <see cref="T:System.DateTime"/> or the PostgreSQL date, time and | ||
501 | timestamp types from another should be the same whether you do so in .NET or PostgreSQL — | ||
502 | but if the handling of days and months in PostgreSQL is important to your application then you | ||
503 | should use this class instead of <see cref="T:System.TimeSpan"/>.</para> | ||
504 | <para>If you don't know whether these differences are important to your application, they | ||
505 | probably arent! Just use <see cref="T:System.TimeSpan"/> and do not use this class directly ☺</para> | ||
506 | <para>To avoid forcing unnecessary provider-specific concerns on users who need not be concerned | ||
507 | with them a call to <see cref="!:IDataRecord.GetValue(int)"/> on a field containing an | ||
508 | <see cref="T:NpgsqlTypes.NpgsqlInterval"/> value will return a <see cref="T:System.TimeSpan"/> rather than an | ||
509 | <see cref="T:NpgsqlTypes.NpgsqlInterval"/>. If you need the extra functionality of <see cref="T:NpgsqlTypes.NpgsqlInterval"/> | ||
510 | then use <see cref="M:Npgsql.NpgsqlDataReader.GetInterval(System.Int32)"/>.</para> | ||
511 | </remarks> | ||
512 | <seealso cref="P:NpgsqlTypes.NpgsqlInterval.Ticks"/> | ||
513 | <seealso cref="M:NpgsqlTypes.NpgsqlInterval.JustifyDays"/> | ||
514 | <seealso cref="M:NpgsqlTypes.NpgsqlInterval.JustifyMonths"/> | ||
515 | <seealso cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/> | ||
464 | </summary> | 516 | </summary> |
465 | </member> | 517 | </member> |
466 | <member name="T:Npgsql.NpgsqlCopyOut"> | 518 | <member name="F:NpgsqlTypes.NpgsqlInterval.TicksPerMicrosecond"> |
467 | <summary> | 519 | <summary> |
468 | Represents a PostgreSQL COPY TO STDOUT operation with a corresponding SQL statement | 520 | Represents the number of ticks (100ns periods) in one microsecond. This field is constant. |
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> | 521 | </summary> |
474 | </member> | 522 | </member> |
475 | <member name="M:Npgsql.NpgsqlCopyOut.#ctor(System.String,Npgsql.NpgsqlConnection)"> | 523 | <member name="F:NpgsqlTypes.NpgsqlInterval.TicksPerMillsecond"> |
476 | <summary> | 524 | <summary> |
477 | Creates NpgsqlCommand to run given query upon Start(), after which CopyStream provides data from database as requested in the query. | 525 | Represents the number of ticks (100ns periods) in one millisecond. This field is constant. |
478 | </summary> | 526 | </summary> |
479 | </member> | 527 | </member> |
480 | <member name="M:Npgsql.NpgsqlCopyOut.#ctor(Npgsql.NpgsqlCommand,Npgsql.NpgsqlConnection)"> | 528 | <member name="F:NpgsqlTypes.NpgsqlInterval.TicksPerSecond"> |
481 | <summary> | 529 | <summary> |
482 | Given command is run upon Start(), after which CopyStream provides data from database as requested in the query. | 530 | Represents the number of ticks (100ns periods) in one second. This field is constant. |
483 | </summary> | 531 | </summary> |
484 | </member> | 532 | </member> |
485 | <member name="M:Npgsql.NpgsqlCopyOut.#ctor(Npgsql.NpgsqlCommand,Npgsql.NpgsqlConnection,System.IO.Stream)"> | 533 | <member name="F:NpgsqlTypes.NpgsqlInterval.TicksPerMinute"> |
486 | <summary> | 534 | <summary> |
487 | Given command is executed upon Start() and all requested copy data is written to toStream immediately. | 535 | Represents the number of ticks (100ns periods) in one minute. This field is constant. |
488 | </summary> | 536 | </summary> |
489 | </member> | 537 | </member> |
490 | <member name="M:Npgsql.NpgsqlCopyOut.FieldIsBinary(System.Int32)"> | 538 | <member name="F:NpgsqlTypes.NpgsqlInterval.TicksPerHour"> |
491 | <summary> | 539 | <summary> |
492 | Returns true if this operation is currently active and field at given location is in binary format. | 540 | Represents the number of ticks (100ns periods) in one hour. This field is constant. |
493 | </summary> | 541 | </summary> |
494 | </member> | 542 | </member> |
495 | <member name="M:Npgsql.NpgsqlCopyOut.Start"> | 543 | <member name="F:NpgsqlTypes.NpgsqlInterval.TicksPerDay"> |
496 | <summary> | 544 | <summary> |
497 | Command specified upon creation is executed as a non-query. | 545 | Represents the number of ticks (100ns periods) in one day. This field is constant. |
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> | 546 | </summary> |
501 | </member> | 547 | </member> |
502 | <member name="M:Npgsql.NpgsqlCopyOut.End"> | 548 | <member name="F:NpgsqlTypes.NpgsqlInterval.HoursPerDay"> |
503 | <summary> | 549 | <summary> |
504 | Flush generated CopyStream at once. Effectively reads and discard all the rest of copy data from server. | 550 | Represents the number of hours in one day (assuming no daylight savings adjustments). This field is constant. |
505 | </summary> | 551 | </summary> |
506 | </member> | 552 | </member> |
507 | <member name="P:Npgsql.NpgsqlCopyOut.IsActive"> | 553 | <member name="F:NpgsqlTypes.NpgsqlInterval.DaysPerMonth"> |
508 | <summary> | 554 | <summary> |
509 | Returns true if the connection is currently reserved for this operation. | 555 | Represents the number of days assumed in one month if month justification or unjustifcation is performed. |
556 | This is set to 30 for consistency with PostgreSQL. Note that this is means that month adjustments cause | ||
557 | a year to be taken as 30 × 12 = 360 rather than 356/366 days. | ||
510 | </summary> | 558 | </summary> |
511 | </member> | 559 | </member> |
512 | <member name="P:Npgsql.NpgsqlCopyOut.CopyStream"> | 560 | <member name="F:NpgsqlTypes.NpgsqlInterval.TicksPerMonth"> |
513 | <summary> | 561 | <summary> |
514 | The stream provided by user or generated upon Start() | 562 | Represents the number of ticks (100ns periods) in one day, assuming 30 days per month. <seealso cref="F:NpgsqlTypes.NpgsqlInterval.DaysPerMonth"/> |
515 | </summary> | 563 | </summary> |
516 | </member> | 564 | </member> |
517 | <member name="P:Npgsql.NpgsqlCopyOut.NpgsqlCommand"> | 565 | <member name="F:NpgsqlTypes.NpgsqlInterval.MonthsPerYear"> |
518 | <summary> | 566 | <summary> |
519 | The Command used to execute this copy operation. | 567 | Represents the number of months in a year. This field is constant. |
520 | </summary> | 568 | </summary> |
521 | </member> | 569 | </member> |
522 | <member name="P:Npgsql.NpgsqlCopyOut.IsBinary"> | 570 | <member name="F:NpgsqlTypes.NpgsqlInterval.MaxValue"> |
523 | <summary> | 571 | <summary> |
524 | Returns true if this operation is currently active and in binary format. | 572 | Represents the maximum <see cref="T:NpgsqlTypes.NpgsqlInterval"/>. This field is read-only. |
525 | </summary> | 573 | </summary> |
526 | </member> | 574 | </member> |
527 | <member name="P:Npgsql.NpgsqlCopyOut.FieldCount"> | 575 | <member name="F:NpgsqlTypes.NpgsqlInterval.MinValue"> |
528 | <summary> | 576 | <summary> |
529 | Returns number of fields if this operation is currently active, otherwise -1 | 577 | Represents the minimum <see cref="T:NpgsqlTypes.NpgsqlInterval"/>. This field is read-only. |
530 | </summary> | 578 | </summary> |
531 | </member> | 579 | </member> |
532 | <member name="P:Npgsql.NpgsqlCopyOut.Read"> | 580 | <member name="F:NpgsqlTypes.NpgsqlInterval.Zero"> |
533 | <summary> | 581 | <summary> |
534 | Faster alternative to using the generated CopyStream. | 582 | Represents the zero <see cref="T:NpgsqlTypes.NpgsqlInterval"/>. This field is read-only. |
535 | </summary> | 583 | </summary> |
536 | </member> | 584 | </member> |
537 | <member name="T:Npgsql.NpgsqlConnectorPool"> | 585 | <member name="M:NpgsqlTypes.NpgsqlInterval.#ctor(System.Int64)"> |
538 | <summary> | 586 | <summary> |
539 | This class manages all connector objects, pooled AND non-pooled. | 587 | Initializes a new <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to the specified number of ticks. |
540 | </summary> | 588 | </summary> |
589 | <param name="ticks">A time period expressed in 100ns units.</param> | ||
541 | </member> | 590 | </member> |
542 | <member name="F:Npgsql.NpgsqlConnectorPool.ConnectorPoolMgr"> | 591 | <member name="M:NpgsqlTypes.NpgsqlInterval.#ctor(System.TimeSpan)"> |
543 | <value>Unique static instance of the connector pool | ||
544 | mamager.</value> | ||
545 | </member> | ||
546 | <member name="F:Npgsql.NpgsqlConnectorPool.PooledConnectors"> | ||
547 | <value>Map of index to unused pooled connectors, avaliable to the | ||
548 | next RequestConnector() call.</value> | ||
549 | <remarks>This hashmap will be indexed by connection string. | ||
550 | This key will hold a list of queues of pooled connectors available to be used.</remarks> | ||
551 | </member> | ||
552 | <member name="F:Npgsql.NpgsqlConnectorPool.Timer"> | ||
553 | <value>Timer for tracking unused connections in pools.</value> | ||
554 | </member> | ||
555 | <member name="M:Npgsql.NpgsqlConnectorPool.RequestConnector(Npgsql.NpgsqlConnection)"> | ||
556 | <summary> | 592 | <summary> |
557 | Searches the shared and pooled connector lists for a | 593 | Initializes a new <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to hold the same time as a <see cref="T:System.TimeSpan"/> |
558 | matching connector object or creates a new one. | ||
559 | </summary> | 594 | </summary> |
560 | <param name="Connection">The NpgsqlConnection that is requesting | 595 | <param name="timespan">A time period expressed in a <see cref="T:System.TimeSpan"/></param> |
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> | 596 | </member> |
565 | <member name="M:Npgsql.NpgsqlConnectorPool.RequestPooledConnector(Npgsql.NpgsqlConnection)"> | 597 | <member name="M:NpgsqlTypes.NpgsqlInterval.#ctor(System.Int32,System.Int32,System.Int64)"> |
566 | <summary> | 598 | <summary> |
567 | Find a pooled connector. Handle locking and timeout here. | 599 | Initializes a new <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to the specified number of months, days |
600 | & ticks. | ||
568 | </summary> | 601 | </summary> |
602 | <param name="months">Number of months.</param> | ||
603 | <param name="days">Number of days.</param> | ||
604 | <param name="ticks">Number of 100ns units.</param> | ||
569 | </member> | 605 | </member> |
570 | <member name="M:Npgsql.NpgsqlConnectorPool.RequestPooledConnectorInternal(Npgsql.NpgsqlConnection)"> | 606 | <member name="M:NpgsqlTypes.NpgsqlInterval.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)"> |
571 | <summary> | 607 | <summary> |
572 | Find a pooled connector. Handle shared/non-shared here. | 608 | Initializes a new <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to the specified number of |
609 | days, hours, minutes & seconds. | ||
573 | </summary> | 610 | </summary> |
611 | <param name="days">Number of days.</param> | ||
612 | <param name="hours">Number of hours.</param> | ||
613 | <param name="minutes">Number of minutes.</param> | ||
614 | <param name="seconds">Number of seconds.</param> | ||
574 | </member> | 615 | </member> |
575 | <member name="M:Npgsql.NpgsqlConnectorPool.ReleaseConnector(Npgsql.NpgsqlConnection,Npgsql.NpgsqlConnector)"> | 616 | <member name="M:NpgsqlTypes.NpgsqlInterval.#ctor(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)"> |
576 | <summary> | 617 | <summary> |
577 | Releases a connector, possibly back to the pool for future use. | 618 | Initializes a new <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to the specified number of |
619 | days, hours, minutes, seconds & milliseconds. | ||
578 | </summary> | 620 | </summary> |
579 | <remarks> | 621 | <param name="days">Number of days.</param> |
580 | Pooled connectors will be put back into the pool if there is room. | 622 | <param name="hours">Number of hours.</param> |
581 | Shared connectors should just have their use count decremented | 623 | <param name="minutes">Number of minutes.</param> |
582 | since they always stay in the shared pool. | 624 | <param name="seconds">Number of seconds.</param> |
583 | </remarks> | 625 | <param name="milliseconds">Number of milliseconds.</param> |
584 | <param name="Connector">The connector to release.</param> | ||
585 | </member> | 626 | </member> |
586 | <member name="M:Npgsql.NpgsqlConnectorPool.ReleasePooledConnector(Npgsql.NpgsqlConnection,Npgsql.NpgsqlConnector)"> | 627 | <member name="M:NpgsqlTypes.NpgsqlInterval.#ctor(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)"> |
587 | <summary> | 628 | <summary> |
588 | Release a pooled connector. Handle locking here. | 629 | Initializes a new <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to the specified number of |
630 | months, days, hours, minutes, seconds & milliseconds. | ||
589 | </summary> | 631 | </summary> |
632 | <param name="months">Number of months.</param> | ||
633 | <param name="days">Number of days.</param> | ||
634 | <param name="hours">Number of hours.</param> | ||
635 | <param name="minutes">Number of minutes.</param> | ||
636 | <param name="seconds">Number of seconds.</param> | ||
637 | <param name="milliseconds">Number of milliseconds.</param> | ||
590 | </member> | 638 | </member> |
591 | <member name="M:Npgsql.NpgsqlConnectorPool.ReleasePooledConnectorInternal(Npgsql.NpgsqlConnection,Npgsql.NpgsqlConnector)"> | 639 | <member name="M:NpgsqlTypes.NpgsqlInterval.#ctor(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)"> |
592 | <summary> | 640 | <summary> |
593 | Release a pooled connector. Handle shared/non-shared here. | 641 | Initializes a new <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to the specified number of |
642 | years, months, days, hours, minutes, seconds & milliseconds. | ||
643 | <para>Years are calculated exactly equivalent to 12 months.</para> | ||
594 | </summary> | 644 | </summary> |
645 | <param name="years">Number of years.</param> | ||
646 | <param name="months">Number of months.</param> | ||
647 | <param name="days">Number of days.</param> | ||
648 | <param name="hours">Number of hours.</param> | ||
649 | <param name="minutes">Number of minutes.</param> | ||
650 | <param name="seconds">Number of seconds.</param> | ||
651 | <param name="milliseconds">Number of milliseconds.</param> | ||
595 | </member> | 652 | </member> |
596 | <member name="M:Npgsql.NpgsqlConnectorPool.GetNonPooledConnector(Npgsql.NpgsqlConnection)"> | 653 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromTicks(System.Int64)"> |
597 | <summary> | 654 | <summary> |
598 | Create a connector without any pooling functionality. | 655 | Creates an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> from a number of ticks. |
599 | </summary> | 656 | </summary> |
657 | <param name="ticks">The number of ticks (100ns units) in the interval.</param> | ||
658 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of ticks.</returns> | ||
600 | </member> | 659 | </member> |
601 | <member name="M:Npgsql.NpgsqlConnectorPool.GetPooledConnector(Npgsql.NpgsqlConnection)"> | 660 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromMicroseconds(System.Double)"> |
602 | <summary> | 661 | <summary> |
603 | Find an available pooled connector in the non-shared pool, or create | 662 | Creates an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> from a number of microseconds. |
604 | a new one if none found. | ||
605 | </summary> | 663 | </summary> |
664 | <param name="ticks">The number of microseconds in the interval.</param> | ||
665 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of microseconds.</returns> | ||
606 | </member> | 666 | </member> |
607 | <member name="M:Npgsql.NpgsqlConnectorPool.FixPoolCountBecauseOfConnectionDisposeFalse(Npgsql.NpgsqlConnection)"> | 667 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromMilliseconds(System.Double)"> |
608 | <summary> | 668 | <summary> |
609 | This method is only called when NpgsqlConnection.Dispose(false) is called which means a | 669 | Creates an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> from a number of milliseconds. |
610 | finalization. This also means, an NpgsqlConnection was leak. We clear pool count so that | ||
611 | client doesn't end running out of connections from pool. When the connection is finalized, its underlying | ||
612 | socket is closed. | ||
613 | </summary> | 670 | </summary> |
671 | <param name="ticks">The number of milliseconds in the interval.</param> | ||
672 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of milliseconds.</returns> | ||
614 | </member> | 673 | </member> |
615 | <member name="M:Npgsql.NpgsqlConnectorPool.UngetNonPooledConnector(Npgsql.NpgsqlConnection,Npgsql.NpgsqlConnector)"> | 674 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromSeconds(System.Double)"> |
616 | <summary> | 675 | <summary> |
617 | Close the connector. | 676 | Creates an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> from a number of seconds. |
618 | </summary> | 677 | </summary> |
619 | <param name="Connection"></param> | 678 | <param name="ticks">The number of seconds in the interval.</param> |
620 | <param name="Connector">Connector to release</param> | 679 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of seconds.</returns> |
621 | </member> | 680 | </member> |
622 | <member name="M:Npgsql.NpgsqlConnectorPool.UngetPooledConnector(Npgsql.NpgsqlConnection,Npgsql.NpgsqlConnector)"> | 681 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromMinutes(System.Double)"> |
623 | <summary> | 682 | <summary> |
624 | Put a pooled connector into the pool queue. | 683 | Creates an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> from a number of minutes. |
625 | </summary> | 684 | </summary> |
626 | <param name="Connector">Connector to pool</param> | 685 | <param name="ticks">The number of minutes in the interval.</param> |
686 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of minutes.</returns> | ||
627 | </member> | 687 | </member> |
628 | <member name="T:Npgsql.NpgsqlConnectorPool.ConnectorQueue"> | 688 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromHours(System.Double)"> |
629 | <summary> | 689 | <summary> |
630 | A queue with an extra Int32 for keeping track of busy connections. | 690 | Creates an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> from a number of hours. |
631 | </summary> | 691 | </summary> |
692 | <param name="ticks">The number of hours in the interval.</param> | ||
693 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of hours.</returns> | ||
632 | </member> | 694 | </member> |
633 | <member name="F:Npgsql.NpgsqlConnectorPool.ConnectorQueue.Available"> | 695 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromDays(System.Double)"> |
634 | <summary> | 696 | <summary> |
635 | Connections available to the end user | 697 | Creates an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> from a number of days. |
636 | </summary> | 698 | </summary> |
699 | <param name="ticks">The number of days in the interval.</param> | ||
700 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of days.</returns> | ||
637 | </member> | 701 | </member> |
638 | <member name="F:Npgsql.NpgsqlConnectorPool.ConnectorQueue.Busy"> | 702 | <member name="M:NpgsqlTypes.NpgsqlInterval.FromMonths(System.Double)"> |
639 | <summary> | 703 | <summary> |
640 | Connections currently in use | 704 | Creates an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> from a number of months. |
641 | </summary> | 705 | </summary> |
706 | <param name="ticks">The number of months in the interval.</param> | ||
707 | <returns>A <see cref="M:NpgsqlTypes.NpgsqlInterval.Canonicalize"/>d <see cref="T:NpgsqlTypes.NpgsqlInterval"/> with the given number of months.</returns> | ||
642 | </member> | 708 | </member> |
643 | <member name="T:Npgsql.NpgsqlBackEndKeyData"> | 709 | <member name="M:NpgsqlTypes.NpgsqlInterval.Add(NpgsqlTypes.NpgsqlInterval)"> |
644 | <summary> | 710 | <summary> |
645 | This class represents a BackEndKeyData message received | 711 | Adds another interval to this instance and returns the result. |
646 | from PostgreSQL | ||
647 | </summary> | 712 | </summary> |
713 | <param name="interval">An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to add to this instance.</param> | ||
714 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"></see> whose values are the sums of the two instances.</returns> | ||
648 | </member> | 715 | </member> |
649 | <member name="M:Npgsql.NpgsqlPromotableSinglePhaseNotification.Prepare"> | 716 | <member name="M:NpgsqlTypes.NpgsqlInterval.Subtract(NpgsqlTypes.NpgsqlInterval)"> |
650 | <summary> | 717 | <summary> |
651 | Used when a connection is closed | 718 | Subtracts another interval from this instance and returns the result. |
652 | </summary> | 719 | </summary> |
720 | <param name="interval">An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to subtract from this instance.</param> | ||
721 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"></see> whose values are the differences of the two instances.</returns> | ||
653 | </member> | 722 | </member> |
654 | <member name="T:Npgsql.NpgsqlQuery"> | 723 | <member name="M:NpgsqlTypes.NpgsqlInterval.Negate"> |
655 | <summary> | 724 | <summary> |
656 | Summary description for NpgsqlQuery | 725 | Returns an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> whose value is the negated value of this instance. |
657 | </summary> | 726 | </summary> |
727 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> whose value is the negated value of this instance.</returns> | ||
658 | </member> | 728 | </member> |
659 | <member name="T:Npgsql.NoticeEventHandler"> | 729 | <member name="M:NpgsqlTypes.NpgsqlInterval.Duration"> |
660 | <summary> | 730 | <summary> |
661 | Represents the method that handles the <see cref="E:Npgsql.NpgsqlConnection.Notification">Notice</see> events. | 731 | This absolute value of this instance. In the case of some, but not all, components being negative, |
732 | the rules used for justification are used to determine if the instance is positive or negative. | ||
662 | </summary> | 733 | </summary> |
663 | <param name="e">A <see cref="T:Npgsql.NpgsqlNoticeEventArgs">NpgsqlNoticeEventArgs</see> that contains the event data.</param> | 734 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> whose value is the absolute value of this instance.</returns> |
664 | </member> | 735 | </member> |
665 | <member name="T:Npgsql.NotificationEventHandler"> | 736 | <member name="M:NpgsqlTypes.NpgsqlInterval.JustifyDays"> |
666 | <summary> | 737 | <summary> |
667 | Represents the method that handles the <see cref="E:Npgsql.NpgsqlConnection.Notification">Notification</see> events. | 738 | Equivalent to PostgreSQL's justify_days function. |
668 | </summary> | 739 | </summary> |
669 | <param name="sender">The source of the event.</param> | 740 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> based on this one, but with any hours outside of the range [-23, 23] |
670 | <param name="e">A <see cref="T:Npgsql.NpgsqlNotificationEventArgs">NpgsqlNotificationEventArgs</see> that contains the event data.</param> | 741 | converted into days.</returns> |
671 | </member> | 742 | </member> |
672 | <member name="T:Npgsql.NpgsqlConnection"> | 743 | <member name="M:NpgsqlTypes.NpgsqlInterval.UnjustifyDays"> |
673 | <summary> | 744 | <summary> |
674 | This class represents a connection to a | 745 | Opposite to PostgreSQL's justify_days function. |
675 | PostgreSQL server. | ||
676 | </summary> | 746 | </summary> |
747 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> based on this one, but with any days converted to multiples of ±24hours.</returns> | ||
677 | </member> | 748 | </member> |
678 | <member name="M:Npgsql.NpgsqlConnection.#ctor"> | 749 | <member name="M:NpgsqlTypes.NpgsqlInterval.JustifyMonths"> |
679 | <summary> | 750 | <summary> |
680 | Initializes a new instance of the | 751 | Equivalent to PostgreSQL's justify_months function. |
681 | <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> class. | ||
682 | </summary> | 752 | </summary> |
753 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> based on this one, but with any days outside of the range [-30, 30] | ||
754 | converted into months.</returns> | ||
683 | </member> | 755 | </member> |
684 | <member name="M:Npgsql.NpgsqlConnection.#ctor(System.String)"> | 756 | <member name="M:NpgsqlTypes.NpgsqlInterval.UnjustifyMonths"> |
685 | <summary> | 757 | <summary> |
686 | Initializes a new instance of the | 758 | Opposite to PostgreSQL's justify_months function. |
687 | <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> class | ||
688 | and sets the <see cref="P:Npgsql.NpgsqlConnection.ConnectionString">ConnectionString</see>. | ||
689 | </summary> | 759 | </summary> |
690 | <param name="ConnectionString">The connection used to open the PostgreSQL database.</param> | 760 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> based on this one, but with any months converted to multiples of ±30days.</returns> |
691 | </member> | 761 | </member> |
692 | <member name="M:Npgsql.NpgsqlConnection.BeginDbTransaction(System.Data.IsolationLevel)"> | 762 | <member name="M:NpgsqlTypes.NpgsqlInterval.JustifyInterval"> |
693 | <summary> | 763 | <summary> |
694 | Begins a database transaction with the specified isolation level. | 764 | Equivalent to PostgreSQL's justify_interval function. |
695 | </summary> | 765 | </summary> |
696 | <param name="isolationLevel">The <see cref="T:System.Data.IsolationLevel">isolation level</see> under which the transaction should run.</param> | 766 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> based on this one, |
697 | <returns>An <see cref="T:System.Data.Common.DbTransaction">DbTransaction</see> | 767 | but with any months converted to multiples of ±30days |
698 | object representing the new transaction.</returns> | 768 | and then with any days converted to multiples of ±24hours</returns> |
699 | <remarks> | ||
700 | Currently the IsolationLevel ReadCommitted and Serializable are supported by the PostgreSQL backend. | ||
701 | There's no support for nested transactions. | ||
702 | </remarks> | ||
703 | </member> | 769 | </member> |
704 | <member name="M:Npgsql.NpgsqlConnection.BeginTransaction"> | 770 | <member name="M:NpgsqlTypes.NpgsqlInterval.UnjustifyInterval"> |
705 | <summary> | 771 | <summary> |
706 | Begins a database transaction. | 772 | Opposite to PostgreSQL's justify_interval function. |
707 | </summary> | 773 | </summary> |
708 | <returns>A <see cref="T:Npgsql.NpgsqlTransaction">NpgsqlTransaction</see> | 774 | <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> |
709 | object representing the new transaction.</returns> | ||
710 | <remarks> | ||
711 | Currently there's no support for nested transactions. | ||
712 | </remarks> | ||
713 | </member> | 775 | </member> |
714 | <member name="M:Npgsql.NpgsqlConnection.BeginTransaction(System.Data.IsolationLevel)"> | 776 | <!-- Badly formed XML comment ignored for member "M:NpgsqlTypes.NpgsqlInterval.Canonicalize" --> |
777 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_Implicit(System.TimeSpan)~NpgsqlTypes.NpgsqlInterval"> | ||
715 | <summary> | 778 | <summary> |
716 | Begins a database transaction with the specified isolation level. | 779 | Implicit cast of a <see cref="T:System.TimeSpan"/> to an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> |
717 | </summary> | 780 | </summary> |
718 | <param name="level">The <see cref="T:System.Data.IsolationLevel">isolation level</see> under which the transaction should run.</param> | 781 | <param name="timespan">A <see cref="T:System.TimeSpan"/></param> |
719 | <returns>A <see cref="T:Npgsql.NpgsqlTransaction">NpgsqlTransaction</see> | 782 | <returns>An eqivalent, canonical, <see cref="T:NpgsqlTypes.NpgsqlInterval"/>.</returns> |
720 | object representing the new transaction.</returns> | ||
721 | <remarks> | ||
722 | Currently the IsolationLevel ReadCommitted and Serializable are supported by the PostgreSQL backend. | ||
723 | There's no support for nested transactions. | ||
724 | </remarks> | ||
725 | </member> | 783 | </member> |
726 | <member name="M:Npgsql.NpgsqlConnection.Open"> | 784 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_Explicit(NpgsqlTypes.NpgsqlInterval)~System.TimeSpan"> |
727 | <summary> | 785 | <summary> |
728 | Opens a database connection with the property settings specified by the | 786 | Implicit cast of an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to a <see cref="T:System.TimeSpan"/>. |
729 | <see cref="P:Npgsql.NpgsqlConnection.ConnectionString">ConnectionString</see>. | ||
730 | </summary> | 787 | </summary> |
788 | <param name="interval">A <see cref="T:NpgsqlTypes.NpgsqlInterval"/>.</param> | ||
789 | <returns>An equivalent <see cref="T:System.TimeSpan"/>.</returns> | ||
731 | </member> | 790 | </member> |
732 | <member name="M:Npgsql.NpgsqlConnection.ChangeDatabase(System.String)"> | 791 | <member name="M:NpgsqlTypes.NpgsqlInterval.Equals(NpgsqlTypes.NpgsqlInterval)"> |
733 | <summary> | 792 | <summary> |
734 | This method changes the current database by disconnecting from the actual | 793 | Returns true if another <see cref="T:NpgsqlTypes.NpgsqlInterval"/> is exactly the same as this instance. |
735 | database and connecting to the specified. | ||
736 | </summary> | 794 | </summary> |
737 | <param name="dbName">The name of the database to use in place of the current database.</param> | 795 | <param name="other">An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> for comparison.</param> |
796 | <returns>true if the two <see cref="T:NpgsqlTypes.NpgsqlInterval"/> instances are exactly the same, | ||
797 | false otherwise.</returns> | ||
738 | </member> | 798 | </member> |
739 | <member name="M:Npgsql.NpgsqlConnection.Close"> | 799 | <member name="M:NpgsqlTypes.NpgsqlInterval.Equals(System.Object)"> |
740 | <summary> | 800 | <summary> |
741 | Releases the connection to the database. If the connection is pooled, it will be | 801 | Returns true if another object is an <see cref="T:NpgsqlTypes.NpgsqlInterval"/>, that is exactly the same as |
742 | made available for re-use. If it is non-pooled, the actual connection will be shutdown. | 802 | this instance |
743 | </summary> | 803 | </summary> |
804 | <param name="obj">An <see cref="T:System.Object"/> for comparison.</param> | ||
805 | <returns>true if the argument is an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> and is exactly the same | ||
806 | as this one, false otherwise.</returns> | ||
744 | </member> | 807 | </member> |
745 | <member name="M:Npgsql.NpgsqlConnection.CreateDbCommand"> | 808 | <member name="M:NpgsqlTypes.NpgsqlInterval.Compare(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> |
746 | <summary> | 809 | <summary> |
747 | Creates and returns a <see cref="T:System.Data.Common.DbCommand">DbCommand</see> | 810 | Compares two <see cref="T:NpgsqlTypes.NpgsqlInterval"/> instances. |
748 | object associated with the <see cref="T:System.Data.Common.DbConnection">IDbConnection</see>. | ||
749 | </summary> | 811 | </summary> |
750 | <returns>A <see cref="T:System.Data.Common.DbCommand">DbCommand</see> object.</returns> | 812 | <param name="x">The first <see cref="T:NpgsqlTypes.NpgsqlInterval"/>.</param> |
813 | <param name="y">The second <see cref="T:NpgsqlTypes.NpgsqlInterval"/>.</param> | ||
814 | <returns>0 if the two are equal or equivalent. A value greater than zero if x is greater than y, | ||
815 | a value less than zero if x is less than y.</returns> | ||
751 | </member> | 816 | </member> |
752 | <member name="M:Npgsql.NpgsqlConnection.CreateCommand"> | 817 | <member name="M:NpgsqlTypes.NpgsqlInterval.GetHashCode"> |
753 | <summary> | 818 | <summary> |
754 | Creates and returns a <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> | 819 | A hash code suitable for uses with hashing algorithms. |
755 | object associated with the <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see>. | ||
756 | </summary> | 820 | </summary> |
757 | <returns>A <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> object.</returns> | 821 | <returns>An signed integer.</returns> |
758 | </member> | 822 | </member> |
759 | <member name="M:Npgsql.NpgsqlConnection.Dispose(System.Boolean)"> | 823 | <member name="M:NpgsqlTypes.NpgsqlInterval.CompareTo(NpgsqlTypes.NpgsqlInterval)"> |
760 | <summary> | 824 | <summary> |
761 | Releases all resources used by the | 825 | Compares this instance with another/ |
762 | <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see>. | ||
763 | </summary> | 826 | </summary> |
764 | <param name="disposing"><b>true</b> when called from Dispose(); | 827 | <param name="other">An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare this with.</param> |
765 | <b>false</b> when being called from the finalizer.</param> | 828 | <returns>0 if the instances are equal or equivalent. A value less than zero if |
829 | this instance is less than the argument. A value greater than zero if this instance | ||
830 | is greater than the instance.</returns> | ||
766 | </member> | 831 | </member> |
767 | <member name="M:Npgsql.NpgsqlConnection.System#ICloneable#Clone"> | 832 | <member name="M:NpgsqlTypes.NpgsqlInterval.CompareTo(System.Object)"> |
768 | <summary> | 833 | <summary> |
769 | Create a new connection based on this one. | 834 | Compares this instance with another/ |
770 | </summary> | 835 | </summary> |
771 | <returns>A new NpgsqlConnection object.</returns> | 836 | <param name="other">An object to compare this with.</param> |
837 | <returns>0 if the argument is an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> and the instances are equal or equivalent. | ||
838 | A value less than zero if the argument is an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> and | ||
839 | this instance is less than the argument. | ||
840 | A value greater than zero if the argument is an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> and this instance | ||
841 | is greater than the instance.</returns> | ||
842 | A value greater than zero if the argument is null. | ||
843 | <exception cref="T:System.ArgumentException">The argument is not an <see cref="T:NpgsqlTypes.NpgsqlInterval"/>.</exception> | ||
772 | </member> | 844 | </member> |
773 | <member name="M:Npgsql.NpgsqlConnection.Clone"> | 845 | <member name="M:NpgsqlTypes.NpgsqlInterval.Parse(System.String)"> |
774 | <summary> | 846 | <summary> |
775 | Create a new connection based on this one. | 847 | Parses a <see cref="T:System.String"/> and returns a <see cref="T:NpgsqlTypes.NpgsqlInterval"/> instance. |
848 | Designed to use the formats generally returned by PostgreSQL. | ||
776 | </summary> | 849 | </summary> |
777 | <returns>A new NpgsqlConnection object.</returns> | 850 | <param name="str">The <see cref="T:System.String"/> to parse.</param> |
851 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> represented by the argument.</returns> | ||
852 | <exception cref="T:System.ArgumentNullException">The string was null.</exception> | ||
853 | <exception cref="T:System.OverflowException">A value obtained from parsing the string exceeded the values allowed for the relevant component.</exception> | ||
854 | <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> | ||
778 | </member> | 855 | </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)"> | 856 | <member name="M:NpgsqlTypes.NpgsqlInterval.TryParse(System.String,NpgsqlTypes.NpgsqlInterval@)"> |
780 | <summary> | 857 | <summary> |
781 | Default SSL CertificateSelectionCallback implementation. | 858 | Attempt to parse a <see cref="T:System.String"/> to produce an <see cref="T:NpgsqlTypes.NpgsqlInterval"/>. |
782 | </summary> | 859 | </summary> |
860 | <param name="str">The <see cref="T:System.String"/> to parse.</param> | ||
861 | <param name="result">(out) The <see cref="T:NpgsqlTypes.NpgsqlInterval"/> produced, or <see cref="F:NpgsqlTypes.NpgsqlInterval.Zero"/> if the parsing failed.</param> | ||
862 | <returns>true if the parsing succeeded, false otherwise.</returns> | ||
783 | </member> | 863 | </member> |
784 | <member name="M:Npgsql.NpgsqlConnection.DefaultCertificateValidationCallback(System.Security.Cryptography.X509Certificates.X509Certificate,System.Int32[])"> | 864 | <member name="M:NpgsqlTypes.NpgsqlInterval.ToString"> |
785 | <summary> | 865 | <summary> |
786 | Default SSL CertificateValidationCallback implementation. | 866 | Create a <see cref="T:System.String"/> representation of the <see cref="T:NpgsqlTypes.NpgsqlInterval"/> instance. |
867 | The format returned is of the form: | ||
868 | [M mon[s]] [d day[s]] [HH:mm:ss[.f[f[f[f[f[f[f[f[f]]]]]]]]]] | ||
869 | A zero <see cref="T:NpgsqlTypes.NpgsqlInterval"/> is represented as 00:00:00 | ||
870 | <remarks> | ||
871 | Ticks are 100ns, Postgress resolution is only to 1µs at most. Hence we lose 1 or more decimal | ||
872 | precision in storing values in the database. Despite this, this method will output that extra | ||
873 | digit of precision. It's forward-compatible with any future increases in resolution up to 100ns, | ||
874 | and also makes this ToString() more applicable to any other use-case. | ||
875 | </remarks> | ||
787 | </summary> | 876 | </summary> |
877 | <returns>The <see cref="T:System.String"/> representation.</returns> | ||
788 | </member> | 878 | </member> |
789 | <member name="M:Npgsql.NpgsqlConnection.DefaultPrivateKeySelectionCallback(System.Security.Cryptography.X509Certificates.X509Certificate,System.String)"> | 879 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_Addition(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> |
790 | <summary> | 880 | <summary> |
791 | Default SSL PrivateKeySelectionCallback implementation. | 881 | Adds two <see cref="T:NpgsqlTypes.NpgsqlInterval"/> together. |
792 | </summary> | 882 | </summary> |
883 | <param name="x">The first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to add.</param> | ||
884 | <param name="y">The second <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to add.</param> | ||
885 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> whose values are the sum of the arguments.</returns> | ||
793 | </member> | 886 | </member> |
794 | <member name="M:Npgsql.NpgsqlConnection.DefaultProvideClientCertificatesCallback(System.Security.Cryptography.X509Certificates.X509CertificateCollection)"> | 887 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_Subtraction(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> |
795 | <summary> | 888 | <summary> |
796 | Default SSL ProvideClientCertificatesCallback implementation. | 889 | Subtracts one <see cref="T:NpgsqlTypes.NpgsqlInterval"/> from another. |
797 | </summary> | 890 | </summary> |
891 | <param name="x">The <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to subtract the other from.</param> | ||
892 | <param name="y">The <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to subtract from the other.</param> | ||
893 | <returns>An <see cref="T:NpgsqlTypes.NpgsqlInterval"/> whose values are the difference of the arguments</returns> | ||
798 | </member> | 894 | </member> |
799 | <member name="M:Npgsql.NpgsqlConnection.LogConnectionString"> | 895 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_Equality(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> |
800 | <summary> | 896 | <summary> |
801 | Write each key/value pair in the connection string to the log. | 897 | Returns true if two <see cref="T:NpgsqlTypes.NpgsqlInterval"/> are exactly the same. |
802 | </summary> | 898 | </summary> |
899 | <param name="x">The first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> | ||
900 | <param name="y">The second <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> | ||
901 | <returns>true if the two arguments are exactly the same, false otherwise.</returns> | ||
803 | </member> | 902 | </member> |
804 | <member name="M:Npgsql.NpgsqlConnection.GetSchema"> | 903 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_Inequality(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> |
805 | <summary> | 904 | <summary> |
806 | Returns the supported collections | 905 | Returns false if two <see cref="T:NpgsqlTypes.NpgsqlInterval"/> are exactly the same. |
807 | </summary> | 906 | </summary> |
907 | <param name="x">The first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> | ||
908 | <param name="y">The second <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> | ||
909 | <returns>false if the two arguments are exactly the same, true otherwise.</returns> | ||
808 | </member> | 910 | </member> |
809 | <member name="M:Npgsql.NpgsqlConnection.GetSchema(System.String)"> | 911 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_LessThan(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> |
810 | <summary> | 912 | <summary> |
811 | Returns the schema collection specified by the collection name. | 913 | Compares two <see cref="T:NpgsqlTypes.NpgsqlInterval"/> instances to see if the first is less than the second |
812 | </summary> | 914 | </summary> |
813 | <param name="collectionName">The collection name.</param> | 915 | <param name="x">The first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> |
814 | <returns>The collection specified.</returns> | 916 | <param name="y">The second <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> |
917 | <returns>true if the first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> is less than second, false otherwise.</returns> | ||
815 | </member> | 918 | </member> |
816 | <member name="M:Npgsql.NpgsqlConnection.GetSchema(System.String,System.String[])"> | 919 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_LessThanOrEqual(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> |
817 | <summary> | 920 | <summary> |
818 | Returns the schema collection specified by the collection name filtered by the restrictions. | 921 | Compares two <see cref="T:NpgsqlTypes.NpgsqlInterval"/> instances to see if the first is less than or equivalent to the second |
819 | </summary> | 922 | </summary> |
820 | <param name="collectionName">The collection name.</param> | 923 | <param name="x">The first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> |
821 | <param name="restrictions"> | 924 | <param name="y">The second <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> |
822 | The restriction values to filter the results. A description of the restrictions is contained | 925 | <returns>true if the first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> is less than or equivalent to second, false otherwise.</returns> |
823 | in the Restrictions collection. | ||
824 | </param> | ||
825 | <returns>The collection specified.</returns> | ||
826 | </member> | 926 | </member> |
827 | <member name="E:Npgsql.NpgsqlConnection.Notice"> | 927 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_GreaterThan(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> |
828 | <summary> | 928 | <summary> |
829 | Occurs on NoticeResponses from the PostgreSQL backend. | 929 | Compares two <see cref="T:NpgsqlTypes.NpgsqlInterval"/> instances to see if the first is greater than the second |
830 | </summary> | 930 | </summary> |
931 | <param name="x">The first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> | ||
932 | <param name="y">The second <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> | ||
933 | <returns>true if the first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> is greater than second, false otherwise.</returns> | ||
831 | </member> | 934 | </member> |
832 | <member name="E:Npgsql.NpgsqlConnection.Notification"> | 935 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_GreaterThanOrEqual(NpgsqlTypes.NpgsqlInterval,NpgsqlTypes.NpgsqlInterval)"> |
833 | <summary> | 936 | <summary> |
834 | Occurs on NotificationResponses from the PostgreSQL backend. | 937 | Compares two <see cref="T:NpgsqlTypes.NpgsqlInterval"/> instances to see if the first is greater than or equivalent the second |
835 | </summary> | 938 | </summary> |
939 | <param name="x">The first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> | ||
940 | <param name="y">The second <see cref="T:NpgsqlTypes.NpgsqlInterval"/> to compare.</param> | ||
941 | <returns>true if the first <see cref="T:NpgsqlTypes.NpgsqlInterval"/> is greater than or equivalent to the second, false otherwise.</returns> | ||
836 | </member> | 942 | </member> |
837 | <member name="E:Npgsql.NpgsqlConnection.ProvideClientCertificatesCallback"> | 943 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_UnaryPlus(NpgsqlTypes.NpgsqlInterval)"> |
838 | <summary> | 944 | <summary> |
839 | Called to provide client certificates for SSL handshake. | 945 | Returns the instance. |
840 | </summary> | 946 | </summary> |
947 | <param name="x">An <see cref="T:NpgsqlTypes.NpgsqlInterval"/>.</param> | ||
948 | <returns>The argument.</returns> | ||
841 | </member> | 949 | </member> |
842 | <member name="E:Npgsql.NpgsqlConnection.CertificateSelectionCallback"> | 950 | <member name="M:NpgsqlTypes.NpgsqlInterval.op_UnaryNegation(NpgsqlTypes.NpgsqlInterval)"> |
843 | <summary> | 951 | <summary> |
844 | Mono.Security.Protocol.Tls.CertificateSelectionCallback delegate. | 952 | Negates an <see cref="T:NpgsqlTypes.NpgsqlInterval"/> instance. |
845 | </summary> | 953 | </summary> |
954 | <param name="x">An <see cref="T:NpgsqlTypes.NpgsqlInterval"/>.</param> | ||
955 | <returns>The negation of the argument.</returns> | ||
846 | </member> | 956 | </member> |
847 | <member name="E:Npgsql.NpgsqlConnection.CertificateValidationCallback"> | 957 | <member name="P:NpgsqlTypes.NpgsqlInterval.Ticks"> |
848 | <summary> | 958 | <summary> |
849 | Mono.Security.Protocol.Tls.CertificateValidationCallback delegate. | 959 | The total number of ticks(100ns units) contained. This is the resolution of the |
960 | <see cref="T:NpgsqlTypes.NpgsqlInterval"/> type. This ignores the number of days and | ||
961 | months held. If you want them included use <see cref="M:NpgsqlTypes.NpgsqlInterval.UnjustifyInterval"/> first. | ||
962 | <remarks>The resolution of the PostgreSQL | ||
963 | interval type is by default 1µs = 1,000 ns. It may be smaller as follows: | ||
964 | <list type="number"> | ||
965 | <item> | ||
966 | <term>interval(0)</term> | ||
967 | <description>resolution of 1s (1 second)</description> | ||
968 | </item> | ||
969 | <item> | ||
970 | <term>interval(1)</term> | ||
971 | <description>resolution of 100ms = 0.1s (100 milliseconds)</description> | ||
972 | </item> | ||
973 | <item> | ||
974 | <term>interval(2)</term> | ||
975 | <description>resolution of 10ms = 0.01s (10 milliseconds)</description> | ||
976 | </item> | ||
977 | <item> | ||
978 | <term>interval(3)</term> | ||
979 | <description>resolution of 1ms = 0.001s (1 millisecond)</description> | ||
980 | </item> | ||
981 | <item> | ||
982 | <term>interval(4)</term> | ||
983 | <description>resolution of 100µs = 0.0001s (100 microseconds)</description> | ||
984 | </item> | ||
985 | <item> | ||
986 | <term>interval(5)</term> | ||
987 | <description>resolution of 10µs = 0.00001s (10 microseconds)</description> | ||
988 | </item> | ||
989 | <item> | ||
990 | <term>interval(6) or interval</term> | ||
991 | <description>resolution of 1µs = 0.000001s (1 microsecond)</description> | ||
992 | </item> | ||
993 | </list> | ||
994 | <para>As such, if the 100-nanosecond resolution is significant to an application, a PostgreSQL interval will | ||
995 | not suffice for those purposes.</para> | ||
996 | <para>In more frequent cases though, the resolution of the interval suffices. | ||
997 | <see cref="T:NpgsqlTypes.NpgsqlInterval"/> will always suffice to handle the resolution of any interval value, and upon | ||
998 | writing to the database, will be rounded to the resolution used.</para> | ||
999 | </remarks> | ||
1000 | <returns>The number of ticks in the instance.</returns> | ||
850 | </summary> | 1001 | </summary> |
851 | </member> | 1002 | </member> |
852 | <member name="E:Npgsql.NpgsqlConnection.PrivateKeySelectionCallback"> | 1003 | <member name="P:NpgsqlTypes.NpgsqlInterval.Microseconds"> |
853 | <summary> | 1004 | <summary> |
854 | Mono.Security.Protocol.Tls.PrivateKeySelectionCallback delegate. | 1005 | Gets the number of whole microseconds held in the instance. |
1006 | <returns>An in the range [-999999, 999999].</returns> | ||
855 | </summary> | 1007 | </summary> |
856 | </member> | 1008 | </member> |
857 | <member name="P:Npgsql.NpgsqlConnection.ConnectionString"> | 1009 | <member name="P:NpgsqlTypes.NpgsqlInterval.Milliseconds"> |
858 | <summary> | 1010 | <summary> |
859 | Gets or sets the string used to connect to a PostgreSQL database. | 1011 | Gets the number of whole milliseconds held in the instance. |
860 | Valid values are: | 1012 | <returns>An in the range [-999, 999].</returns> |
861 | <ul> | ||
862 | <li> | ||
863 | Server: Address/Name of Postgresql Server; | ||
864 | </li> | ||
865 | <li> | ||
866 | Port: Port to connect to; | ||
867 | </li> | ||
868 | <li> | ||
869 | Protocol: Protocol version to use, instead of automatic; Integer 2 or 3; | ||
870 | </li> | ||
871 | <li> | ||
872 | Database: Database name. Defaults to user name if not specified; | ||
873 | </li> | ||
874 | <li> | ||
875 | User Id: User name; | ||
876 | </li> | ||
877 | <li> | ||
878 | Password: Password for clear text authentication; | ||
879 | </li> | ||
880 | <li> | ||
881 | SSL: True or False. Controls whether to attempt a secure connection. Default = False; | ||
882 | </li> | ||
883 | <li> | ||
884 | Pooling: True or False. Controls whether connection pooling is used. Default = True; | ||
885 | </li> | ||
886 | <li> | ||
887 | MinPoolSize: Min size of connection pool; | ||
888 | </li> | ||
889 | <li> | ||
890 | MaxPoolSize: Max size of connection pool; | ||
891 | </li> | ||
892 | <li> | ||
893 | Timeout: Time to wait for connection open in seconds. Default is 15. | ||
894 | </li> | ||
895 | <li> | ||
896 | CommandTimeout: Time to wait for command to finish execution before throw an exception. In seconds. Default is 20. | ||
897 | </li> | ||
898 | <li> | ||
899 | Sslmode: Mode for ssl connection control. Can be Prefer, Require, Allow or Disable. Default is Disable. Check user manual for explanation of values. | ||
900 | </li> | ||
901 | <li> | ||
902 | ConnectionLifeTime: Time to wait before closing unused connections in the pool in seconds. Default is 15. | ||
903 | </li> | ||
904 | <li> | ||
905 | SyncNotification: Specifies if Npgsql should use synchronous notifications. | ||
906 | </li> | ||
907 | <li> | ||
908 | SearchPath: Changes search path to specified and public schemas. | ||
909 | </li> | ||
910 | </ul> | ||
911 | </summary> | 1013 | </summary> |
912 | <value>The connection string that includes the server name, | ||
913 | the database name, and other parameters needed to establish | ||
914 | the initial connection. The default value is an empty string. | ||
915 | </value> | ||
916 | </member> | 1014 | </member> |
917 | <member name="P:Npgsql.NpgsqlConnection.Host"> | 1015 | <member name="P:NpgsqlTypes.NpgsqlInterval.Seconds"> |
918 | <summary> | 1016 | <summary> |
919 | Backend server host name. | 1017 | Gets the number of whole seconds held in the instance. |
1018 | <returns>An in the range [-59, 59].</returns> | ||
920 | </summary> | 1019 | </summary> |
921 | </member> | 1020 | </member> |
922 | <member name="P:Npgsql.NpgsqlConnection.Port"> | 1021 | <member name="P:NpgsqlTypes.NpgsqlInterval.Minutes"> |
923 | <summary> | 1022 | <summary> |
924 | Backend server port. | 1023 | Gets the number of whole minutes held in the instance. |
1024 | <returns>An in the range [-59, 59].</returns> | ||
925 | </summary> | 1025 | </summary> |
926 | </member> | 1026 | </member> |
927 | <member name="P:Npgsql.NpgsqlConnection.SSL"> | 1027 | <member name="P:NpgsqlTypes.NpgsqlInterval.Hours"> |
928 | <summary> | 1028 | <summary> |
929 | If true, the connection will attempt to use SSL. | 1029 | Gets the number of whole hours held in the instance. |
1030 | <remarks>Note that this can be less than -23 or greater than 23 unless <see cref="M:NpgsqlTypes.NpgsqlInterval.JustifyDays"/> | ||
1031 | has been used to produce this instance.</remarks> | ||
930 | </summary> | 1032 | </summary> |
931 | </member> | 1033 | </member> |
932 | <member name="P:Npgsql.NpgsqlConnection.ConnectionTimeout"> | 1034 | <member name="P:NpgsqlTypes.NpgsqlInterval.Days"> |
933 | <summary> | 1035 | <summary> |
934 | Gets the time to wait while trying to establish a connection | 1036 | Gets the number of days held in the instance. |
935 | before terminating the attempt and generating an error. | 1037 | <remarks>Note that this does not pay attention to a time component with -24 or less hours or |
1038 | 24 or more hours, unless <see cref="M:NpgsqlTypes.NpgsqlInterval.JustifyDays"/> has been called to produce this instance.</remarks> | ||
936 | </summary> | 1039 | </summary> |
937 | <value>The time (in seconds) to wait for a connection to open. The default value is 15 seconds.</value> | ||
938 | </member> | 1040 | </member> |
939 | <member name="P:Npgsql.NpgsqlConnection.CommandTimeout"> | 1041 | <member name="P:NpgsqlTypes.NpgsqlInterval.Months"> |
940 | <summary> | 1042 | <summary> |
941 | Gets the time to wait while trying to execute a command | 1043 | Gets the number of months held in the instance. |
942 | before terminating the attempt and generating an error. | 1044 | <remarks>Note that this does not pay attention to a day component with -30 or less days or |
1045 | 30 or more days, unless <see cref="M:NpgsqlTypes.NpgsqlInterval.JustifyMonths"/> has been called to produce this instance.</remarks> | ||
943 | </summary> | 1046 | </summary> |
944 | <value>The time (in seconds) to wait for a command to complete. The default value is 20 seconds.</value> | ||
945 | </member> | 1047 | </member> |
946 | <member name="P:Npgsql.NpgsqlConnection.ConnectionLifeTime"> | 1048 | <member name="P:NpgsqlTypes.NpgsqlInterval.Time"> |
947 | <summary> | 1049 | <summary> |
948 | Gets the time to wait before closing unused connections in the pool if the count | 1050 | Returns a <see cref="T:System.TimeSpan"/> representing the time component of the instance. |
949 | of all connections exeeds MinPoolSize. | 1051 | <remarks>Note that this may have a value beyond the range ±23:59:59.9999999 unless |
1052 | <see cref="M:NpgsqlTypes.NpgsqlInterval.JustifyDays"/> has been called to produce this instance.</remarks> | ||
950 | </summary> | 1053 | </summary> |
951 | <remarks> | ||
952 | If connection pool contains unused connections for ConnectionLifeTime seconds, | ||
953 | the half of them will be closed. If there will be unused connections in a second | ||
954 | later then again the half of them will be closed and so on. | ||
955 | This strategy provide smooth change of connection count in the pool. | ||
956 | </remarks> | ||
957 | <value>The time (in seconds) to wait. The default value is 15 seconds.</value> | ||
958 | </member> | 1054 | </member> |
959 | <member name="P:Npgsql.NpgsqlConnection.Database"> | 1055 | <member name="P:NpgsqlTypes.NpgsqlInterval.TotalTicks"> |
960 | <summary> | 1056 | <summary> |
961 | Gets the name of the current database or the database to be used after a connection is opened. | 1057 | The total number of ticks (100ns units) in the instance, assuming 24 hours in each day and |
962 | </summary> | 1058 | 30 days in a month. |
963 | <value>The name of the current database or the name of the database to be | 1059 | </summary> |
964 | used after a connection is opened. The default value is the empty string.</value> | ||
965 | </member> | 1060 | </member> |
966 | <member name="P:Npgsql.NpgsqlConnection.PreloadReader"> | 1061 | <member name="P:NpgsqlTypes.NpgsqlInterval.TotalMicroseconds"> |
967 | <summary> | 1062 | <summary> |
968 | Whether datareaders are loaded in their entirety (for compatibility with earlier code). | 1063 | The total number of microseconds in the instance, assuming 24 hours in each day and |
1064 | 30 days in a month. | ||
969 | </summary> | 1065 | </summary> |
970 | </member> | 1066 | </member> |
971 | <member name="P:Npgsql.NpgsqlConnection.DataSource"> | 1067 | <member name="P:NpgsqlTypes.NpgsqlInterval.TotalMilliseconds"> |
972 | <summary> | 1068 | <summary> |
973 | Gets the database server name. | 1069 | The total number of milliseconds in the instance, assuming 24 hours in each day and |
1070 | 30 days in a month. | ||
974 | </summary> | 1071 | </summary> |
975 | </member> | 1072 | </member> |
976 | <member name="P:Npgsql.NpgsqlConnection.SyncNotification"> | 1073 | <member name="P:NpgsqlTypes.NpgsqlInterval.TotalSeconds"> |
977 | <summary> | 1074 | <summary> |
978 | Gets flag indicating if we are using Synchronous notification or not. | 1075 | The total number of seconds in the instance, assuming 24 hours in each day and |
979 | The default value is false. | 1076 | 30 days in a month. |
980 | </summary> | 1077 | </summary> |
981 | </member> | 1078 | </member> |
982 | <member name="P:Npgsql.NpgsqlConnection.FullState"> | 1079 | <member name="P:NpgsqlTypes.NpgsqlInterval.TotalMinutes"> |
983 | <summary> | 1080 | <summary> |
984 | Gets the current state of the connection. | 1081 | The total number of minutes in the instance, assuming 24 hours in each day and |
1082 | 30 days in a month. | ||
985 | </summary> | 1083 | </summary> |
986 | <value>A bitwise combination of the <see cref="T:System.Data.ConnectionState">ConnectionState</see> values. The default is <b>Closed</b>.</value> | ||
987 | </member> | 1084 | </member> |
988 | <member name="P:Npgsql.NpgsqlConnection.State"> | 1085 | <member name="P:NpgsqlTypes.NpgsqlInterval.TotalHours"> |
989 | <summary> | 1086 | <summary> |
990 | Gets whether the current state of the connection is Open or Closed | 1087 | The total number of hours in the instance, assuming 24 hours in each day and |
1088 | 30 days in a month. | ||
991 | </summary> | 1089 | </summary> |
992 | <value>ConnectionState.Open or ConnectionState.Closed</value> | ||
993 | </member> | 1090 | </member> |
994 | <member name="P:Npgsql.NpgsqlConnection.PostgreSqlVersion"> | 1091 | <member name="P:NpgsqlTypes.NpgsqlInterval.TotalDays"> |
995 | <summary> | 1092 | <summary> |
996 | Version of the PostgreSQL backend. | 1093 | The total number of days in the instance, assuming 24 hours in each day and |
997 | This can only be called when there is an active connection. | 1094 | 30 days in a month. |
998 | </summary> | 1095 | </summary> |
999 | </member> | 1096 | </member> |
1000 | <member name="P:Npgsql.NpgsqlConnection.BackendProtocolVersion"> | 1097 | <member name="P:NpgsqlTypes.NpgsqlInterval.TotalMonths"> |
1001 | <summary> | 1098 | <summary> |
1002 | Protocol version in use. | 1099 | The total number of months in the instance, assuming 24 hours in each day and |
1003 | This can only be called when there is an active connection. | 1100 | 30 days in a month. |
1004 | </summary> | 1101 | </summary> |
1005 | </member> | 1102 | </member> |
1006 | <member name="P:Npgsql.NpgsqlConnection.ProcessID"> | 1103 | <member name="M:NpgsqlTypes.NpgsqlTime.Normalize"> |
1007 | <summary> | 1104 | <summary> |
1008 | Process id of backend server. | 1105 | Normalise this time; if it is 24:00:00, convert it to 00:00:00 |
1009 | This can only be called when there is an active connection. | ||
1010 | </summary> | 1106 | </summary> |
1107 | <returns>This time, normalised</returns> | ||
1011 | </member> | 1108 | </member> |
1012 | <member name="P:Npgsql.NpgsqlConnection.Connector"> | 1109 | <member name="P:NpgsqlTypes.NpgsqlTime.Ticks"> |
1013 | <summary> | 1110 | <summary> |
1014 | The connector object connected to the backend. | 1111 | The total number of ticks(100ns units) contained. This is the resolution of the |
1112 | <see cref="T:NpgsqlTypes.NpgsqlTime"/> type. | ||
1113 | <remarks>The resolution of the PostgreSQL | ||
1114 | interval type is by default 1µs = 1,000 ns. It may be smaller as follows: | ||
1115 | <list type="number"> | ||
1116 | <item> | ||
1117 | <term>time(0)</term> | ||
1118 | <description>resolution of 1s (1 second)</description> | ||
1119 | </item> | ||
1120 | <item> | ||
1121 | <term>time(1)</term> | ||
1122 | <description>resolution of 100ms = 0.1s (100 milliseconds)</description> | ||
1123 | </item> | ||
1124 | <item> | ||
1125 | <term>time(2)</term> | ||
1126 | <description>resolution of 10ms = 0.01s (10 milliseconds)</description> | ||
1127 | </item> | ||
1128 | <item> | ||
1129 | <term>time(3)</term> | ||
1130 | <description>resolution of 1ms = 0.001s (1 millisecond)</description> | ||
1131 | </item> | ||
1132 | <item> | ||
1133 | <term>time(4)</term> | ||
1134 | <description>resolution of 100µs = 0.0001s (100 microseconds)</description> | ||
1135 | </item> | ||
1136 | <item> | ||
1137 | <term>time(5)</term> | ||
1138 | <description>resolution of 10µs = 0.00001s (10 microseconds)</description> | ||
1139 | </item> | ||
1140 | <item> | ||
1141 | <term>time(6) or interval</term> | ||
1142 | <description>resolution of 1µs = 0.000001s (1 microsecond)</description> | ||
1143 | </item> | ||
1144 | </list> | ||
1145 | <para>As such, if the 100-nanosecond resolution is significant to an application, a PostgreSQL time will | ||
1146 | not suffice for those purposes.</para> | ||
1147 | <para>In more frequent cases though, the resolution of time suffices. | ||
1148 | <see cref="T:NpgsqlTypes.NpgsqlTime"/> will always suffice to handle the resolution of any time value, and upon | ||
1149 | writing to the database, will be rounded to the resolution used.</para> | ||
1150 | </remarks> | ||
1151 | <returns>The number of ticks in the instance.</returns> | ||
1015 | </summary> | 1152 | </summary> |
1016 | </member> | 1153 | </member> |
1017 | <member name="P:Npgsql.NpgsqlConnection.ConnectionStringValues"> | 1154 | <member name="P:NpgsqlTypes.NpgsqlTime.Microseconds"> |
1018 | <summary> | 1155 | <summary> |
1019 | Gets the NpgsqlConnectionStringBuilder containing the parsed connection string values. | 1156 | Gets the number of whole microseconds held in the instance. |
1157 | <returns>An integer in the range [0, 999999].</returns> | ||
1020 | </summary> | 1158 | </summary> |
1021 | </member> | 1159 | </member> |
1022 | <member name="P:Npgsql.NpgsqlConnection.UserName"> | 1160 | <member name="P:NpgsqlTypes.NpgsqlTime.Milliseconds"> |
1023 | <summary> | 1161 | <summary> |
1024 | User name. | 1162 | Gets the number of whole milliseconds held in the instance. |
1163 | <returns>An integer in the range [0, 999].</returns> | ||
1025 | </summary> | 1164 | </summary> |
1026 | </member> | 1165 | </member> |
1027 | <member name="P:Npgsql.NpgsqlConnection.Password"> | 1166 | <member name="P:NpgsqlTypes.NpgsqlTime.Seconds"> |
1028 | <summary> | 1167 | <summary> |
1029 | Password. | 1168 | Gets the number of whole seconds held in the instance. |
1169 | <returns>An interger in the range [0, 59].</returns> | ||
1030 | </summary> | 1170 | </summary> |
1031 | </member> | 1171 | </member> |
1032 | <member name="P:Npgsql.NpgsqlConnection.Pooling"> | 1172 | <member name="P:NpgsqlTypes.NpgsqlTime.Minutes"> |
1033 | <summary> | 1173 | <summary> |
1034 | Determine if connection pooling will be used for this connection. | 1174 | Gets the number of whole minutes held in the instance. |
1175 | <returns>An integer in the range [0, 59].</returns> | ||
1035 | </summary> | 1176 | </summary> |
1036 | </member> | 1177 | </member> |
1037 | <member name="T:Npgsql.NpgsqlCancelRequest"> | 1178 | <member name="P:NpgsqlTypes.NpgsqlTime.Hours"> |
1038 | <summary> | 1179 | <summary> |
1039 | This class represents the CancelRequest message sent to PostgreSQL | 1180 | Gets the number of whole hours held in the instance. |
1040 | server. | 1181 | <remarks>Note that the time 24:00:00 can be stored for roundtrip compatibility. Any calculations on such a |
1041 | </summary> | 1182 | value will normalised it to 00:00:00.</remarks> |
1042 | 1183 | </summary> | |
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> | 1184 | </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"> | 1185 | <member name="M:NpgsqlTypes.NpgsqlTimeTZ.Normalize"> |
1186 | <summary> | ||
1187 | Normalise this time; if it is 24:00:00, convert it to 00:00:00 | ||
1188 | </summary> | ||
1210 | <returns>This time, normalised</returns> | 1189 | <returns>This time, normalised</returns> |
1211 | </member> | 1190 | </member> |
1212 | <member name="M:NpgsqlTypes.NpgsqlTimeTZ.CompareTo(NpgsqlTypes.NpgsqlTimeTZ)"> | 1191 | <member name="M:NpgsqlTypes.NpgsqlTimeTZ.CompareTo(NpgsqlTypes.NpgsqlTimeTZ)"> |
1192 | <summary> | ||
1193 | Compares this with another <see cref="T:NpgsqlTypes.NpgsqlTimeTZ"/>. As per postgres' rules, | ||
1194 | first the times are compared as if they were both in the same timezone. If they are equal then | ||
1195 | then timezones are compared (+01:00 being "smaller" than -01:00). | ||
1196 | </summary> | ||
1197 | <param name="other">the <see cref="T:NpgsqlTypes.NpgsqlTimeTZ"/> to compare with.</param> | ||
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> | 1198 | <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> | 1199 | </member> |
1215 | <!-- Badly formed XML comment ignored for member "P:NpgsqlTypes.NpgsqlTimeTZ.Microseconds" --> | 1200 | <member name="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> | 1201 | <summary> |
1222 | A class to handle everything associated with SSPI authentication | 1202 | Gets the number of whole microseconds held in the instance. |
1203 | <returns>An integer in the range [0, 999999].</returns> | ||
1223 | </summary> | 1204 | </summary> |
1224 | </member> | 1205 | </member> |
1225 | <member name="T:Npgsql.SSPIHandler.SecBufferDesc"> | 1206 | <member name="P:NpgsqlTypes.NpgsqlTimeTZ.Milliseconds"> |
1226 | <summary> | 1207 | <summary> |
1227 | Simplified SecBufferDesc struct with only one SecBuffer | 1208 | Gets the number of whole milliseconds held in the instance. |
1209 | <returns>An integer in the range [0, 999].</returns> | ||
1228 | </summary> | 1210 | </summary> |
1229 | </member> | 1211 | </member> |
1230 | <member name="T:Npgsql.NpgsqlSync"> | 1212 | <member name="P:NpgsqlTypes.NpgsqlTimeTZ.Seconds"> |
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> | 1213 | <summary> |
1239 | EventArgs class to send Notice parameters, which are just NpgsqlError's in a lighter context. | 1214 | Gets the number of whole seconds held in the instance. |
1215 | <returns>An interger in the range [0, 59].</returns> | ||
1240 | </summary> | 1216 | </summary> |
1241 | </member> | 1217 | </member> |
1242 | <member name="F:Npgsql.NpgsqlNoticeEventArgs.Notice"> | 1218 | <member name="P:NpgsqlTypes.NpgsqlTimeTZ.Minutes"> |
1243 | <summary> | 1219 | <summary> |
1244 | Notice information. | 1220 | Gets the number of whole minutes held in the instance. |
1221 | <returns>An integer in the range [0, 59].</returns> | ||
1245 | </summary> | 1222 | </summary> |
1246 | </member> | 1223 | </member> |
1247 | <member name="T:Npgsql.NpgsqlError"> | 1224 | <member name="P:NpgsqlTypes.NpgsqlTimeTZ.Hours"> |
1248 | <summary> | 1225 | <summary> |
1249 | This class represents the ErrorResponse and NoticeResponse | 1226 | Gets the number of whole hours held in the instance. |
1250 | message sent from PostgreSQL server. | 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> | ||
1251 | </summary> | 1229 | </summary> |
1252 | </member> | 1230 | </member> |
1253 | <member name="M:Npgsql.NpgsqlError.ToString"> | 1231 | <member name="T:NpgsqlTypes.LargeObjectManager"> |
1254 | <summary> | 1232 | <summary> |
1255 | Return a string representation of this error object. | 1233 | Summary description for LargeObjectManager. |
1256 | </summary> | 1234 | </summary> |
1257 | </member> | 1235 | </member> |
1258 | <member name="P:Npgsql.NpgsqlError.Severity"> | 1236 | <member name="T:NpgsqlTypes.BasicBackendToNativeTypeConverter"> |
1259 | <summary> | 1237 | <summary> |
1260 | Severity code. All versions. | 1238 | Provide event handlers to convert all native supported basic data types from their backend |
1239 | text representation to a .NET object. | ||
1261 | </summary> | 1240 | </summary> |
1262 | </member> | 1241 | </member> |
1263 | <member name="P:Npgsql.NpgsqlError.Code"> | 1242 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToBinary(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> |
1264 | <summary> | 1243 | <summary> |
1265 | Error code. PostgreSQL 7.4 and up. | 1244 | Binary data. |
1266 | </summary> | 1245 | </summary> |
1267 | </member> | 1246 | </member> |
1268 | <member name="P:Npgsql.NpgsqlError.Message"> | 1247 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToBoolean(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> |
1269 | <summary> | 1248 | <summary> |
1270 | Terse error message. All versions. | 1249 | Convert a postgresql boolean to a System.Boolean. |
1271 | </summary> | 1250 | </summary> |
1272 | </member> | 1251 | </member> |
1273 | <member name="P:Npgsql.NpgsqlError.Detail"> | 1252 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToBit(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> |
1274 | <summary> | 1253 | <summary> |
1275 | Detailed error message. PostgreSQL 7.4 and up. | 1254 | Convert a postgresql bit to a System.Boolean. |
1276 | </summary> | 1255 | </summary> |
1277 | </member> | 1256 | </member> |
1278 | <member name="P:Npgsql.NpgsqlError.Hint"> | 1257 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToDateTime(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> |
1279 | <summary> | 1258 | <summary> |
1280 | Suggestion to help resolve the error. PostgreSQL 7.4 and up. | 1259 | Convert a postgresql datetime to a System.DateTime. |
1281 | </summary> | 1260 | </summary> |
1282 | </member> | 1261 | </member> |
1283 | <member name="P:Npgsql.NpgsqlError.Position"> | 1262 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToDate(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> |
1284 | <summary> | 1263 | <summary> |
1285 | Position (one based) within the query string where the error was encounterd. PostgreSQL 7.4 and up. | 1264 | Convert a postgresql date to a System.DateTime. |
1286 | </summary> | 1265 | </summary> |
1287 | </member> | 1266 | </member> |
1288 | <member name="P:Npgsql.NpgsqlError.InternalPosition"> | 1267 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToTime(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> |
1289 | <summary> | 1268 | <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. | 1269 | Convert a postgresql time to a System.DateTime. |
1291 | </summary> | 1270 | </summary> |
1292 | </member> | 1271 | </member> |
1293 | <member name="P:Npgsql.NpgsqlError.InternalQuery"> | 1272 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToMoney(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> |
1294 | <summary> | 1273 | <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. | 1274 | Convert a postgresql money to a System.Decimal. |
1296 | </summary> | 1275 | </summary> |
1297 | </member> | 1276 | </member> |
1298 | <member name="P:Npgsql.NpgsqlError.Where"> | 1277 | <member name="T:NpgsqlTypes.BasicNativeToBackendTypeConverter"> |
1299 | <summary> | 1278 | <summary> |
1300 | Trace back information. PostgreSQL 7.4 and up. | 1279 | Provide event handlers to convert the basic native supported data types from |
1280 | native form to backend representation. | ||
1301 | </summary> | 1281 | </summary> |
1302 | </member> | 1282 | </member> |
1303 | <member name="P:Npgsql.NpgsqlError.File"> | 1283 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToBinary(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> |
1304 | <summary> | 1284 | <summary> |
1305 | Source file (in backend) reporting the error. PostgreSQL 7.4 and up. | 1285 | Binary data. |
1306 | </summary> | 1286 | </summary> |
1307 | </member> | 1287 | </member> |
1308 | <member name="P:Npgsql.NpgsqlError.Line"> | 1288 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToBoolean(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> |
1309 | <summary> | 1289 | <summary> |
1310 | Source file line number (in backend) reporting the error. PostgreSQL 7.4 and up. | 1290 | Convert to a postgresql boolean. |
1311 | </summary> | 1291 | </summary> |
1312 | </member> | 1292 | </member> |
1313 | <member name="P:Npgsql.NpgsqlError.Routine"> | 1293 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToBit(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> |
1314 | <summary> | 1294 | <summary> |
1315 | Source routine (in backend) reporting the error. PostgreSQL 7.4 and up. | 1295 | Convert to a postgresql bit. |
1316 | </summary> | 1296 | </summary> |
1317 | </member> | 1297 | </member> |
1318 | <member name="P:Npgsql.NpgsqlError.ErrorSql"> | 1298 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToDateTime(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> |
1319 | <summary> | 1299 | <summary> |
1320 | String containing the sql sent which produced this error. | 1300 | Convert to a postgresql timestamp. |
1321 | </summary> | 1301 | </summary> |
1322 | </member> | 1302 | </member> |
1323 | <member name="P:Npgsql.NpgsqlError.BackendProtocolVersion"> | 1303 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToDate(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> |
1324 | <summary> | 1304 | <summary> |
1325 | Backend protocol version in use. | 1305 | Convert to a postgresql date. |
1326 | </summary> | 1306 | </summary> |
1327 | </member> | 1307 | </member> |
1328 | <member name="T:Npgsql.NpgsqlCopyOutState"> | 1308 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToTime(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> |
1329 | <summary> | 1309 | <summary> |
1330 | Represents an ongoing COPY TO STDOUT operation. | 1310 | Convert to a postgresql time. |
1331 | Provides methods to read data from server or end the operation. | ||
1332 | </summary> | 1311 | </summary> |
1333 | </member> | 1312 | </member> |
1334 | <member name="T:Npgsql.NpgsqlState"> | 1313 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToMoney(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> |
1335 | <summary> This class represents the base class for the state pattern design pattern | ||
1336 | implementation. | ||
1337 | </summary> | ||
1338 | |||
1339 | </member> | ||
1340 | <member name="M:Npgsql.NpgsqlState.ChangeState(Npgsql.NpgsqlConnector,Npgsql.NpgsqlState)"> | ||
1341 | <summary> | 1314 | <summary> |
1342 | This method is used by the states to change the state of the context. | 1315 | Convert to a postgres money. |
1343 | </summary> | 1316 | </summary> |
1344 | </member> | 1317 | </member> |
1345 | <member name="M:Npgsql.NpgsqlState.ProcessBackendResponses(Npgsql.NpgsqlConnector)"> | 1318 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToSingleDouble(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> |
1346 | <summary> | 1319 | <summary> |
1347 | This method is responsible to handle all protocol messages sent from the backend. | 1320 | Convert to a postgres double with maximum precision. |
1348 | It holds all the logic to do it. | 1321 | </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> | 1322 | </member> |
1354 | <member name="M:Npgsql.NpgsqlState.ProcessBackendResponsesEnum(Npgsql.NpgsqlConnector)"> | 1323 | <member name="T:NpgsqlTypes.ExtendedBackendToNativeTypeConverter"> |
1355 | <summary> | 1324 | <summary> |
1356 | This method is responsible to handle all protocol messages sent from the backend. | 1325 | Provide event handlers to convert extended native supported data types from their backend |
1357 | It holds all the logic to do it. | 1326 | text representation to a .NET object. |
1358 | To exchange data, it uses a Mediator object from which it reads/writes information | 1327 | </summary> |
1359 | to handle backend requests. | ||
1360 | </summary> | ||
1361 | |||
1362 | </member> | 1328 | </member> |
1363 | <member name="M:Npgsql.NpgsqlCopyOutState.StartCopy(Npgsql.NpgsqlConnector,Npgsql.NpgsqlCopyFormat)"> | 1329 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToPoint(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> |
1364 | <summary> | 1330 | <summary> |
1365 | Called from NpgsqlState.ProcessBackendResponses upon CopyOutResponse. | 1331 | Convert a postgresql point to a System.NpgsqlPoint. |
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> | 1332 | </summary> |
1369 | </member> | 1333 | </member> |
1370 | <member name="M:Npgsql.NpgsqlCopyOutState.GetCopyData(Npgsql.NpgsqlConnector)"> | 1334 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToBox(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> |
1371 | <summary> | 1335 | <summary> |
1372 | Called from NpgsqlOutStream.Read to read copy data from server. | 1336 | Convert a postgresql point to a System.RectangleF. |
1373 | </summary> | 1337 | </summary> |
1374 | </member> | 1338 | </member> |
1375 | <member name="P:Npgsql.NpgsqlCopyOutState.CopyFormat"> | 1339 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToLSeg(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> |
1376 | <summary> | 1340 | <summary> |
1377 | Copy format information returned from server. | 1341 | LDeg. |
1378 | </summary> | 1342 | </summary> |
1379 | </member> | 1343 | </member> |
1380 | <member name="T:NpgsqlTypes.ArrayNativeToBackendTypeConverter"> | 1344 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToPath(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> |
1381 | <summary> | 1345 | <summary> |
1382 | Handles serialisation of .NET array or IEnumeration to pg format. | 1346 | Path. |
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> | 1347 | </summary> |
1390 | </member> | 1348 | </member> |
1391 | <member name="M:NpgsqlTypes.ArrayNativeToBackendTypeConverter.#ctor(NpgsqlTypes.NpgsqlNativeTypeInfo)"> | 1349 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToPolygon(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> |
1392 | <summary> | 1350 | <summary> |
1393 | Create an ArrayNativeToBackendTypeConverter with the element converter passed | 1351 | Polygon. |
1394 | </summary> | 1352 | </summary> |
1395 | <param name="elementConverter">The <see cref="T:NpgsqlTypes.NpgsqlNativeTypeInfo"/> that would be used to serialise the element type.</param> | ||
1396 | </member> | 1353 | </member> |
1397 | <member name="M:NpgsqlTypes.ArrayNativeToBackendTypeConverter.FromArray(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 1354 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToCircle(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> |
1398 | <summary> | 1355 | <summary> |
1399 | Serialise the enumeration or array. | 1356 | Circle. |
1400 | </summary> | 1357 | </summary> |
1401 | </member> | 1358 | </member> |
1402 | <member name="T:NpgsqlTypes.ArrayBackendToNativeTypeConverter"> | 1359 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToInet(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> |
1403 | <summary> | 1360 | <summary> |
1404 | Handles parsing of pg arrays into .NET arrays. | 1361 | Inet. |
1405 | </summary> | 1362 | </summary> |
1406 | </member> | 1363 | </member> |
1407 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.TokenEnumeration(System.String)"> | 1364 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToMacAddress(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> |
1408 | <summary> | 1365 | <summary> |
1409 | Takes a string representation of a pg 1-dimensional array | 1366 | MAC Address. |
1410 | (or a 1-dimensional row within an n-dimensional array) | ||
1411 | and allows enumeration of the string represenations of each items. | ||
1412 | </summary> | 1367 | </summary> |
1413 | </member> | 1368 | </member> |
1414 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.ArrayChunkEnumeration(System.String)"> | 1369 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToInterval(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> |
1415 | <summary> | 1370 | <summary> |
1416 | Takes a string representation of a pg n-dimensional array | 1371 | interval |
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> | 1372 | </summary> |
1420 | </member> | 1373 | </member> |
1421 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.RecursiveArrayListEnumeration(System.Collections.ArrayList)"> | 1374 | <member name="T:NpgsqlTypes.ExtendedNativeToBackendTypeConverter"> |
1422 | <summary> | 1375 | <summary> |
1423 | Takes an ArrayList which may be an ArrayList of ArrayLists, an ArrayList of ArrayLists of ArrayLists | 1376 | Provide event handlers to convert extended native supported data types from |
1424 | and so on and enumerates the items that aren't ArrayLists (the leaf nodes if we think of the ArrayList | 1377 | native form to backend representation. |
1425 | passed as a tree). Simply uses the ArrayLists' own IEnumerators to get that of the next, | ||
1426 | pushing them onto a stack until we hit something that isn't an ArrayList. | ||
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> | 1378 | </summary> |
1430 | </member> | 1379 | </member> |
1431 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.#ctor(NpgsqlTypes.NpgsqlBackendTypeInfo)"> | 1380 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToPoint(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> |
1432 | <summary> | 1381 | <summary> |
1433 | Create a new ArrayBackendToNativeTypeConverter | 1382 | Point. |
1434 | </summary> | 1383 | </summary> |
1435 | <param name="elementConverter"><see cref="T:NpgsqlTypes.NpgsqlBackendTypeInfo"/> for the element type.</param> | ||
1436 | </member> | 1384 | </member> |
1437 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.ToArray(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 1385 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToBox(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> |
1438 | <summary> | 1386 | <summary> |
1439 | Creates an array from pg representation. | 1387 | Box. |
1440 | </summary> | 1388 | </summary> |
1441 | </member> | 1389 | </member> |
1442 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.ToArrayList(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 1390 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToLSeg(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> |
1443 | <summary> | 1391 | <summary> |
1444 | Creates an array list from pg represenation of an array. | 1392 | LSeg. |
1445 | Multidimensional arrays are treated as ArrayLists of ArrayLists | ||
1446 | </summary> | 1393 | </summary> |
1447 | </member> | 1394 | </member> |
1448 | <member name="M:NpgsqlTypes.ArrayBackendToNativeTypeConverter.ToArray(System.Collections.ArrayList,System.Type)"> | 1395 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToPath(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> |
1449 | <summary> | 1396 | <summary> |
1450 | Creates an n-dimensional array from an ArrayList of ArrayLists or | 1397 | Open path. |
1451 | a 1-dimensional array from something else. | ||
1452 | </summary> | 1398 | </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> | 1399 | </member> |
1456 | <member name="T:NpgsqlTypes.ArrayBackendToNativeTypeConverter.IntSetIterator"> | 1400 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToPolygon(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> |
1457 | <summary> | 1401 | <summary> |
1458 | Takes an array of ints and treats them like the limits of a set of counters. | 1402 | Polygon. |
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> | 1403 | </summary> |
1465 | </member> | 1404 | </member> |
1466 | <member name="T:Npgsql.NpgsqlParameterStatus"> | 1405 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToMacAddress(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> |
1467 | <summary> | ||
1468 | This class represents the ParameterStatus message sent from PostgreSQL | ||
1469 | server. | ||
1470 | </summary> | ||
1471 | |||
1472 | </member> | ||
1473 | <member name="T:Npgsql.NpgsqlMediator"> | ||
1474 | <summary> | 1406 | <summary> |
1475 | This class is responsible for serving as bridge between the backend | 1407 | Convert to a postgres MAC Address. |
1476 | protocol handling and the core classes. It is used as the mediator for | 1408 | </summary> |
1477 | exchanging data generated/sent from/to backend. | ||
1478 | </summary> | ||
1479 | |||
1480 | </member> | 1409 | </member> |
1481 | <member name="T:Npgsql.NpgsqlCommandBuilder"> | 1410 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToCircle(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> |
1482 | <summary> | 1411 | <summary> |
1483 | This class is responsible to create database commands for automatic insert, update and delete operations. | 1412 | Circle. |
1484 | </summary> | 1413 | </summary> |
1485 | </member> | 1414 | </member> |
1486 | <member name="M:Npgsql.NpgsqlCommandBuilder.DeriveParameters(Npgsql.NpgsqlCommand)"> | 1415 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToIPAddress(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> |
1487 | <summary> | 1416 | <summary> |
1488 | 1417 | Convert to a postgres inet. | |
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> | 1418 | </summary> |
1494 | <param name="command">NpgsqlCommand whose function parameters will be obtained.</param> | ||
1495 | </member> | 1419 | </member> |
1496 | <member name="T:Npgsql.CompletedResponse"> | 1420 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToInterval(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> |
1497 | <summary> | 1421 | <summary> |
1498 | Represents a completed response message. | 1422 | Convert to a postgres interval |
1499 | </summary> | 1423 | </summary> |
1500 | </member> | 1424 | </member> |
1501 | <!-- Badly formed XML comment ignored for member "T:Npgsql.IServerResponseObject" --> | 1425 | <member name="T:NpgsqlTypes.NpgsqlPoint"> |
1502 | <member name="T:Npgsql.IStreamOwner"> | ||
1503 | <summary> | 1426 | <summary> |
1504 | Marker interface which identifies a class which may take possession of a stream for the duration of | 1427 | Represents a PostgreSQL Point type |
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> | 1428 | </summary> |
1512 | </member> | 1429 | </member> |
1513 | <member name="T:Npgsql.NpgsqlException"> | 1430 | <member name="T:NpgsqlTypes.NpgsqlLSeg"> |
1514 | <summary> | 1431 | <summary> |
1515 | The exception that is thrown when the PostgreSQL backend reports errors. | 1432 | Represents a PostgreSQL Line Segment type. |
1516 | </summary> | 1433 | </summary> |
1517 | </member> | 1434 | </member> |
1518 | <member name="M:Npgsql.NpgsqlException.#ctor(System.Collections.IList)"> | 1435 | <member name="T:NpgsqlTypes.NpgsqlPath"> |
1519 | <summary> | 1436 | <summary> |
1520 | Construct a backend error exception based on a list of one or more | 1437 | Represents a PostgreSQL Path type. |
1521 | backend errors. The basic Exception.Message will be built from the | ||
1522 | first (usually the only) error in the list. | ||
1523 | </summary> | 1438 | </summary> |
1524 | </member> | 1439 | </member> |
1525 | <member name="M:Npgsql.NpgsqlException.ToString"> | 1440 | <member name="T:NpgsqlTypes.NpgsqlPolygon"> |
1526 | <summary> | 1441 | <summary> |
1527 | Format a .NET style exception string. | 1442 | Represents a PostgreSQL Polygon type. |
1528 | Include all errors in the list, including any hints. | ||
1529 | </summary> | 1443 | </summary> |
1530 | </member> | 1444 | </member> |
1531 | <member name="M:Npgsql.NpgsqlException.AppendString(System.IO.StringWriter,System.String,System.String)"> | 1445 | <member name="T:NpgsqlTypes.NpgsqlCircle"> |
1532 | <summary> | 1446 | <summary> |
1533 | Append a line to the given Stream, first checking for zero-length. | 1447 | Represents a PostgreSQL Circle type. |
1534 | </summary> | 1448 | </summary> |
1535 | </member> | 1449 | </member> |
1536 | <member name="P:Npgsql.NpgsqlException.Item(System.Int32)"> | 1450 | <member name="T:NpgsqlTypes.NpgsqlInet"> |
1537 | <summary> | 1451 | <summary> |
1538 | Provide access to the entire list of errors provided by the PostgreSQL backend. | 1452 | Represents a PostgreSQL inet type. |
1539 | </summary> | 1453 | </summary> |
1540 | </member> | 1454 | </member> |
1541 | <member name="P:Npgsql.NpgsqlException.Severity"> | 1455 | <member name="T:NpgsqlTypes.NpgsqlMacAddress"> |
1542 | <summary> | 1456 | <summary> |
1543 | Severity code. All versions. | 1457 | Represents a PostgreSQL MacAddress type. |
1544 | </summary> | 1458 | </summary> |
1545 | </member> | 1459 | </member> |
1546 | <member name="P:Npgsql.NpgsqlException.Code"> | 1460 | <member name="M:NpgsqlTypes.NpgsqlMacAddress.#ctor(System.String)"> |
1547 | <summary> | 1461 | <summary> |
1548 | Error code. PostgreSQL 7.4 and up. | 1462 | |
1549 | </summary> | 1463 | </summary> |
1464 | <param name="macAddr">The macAddr parameter must contain a string that can only consist of numbers | ||
1465 | and upper-case letters as hexadecimal digits. (See PhysicalAddress.Parse method on MSDN)</param> | ||
1550 | </member> | 1466 | </member> |
1551 | <member name="P:Npgsql.NpgsqlException.BaseMessage"> | 1467 | <member name="T:NpgsqlTypes.NpgsqlTypesHelper"> |
1552 | <summary> | 1468 | <summary> |
1553 | Basic error message. All versions. | 1469 | This class contains helper methods for type conversion between |
1470 | the .Net type system and postgresql. | ||
1554 | </summary> | 1471 | </summary> |
1555 | </member> | 1472 | </member> |
1556 | <member name="P:Npgsql.NpgsqlException.Detail"> | 1473 | <member name="F:NpgsqlTypes.NpgsqlTypesHelper.BackendTypeMappingCache"> |
1557 | <summary> | 1474 | <summary> |
1558 | Detailed error message. PostgreSQL 7.4 and up. | 1475 | A cache of basic datatype mappings keyed by server version. This way we don't |
1476 | have to load the basic type mappings for every connection. | ||
1559 | </summary> | 1477 | </summary> |
1560 | </member> | 1478 | </member> |
1561 | <member name="P:Npgsql.NpgsqlException.Hint"> | 1479 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.TryGetBackendTypeInfo(System.String,NpgsqlTypes.NpgsqlBackendTypeInfo@)"> |
1562 | <summary> | 1480 | <summary> |
1563 | Suggestion to help resolve the error. PostgreSQL 7.4 and up. | 1481 | Find a NpgsqlNativeTypeInfo in the default types map that can handle objects |
1482 | of the given NpgsqlDbType. | ||
1564 | </summary> | 1483 | </summary> |
1565 | </member> | 1484 | </member> |
1566 | <member name="P:Npgsql.NpgsqlException.Position"> | 1485 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.TryGetNativeTypeInfo(NpgsqlTypes.NpgsqlDbType,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> |
1567 | <summary> | 1486 | <summary> |
1568 | Position (one based) within the query string where the error was encounterd. PostgreSQL 7.4 and up. | 1487 | Find a NpgsqlNativeTypeInfo in the default types map that can handle objects |
1488 | of the given NpgsqlDbType. | ||
1569 | </summary> | 1489 | </summary> |
1570 | </member> | 1490 | </member> |
1571 | <member name="P:Npgsql.NpgsqlException.Where"> | 1491 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.TryGetNativeTypeInfo(System.Data.DbType,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> |
1572 | <summary> | 1492 | <summary> |
1573 | Trace back information. PostgreSQL 7.4 and up. | 1493 | Find a NpgsqlNativeTypeInfo in the default types map that can handle objects |
1494 | of the given DbType. | ||
1574 | </summary> | 1495 | </summary> |
1575 | </member> | 1496 | </member> |
1576 | <member name="P:Npgsql.NpgsqlException.File"> | 1497 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.TryGetNativeTypeInfo(System.Type,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> |
1577 | <summary> | 1498 | <summary> |
1578 | Source file (in backend) reporting the error. PostgreSQL 7.4 and up. | 1499 | Find a NpgsqlNativeTypeInfo in the default types map that can handle objects |
1500 | of the given System.Type. | ||
1579 | </summary> | 1501 | </summary> |
1580 | </member> | 1502 | </member> |
1581 | <member name="P:Npgsql.NpgsqlException.Line"> | 1503 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.ConvertBackendStringToSystemType(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> |
1582 | <summary> | 1504 | <summary> |
1583 | Source file line number (in backend) reporting the error. PostgreSQL 7.4 and up. | 1505 | This method is responsible to convert the string received from the backend |
1584 | </summary> | 1506 | to the corresponding NpgsqlType. |
1507 | The given TypeInfo is called upon to do the conversion. | ||
1508 | If no TypeInfo object is provided, no conversion is performed. | ||
1509 | </summary> | ||
1585 | </member> | 1510 | </member> |
1586 | <member name="P:Npgsql.NpgsqlException.Routine"> | 1511 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.PrepareDefaultTypesMap"> |
1587 | <summary> | 1512 | <summary> |
1588 | Source routine (in backend) reporting the error. PostgreSQL 7.4 and up. | 1513 | Create the one and only native to backend type map. |
1514 | This map is used when formatting native data | ||
1515 | types to backend representations. | ||
1589 | </summary> | 1516 | </summary> |
1590 | </member> | 1517 | </member> |
1591 | <member name="P:Npgsql.NpgsqlException.ErrorSql"> | 1518 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.CreateAndLoadInitialTypesMapping(Npgsql.NpgsqlConnector)"> |
1592 | <summary> | 1519 | <summary> |
1593 | String containing the sql sent which produced this error. | 1520 | This method creates (or retrieves from cache) a mapping between type and OID |
1594 | </summary> | 1521 | of all natively supported postgresql data types. |
1522 | This is needed as from one version to another, this mapping can be changed and | ||
1523 | so we avoid hardcoding them. | ||
1524 | </summary> | ||
1525 | <returns>NpgsqlTypeMapping containing all known data types. The mapping must be | ||
1526 | cloned before it is modified because it is cached; changes made by one connection may | ||
1527 | effect another connection.</returns> | ||
1595 | </member> | 1528 | </member> |
1596 | <member name="P:Npgsql.NpgsqlException.Errors"> | 1529 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.LoadTypesMappings(Npgsql.NpgsqlConnector,NpgsqlTypes.NpgsqlBackendTypeMapping,System.Collections.Generic.IEnumerable{NpgsqlTypes.NpgsqlBackendTypeInfo})"> |
1597 | <summary> | 1530 | <summary> |
1598 | Returns the entire list of errors provided by the PostgreSQL backend. | 1531 | Attempt to map types by issuing a query against pg_type. |
1532 | This function takes a list of NpgsqlTypeInfo and attempts to resolve the OID field | ||
1533 | of each by querying pg_type. If the mapping is found, the type info object is | ||
1534 | updated (OID) and added to the provided NpgsqlTypeMapping object. | ||
1599 | </summary> | 1535 | </summary> |
1536 | <param name="conn">NpgsqlConnector to send query through.</param> | ||
1537 | <param name="TypeMappings">Mapping object to add types too.</param> | ||
1538 | <param name="TypeInfoList">List of types that need to have OID's mapped.</param> | ||
1600 | </member> | 1539 | </member> |
1601 | <member name="T:Npgsql.LogLevel"> | 1540 | <member name="T:NpgsqlTypes.ConvertBackendToNativeHandler"> |
1602 | <summary> | 1541 | <summary> |
1603 | The level of verbosity of the NpgsqlEventLog | 1542 | Delegate called to convert the given backend data to its native representation. |
1604 | </summary> | 1543 | </summary> |
1605 | </member> | 1544 | </member> |
1606 | <member name="F:Npgsql.LogLevel.None"> | 1545 | <member name="T:NpgsqlTypes.ConvertNativeToBackendHandler"> |
1607 | <summary> | 1546 | <summary> |
1608 | Don't log at all | 1547 | Delegate called to convert the given native data to its backand representation. |
1609 | </summary> | 1548 | </summary> |
1610 | </member> | 1549 | </member> |
1611 | <member name="F:Npgsql.LogLevel.Normal"> | 1550 | <member name="T:NpgsqlTypes.NpgsqlBackendTypeInfo"> |
1612 | <summary> | 1551 | <summary> |
1613 | Only log the most common issues | 1552 | Represents a backend data type. |
1553 | This class can be called upon to convert a backend field representation to a native object. | ||
1614 | </summary> | 1554 | </summary> |
1615 | </member> | 1555 | </member> |
1616 | <member name="F:Npgsql.LogLevel.Debug"> | 1556 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeInfo.#ctor(System.Int32,System.String,NpgsqlTypes.NpgsqlDbType,System.Data.DbType,System.Type,NpgsqlTypes.ConvertBackendToNativeHandler)"> |
1617 | <summary> | 1557 | <summary> |
1618 | Log everything | 1558 | Construct a new NpgsqlTypeInfo with the given attributes and conversion handlers. |
1619 | </summary> | 1559 | </summary> |
1560 | <param name="OID">Type OID provided by the backend server.</param> | ||
1561 | <param name="Name">Type name provided by the backend server.</param> | ||
1562 | <param name="NpgsqlDbType">NpgsqlDbType</param> | ||
1563 | <param name="Type">System type to convert fields of this type to.</param> | ||
1564 | <param name="ConvertBackendToNative">Data conversion handler.</param> | ||
1620 | </member> | 1565 | </member> |
1621 | <member name="T:Npgsql.NpgsqlEventLog"> | 1566 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeInfo.ConvertToNative(System.String,System.Int16,System.Int32)"> |
1622 | <summary> | 1567 | <summary> |
1623 | This class handles all the Npgsql event and debug logging | 1568 | Perform a data conversion from a backend representation to |
1569 | a native object. | ||
1624 | </summary> | 1570 | </summary> |
1571 | <param name="BackendData">Data sent from the backend.</param> | ||
1572 | <param name="TypeModifier">Type modifier field sent from the backend.</param> | ||
1625 | </member> | 1573 | </member> |
1626 | <member name="M:Npgsql.NpgsqlEventLog.LogMsg(System.String,Npgsql.LogLevel)"> | 1574 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.OID"> |
1627 | <summary> | 1575 | <summary> |
1628 | Writes a string to the Npgsql event log if msglevel is bigger then <see cref="P:Npgsql.NpgsqlEventLog.Level">NpgsqlEventLog.Level</see> | 1576 | Type OID provided by the backend server. |
1629 | </summary> | 1577 | </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> | 1578 | </member> |
1637 | <member name="M:Npgsql.NpgsqlEventLog.LogMsg(System.Resources.ResourceManager,System.String,Npgsql.LogLevel,System.Object[])"> | 1579 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.Name"> |
1638 | <summary> | 1580 | <summary> |
1639 | Writes a string to the Npgsql event log if msglevel is bigger then <see cref="P:Npgsql.NpgsqlEventLog.Level">NpgsqlEventLog.Level</see> | 1581 | Type name provided by the backend server. |
1640 | </summary> | 1582 | </summary> |
1641 | <param name="resman">The <see cref="T:System.Resources.ResourceManager">ResourceManager</see> to get the localized resources</param> | ||
1642 | <param name="ResourceString">The name of the resource that should be fetched by the <see cref="T:System.Resources.ResourceManager">ResourceManager</see></param> | ||
1643 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</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> | ||
1645 | </member> | 1583 | </member> |
1646 | <member name="M:Npgsql.NpgsqlEventLog.LogIndexerGet(Npgsql.LogLevel,System.String,System.Object)"> | 1584 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.NpgsqlDbType"> |
1647 | <summary> | 1585 | <summary> |
1648 | Writes the default log-message for the action of calling the Get-part of an Indexer to the log file. | 1586 | NpgsqlDbType. |
1649 | </summary> | 1587 | </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> | 1588 | </member> |
1654 | <member name="M:Npgsql.NpgsqlEventLog.LogIndexerSet(Npgsql.LogLevel,System.String,System.Object,System.Object)"> | 1589 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.DbType"> |
1655 | <summary> | 1590 | <summary> |
1656 | Writes the default log-message for the action of calling the Set-part of an Indexer to the logfile. | 1591 | NpgsqlDbType. |
1657 | </summary> | 1592 | </summary> |
1658 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
1659 | <param name="ClassName">The name of the class that contains the Indexer</param> | ||
1660 | <param name="IndexerParam">The parameter given to the Indexer</param> | ||
1661 | <param name="value">The value the Indexer is set to</param> | ||
1662 | </member> | 1593 | </member> |
1663 | <member name="M:Npgsql.NpgsqlEventLog.LogPropertyGet(Npgsql.LogLevel,System.String,System.String)"> | 1594 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.Type"> |
1664 | <summary> | 1595 | <summary> |
1665 | Writes the default log-message for the action of calling the Get-part of a Property to the logfile. | 1596 | Provider type to convert fields of this type to. |
1666 | </summary> | 1597 | </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> | 1598 | </member> |
1671 | <member name="M:Npgsql.NpgsqlEventLog.LogPropertySet(Npgsql.LogLevel,System.String,System.String,System.Object)"> | 1599 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.FrameworkType"> |
1672 | <summary> | 1600 | <summary> |
1673 | Writes the default log-message for the action of calling the Set-part of a Property to the logfile. | 1601 | System type to convert fields of this type to. |
1674 | </summary> | 1602 | </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> | 1603 | </member> |
1680 | <member name="M:Npgsql.NpgsqlEventLog.LogMethodEnter(Npgsql.LogLevel,System.String,System.String)"> | 1604 | <member name="T:NpgsqlTypes.NpgsqlNativeTypeInfo"> |
1681 | <summary> | 1605 | <summary> |
1682 | Writes the default log-message for the action of calling a Method without Arguments to the logfile. | 1606 | Represents a backend data type. |
1607 | This class can be called upon to convert a native object to its backend field representation, | ||
1683 | </summary> | 1608 | </summary> |
1684 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
1685 | <param name="ClassName">The name of the class that contains the Method</param> | ||
1686 | <param name="MethodName">The name of the Method</param> | ||
1687 | </member> | 1609 | </member> |
1688 | <member name="M:Npgsql.NpgsqlEventLog.LogMethodEnter(Npgsql.LogLevel,System.String,System.String,System.Object)"> | 1610 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeInfo.ArrayOf(NpgsqlTypes.NpgsqlNativeTypeInfo)"> |
1689 | <summary> | 1611 | <summary> |
1690 | Writes the default log-message for the action of calling a Method with one Argument to the logfile. | 1612 | Returns an NpgsqlNativeTypeInfo for an array where the elements are of the type |
1613 | described by the NpgsqlNativeTypeInfo supplied. | ||
1691 | </summary> | 1614 | </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> | 1615 | </member> |
1697 | <member name="M:Npgsql.NpgsqlEventLog.LogMethodEnter(Npgsql.LogLevel,System.String,System.String,System.Object,System.Object)"> | 1616 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeInfo.#ctor(System.String,NpgsqlTypes.NpgsqlDbType,System.Data.DbType,System.Boolean,NpgsqlTypes.ConvertNativeToBackendHandler)"> |
1698 | <summary> | 1617 | <summary> |
1699 | Writes the default log-message for the action of calling a Method with two Arguments to the logfile. | 1618 | Construct a new NpgsqlTypeInfo with the given attributes and conversion handlers. |
1700 | </summary> | 1619 | </summary> |
1701 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | 1620 | <param name="Name">Type name provided by the backend server.</param> |
1702 | <param name="ClassName">The name of the class that contains the Method</param> | 1621 | <param name="NpgsqlDbType">NpgsqlDbType</param> |
1703 | <param name="MethodName">The name of the Method</param> | 1622 | <param name="ConvertNativeToBackend">Data conversion handler.</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> | 1623 | </member> |
1707 | <member name="M:Npgsql.NpgsqlEventLog.LogMethodEnter(Npgsql.LogLevel,System.String,System.String,System.Object,System.Object,System.Object)"> | 1624 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeInfo.ConvertToBackend(System.Object,System.Boolean)"> |
1708 | <summary> | 1625 | <summary> |
1709 | Writes the default log-message for the action of calling a Method with three Arguments to the logfile. | 1626 | Perform a data conversion from a native object to |
1627 | a backend representation. | ||
1628 | DBNull and null values are handled differently depending if a plain query is used | ||
1629 | When | ||
1710 | </summary> | 1630 | </summary> |
1711 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | 1631 | <param name="NativeData">Native .NET object to be converted.</param> |
1712 | <param name="ClassName">The name of the class that contains the Method</param> | 1632 | <param name="ForExtendedQuery">Flag indicating if the conversion has to be done for |
1713 | <param name="MethodName">The name of the Method</param> | 1633 | plain queries or extended queries</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> | 1634 | </member> |
1718 | <member name="M:Npgsql.NpgsqlEventLog.LogMethodEnter(Npgsql.LogLevel,System.String,System.String,System.Object[])"> | 1635 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeInfo.Name"> |
1719 | <summary> | 1636 | <summary> |
1720 | Writes the default log-message for the action of calling a Method with more than three Arguments to the logfile. | 1637 | Type name provided by the backend server. |
1721 | </summary> | 1638 | </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> | 1639 | </member> |
1727 | <member name="P:Npgsql.NpgsqlEventLog.Level"> | 1640 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeInfo.NpgsqlDbType"> |
1728 | <summary> | 1641 | <summary> |
1729 | Sets/Returns the level of information to log to the logfile. | 1642 | NpgsqlDbType. |
1730 | </summary> | 1643 | </summary> |
1731 | <value>The current <see cref="T:Npgsql.LogLevel">LogLevel</see></value> | ||
1732 | </member> | 1644 | </member> |
1733 | <member name="P:Npgsql.NpgsqlEventLog.LogName"> | 1645 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeInfo.DbType"> |
1734 | <summary> | 1646 | <summary> |
1735 | Sets/Returns the filename to use for logging. | 1647 | DbType. |
1736 | </summary> | 1648 | </summary> |
1737 | <value>The filename of the current Log file.</value> | ||
1738 | </member> | 1649 | </member> |
1739 | <member name="P:Npgsql.NpgsqlEventLog.EchoMessages"> | 1650 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeInfo.Quote"> |
1740 | <summary> | 1651 | <summary> |
1741 | Sets/Returns whether Log messages should be echoed to the console | 1652 | Apply quoting. |
1742 | </summary> | 1653 | </summary> |
1743 | <value><b>true</b> if Log messages are echoed to the console, otherwise <b>false</b></value> | ||
1744 | </member> | ||
1745 | <member name="T:Npgsql.NpgsqlDescribe"> | ||
1746 | <summary> | ||
1747 | This class represents the Parse message sent to PostgreSQL | ||
1748 | server. | ||
1749 | </summary> | ||
1750 | |||
1751 | </member> | 1654 | </member> |
1752 | <member name="T:Npgsql.NpgsqlCopyIn"> | 1655 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeInfo.UseSize"> |
1753 | <summary> | 1656 | <summary> |
1754 | Represents a PostgreSQL COPY FROM STDIN operation with a corresponding SQL statement | 1657 | Use parameter size information. |
1755 | to execute against a PostgreSQL database | ||
1756 | and an associated stream used to read data from (if provided by user) | ||
1757 | or for writing it (when generated by driver). | ||
1758 | Eg. new NpgsqlCopyIn("COPY mytable FROM STDIN", connection, streamToRead).Start(); | ||
1759 | </summary> | 1658 | </summary> |
1760 | </member> | 1659 | </member> |
1761 | <member name="M:Npgsql.NpgsqlCopyIn.#ctor(System.String,Npgsql.NpgsqlConnection)"> | 1660 | <member name="T:NpgsqlTypes.NpgsqlBackendTypeMapping"> |
1762 | <summary> | 1661 | <summary> |
1763 | Creates NpgsqlCommand to run given query upon Start(). Data for the requested COPY IN operation can then be written to CopyData stream followed by a call to End() or Cancel(). | 1662 | Provide mapping between type OID, type name, and a NpgsqlBackendTypeInfo object that represents it. |
1764 | </summary> | 1663 | </summary> |
1765 | </member> | 1664 | </member> |
1766 | <member name="M:Npgsql.NpgsqlCopyIn.#ctor(Npgsql.NpgsqlCommand,Npgsql.NpgsqlConnection)"> | 1665 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.#ctor"> |
1767 | <summary> | 1666 | <summary> |
1768 | Given command is run upon Start(). Data for the requested COPY IN operation can then be written to CopyData stream followed by a call to End() or Cancel(). | 1667 | Construct an empty mapping. |
1769 | </summary> | 1668 | </summary> |
1770 | </member> | 1669 | </member> |
1771 | <member name="M:Npgsql.NpgsqlCopyIn.#ctor(Npgsql.NpgsqlCommand,Npgsql.NpgsqlConnection,System.IO.Stream)"> | 1670 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.#ctor(NpgsqlTypes.NpgsqlBackendTypeMapping)"> |
1772 | <summary> | 1671 | <summary> |
1773 | Given command is executed upon Start() and all data from fromStream is passed to it as copy data. | 1672 | Copy constuctor. |
1774 | </summary> | 1673 | </summary> |
1775 | </member> | 1674 | </member> |
1776 | <member name="M:Npgsql.NpgsqlCopyIn.FieldIsBinary(System.Int32)"> | 1675 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.AddType(NpgsqlTypes.NpgsqlBackendTypeInfo)"> |
1777 | <summary> | 1676 | <summary> |
1778 | Returns true if this operation is currently active and field at given location is in binary format. | 1677 | Add the given NpgsqlBackendTypeInfo to this mapping. |
1779 | </summary> | 1678 | </summary> |
1780 | </member> | 1679 | </member> |
1781 | <member name="M:Npgsql.NpgsqlCopyIn.Start"> | 1680 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.AddType(System.Int32,System.String,NpgsqlTypes.NpgsqlDbType,System.Data.DbType,System.Type,NpgsqlTypes.ConvertBackendToNativeHandler)"> |
1782 | <summary> | 1681 | <summary> |
1783 | Command specified upon creation is executed as a non-query. | 1682 | Add a new NpgsqlBackendTypeInfo with the given attributes and conversion handlers to this mapping. |
1784 | If CopyStream is set upon creation, it will be flushed to server as copy data, and operation will be finished immediately. | ||
1785 | Otherwise the CopyStream member can be used for writing copy data to server and operation finished with a call to End() or Cancel(). | ||
1786 | </summary> | 1683 | </summary> |
1684 | <param name="OID">Type OID provided by the backend server.</param> | ||
1685 | <param name="Name">Type name provided by the backend server.</param> | ||
1686 | <param name="NpgsqlDbType">NpgsqlDbType</param> | ||
1687 | <param name="Type">System type to convert fields of this type to.</param> | ||
1688 | <param name="BackendConvert">Data conversion handler.</param> | ||
1787 | </member> | 1689 | </member> |
1788 | <member name="M:Npgsql.NpgsqlCopyIn.End"> | 1690 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.Clone"> |
1789 | <summary> | 1691 | <summary> |
1790 | Called after writing all data to CopyStream to successfully complete this copy operation. | 1692 | Make a shallow copy of this type mapping. |
1791 | </summary> | 1693 | </summary> |
1792 | </member> | 1694 | </member> |
1793 | <member name="M:Npgsql.NpgsqlCopyIn.Cancel(System.String)"> | 1695 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.ContainsOID(System.Int32)"> |
1794 | <summary> | 1696 | <summary> |
1795 | Withdraws an already started copy operation. The operation will fail with given error message. | 1697 | Determine if a NpgsqlBackendTypeInfo with the given backend type OID exists in this mapping. |
1796 | Will do nothing if current operation is not active. | ||
1797 | </summary> | 1698 | </summary> |
1798 | </member> | 1699 | </member> |
1799 | <member name="P:Npgsql.NpgsqlCopyIn.IsActive"> | 1700 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.ContainsName(System.String)"> |
1800 | <summary> | 1701 | <summary> |
1801 | Returns true if the connection is currently reserved for this operation. | 1702 | Determine if a NpgsqlBackendTypeInfo with the given backend type name exists in this mapping. |
1802 | </summary> | 1703 | </summary> |
1803 | </member> | 1704 | </member> |
1804 | <member name="P:Npgsql.NpgsqlCopyIn.CopyStream"> | 1705 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeMapping.Count"> |
1805 | <summary> | 1706 | <summary> |
1806 | The stream provided by user or generated upon Start(). | 1707 | Get the number of type infos held. |
1807 | User may provide a stream to constructor; it is used to pass to server all data read from it. | ||
1808 | Otherwise, call to Start() sets this to a writable NpgsqlCopyInStream that passes all data written to it to server. | ||
1809 | In latter case this is only available while the copy operation is active and null otherwise. | ||
1810 | </summary> | 1708 | </summary> |
1811 | </member> | 1709 | </member> |
1812 | <member name="P:Npgsql.NpgsqlCopyIn.IsBinary"> | 1710 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeMapping.Item(System.Int32)"> |
1813 | <summary> | 1711 | <summary> |
1814 | Returns true if this operation is currently active and in binary format. | 1712 | Retrieve the NpgsqlBackendTypeInfo with the given backend type OID, or null if none found. |
1815 | </summary> | 1713 | </summary> |
1816 | </member> | 1714 | </member> |
1817 | <member name="P:Npgsql.NpgsqlCopyIn.FieldCount"> | 1715 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeMapping.Item(System.String)"> |
1818 | <summary> | 1716 | <summary> |
1819 | Returns number of fields expected on each input row if this operation is currently active, otherwise -1 | 1717 | Retrieve the NpgsqlBackendTypeInfo with the given backend type name, or null if none found. |
1820 | </summary> | 1718 | </summary> |
1821 | </member> | 1719 | </member> |
1822 | <member name="P:Npgsql.NpgsqlCopyIn.NpgsqlCommand"> | 1720 | <member name="T:NpgsqlTypes.NpgsqlNativeTypeMapping"> |
1823 | <summary> | 1721 | <summary> |
1824 | The Command used to execute this copy operation. | 1722 | Provide mapping between type Type, NpgsqlDbType and a NpgsqlNativeTypeInfo object that represents it. |
1825 | </summary> | 1723 | </summary> |
1826 | </member> | 1724 | </member> |
1827 | <member name="P:Npgsql.NpgsqlCopyIn.CopyBufferSize"> | 1725 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.AddType(NpgsqlTypes.NpgsqlNativeTypeInfo)"> |
1828 | <summary> | 1726 | <summary> |
1829 | Set before a COPY IN query to define size of internal buffer for reading from given CopyStream. | 1727 | Add the given NpgsqlNativeTypeInfo to this mapping. |
1830 | </summary> | 1728 | </summary> |
1831 | </member> | 1729 | </member> |
1832 | <member name="T:Npgsql.NpgsqlCopyFormat"> | 1730 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.AddType(System.String,NpgsqlTypes.NpgsqlDbType,System.Data.DbType,System.Boolean,NpgsqlTypes.ConvertNativeToBackendHandler)"> |
1833 | <summary> | 1731 | <summary> |
1834 | Represents information about COPY operation data transfer format as returned by server. | 1732 | Add a new NpgsqlNativeTypeInfo with the given attributes and conversion handlers to this mapping. |
1835 | </summary> | 1733 | </summary> |
1734 | <param name="Name">Type name provided by the backend server.</param> | ||
1735 | <param name="NpgsqlDbType">NpgsqlDbType</param> | ||
1736 | <param name="NativeConvert">Data conversion handler.</param> | ||
1836 | </member> | 1737 | </member> |
1837 | <member name="M:Npgsql.NpgsqlCopyFormat.#ctor(System.Byte,System.Int16[])"> | 1738 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.TryGetValue(NpgsqlTypes.NpgsqlDbType,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> |
1838 | <summary> | 1739 | <summary> |
1839 | Only created when a CopyInResponse or CopyOutResponse is received by NpgsqlState.ProcessBackendResponses() | 1740 | Retrieve the NpgsqlNativeTypeInfo with the given NpgsqlDbType. |
1840 | </summary> | 1741 | </summary> |
1841 | </member> | 1742 | </member> |
1842 | <member name="M:Npgsql.NpgsqlCopyFormat.FieldIsBinary(System.Int32)"> | 1743 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.TryGetValue(System.Data.DbType,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> |
1843 | <summary> | 1744 | <summary> |
1844 | Returns true if this operation is currently active and field at given location is in binary format. | 1745 | Retrieve the NpgsqlNativeTypeInfo with the given DbType. |
1845 | </summary> | 1746 | </summary> |
1846 | </member> | 1747 | </member> |
1847 | <member name="P:Npgsql.NpgsqlCopyFormat.IsBinary"> | 1748 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.TryGetValue(System.Type,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> |
1848 | <summary> | 1749 | <summary> |
1849 | Returns true if this operation is currently active and in binary format. | 1750 | Retrieve the NpgsqlNativeTypeInfo with the given Type. |
1850 | </summary> | 1751 | </summary> |
1851 | </member> | 1752 | </member> |
1852 | <member name="P:Npgsql.NpgsqlCopyFormat.FieldCount"> | 1753 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.ContainsName(System.String)"> |
1853 | <summary> | 1754 | <summary> |
1854 | Returns number of fields if this operation is currently active, otherwise -1 | 1755 | Determine if a NpgsqlNativeTypeInfo with the given backend type name exists in this mapping. |
1855 | </summary> | 1756 | </summary> |
1856 | </member> | 1757 | </member> |
1857 | <!-- Badly formed XML comment ignored for member "P:Npgsql.Cache`1.CacheSize" --> | 1758 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.ContainsNpgsqlDbType(NpgsqlTypes.NpgsqlDbType)"> |
1858 | <member name="P:Npgsql.Cache`1.Item(System.String)"> | ||
1859 | <returns></returns> | ||
1860 | </member> | ||
1861 | <member name="T:NpgsqlTypes.BasicBackendToNativeTypeConverter"> | ||
1862 | <summary> | 1759 | <summary> |
1863 | Provide event handlers to convert all native supported basic data types from their backend | 1760 | Determine if a NpgsqlNativeTypeInfo with the given NpgsqlDbType exists in this mapping. |
1864 | text representation to a .NET object. | ||
1865 | </summary> | 1761 | </summary> |
1866 | </member> | 1762 | </member> |
1867 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToBinary(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 1763 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.ContainsType(System.Type)"> |
1868 | <summary> | 1764 | <summary> |
1869 | Binary data. | 1765 | Determine if a NpgsqlNativeTypeInfo with the given Type name exists in this mapping. |
1870 | </summary> | 1766 | </summary> |
1871 | </member> | 1767 | </member> |
1872 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToBoolean(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 1768 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeMapping.Count"> |
1873 | <summary> | 1769 | <summary> |
1874 | Convert a postgresql boolean to a System.Boolean. | 1770 | Get the number of type infos held. |
1875 | </summary> | 1771 | </summary> |
1876 | </member> | 1772 | </member> |
1877 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToBit(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 1773 | <member name="M:Npgsql.SqlGenerators.SqlBaseGenerator.GetColumnsForJoin(Npgsql.SqlGenerators.JoinExpression,Npgsql.SqlGenerators.ProjectionExpression,Npgsql.SqlGenerators.VisitedExpression)"> |
1878 | <summary> | 1774 | <summary> |
1879 | Convert a postgresql bit to a System.Boolean. | 1775 | Given a join expression and a projection, fetch all columns in the projection |
1776 | that reference columns in the join. | ||
1880 | </summary> | 1777 | </summary> |
1881 | </member> | 1778 | </member> |
1882 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToDateTime(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 1779 | <member name="M:Npgsql.SqlGenerators.SqlBaseGenerator.GetFromNames(Npgsql.SqlGenerators.InputExpression,System.Collections.Generic.List{System.String})"> |
1883 | <summary> | 1780 | <summary> |
1884 | Convert a postgresql datetime to a System.DateTime. | 1781 | Given an InputExpression append all from names (including nested joins) to the list. |
1885 | </summary> | 1782 | </summary> |
1886 | </member> | 1783 | </member> |
1887 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToDate(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 1784 | <member name="M:Npgsql.SqlGenerators.SqlBaseGenerator.GetReplacementColumn(Npgsql.SqlGenerators.JoinExpression,Npgsql.SqlGenerators.ColumnExpression)"> |
1888 | <summary> | 1785 | <summary> |
1889 | Convert a postgresql date to a System.DateTime. | 1786 | Get new ColumnExpression that will be used in projection that had it's existing columns moved. |
1787 | These should be simple references to the inner column | ||
1890 | </summary> | 1788 | </summary> |
1891 | </member> | 1789 | </member> |
1892 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToTime(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 1790 | <member name="M:Npgsql.SqlGenerators.SqlBaseGenerator.AdjustPropertyAccess(Npgsql.SqlGenerators.ColumnExpression[],System.String)"> |
1893 | <summary> | 1791 | <summary> |
1894 | Convert a postgresql time to a System.DateTime. | 1792 | Every property accessed in the list of columns must be adjusted for a new scope |
1895 | </summary> | 1793 | </summary> |
1896 | </member> | 1794 | </member> |
1897 | <member name="M:NpgsqlTypes.BasicBackendToNativeTypeConverter.ToMoney(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 1795 | <member name="P:Npgsql.Cache`1.CacheSize"> |
1898 | <summary> | 1796 | <summary> |
1899 | Convert a postgresql money to a System.Decimal. | 1797 | Set Cache Size. The default value is 20. |
1900 | </summary> | 1798 | </summary> |
1901 | </member> | 1799 | </member> |
1902 | <member name="T:NpgsqlTypes.BasicNativeToBackendTypeConverter"> | 1800 | <member name="P:Npgsql.Cache`1.Item(System.String)"> |
1903 | <summary> | 1801 | <summary> |
1904 | Provide event handlers to convert the basic native supported data types from | 1802 | Lookup cached entity. null will returned if not match. |
1905 | native form to backend representation. | 1803 | For both get{} and set{} apply LRU rule. |
1906 | </summary> | 1804 | </summary> |
1805 | <param name="key">key</param> | ||
1806 | <returns></returns> | ||
1907 | </member> | 1807 | </member> |
1908 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToBinary(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 1808 | <member name="M:Npgsql.HashAlgorithm.#ctor"> |
1909 | <summary> | 1809 | <summary> |
1910 | Binary data. | 1810 | Called from constructor of derived class. |
1911 | </summary> | 1811 | </summary> |
1912 | </member> | 1812 | </member> |
1913 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToBoolean(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 1813 | <member name="M:Npgsql.HashAlgorithm.Finalize"> |
1914 | <summary> | 1814 | <summary> |
1915 | Convert to a postgresql boolean. | 1815 | Finalizer for HashAlgorithm |
1916 | </summary> | 1816 | </summary> |
1917 | </member> | 1817 | </member> |
1918 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToBit(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 1818 | <member name="M:Npgsql.HashAlgorithm.ComputeHash(System.Byte[])"> |
1919 | <summary> | 1819 | <summary> |
1920 | Convert to a postgresql bit. | 1820 | Computes the entire hash of all the bytes in the byte array. |
1921 | </summary> | 1821 | </summary> |
1922 | </member> | 1822 | </member> |
1923 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToDateTime(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 1823 | <member name="M:Npgsql.HashAlgorithm.HashCore(System.Byte[],System.Int32,System.Int32)"> |
1924 | <summary> | 1824 | <summary> |
1925 | Convert to a postgresql timestamp. | 1825 | When overridden in a derived class, drives the hashing function. |
1926 | </summary> | 1826 | </summary> |
1827 | <param name="rgb"></param> | ||
1828 | <param name="start"></param> | ||
1829 | <param name="size"></param> | ||
1927 | </member> | 1830 | </member> |
1928 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToDate(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 1831 | <member name="M:Npgsql.HashAlgorithm.HashFinal"> |
1929 | <summary> | 1832 | <summary> |
1930 | Convert to a postgresql date. | 1833 | When overridden in a derived class, this pads and hashes whatever data might be left in the buffers and then returns the hash created. |
1931 | </summary> | 1834 | </summary> |
1932 | </member> | 1835 | </member> |
1933 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToTime(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 1836 | <member name="M:Npgsql.HashAlgorithm.Initialize"> |
1934 | <summary> | 1837 | <summary> |
1935 | Convert to a postgresql time. | 1838 | When overridden in a derived class, initializes the object to prepare for hashing. |
1936 | </summary> | 1839 | </summary> |
1937 | </member> | 1840 | </member> |
1938 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToMoney(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 1841 | <member name="M:Npgsql.HashAlgorithm.TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)"> |
1939 | <summary> | 1842 | <summary> |
1940 | Convert to a postgres money. | 1843 | Used for stream chaining. Computes hash as data passes through it. |
1941 | </summary> | 1844 | </summary> |
1845 | <param name="inputBuffer">The buffer from which to grab the data to be copied.</param> | ||
1846 | <param name="inputOffset">The offset into the input buffer to start reading at.</param> | ||
1847 | <param name="inputCount">The number of bytes to be copied.</param> | ||
1848 | <param name="outputBuffer">The buffer to write the copied data to.</param> | ||
1849 | <param name="outputOffset">At what point in the outputBuffer to write the data at.</param> | ||
1942 | </member> | 1850 | </member> |
1943 | <member name="M:NpgsqlTypes.BasicNativeToBackendTypeConverter.ToSingleDouble(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 1851 | <member name="M:Npgsql.HashAlgorithm.TransformFinalBlock(System.Byte[],System.Int32,System.Int32)"> |
1944 | <summary> | 1852 | <summary> |
1945 | Convert to a postgres double with maximum precision. | 1853 | Used for stream chaining. Computes hash as data passes through it. Finishes off the hash. |
1946 | </summary> | 1854 | </summary> |
1855 | <param name="inputBuffer">The buffer from which to grab the data to be copied.</param> | ||
1856 | <param name="inputOffset">The offset into the input buffer to start reading at.</param> | ||
1857 | <param name="inputCount">The number of bytes to be copied.</param> | ||
1947 | </member> | 1858 | </member> |
1948 | <member name="T:NpgsqlTypes.ExtendedBackendToNativeTypeConverter"> | 1859 | <member name="P:Npgsql.HashAlgorithm.CanTransformMultipleBlocks"> |
1949 | <summary> | 1860 | <summary> |
1950 | Provide event handlers to convert extended native supported data types from their backend | 1861 | Get whether or not the hash can transform multiple blocks at a time. |
1951 | text representation to a .NET object. | 1862 | Note: MUST be overriden if descendant can transform multiple block |
1863 | on a single call! | ||
1952 | </summary> | 1864 | </summary> |
1953 | </member> | 1865 | </member> |
1954 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToPoint(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 1866 | <member name="P:Npgsql.HashAlgorithm.Hash"> |
1955 | <summary> | 1867 | <summary> |
1956 | Convert a postgresql point to a System.NpgsqlPoint. | 1868 | Gets the previously computed hash. |
1957 | </summary> | 1869 | </summary> |
1958 | </member> | 1870 | </member> |
1959 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToBox(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 1871 | <member name="P:Npgsql.HashAlgorithm.HashSize"> |
1960 | <summary> | 1872 | <summary> |
1961 | Convert a postgresql point to a System.RectangleF. | 1873 | Returns the size in bits of the hash. |
1962 | </summary> | 1874 | </summary> |
1963 | </member> | 1875 | </member> |
1964 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToLSeg(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 1876 | <member name="P:Npgsql.HashAlgorithm.InputBlockSize"> |
1965 | <summary> | 1877 | <summary> |
1966 | LDeg. | 1878 | Must be overriden if not 1 |
1967 | </summary> | 1879 | </summary> |
1968 | </member> | 1880 | </member> |
1969 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToPath(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 1881 | <member name="P:Npgsql.HashAlgorithm.OutputBlockSize"> |
1970 | <summary> | 1882 | <summary> |
1971 | Path. | 1883 | Must be overriden if not 1 |
1972 | </summary> | 1884 | </summary> |
1973 | </member> | 1885 | </member> |
1974 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToPolygon(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 1886 | <member name="T:Npgsql.MD5"> |
1975 | <summary> | 1887 | <summary> |
1976 | Polygon. | 1888 | Common base class for all derived MD5 implementations. |
1977 | </summary> | 1889 | </summary> |
1978 | </member> | 1890 | </member> |
1979 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToCircle(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 1891 | <member name="M:Npgsql.MD5.#ctor"> |
1980 | <summary> | 1892 | <summary> |
1981 | Circle. | 1893 | Called from constructor of derived class. |
1982 | </summary> | 1894 | </summary> |
1983 | </member> | 1895 | </member> |
1984 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToInet(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 1896 | <member name="M:Npgsql.MD5.Create"> |
1985 | <summary> | 1897 | <summary> |
1986 | Inet. | 1898 | Creates the default derived class. |
1987 | </summary> | 1899 | </summary> |
1988 | </member> | 1900 | </member> |
1989 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToMacAddress(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 1901 | <member name="T:Npgsql.MD5CryptoServiceProvider"> |
1990 | <summary> | 1902 | <summary> |
1991 | MAC Address. | 1903 | C# implementation of the MD5 cryptographic hash function. |
1992 | </summary> | 1904 | </summary> |
1993 | </member> | 1905 | </member> |
1994 | <member name="M:NpgsqlTypes.ExtendedBackendToNativeTypeConverter.ToInterval(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 1906 | <member name="M:Npgsql.MD5CryptoServiceProvider.#ctor"> |
1995 | <summary> | 1907 | <summary> |
1996 | interval | 1908 | Creates a new MD5CryptoServiceProvider. |
1997 | </summary> | 1909 | </summary> |
1998 | </member> | 1910 | </member> |
1999 | <member name="T:NpgsqlTypes.ExtendedNativeToBackendTypeConverter"> | 1911 | <member name="M:Npgsql.MD5CryptoServiceProvider.HashCore(System.Byte[],System.Int32,System.Int32)"> |
2000 | <summary> | 1912 | <summary> |
2001 | Provide event handlers to convert extended native supported data types from | 1913 | Drives the hashing function. |
2002 | native form to backend representation. | ||
2003 | </summary> | 1914 | </summary> |
1915 | <param name="rgb">Byte array containing the data to hash.</param> | ||
1916 | <param name="start">Where in the input buffer to start.</param> | ||
1917 | <param name="size">Size in bytes of the data in the buffer to hash.</param> | ||
2004 | </member> | 1918 | </member> |
2005 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToPoint(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 1919 | <member name="M:Npgsql.MD5CryptoServiceProvider.HashFinal"> |
2006 | <summary> | 1920 | <summary> |
2007 | Point. | 1921 | This finalizes the hash. Takes the data from the chaining variables and returns it. |
2008 | </summary> | 1922 | </summary> |
2009 | </member> | 1923 | </member> |
2010 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToBox(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 1924 | <member name="M:Npgsql.MD5CryptoServiceProvider.Initialize"> |
2011 | <summary> | 1925 | <summary> |
2012 | Box. | 1926 | Resets the class after use. Called automatically after hashing is done. |
2013 | </summary> | 1927 | </summary> |
2014 | </member> | 1928 | </member> |
2015 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToLSeg(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 1929 | <member name="M:Npgsql.MD5CryptoServiceProvider.ProcessBlock(System.Byte[],System.Int32)"> |
2016 | <summary> | 1930 | <summary> |
2017 | LSeg. | 1931 | This is the meat of the hash function. It is what processes each block one at a time. |
2018 | </summary> | 1932 | </summary> |
1933 | <param name="inputBuffer">Byte array to process data from.</param> | ||
1934 | <param name="inputOffset">Where in the byte array to start processing.</param> | ||
2019 | </member> | 1935 | </member> |
2020 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToPath(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 1936 | <member name="M:Npgsql.MD5CryptoServiceProvider.ProcessFinalBlock(System.Byte[],System.Int32,System.Int32)"> |
2021 | <summary> | 1937 | <summary> |
2022 | Open path. | 1938 | Pads and then processes the final block. |
2023 | </summary> | 1939 | </summary> |
1940 | <param name="inputBuffer">Buffer to grab data from.</param> | ||
1941 | <param name="inputOffset">Position in buffer in bytes to get data from.</param> | ||
1942 | <param name="inputCount">How much data in bytes in the buffer to use.</param> | ||
2024 | </member> | 1943 | </member> |
2025 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToPolygon(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 1944 | <member name="T:Npgsql.StringRowReaderV3"> |
2026 | <summary> | 1945 | <summary> |
2027 | Polygon. | 1946 | Implements <see cref="T:Npgsql.RowReader"/> for version 3 of the protocol. |
2028 | </summary> | 1947 | </summary> |
2029 | </member> | 1948 | </member> |
2030 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToMacAddress(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 1949 | <member name="T:Npgsql.RowReader"> |
2031 | <summary> | 1950 | <summary> |
2032 | Convert to a postgres MAC Address. | 1951 | Reads a row, field by field, allowing a DataRow to be built appropriately. |
2033 | </summary> | 1952 | </summary> |
2034 | </member> | 1953 | </member> |
2035 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToCircle(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 1954 | <member name="T:Npgsql.IStreamOwner"> |
2036 | <summary> | 1955 | <summary> |
2037 | Circle. | 1956 | Marker interface which identifies a class which may take possession of a stream for the duration of |
1957 | it's lifetime (possibly temporarily giving that possession to another class for part of that time. | ||
1958 | |||
1959 | It inherits from IDisposable, since any such class must make sure it leaves the stream in a valid state. | ||
1960 | |||
1961 | The most important such class is that compiler-generated from ProcessBackendResponsesEnum. Of course | ||
1962 | we can't make that inherit from this interface, alas. | ||
2038 | </summary> | 1963 | </summary> |
2039 | </member> | 1964 | </member> |
2040 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToIPAddress(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 1965 | <!-- Badly formed XML comment ignored for member "T:Npgsql.IServerResponseObject" --> |
1966 | <member name="T:Npgsql.RowReader.Streamer"> | ||
2041 | <summary> | 1967 | <summary> |
2042 | Convert to a postgres inet. | 1968 | Reads part of a field, as needed (for <see cref="!:System.Data.IDataRecord.GetChars()"/> |
1969 | and <see cref="!:System.Data.IDataRecord.GetBytes()"/> | ||
2043 | </summary> | 1970 | </summary> |
2044 | </member> | 1971 | </member> |
2045 | <member name="M:NpgsqlTypes.ExtendedNativeToBackendTypeConverter.ToInterval(NpgsqlTypes.NpgsqlNativeTypeInfo,System.Object,System.Boolean)"> | 1972 | <member name="T:Npgsql.RowReader.Streamer`1"> |
2046 | <summary> | 1973 | <summary> |
2047 | Convert to a postgres interval | 1974 | Adds further functionality to stream that is dependant upon the type of data read. |
2048 | </summary> | 1975 | </summary> |
2049 | </member> | 1976 | </member> |
2050 | <member name="T:Npgsql.NpgsqlNotificationEventArgs"> | 1977 | <member name="T:Npgsql.RowReader.CharStreamer"> |
2051 | <summary> | 1978 | <summary> |
2052 | EventArgs class to send Notification parameters. | 1979 | Completes the implementation of Streamer for char data. |
2053 | </summary> | 1980 | </summary> |
2054 | </member> | 1981 | </member> |
2055 | <member name="F:Npgsql.NpgsqlNotificationEventArgs.PID"> | 1982 | <member name="T:Npgsql.RowReader.ByteStreamer"> |
2056 | <summary> | 1983 | <summary> |
2057 | Process ID of the PostgreSQL backend that sent this notification. | 1984 | Completes the implementation of Streamer for byte data. |
2058 | </summary> | 1985 | </summary> |
2059 | </member> | 1986 | </member> |
2060 | <member name="F:Npgsql.NpgsqlNotificationEventArgs.Condition"> | 1987 | <member name="T:Npgsql.StringRowReaderV2"> |
2061 | <summary> | 1988 | <summary> |
2062 | Condition that triggered that notification. | 1989 | Implements <see cref="T:Npgsql.RowReader"/> for version 2 of the protocol. |
2063 | </summary> | 1990 | </summary> |
2064 | </member> | 1991 | </member> |
2065 | <member name="F:Npgsql.NpgsqlNotificationEventArgs.AdditionalInformation"> | 1992 | <member name="T:Npgsql.StringRowReaderV2.NullMap"> |
2066 | <summary> | 1993 | <summary> |
2067 | Additional Information From Notifiying Process (for future use, currently postgres always sets this to an empty string) | 1994 | Encapsulates the null mapping bytes sent at the start of a version 2 |
1995 | datarow message, and the process of identifying the nullity of the data | ||
1996 | at a particular index | ||
2068 | </summary> | 1997 | </summary> |
2069 | </member> | 1998 | </member> |
2070 | <member name="M:Npgsql.NpgsqlClosedState.ResolveIPHost(System.String)"> | 1999 | <member name="T:Npgsql.NpgsqlBackEndKeyData"> |
2071 | <summary> | 2000 | <summary> |
2072 | Resolve a host name or IP address. | 2001 | This class represents a BackEndKeyData message received |
2073 | This is needed because if you call Dns.Resolve() with an IP address, it will attempt | 2002 | from PostgreSQL |
2074 | to resolve it as a host name, when it should just convert it to an IP address. | ||
2075 | </summary> | 2003 | </summary> |
2076 | <param name="HostName"></param> | ||
2077 | </member> | 2004 | </member> |
2078 | <member name="T:Npgsql.NpgsqlRowDescription"> | 2005 | <member name="T:Npgsql.NpgsqlBind"> |
2079 | <summary> | 2006 | <summary> |
2080 | This class represents a RowDescription message sent from | 2007 | This class represents the Bind message sent to PostgreSQL |
2081 | the PostgreSQL. | 2008 | server. |
2082 | </summary> | 2009 | </summary> |
2083 | 2010 | ||
2084 | </member> | 2011 | </member> |
2085 | <member name="T:Npgsql.NpgsqlRowDescription.FieldData"> | 2012 | <member name="T:Npgsql.ClientMessage"> |
2086 | <summary> | 2013 | <summary> |
2087 | This struct represents the internal data of the RowDescription message. | 2014 | For classes representing messages sent from the client to the server. |
2088 | </summary> | 2015 | </summary> |
2089 | </member> | 2016 | </member> |
2090 | <member name="T:Npgsql.NpgsqlParse"> | 2017 | <member name="T:Npgsql.NpgsqlCancelRequest"> |
2091 | <summary> | 2018 | <summary> |
2092 | This class represents the Parse message sent to PostgreSQL | 2019 | This class represents the CancelRequest message sent to PostgreSQL |
2093 | server. | 2020 | server. |
2094 | </summary> | 2021 | </summary> |
2095 | 2022 | ||
2096 | </member> | 2023 | </member> |
2097 | <member name="T:Npgsql.NpgsqlFactory"> | 2024 | <member name="T:Npgsql.NpgsqlState"> |
2025 | <summary> This class represents the base class for the state pattern design pattern | ||
2026 | implementation. | ||
2027 | </summary> | ||
2028 | |||
2029 | </member> | ||
2030 | <member name="M:Npgsql.NpgsqlState.ChangeState(Npgsql.NpgsqlConnector,Npgsql.NpgsqlState)"> | ||
2098 | <summary> | 2031 | <summary> |
2099 | A factory to create instances of various Npgsql objects. | 2032 | This method is used by the states to change the state of the context. |
2100 | </summary> | 2033 | </summary> |
2101 | </member> | 2034 | </member> |
2102 | <member name="M:Npgsql.NpgsqlFactory.CreateCommand"> | 2035 | <member name="M:Npgsql.NpgsqlState.ProcessBackendResponses(Npgsql.NpgsqlConnector)"> |
2103 | <summary> | 2036 | <summary> |
2104 | Creates an NpgsqlCommand object. | 2037 | This method is responsible to handle all protocol messages sent from the backend. |
2105 | </summary> | 2038 | It holds all the logic to do it. |
2039 | To exchange data, it uses a Mediator object from which it reads/writes information | ||
2040 | to handle backend requests. | ||
2041 | </summary> | ||
2042 | |||
2106 | </member> | 2043 | </member> |
2107 | <member name="T:Npgsql.NpgsqlExecute"> | 2044 | <member name="M:Npgsql.NpgsqlState.ProcessBackendResponsesEnum(Npgsql.NpgsqlConnector)"> |
2108 | <summary> | 2045 | <summary> |
2109 | This class represents the Parse message sent to PostgreSQL | 2046 | This method is responsible to handle all protocol messages sent from the backend. |
2110 | server. | 2047 | It holds all the logic to do it. |
2048 | To exchange data, it uses a Mediator object from which it reads/writes information | ||
2049 | to handle backend requests. | ||
2111 | </summary> | 2050 | </summary> |
2112 | 2051 | ||
2113 | </member> | 2052 | </member> |
2114 | <member name="T:Npgsql.NpgsqlRowUpdatedEventHandler"> | 2053 | <member name="M:Npgsql.NpgsqlState.CheckForContextSocketAvailability(Npgsql.NpgsqlConnector,System.Net.Sockets.SelectMode)"> |
2115 | <summary> | 2054 | <summary> |
2116 | Represents the method that handles the <see cref="E:Npgsql.NpgsqlDataAdapter.RowUpdated">RowUpdated</see> events. | 2055 | Checks for context socket availability. |
2056 | Socket.Poll supports integer as microseconds parameter. | ||
2057 | This limits the usable command timeout value | ||
2058 | to 2,147 seconds: (2,147 x 1,000,000 less than max_int). | ||
2059 | In order to bypass this limit, the availability of | ||
2060 | the socket is checked in 2,147 seconds cycles | ||
2117 | </summary> | 2061 | </summary> |
2118 | <param name="sender">The source of the event.</param> | 2062 | <returns><c>true</c>, if for context socket availability was checked, <c>false</c> otherwise.</returns> |
2119 | <param name="e">A <see cref="T:NpgsqlRowUpdatedEventArgs">NpgsqlRowUpdatedEventArgs</see> that contains the event data.</param> | 2063 | <param name="context">Context.</param> |
2064 | <param name="selectMode">Select mode.</param> | ||
2120 | </member> | 2065 | </member> |
2121 | <member name="T:Npgsql.NpgsqlRowUpdatingEventHandler"> | 2066 | <member name="M:Npgsql.NpgsqlClosedState.ResolveIPHost(System.String)"> |
2122 | <summary> | 2067 | <summary> |
2123 | Represents the method that handles the <see cref="E:Npgsql.NpgsqlDataAdapter.RowUpdating">RowUpdating</see> events. | 2068 | Resolve a host name or IP address. |
2069 | This is needed because if you call Dns.Resolve() with an IP address, it will attempt | ||
2070 | to resolve it as a host name, when it should just convert it to an IP address. | ||
2124 | </summary> | 2071 | </summary> |
2125 | <param name="sender">The source of the event.</param> | 2072 | <param name="HostName"></param> |
2126 | <param name="e">A <see cref="T:NpgsqlRowUpdatingEventArgs">NpgsqlRowUpdatingEventArgs</see> that contains the event data.</param> | ||
2127 | </member> | 2073 | </member> |
2128 | <member name="T:Npgsql.NpgsqlDataAdapter"> | 2074 | <member name="T:Npgsql.NpgsqlCommand"> |
2129 | <summary> | 2075 | <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> | 2076 | Represents a SQL statement or function (stored procedure) to execute |
2077 | against a PostgreSQL database. This class cannot be inherited. | ||
2131 | </summary> | 2078 | </summary> |
2132 | </member> | 2079 | </member> |
2133 | <member name="T:Npgsql.NpgsqlCopyOutStream"> | 2080 | <member name="M:Npgsql.NpgsqlCommand.#ctor"> |
2134 | <summary> | 2081 | <summary> |
2135 | Stream for reading data from a table or select on a PostgreSQL version 7.4 or newer database during an active COPY TO STDOUT operation. | 2082 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> class. |
2136 | <b>Passes data exactly as provided by the server.</b> | ||
2137 | </summary> | 2083 | </summary> |
2138 | </member> | 2084 | </member> |
2139 | <member name="M:Npgsql.NpgsqlCopyOutStream.#ctor(Npgsql.NpgsqlConnector)"> | 2085 | <member name="M:Npgsql.NpgsqlCommand.#ctor(System.String)"> |
2140 | <summary> | 2086 | <summary> |
2141 | Created only by NpgsqlCopyOutState.StartCopy() | 2087 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> class with the text of the query. |
2142 | </summary> | 2088 | </summary> |
2089 | <param name="cmdText">The text of the query.</param> | ||
2143 | </member> | 2090 | </member> |
2144 | <member name="M:Npgsql.NpgsqlCopyOutStream.Close"> | 2091 | <member name="M:Npgsql.NpgsqlCommand.#ctor(System.String,Npgsql.NpgsqlConnection)"> |
2145 | <summary> | 2092 | <summary> |
2146 | Discards copy data as long as server pushes it. Returns after operation is finished. | 2093 | 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>. |
2147 | Does nothing if this stream is not the active copy operation reader. | ||
2148 | </summary> | 2094 | </summary> |
2095 | <param name="cmdText">The text of the query.</param> | ||
2096 | <param name="connection">A <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> that represents the connection to a PostgreSQL server.</param> | ||
2149 | </member> | 2097 | </member> |
2150 | <member name="M:Npgsql.NpgsqlCopyOutStream.Write(System.Byte[],System.Int32,System.Int32)"> | 2098 | <member name="M:Npgsql.NpgsqlCommand.#ctor(System.String,Npgsql.NpgsqlConnection,Npgsql.NpgsqlTransaction)"> |
2151 | <summary> | 2099 | <summary> |
2152 | Not writable. | 2100 | 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>. |
2153 | </summary> | 2101 | </summary> |
2102 | <param name="cmdText">The text of the query.</param> | ||
2103 | <param name="connection">A <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> that represents the connection to a PostgreSQL server.</param> | ||
2104 | <param name="transaction">The <see cref="T:Npgsql.NpgsqlTransaction">NpgsqlTransaction</see> in which the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> executes.</param> | ||
2154 | </member> | 2105 | </member> |
2155 | <member name="M:Npgsql.NpgsqlCopyOutStream.Flush"> | 2106 | <member name="M:Npgsql.NpgsqlCommand.#ctor(System.String,Npgsql.NpgsqlConnector)"> |
2156 | <summary> | 2107 | <summary> |
2157 | Not flushable. | 2108 | Used to execute internal commands. |
2158 | </summary> | 2109 | </summary> |
2159 | </member> | 2110 | </member> |
2160 | <member name="M:Npgsql.NpgsqlCopyOutStream.Read(System.Byte[],System.Int32,System.Int32)"> | 2111 | <member name="M:Npgsql.NpgsqlCommand.Cancel"> |
2161 | <summary> | 2112 | <summary> |
2162 | Copies data read from server to given byte buffer. | 2113 | Attempts to cancel the execution of a <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see>. |
2163 | Since server returns data row by row, length will differ each time, but it is only zero once the operation ends. | ||
2164 | Can be mixed with calls to the more efficient NpgsqlCopyOutStream.Read() : byte[] though that would not make much sense. | ||
2165 | </summary> | 2114 | </summary> |
2115 | <remarks>This Method isn't implemented yet.</remarks> | ||
2166 | </member> | 2116 | </member> |
2167 | <member name="M:Npgsql.NpgsqlCopyOutStream.Seek(System.Int64,System.IO.SeekOrigin)"> | 2117 | <member name="M:Npgsql.NpgsqlCommand.System#ICloneable#Clone"> |
2168 | <summary> | 2118 | <summary> |
2169 | Not seekable | 2119 | Create a new command based on this one. |
2170 | </summary> | 2120 | </summary> |
2121 | <returns>A new NpgsqlCommand object.</returns> | ||
2171 | </member> | 2122 | </member> |
2172 | <member name="M:Npgsql.NpgsqlCopyOutStream.SetLength(System.Int64)"> | 2123 | <member name="M:Npgsql.NpgsqlCommand.Clone"> |
2173 | <summary> | 2124 | <summary> |
2174 | Not supported | 2125 | Create a new command based on this one. |
2175 | </summary> | 2126 | </summary> |
2127 | <returns>A new NpgsqlCommand object.</returns> | ||
2176 | </member> | 2128 | </member> |
2177 | <member name="M:Npgsql.NpgsqlCopyOutStream.Read"> | 2129 | <member name="M:Npgsql.NpgsqlCommand.CreateDbParameter"> |
2178 | <summary> | 2130 | <summary> |
2179 | Returns a whole row of data from server without extra work. | 2131 | Creates a new instance of an <see cref="T:System.Data.Common.DbParameter">DbParameter</see> object. |
2180 | If standard Stream.Read(...) has been called before, it's internal buffers remains are returned. | ||
2181 | </summary> | 2132 | </summary> |
2133 | <returns>An <see cref="T:System.Data.Common.DbParameter">DbParameter</see> object.</returns> | ||
2182 | </member> | 2134 | </member> |
2183 | <member name="P:Npgsql.NpgsqlCopyOutStream.IsActive"> | 2135 | <member name="M:Npgsql.NpgsqlCommand.CreateParameter"> |
2184 | <summary> | 2136 | <summary> |
2185 | True while this stream can be used to read copy data from server | 2137 | Creates a new instance of a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object. |
2186 | </summary> | 2138 | </summary> |
2139 | <returns>A <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object.</returns> | ||
2187 | </member> | 2140 | </member> |
2188 | <member name="P:Npgsql.NpgsqlCopyOutStream.CanRead"> | 2141 | <member name="M:Npgsql.NpgsqlCommand.ExecuteBlind"> |
2189 | <summary> | 2142 | <summary> |
2190 | True | 2143 | Slightly optimised version of ExecuteNonQuery() for internal ues in cases where the number |
2144 | of affected rows is of no interest. | ||
2191 | </summary> | 2145 | </summary> |
2192 | </member> | 2146 | </member> |
2193 | <member name="P:Npgsql.NpgsqlCopyOutStream.CanWrite"> | 2147 | <member name="M:Npgsql.NpgsqlCommand.ExecuteNonQuery"> |
2194 | <summary> | 2148 | <summary> |
2195 | False | 2149 | Executes a SQL statement against the connection and returns the number of rows affected. |
2196 | </summary> | 2150 | </summary> |
2151 | <returns>The number of rows affected if known; -1 otherwise.</returns> | ||
2197 | </member> | 2152 | </member> |
2198 | <member name="P:Npgsql.NpgsqlCopyOutStream.CanSeek"> | 2153 | <member name="M:Npgsql.NpgsqlCommand.ExecuteDbDataReader(System.Data.CommandBehavior)"> |
2199 | <summary> | 2154 | <summary> |
2200 | False | 2155 | Sends the <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> to |
2156 | the <see cref="T:Npgsql.NpgsqlConnection">Connection</see> and builds a | ||
2157 | <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see> | ||
2158 | using one of the <see cref="T:System.Data.CommandBehavior">CommandBehavior</see> values. | ||
2201 | </summary> | 2159 | </summary> |
2160 | <param name="behavior">One of the <see cref="T:System.Data.CommandBehavior">CommandBehavior</see> values.</param> | ||
2161 | <returns>A <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see> object.</returns> | ||
2202 | </member> | 2162 | </member> |
2203 | <member name="P:Npgsql.NpgsqlCopyOutStream.Length"> | 2163 | <member name="M:Npgsql.NpgsqlCommand.ExecuteReader"> |
2204 | <summary> | 2164 | <summary> |
2205 | Number of bytes read so far | 2165 | Sends the <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> to |
2166 | the <see cref="T:Npgsql.NpgsqlConnection">Connection</see> and builds a | ||
2167 | <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see>. | ||
2206 | </summary> | 2168 | </summary> |
2169 | <returns>A <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see> object.</returns> | ||
2207 | </member> | 2170 | </member> |
2208 | <member name="P:Npgsql.NpgsqlCopyOutStream.Position"> | 2171 | <member name="M:Npgsql.NpgsqlCommand.ExecuteReader(System.Data.CommandBehavior)"> |
2209 | <summary> | 2172 | <summary> |
2210 | Number of bytes read so far; can not be set. | 2173 | Sends the <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> to |
2174 | the <see cref="T:Npgsql.NpgsqlConnection">Connection</see> and builds a | ||
2175 | <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see> | ||
2176 | using one of the <see cref="T:System.Data.CommandBehavior">CommandBehavior</see> values. | ||
2211 | </summary> | 2177 | </summary> |
2178 | <param name="cb">One of the <see cref="T:System.Data.CommandBehavior">CommandBehavior</see> values.</param> | ||
2179 | <returns>A <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see> object.</returns> | ||
2180 | <remarks>Currently the CommandBehavior parameter is ignored.</remarks> | ||
2212 | </member> | 2181 | </member> |
2213 | <member name="T:Npgsql.NpgsqlBind"> | 2182 | <member name="M:Npgsql.NpgsqlCommand.BindParameters"> |
2214 | <summary> | 2183 | <summary> |
2215 | This class represents the Bind message sent to PostgreSQL | 2184 | This method binds the parameters from parameters collection to the bind |
2216 | server. | 2185 | message. |
2217 | </summary> | 2186 | </summary> |
2218 | |||
2219 | </member> | 2187 | </member> |
2220 | <member name="T:NpgsqlTypes.LargeObjectManager"> | 2188 | <member name="M:Npgsql.NpgsqlCommand.ExecuteScalar"> |
2221 | <summary> | 2189 | <summary> |
2222 | Summary description for LargeObjectManager. | 2190 | Executes the query, and returns the first column of the first row |
2191 | in the result set returned by the query. Extra columns or rows are ignored. | ||
2223 | </summary> | 2192 | </summary> |
2193 | <returns>The first column of the first row in the result set, | ||
2194 | or a null reference if the result set is empty.</returns> | ||
2224 | </member> | 2195 | </member> |
2225 | <member name="T:Npgsql.NpgsqlTransaction"> | 2196 | <member name="M:Npgsql.NpgsqlCommand.Prepare"> |
2226 | <summary> | 2197 | <summary> |
2227 | Represents a transaction to be made in a PostgreSQL database. This class cannot be inherited. | 2198 | Creates a prepared version of the command on a PostgreSQL server. |
2228 | </summary> | 2199 | </summary> |
2229 | </member> | 2200 | </member> |
2230 | <member name="M:Npgsql.NpgsqlTransaction.Commit"> | 2201 | <member name="M:Npgsql.NpgsqlCommand.CheckConnectionState"> |
2231 | <summary> | 2202 | <summary> |
2232 | Commits the database transaction. | 2203 | This method checks the connection state to see if the connection |
2204 | is set or it is open. If one of this conditions is not met, throws | ||
2205 | an InvalidOperationException | ||
2233 | </summary> | 2206 | </summary> |
2234 | </member> | 2207 | </member> |
2235 | <member name="M:Npgsql.NpgsqlTransaction.Rollback"> | 2208 | <member name="M:Npgsql.NpgsqlCommand.GetCommandText"> |
2236 | <summary> | 2209 | <summary> |
2237 | Rolls back a transaction from a pending state. | 2210 | This method substitutes the <see cref="P:Npgsql.NpgsqlCommand.Parameters">Parameters</see>, if exist, in the command |
2211 | to their actual values. | ||
2212 | The parameter name format is <b>:ParameterName</b>. | ||
2238 | </summary> | 2213 | </summary> |
2214 | <returns>A version of <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> with the <see cref="P:Npgsql.NpgsqlCommand.Parameters">Parameters</see> inserted.</returns> | ||
2239 | </member> | 2215 | </member> |
2240 | <member name="M:Npgsql.NpgsqlTransaction.Rollback(System.String)"> | 2216 | <member name="P:Npgsql.NpgsqlCommand.CommandText"> |
2241 | <summary> | 2217 | <summary> |
2242 | Rolls back a transaction from a pending savepoint state. | 2218 | Gets or sets the SQL statement or function (stored procedure) to execute at the data source. |
2243 | </summary> | 2219 | </summary> |
2220 | <value>The Transact-SQL statement or stored procedure to execute. The default is an empty string.</value> | ||
2244 | </member> | 2221 | </member> |
2245 | <member name="M:Npgsql.NpgsqlTransaction.Save(System.String)"> | 2222 | <member name="P:Npgsql.NpgsqlCommand.CommandTimeout"> |
2246 | <summary> | 2223 | <summary> |
2247 | Creates a transaction save point. | 2224 | Gets or sets the wait time before terminating the attempt |
2225 | to execute a command and generating an error. | ||
2248 | </summary> | 2226 | </summary> |
2227 | <value>The time (in seconds) to wait for the command to execute. | ||
2228 | The default is 20 seconds.</value> | ||
2249 | </member> | 2229 | </member> |
2250 | <member name="M:Npgsql.NpgsqlTransaction.Cancel"> | 2230 | <member name="P:Npgsql.NpgsqlCommand.CommandType"> |
2251 | <summary> | 2231 | <summary> |
2252 | Cancel the transaction without telling the backend about it. This is | 2232 | Gets or sets a value indicating how the |
2253 | used to make the transaction go away when closing a connection. | 2233 | <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> property is to be interpreted. |
2254 | </summary> | 2234 | </summary> |
2235 | <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> | ||
2255 | </member> | 2236 | </member> |
2256 | <member name="P:Npgsql.NpgsqlTransaction.Connection"> | 2237 | <member name="P:Npgsql.NpgsqlCommand.Connection"> |
2257 | <summary> | 2238 | <summary> |
2258 | Gets the <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> | 2239 | Gets or sets the <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> |
2259 | object associated with the transaction, or a null reference if the | 2240 | used by this instance of the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see>. |
2260 | transaction is no longer valid. | ||
2261 | </summary> | 2241 | </summary> |
2262 | <value>The <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> | 2242 | <value>The connection to a data source. The default value is a null reference.</value> |
2263 | object associated with the transaction.</value> | ||
2264 | </member> | 2243 | </member> |
2265 | <member name="P:Npgsql.NpgsqlTransaction.IsolationLevel"> | 2244 | <member name="P:Npgsql.NpgsqlCommand.Parameters"> |
2266 | <summary> | 2245 | <summary> |
2267 | Specifies the <see cref="T:System.Data.IsolationLevel">IsolationLevel</see> for this transaction. | 2246 | Gets the <see cref="T:Npgsql.NpgsqlParameterCollection">NpgsqlParameterCollection</see>. |
2268 | </summary> | 2247 | </summary> |
2269 | <value>The <see cref="T:System.Data.IsolationLevel">IsolationLevel</see> for this transaction. | 2248 | <value>The parameters of the SQL statement or function (stored procedure). The default is an empty collection.</value> |
2270 | The default is <b>ReadCommitted</b>.</value> | ||
2271 | </member> | 2249 | </member> |
2272 | <member name="T:Npgsql.NpgsqlStartupPacket"> | 2250 | <member name="P:Npgsql.NpgsqlCommand.Transaction"> |
2273 | <summary> | 2251 | <summary> |
2274 | This class represents a StartupPacket message of PostgreSQL | 2252 | Gets or sets the <see cref="T:Npgsql.NpgsqlTransaction">NpgsqlTransaction</see> |
2275 | protocol. | 2253 | within which the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> executes. |
2276 | </summary> | 2254 | </summary> |
2255 | <value>The <see cref="T:Npgsql.NpgsqlTransaction">NpgsqlTransaction</see>. | ||
2256 | The default value is a null reference.</value> | ||
2257 | </member> | ||
2258 | <member name="P:Npgsql.NpgsqlCommand.UpdatedRowSource"> | ||
2259 | <summary> | ||
2260 | Gets or sets how command results are applied to the <see cref="T:System.Data.DataRow">DataRow</see> | ||
2261 | when used by the <see cref="M:System.Data.Common.DbDataAdapter.Update(System.Data.DataSet)">Update</see> | ||
2262 | method of the <see cref="T:System.Data.Common.DbDataAdapter">DbDataAdapter</see>. | ||
2263 | </summary> | ||
2264 | <value>One of the <see cref="T:System.Data.UpdateRowSource">UpdateRowSource</see> values.</value> | ||
2265 | </member> | ||
2266 | <member name="P:Npgsql.NpgsqlCommand.LastInsertedOID"> | ||
2267 | <summary> | ||
2268 | 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. | ||
2269 | </summary> | ||
2270 | </member> | ||
2271 | <member name="T:Npgsql.NpgsqlCommandBuilder"> | ||
2272 | <summary> | ||
2273 | This class is responsible to create database commands for automatic insert, update and delete operations. | ||
2274 | </summary> | ||
2275 | </member> | ||
2276 | <member name="M:Npgsql.NpgsqlCommandBuilder.DeriveParameters(Npgsql.NpgsqlCommand)"> | ||
2277 | <summary> | ||
2277 | 2278 | ||
2279 | This method is reponsible to derive the command parameter list with values obtained from function definition. | ||
2280 | 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. | ||
2281 | Parameters name will be parameter1, parameter2, ... | ||
2282 | For while, only parameter name and NpgsqlDbType are obtained. | ||
2283 | </summary> | ||
2284 | <param name="command">NpgsqlCommand whose function parameters will be obtained.</param> | ||
2278 | </member> | 2285 | </member> |
2279 | <member name="T:Npgsql.NpgsqlDataReader"> | 2286 | <member name="T:Npgsql.NoticeEventHandler"> |
2280 | <summary> | 2287 | <summary> |
2281 | Provides a means of reading a forward-only stream of rows from a PostgreSQL backend. This class cannot be inherited. | 2288 | Represents the method that handles the <see cref="E:Npgsql.NpgsqlConnection.Notification">Notice</see> events. |
2282 | </summary> | 2289 | </summary> |
2290 | <param name="e">A <see cref="T:Npgsql.NpgsqlNoticeEventArgs">NpgsqlNoticeEventArgs</see> that contains the event data.</param> | ||
2283 | </member> | 2291 | </member> |
2284 | <member name="M:Npgsql.NpgsqlDataReader.GetDataTypeName(System.Int32)"> | 2292 | <member name="T:Npgsql.NotificationEventHandler"> |
2285 | <summary> | 2293 | <summary> |
2286 | Return the data type name of the column at index <param name="Index"></param>. | 2294 | Represents the method that handles the <see cref="E:Npgsql.NpgsqlConnection.Notification">Notification</see> events. |
2287 | </summary> | 2295 | </summary> |
2296 | <param name="sender">The source of the event.</param> | ||
2297 | <param name="e">A <see cref="T:Npgsql.NpgsqlNotificationEventArgs">NpgsqlNotificationEventArgs</see> that contains the event data.</param> | ||
2288 | </member> | 2298 | </member> |
2289 | <member name="M:Npgsql.NpgsqlDataReader.GetFieldType(System.Int32)"> | 2299 | <member name="T:Npgsql.NpgsqlConnection"> |
2290 | <summary> | 2300 | <summary> |
2291 | Return the data type of the column at index <param name="Index"></param>. | 2301 | This class represents a connection to a |
2302 | PostgreSQL server. | ||
2292 | </summary> | 2303 | </summary> |
2293 | </member> | 2304 | </member> |
2294 | <member name="M:Npgsql.NpgsqlDataReader.GetProviderSpecificFieldType(System.Int32)"> | 2305 | <member name="M:Npgsql.NpgsqlConnection.#ctor"> |
2295 | <summary> | 2306 | <summary> |
2296 | Return the Npgsql specific data type of the column at requested ordinal. | 2307 | Initializes a new instance of the |
2308 | <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> class. | ||
2297 | </summary> | 2309 | </summary> |
2298 | <param name="ordinal">column position</param> | ||
2299 | <returns>Appropriate Npgsql type for column.</returns> | ||
2300 | </member> | 2310 | </member> |
2301 | <member name="M:Npgsql.NpgsqlDataReader.GetName(System.Int32)"> | 2311 | <member name="M:Npgsql.NpgsqlConnection.#ctor(System.String)"> |
2302 | <summary> | 2312 | <summary> |
2303 | Return the column name of the column at index <param name="Index"></param>. | 2313 | Initializes a new instance of the |
2314 | <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> class | ||
2315 | and sets the <see cref="P:Npgsql.NpgsqlConnection.ConnectionString">ConnectionString</see>. | ||
2304 | </summary> | 2316 | </summary> |
2317 | <param name="ConnectionString">The connection used to open the PostgreSQL database.</param> | ||
2305 | </member> | 2318 | </member> |
2306 | <member name="M:Npgsql.NpgsqlDataReader.GetDataTypeOID(System.Int32)"> | 2319 | <member name="M:Npgsql.NpgsqlConnection.BeginDbTransaction(System.Data.IsolationLevel)"> |
2307 | <summary> | 2320 | <summary> |
2308 | Return the data type OID of the column at index <param name="Index"></param>. | 2321 | Begins a database transaction with the specified isolation level. |
2309 | </summary> | 2322 | </summary> |
2310 | FIXME: Why this method returns String? | 2323 | <param name="isolationLevel">The <see cref="T:System.Data.IsolationLevel">isolation level</see> under which the transaction should run.</param> |
2324 | <returns>An <see cref="T:System.Data.Common.DbTransaction">DbTransaction</see> | ||
2325 | object representing the new transaction.</returns> | ||
2326 | <remarks> | ||
2327 | Currently the IsolationLevel ReadCommitted and Serializable are supported by the PostgreSQL backend. | ||
2328 | There's no support for nested transactions. | ||
2329 | </remarks> | ||
2311 | </member> | 2330 | </member> |
2312 | <member name="M:Npgsql.NpgsqlDataReader.GetOrdinal(System.String)"> | 2331 | <member name="M:Npgsql.NpgsqlConnection.BeginTransaction"> |
2313 | <summary> | 2332 | <summary> |
2314 | Return the column name of the column named <param name="Name"></param>. | 2333 | Begins a database transaction. |
2315 | </summary> | 2334 | </summary> |
2335 | <returns>A <see cref="T:Npgsql.NpgsqlTransaction">NpgsqlTransaction</see> | ||
2336 | object representing the new transaction.</returns> | ||
2337 | <remarks> | ||
2338 | Currently there's no support for nested transactions. | ||
2339 | </remarks> | ||
2316 | </member> | 2340 | </member> |
2317 | <member name="M:Npgsql.NpgsqlDataReader.GetFieldDbType(System.Int32)"> | 2341 | <member name="M:Npgsql.NpgsqlConnection.BeginTransaction(System.Data.IsolationLevel)"> |
2318 | <summary> | 2342 | <summary> |
2319 | Return the data DbType of the column at index <param name="Index"></param>. | 2343 | Begins a database transaction with the specified isolation level. |
2320 | </summary> | 2344 | </summary> |
2345 | <param name="level">The <see cref="T:System.Data.IsolationLevel">isolation level</see> under which the transaction should run.</param> | ||
2346 | <returns>A <see cref="T:Npgsql.NpgsqlTransaction">NpgsqlTransaction</see> | ||
2347 | object representing the new transaction.</returns> | ||
2348 | <remarks> | ||
2349 | Currently the IsolationLevel ReadCommitted and Serializable are supported by the PostgreSQL backend. | ||
2350 | There's no support for nested transactions. | ||
2351 | </remarks> | ||
2321 | </member> | 2352 | </member> |
2322 | <member name="M:Npgsql.NpgsqlDataReader.GetFieldNpgsqlDbType(System.Int32)"> | 2353 | <member name="M:Npgsql.NpgsqlConnection.Open"> |
2323 | <summary> | 2354 | <summary> |
2324 | Return the data NpgsqlDbType of the column at index <param name="Index"></param>. | 2355 | Opens a database connection with the property settings specified by the |
2356 | <see cref="P:Npgsql.NpgsqlConnection.ConnectionString">ConnectionString</see>. | ||
2325 | </summary> | 2357 | </summary> |
2326 | </member> | 2358 | </member> |
2327 | <member name="M:Npgsql.NpgsqlDataReader.GetInterval(System.Int32)"> | 2359 | <member name="M:Npgsql.NpgsqlConnection.ChangeDatabase(System.String)"> |
2328 | <summary> | 2360 | <summary> |
2329 | Get the value of a column as a <see cref="T:NpgsqlTypes.NpgsqlInterval"/>. | 2361 | This method changes the current database by disconnecting from the actual |
2330 | <remarks>If the differences between <see cref="T:NpgsqlTypes.NpgsqlInterval"/> and <see cref="!:System.Timespan"/> | 2362 | database and connecting to the specified. |
2331 | in handling of days and months is not important to your application, use <see cref="!:GetTimeSpan()"/> | ||
2332 | instead.</remarks> | ||
2333 | </summary> | 2363 | </summary> |
2334 | <param name="i">Index of the field to find.</param> | 2364 | <param name="dbName">The name of the database to use in place of the current database.</param> |
2335 | <returns><see cref="T:NpgsqlTypes.NpgsqlInterval"/> value of the field.</returns> | ||
2336 | </member> | 2365 | </member> |
2337 | <member name="M:Npgsql.NpgsqlDataReader.GetGuid(System.Int32)"> | 2366 | <member name="M:Npgsql.NpgsqlConnection.Close"> |
2338 | <summary> | 2367 | <summary> |
2339 | Gets the value of a column converted to a Guid. | 2368 | Releases the connection to the database. If the connection is pooled, it will be |
2369 | made available for re-use. If it is non-pooled, the actual connection will be shutdown. | ||
2340 | </summary> | 2370 | </summary> |
2341 | </member> | 2371 | </member> |
2342 | <member name="M:Npgsql.NpgsqlDataReader.GetInt16(System.Int32)"> | 2372 | <member name="M:Npgsql.NpgsqlConnection.CreateDbCommand"> |
2343 | <summary> | 2373 | <summary> |
2344 | Gets the value of a column as Int16. | 2374 | Creates and returns a <see cref="T:System.Data.Common.DbCommand">DbCommand</see> |
2375 | object associated with the <see cref="T:System.Data.Common.DbConnection">IDbConnection</see>. | ||
2345 | </summary> | 2376 | </summary> |
2377 | <returns>A <see cref="T:System.Data.Common.DbCommand">DbCommand</see> object.</returns> | ||
2346 | </member> | 2378 | </member> |
2347 | <member name="M:Npgsql.NpgsqlDataReader.GetInt32(System.Int32)"> | 2379 | <member name="M:Npgsql.NpgsqlConnection.CreateCommand"> |
2348 | <summary> | 2380 | <summary> |
2349 | Gets the value of a column as Int32. | 2381 | Creates and returns a <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> |
2382 | object associated with the <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see>. | ||
2350 | </summary> | 2383 | </summary> |
2384 | <returns>A <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> object.</returns> | ||
2351 | </member> | 2385 | </member> |
2352 | <member name="M:Npgsql.NpgsqlDataReader.GetInt64(System.Int32)"> | 2386 | <member name="M:Npgsql.NpgsqlConnection.Dispose(System.Boolean)"> |
2353 | <summary> | 2387 | <summary> |
2354 | Gets the value of a column as Int64. | 2388 | Releases all resources used by the |
2389 | <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see>. | ||
2355 | </summary> | 2390 | </summary> |
2391 | <param name="disposing"><b>true</b> when called from Dispose(); | ||
2392 | <b>false</b> when being called from the finalizer.</param> | ||
2356 | </member> | 2393 | </member> |
2357 | <member name="M:Npgsql.NpgsqlDataReader.GetFloat(System.Int32)"> | 2394 | <member name="M:Npgsql.NpgsqlConnection.System#ICloneable#Clone"> |
2358 | <summary> | 2395 | <summary> |
2359 | Gets the value of a column as Single. | 2396 | Create a new connection based on this one. |
2360 | </summary> | 2397 | </summary> |
2398 | <returns>A new NpgsqlConnection object.</returns> | ||
2361 | </member> | 2399 | </member> |
2362 | <member name="M:Npgsql.NpgsqlDataReader.GetDouble(System.Int32)"> | 2400 | <member name="M:Npgsql.NpgsqlConnection.Clone"> |
2363 | <summary> | 2401 | <summary> |
2364 | Gets the value of a column as Double. | 2402 | Create a new connection based on this one. |
2365 | </summary> | 2403 | </summary> |
2404 | <returns>A new NpgsqlConnection object.</returns> | ||
2366 | </member> | 2405 | </member> |
2367 | <member name="M:Npgsql.NpgsqlDataReader.GetString(System.Int32)"> | 2406 | <member name="M:Npgsql.NpgsqlConnection.DefaultCertificateSelectionCallback(System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Cryptography.X509Certificates.X509Certificate,System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection)"> |
2368 | <summary> | 2407 | <summary> |
2369 | Gets the value of a column as String. | 2408 | Default SSL CertificateSelectionCallback implementation. |
2370 | </summary> | 2409 | </summary> |
2371 | </member> | 2410 | </member> |
2372 | <member name="M:Npgsql.NpgsqlDataReader.GetDecimal(System.Int32)"> | 2411 | <member name="M:Npgsql.NpgsqlConnection.DefaultCertificateValidationCallback(System.Security.Cryptography.X509Certificates.X509Certificate,System.Int32[])"> |
2373 | <summary> | 2412 | <summary> |
2374 | Gets the value of a column as Decimal. | 2413 | Default SSL CertificateValidationCallback implementation. |
2375 | </summary> | 2414 | </summary> |
2376 | </member> | 2415 | </member> |
2377 | <member name="M:Npgsql.NpgsqlDataReader.GetTimeSpan(System.Int32)"> | 2416 | <member name="M:Npgsql.NpgsqlConnection.DefaultPrivateKeySelectionCallback(System.Security.Cryptography.X509Certificates.X509Certificate,System.String)"> |
2378 | <summary> | 2417 | <summary> |
2379 | Gets the value of a column as TimeSpan. | 2418 | Default SSL PrivateKeySelectionCallback implementation. |
2380 | </summary> | 2419 | </summary> |
2381 | </member> | 2420 | </member> |
2382 | <member name="M:Npgsql.NpgsqlDataReader.GetValues(System.Object[])"> | 2421 | <member name="M:Npgsql.NpgsqlConnection.DefaultProvideClientCertificatesCallback(System.Security.Cryptography.X509Certificates.X509CertificateCollection)"> |
2383 | <summary> | 2422 | <summary> |
2384 | Copy values from each column in the current row into <param name="Values"></param>. | 2423 | Default SSL ProvideClientCertificatesCallback implementation. |
2385 | </summary> | 2424 | </summary> |
2386 | <returns>The number of column values copied.</returns> | ||
2387 | </member> | 2425 | </member> |
2388 | <member name="M:Npgsql.NpgsqlDataReader.GetProviderSpecificValues(System.Object[])"> | 2426 | <member name="M:Npgsql.NpgsqlConnection.LogConnectionString"> |
2389 | <summary> | 2427 | <summary> |
2390 | Copy values from each column in the current row into <param name="Values"></param>. | 2428 | Write each key/value pair in the connection string to the log. |
2391 | </summary> | 2429 | </summary> |
2392 | <param name="values">An array appropriately sized to store values from all columns.</param> | ||
2393 | <returns>The number of column values copied.</returns> | ||
2394 | </member> | 2430 | </member> |
2395 | <member name="M:Npgsql.NpgsqlDataReader.GetBoolean(System.Int32)"> | 2431 | <member name="M:Npgsql.NpgsqlConnection.GetSchema"> |
2396 | <summary> | 2432 | <summary> |
2397 | Gets the value of a column as Boolean. | 2433 | Returns the supported collections |
2398 | </summary> | 2434 | </summary> |
2399 | </member> | 2435 | </member> |
2400 | <member name="M:Npgsql.NpgsqlDataReader.GetByte(System.Int32)"> | 2436 | <member name="M:Npgsql.NpgsqlConnection.GetSchema(System.String)"> |
2401 | <summary> | 2437 | <summary> |
2402 | Gets the value of a column as Byte. Not implemented. | 2438 | Returns the schema collection specified by the collection name. |
2403 | </summary> | 2439 | </summary> |
2440 | <param name="collectionName">The collection name.</param> | ||
2441 | <returns>The collection specified.</returns> | ||
2404 | </member> | 2442 | </member> |
2405 | <member name="M:Npgsql.NpgsqlDataReader.GetChar(System.Int32)"> | 2443 | <member name="M:Npgsql.NpgsqlConnection.GetSchema(System.String,System.String[])"> |
2406 | <summary> | 2444 | <summary> |
2407 | Gets the value of a column as Char. | 2445 | Returns the schema collection specified by the collection name filtered by the restrictions. |
2408 | </summary> | 2446 | </summary> |
2447 | <param name="collectionName">The collection name.</param> | ||
2448 | <param name="restrictions"> | ||
2449 | The restriction values to filter the results. A description of the restrictions is contained | ||
2450 | in the Restrictions collection. | ||
2451 | </param> | ||
2452 | <returns>The collection specified.</returns> | ||
2409 | </member> | 2453 | </member> |
2410 | <member name="M:Npgsql.NpgsqlDataReader.GetDateTime(System.Int32)"> | 2454 | <member name="E:Npgsql.NpgsqlConnection.Notice"> |
2411 | <summary> | 2455 | <summary> |
2412 | Gets the value of a column as DateTime. | 2456 | Occurs on NoticeResponses from the PostgreSQL backend. |
2413 | </summary> | 2457 | </summary> |
2414 | </member> | 2458 | </member> |
2415 | <member name="M:Npgsql.NpgsqlDataReader.GetSchemaTable"> | 2459 | <member name="E:Npgsql.NpgsqlConnection.Notification"> |
2416 | <summary> | 2460 | <summary> |
2417 | Returns a System.Data.DataTable that describes the column metadata of the DataReader. | 2461 | Occurs on NotificationResponses from the PostgreSQL backend. |
2418 | </summary> | 2462 | </summary> |
2419 | </member> | 2463 | </member> |
2420 | <member name="M:Npgsql.NpgsqlDataReader.GetTableNameFromQuery"> | 2464 | <member name="E:Npgsql.NpgsqlConnection.ProvideClientCertificatesCallback"> |
2421 | <summary> | 2465 | <summary> |
2422 | This methods parses the command text and tries to get the tablename | 2466 | Called to provide client certificates for SSL handshake. |
2423 | from it. | ||
2424 | </summary> | 2467 | </summary> |
2425 | </member> | 2468 | </member> |
2426 | <member name="E:Npgsql.NpgsqlDataReader.ReaderClosed"> | 2469 | <member name="E:Npgsql.NpgsqlConnection.CertificateSelectionCallback"> |
2427 | <summary> | 2470 | <summary> |
2428 | Is raised whenever Close() is called. | 2471 | Mono.Security.Protocol.Tls.CertificateSelectionCallback delegate. |
2429 | </summary> | 2472 | </summary> |
2430 | </member> | 2473 | </member> |
2431 | <member name="P:Npgsql.NpgsqlDataReader.FieldCount"> | 2474 | <member name="E:Npgsql.NpgsqlConnection.CertificateValidationCallback"> |
2432 | <summary> | 2475 | <summary> |
2433 | Gets the number of columns in the current row. | 2476 | Mono.Security.Protocol.Tls.CertificateValidationCallback delegate. |
2434 | </summary> | 2477 | </summary> |
2435 | </member> | 2478 | </member> |
2436 | <member name="P:Npgsql.NpgsqlDataReader.Item(System.Int32)"> | 2479 | <member name="E:Npgsql.NpgsqlConnection.PrivateKeySelectionCallback"> |
2437 | <summary> | 2480 | <summary> |
2438 | Gets the value of a column in its native format. | 2481 | Mono.Security.Protocol.Tls.PrivateKeySelectionCallback delegate. |
2439 | </summary> | 2482 | </summary> |
2440 | </member> | 2483 | </member> |
2441 | <member name="P:Npgsql.NpgsqlDataReader.Item(System.String)"> | 2484 | <member name="P:Npgsql.NpgsqlConnection.ConnectionString"> |
2442 | <summary> | 2485 | <summary> |
2443 | Gets the value of a column in its native format. | 2486 | Gets or sets the string used to connect to a PostgreSQL database. |
2487 | Valid values are: | ||
2488 | <ul> | ||
2489 | <li> | ||
2490 | Server: Address/Name of Postgresql Server; | ||
2491 | </li> | ||
2492 | <li> | ||
2493 | Port: Port to connect to; | ||
2494 | </li> | ||
2495 | <li> | ||
2496 | Protocol: Protocol version to use, instead of automatic; Integer 2 or 3; | ||
2497 | </li> | ||
2498 | <li> | ||
2499 | Database: Database name. Defaults to user name if not specified; | ||
2500 | </li> | ||
2501 | <li> | ||
2502 | User Id: User name; | ||
2503 | </li> | ||
2504 | <li> | ||
2505 | Password: Password for clear text authentication; | ||
2506 | </li> | ||
2507 | <li> | ||
2508 | SSL: True or False. Controls whether to attempt a secure connection. Default = False; | ||
2509 | </li> | ||
2510 | <li> | ||
2511 | Pooling: True or False. Controls whether connection pooling is used. Default = True; | ||
2512 | </li> | ||
2513 | <li> | ||
2514 | MinPoolSize: Min size of connection pool; | ||
2515 | </li> | ||
2516 | <li> | ||
2517 | MaxPoolSize: Max size of connection pool; | ||
2518 | </li> | ||
2519 | <li> | ||
2520 | Timeout: Time to wait for connection open in seconds. Default is 15. | ||
2521 | </li> | ||
2522 | <li> | ||
2523 | CommandTimeout: Time to wait for command to finish execution before throw an exception. In seconds. Default is 20. | ||
2524 | </li> | ||
2525 | <li> | ||
2526 | Sslmode: Mode for ssl connection control. Can be Prefer, Require, Allow or Disable. Default is Disable. Check user manual for explanation of values. | ||
2527 | </li> | ||
2528 | <li> | ||
2529 | ConnectionLifeTime: Time to wait before closing unused connections in the pool in seconds. Default is 15. | ||
2530 | </li> | ||
2531 | <li> | ||
2532 | SyncNotification: Specifies if Npgsql should use synchronous notifications. | ||
2533 | </li> | ||
2534 | <li> | ||
2535 | SearchPath: Changes search path to specified and public schemas. | ||
2536 | </li> | ||
2537 | </ul> | ||
2444 | </summary> | 2538 | </summary> |
2539 | <value>The connection string that includes the server name, | ||
2540 | the database name, and other parameters needed to establish | ||
2541 | the initial connection. The default value is an empty string. | ||
2542 | </value> | ||
2445 | </member> | 2543 | </member> |
2446 | <member name="P:Npgsql.NpgsqlDataReader.Depth"> | 2544 | <member name="P:Npgsql.NpgsqlConnection.Host"> |
2447 | <summary> | 2545 | <summary> |
2448 | Gets a value indicating the depth of nesting for the current row. Always returns zero. | 2546 | Backend server host name. |
2449 | </summary> | 2547 | </summary> |
2450 | </member> | 2548 | </member> |
2451 | <member name="P:Npgsql.NpgsqlDataReader.IsClosed"> | 2549 | <member name="P:Npgsql.NpgsqlConnection.Port"> |
2452 | <summary> | 2550 | <summary> |
2453 | Gets a value indicating whether the data reader is closed. | 2551 | Backend server port. |
2454 | </summary> | 2552 | </summary> |
2455 | </member> | 2553 | </member> |
2456 | <member name="F:Npgsql.NpgsqlDataReader.KeyLookup.primaryKey"> | 2554 | <member name="P:Npgsql.NpgsqlConnection.SSL"> |
2457 | <summary> | 2555 | <summary> |
2458 | Contains the column names as the keys | 2556 | If true, the connection will attempt to use SSL. |
2459 | </summary> | 2557 | </summary> |
2460 | </member> | 2558 | </member> |
2461 | <member name="F:Npgsql.NpgsqlDataReader.KeyLookup.uniqueColumns"> | 2559 | <member name="P:Npgsql.NpgsqlConnection.ConnectionTimeout"> |
2462 | <summary> | 2560 | <summary> |
2463 | Contains all unique columns | 2561 | Gets the time to wait while trying to establish a connection |
2562 | before terminating the attempt and generating an error. | ||
2464 | </summary> | 2563 | </summary> |
2564 | <value>The time (in seconds) to wait for a connection to open. The default value is 15 seconds.</value> | ||
2465 | </member> | 2565 | </member> |
2466 | <member name="T:Npgsql.ForwardsOnlyDataReader"> | 2566 | <member name="P:Npgsql.NpgsqlConnection.CommandTimeout"> |
2467 | <summary> | 2567 | <summary> |
2468 | This is the primary implementation of NpgsqlDataReader. It is the one used in normal cases (where the | 2568 | Gets the time to wait while trying to execute a command |
2469 | preload-reader option is not set in the connection string to resolve some potential backwards-compatibility | 2569 | before terminating the attempt and generating an error. |
2470 | 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 | ||
2472 | object - with CachingDataReader then filling it's cache from here. | ||
2473 | </summary> | 2570 | </summary> |
2571 | <value>The time (in seconds) to wait for a command to complete. The default value is 20 seconds.</value> | ||
2474 | </member> | 2572 | </member> |
2475 | <member name="M:Npgsql.ForwardsOnlyDataReader.GetNextResponseObject"> | 2573 | <member name="P:Npgsql.NpgsqlConnection.ConnectionLifeTime"> |
2476 | <summary> | 2574 | <summary> |
2477 | Iterate through the objects returned through from the server. | 2575 | Gets the time to wait before closing unused connections in the pool if the count |
2478 | If it's a CompletedResponse the rowsaffected count is updated appropriately, | 2576 | of all connections exeeds MinPoolSize. |
2479 | and we iterate again, otherwise we return it (perhaps updating our cache of pending | ||
2480 | rows if appropriate). | ||
2481 | </summary> | 2577 | </summary> |
2482 | <returns>The next <see cref="T:Npgsql.IServerResponseObject"/> we will deal with.</returns> | 2578 | <remarks> |
2579 | If connection pool contains unused connections for ConnectionLifeTime seconds, | ||
2580 | the half of them will be closed. If there will be unused connections in a second | ||
2581 | later then again the half of them will be closed and so on. | ||
2582 | This strategy provide smooth change of connection count in the pool. | ||
2583 | </remarks> | ||
2584 | <value>The time (in seconds) to wait. The default value is 15 seconds.</value> | ||
2483 | </member> | 2585 | </member> |
2484 | <member name="M:Npgsql.ForwardsOnlyDataReader.GetNextRowDescription"> | 2586 | <member name="P:Npgsql.NpgsqlConnection.Database"> |
2485 | <summary> | 2587 | <summary> |
2486 | Advances the data reader to the next result, when multiple result sets were returned by the PostgreSQL backend. | 2588 | Gets the name of the current database or the database to be used after a connection is opened. |
2589 | </summary> | ||
2590 | <value>The name of the current database or the name of the database to be | ||
2591 | used after a connection is opened. The default value is the empty string.</value> | ||
2592 | </member> | ||
2593 | <member name="P:Npgsql.NpgsqlConnection.PreloadReader"> | ||
2594 | <summary> | ||
2595 | Whether datareaders are loaded in their entirety (for compatibility with earlier code). | ||
2487 | </summary> | 2596 | </summary> |
2488 | <returns>True if the reader was advanced, otherwise false.</returns> | ||
2489 | </member> | 2597 | </member> |
2490 | <member name="M:Npgsql.ForwardsOnlyDataReader.Dispose(System.Boolean)"> | 2598 | <member name="P:Npgsql.NpgsqlConnection.DataSource"> |
2491 | <summary> | 2599 | <summary> |
2492 | Releases the resources used by the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see>. | 2600 | Gets the database server name. |
2493 | </summary> | 2601 | </summary> |
2494 | </member> | 2602 | </member> |
2495 | <member name="M:Npgsql.ForwardsOnlyDataReader.Close"> | 2603 | <member name="P:Npgsql.NpgsqlConnection.SyncNotification"> |
2496 | <summary> | 2604 | <summary> |
2497 | Closes the data reader object. | 2605 | Gets flag indicating if we are using Synchronous notification or not. |
2606 | The default value is false. | ||
2498 | </summary> | 2607 | </summary> |
2499 | </member> | 2608 | </member> |
2500 | <member name="M:Npgsql.ForwardsOnlyDataReader.NextResult"> | 2609 | <member name="P:Npgsql.NpgsqlConnection.FullState"> |
2501 | <summary> | 2610 | <summary> |
2502 | Advances the data reader to the next result, when multiple result sets were returned by the PostgreSQL backend. | 2611 | Gets the current state of the connection. |
2503 | </summary> | 2612 | </summary> |
2504 | <returns>True if the reader was advanced, otherwise false.</returns> | 2613 | <value>A bitwise combination of the <see cref="T:System.Data.ConnectionState">ConnectionState</see> values. The default is <b>Closed</b>.</value> |
2505 | </member> | 2614 | </member> |
2506 | <member name="M:Npgsql.ForwardsOnlyDataReader.Read"> | 2615 | <member name="P:Npgsql.NpgsqlConnection.State"> |
2507 | <summary> | 2616 | <summary> |
2508 | Advances the data reader to the next row. | 2617 | Gets whether the current state of the connection is Open or Closed |
2509 | </summary> | 2618 | </summary> |
2510 | <returns>True if the reader was advanced, otherwise false.</returns> | 2619 | <value>ConnectionState.Open or ConnectionState.Closed</value> |
2511 | </member> | 2620 | </member> |
2512 | <member name="M:Npgsql.ForwardsOnlyDataReader.GetValue(System.Int32)"> | 2621 | <member name="P:Npgsql.NpgsqlConnection.PostgreSqlVersion"> |
2513 | <summary> | 2622 | <summary> |
2514 | Return the value of the column at index <param name="Index"></param>. | 2623 | Version of the PostgreSQL backend. |
2624 | This can only be called when there is an active connection. | ||
2515 | </summary> | 2625 | </summary> |
2516 | </member> | 2626 | </member> |
2517 | <member name="M:Npgsql.ForwardsOnlyDataReader.GetBytes(System.Int32,System.Int64,System.Byte[],System.Int32,System.Int32)"> | 2627 | <member name="P:Npgsql.NpgsqlConnection.BackendProtocolVersion"> |
2518 | <summary> | 2628 | <summary> |
2519 | Gets raw data from a column. | 2629 | Protocol version in use. |
2630 | This can only be called when there is an active connection. | ||
2520 | </summary> | 2631 | </summary> |
2521 | </member> | 2632 | </member> |
2522 | <member name="M:Npgsql.ForwardsOnlyDataReader.GetChars(System.Int32,System.Int64,System.Char[],System.Int32,System.Int32)"> | 2633 | <member name="P:Npgsql.NpgsqlConnection.ProcessID"> |
2523 | <summary> | 2634 | <summary> |
2524 | Gets raw data from a column. | 2635 | Process id of backend server. |
2636 | This can only be called when there is an active connection. | ||
2525 | </summary> | 2637 | </summary> |
2526 | </member> | 2638 | </member> |
2527 | <member name="M:Npgsql.ForwardsOnlyDataReader.IsDBNull(System.Int32)"> | 2639 | <member name="P:Npgsql.NpgsqlConnection.Connector"> |
2528 | <summary> | 2640 | <summary> |
2529 | Report whether the value in a column is DBNull. | 2641 | The connector object connected to the backend. |
2530 | </summary> | 2642 | </summary> |
2531 | </member> | 2643 | </member> |
2532 | <member name="P:Npgsql.ForwardsOnlyDataReader.RecordsAffected"> | 2644 | <member name="P:Npgsql.NpgsqlConnection.ConnectionStringValues"> |
2533 | <summary> | 2645 | <summary> |
2534 | Gets the number of rows changed, inserted, or deleted by execution of the SQL statement. | 2646 | Gets the NpgsqlConnectionStringBuilder containing the parsed connection string values. |
2535 | </summary> | 2647 | </summary> |
2536 | </member> | 2648 | </member> |
2537 | <member name="P:Npgsql.ForwardsOnlyDataReader.HasRows"> | 2649 | <member name="P:Npgsql.NpgsqlConnection.UserName"> |
2538 | <summary> | 2650 | <summary> |
2539 | Indicates if NpgsqlDatareader has rows to be read. | 2651 | User name. |
2540 | </summary> | 2652 | </summary> |
2541 | </member> | 2653 | </member> |
2542 | <member name="T:Npgsql.CachingDataReader"> | 2654 | <member name="P:Npgsql.NpgsqlConnection.Password"> |
2543 | <summary> | 2655 | <summary> |
2544 | <para>Provides an implementation of NpgsqlDataReader in which all data is pre-loaded into memory. | 2656 | Password. |
2545 | This operates by first creating a ForwardsOnlyDataReader as usual, and then loading all of it's | 2657 | </summary> |
2546 | Rows into memory. There is a general principle that when there is a trade-off between a class design that | 2658 | </member> |
2547 | is more efficient and/or scalable on the one hand and one that is less efficient but has more functionality | 2659 | <member name="P:Npgsql.NpgsqlConnection.Pooling"> |
2548 | (in this case the internal-only functionality of caching results) that one can build the less efficent class | 2660 | <summary> |
2549 | from the most efficient without significant extra loss in efficiency, but not the other way around. The relationship | 2661 | Determine if connection pooling will be used for this connection. |
2550 | between ForwardsOnlyDataReader and CachingDataReader is an example of this).</para> | 2662 | </summary> |
2551 | <para>Since the interface presented to the user is still forwards-only, queues are used to | 2663 | </member> |
2552 | store this information, so that dequeueing as we go we give the garbage collector the best opportunity | 2664 | <member name="M:Npgsql.NpgsqlConnectionStringBuilder.Clone"> |
2553 | possible to reclaim any memory that is no longer in use.</para> | 2665 | <summary> |
2554 | <para>ForwardsOnlyDataReader being used to actually | 2666 | Return an exact copy of this NpgsqlConnectionString. |
2555 | obtain the information from the server means that the "leg-work" is still only done (and need only be | 2667 | </summary> |
2556 | maintained) in one place.</para> | 2668 | </member> |
2557 | <para>This class exists to allow for certain potential backwards-compatibility issues to be resolved | 2669 | <member name="M:Npgsql.NpgsqlConnectionStringBuilder.SetValue(System.String,System.Object)"> |
2558 | with little effort on the part of affected users. It is considerably less efficient than ForwardsOnlyDataReader | 2670 | <summary> |
2559 | and hence never used internally.</para> | 2671 | This function will set value for known key, both private member and base[key]. |
2672 | </summary> | ||
2673 | <param name="keyword"></param> | ||
2674 | <param name="value"></param> | ||
2675 | </member> | ||
2676 | <member name="M:Npgsql.NpgsqlConnectionStringBuilder.SetValue(Npgsql.Keywords,System.Object)"> | ||
2677 | <summary> | ||
2678 | The function will modify private member only, not base[key]. | ||
2679 | </summary> | ||
2680 | <param name="keyword"></param> | ||
2681 | <param name="value"></param> | ||
2682 | </member> | ||
2683 | <member name="M:Npgsql.NpgsqlConnectionStringBuilder.Clear"> | ||
2684 | <summary> | ||
2685 | Clear the member and assign them to the default value. | ||
2686 | </summary> | ||
2687 | </member> | ||
2688 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.Compatible"> | ||
2689 | <summary> | ||
2690 | Compatibilty version. When possible, behaviour caused by breaking changes will be preserved | ||
2691 | if this version is less than that where the breaking change was introduced. | ||
2692 | </summary> | ||
2693 | </member> | ||
2694 | <member name="P:Npgsql.NpgsqlConnectionStringBuilder.Item(System.String)"> | ||
2695 | <summary> | ||
2696 | Case insensative accessor for indivual connection string values. | ||
2560 | </summary> | 2697 | </summary> |
2561 | </member> | 2698 | </member> |
2562 | <member name="T:Npgsql.ProvideClientCertificatesCallback"> | 2699 | <member name="T:Npgsql.ProvideClientCertificatesCallback"> |
@@ -2723,1137 +2860,1375 @@ | |||
2723 | Report whether the current connection can support prepare functionality. | 2860 | Report whether the current connection can support prepare functionality. |
2724 | </summary> | 2861 | </summary> |
2725 | </member> | 2862 | </member> |
2726 | <member name="T:NpgsqlTypes.NpgsqlTypesHelper"> | 2863 | <member name="T:Npgsql.NpgsqlConnectorPool"> |
2727 | <summary> | 2864 | <summary> |
2728 | This class contains helper methods for type conversion between | 2865 | This class manages all connector objects, pooled AND non-pooled. |
2729 | the .Net type system and postgresql. | ||
2730 | </summary> | 2866 | </summary> |
2731 | </member> | 2867 | </member> |
2732 | <member name="F:NpgsqlTypes.NpgsqlTypesHelper.BackendTypeMappingCache"> | 2868 | <member name="F:Npgsql.NpgsqlConnectorPool.ConnectorPoolMgr"> |
2869 | <value>Unique static instance of the connector pool | ||
2870 | mamager.</value> | ||
2871 | </member> | ||
2872 | <member name="F:Npgsql.NpgsqlConnectorPool.PooledConnectors"> | ||
2873 | <value>Map of index to unused pooled connectors, avaliable to the | ||
2874 | next RequestConnector() call.</value> | ||
2875 | <remarks>This hashmap will be indexed by connection string. | ||
2876 | This key will hold a list of queues of pooled connectors available to be used.</remarks> | ||
2877 | </member> | ||
2878 | <member name="F:Npgsql.NpgsqlConnectorPool.Timer"> | ||
2879 | <value>Timer for tracking unused connections in pools.</value> | ||
2880 | </member> | ||
2881 | <member name="M:Npgsql.NpgsqlConnectorPool.RequestConnector(Npgsql.NpgsqlConnection)"> | ||
2733 | <summary> | 2882 | <summary> |
2734 | A cache of basic datatype mappings keyed by server version. This way we don't | 2883 | Searches the shared and pooled connector lists for a |
2735 | have to load the basic type mappings for every connection. | 2884 | matching connector object or creates a new one. |
2736 | </summary> | 2885 | </summary> |
2886 | <param name="Connection">The NpgsqlConnection that is requesting | ||
2887 | the connector. Its ConnectionString will be used to search the | ||
2888 | pool for available connectors.</param> | ||
2889 | <returns>A connector object.</returns> | ||
2737 | </member> | 2890 | </member> |
2738 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.TryGetBackendTypeInfo(System.String,NpgsqlTypes.NpgsqlBackendTypeInfo@)"> | 2891 | <member name="M:Npgsql.NpgsqlConnectorPool.RequestPooledConnector(Npgsql.NpgsqlConnection)"> |
2739 | <summary> | 2892 | <summary> |
2740 | Find a NpgsqlNativeTypeInfo in the default types map that can handle objects | 2893 | Find a pooled connector. Handle locking and timeout here. |
2741 | of the given NpgsqlDbType. | ||
2742 | </summary> | 2894 | </summary> |
2743 | </member> | 2895 | </member> |
2744 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.TryGetNativeTypeInfo(NpgsqlTypes.NpgsqlDbType,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> | 2896 | <member name="M:Npgsql.NpgsqlConnectorPool.RequestPooledConnectorInternal(Npgsql.NpgsqlConnection)"> |
2745 | <summary> | 2897 | <summary> |
2746 | Find a NpgsqlNativeTypeInfo in the default types map that can handle objects | 2898 | Find a pooled connector. Handle shared/non-shared here. |
2747 | of the given NpgsqlDbType. | ||
2748 | </summary> | 2899 | </summary> |
2749 | </member> | 2900 | </member> |
2750 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.TryGetNativeTypeInfo(System.Data.DbType,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> | 2901 | <member name="M:Npgsql.NpgsqlConnectorPool.ReleaseConnector(Npgsql.NpgsqlConnection,Npgsql.NpgsqlConnector)"> |
2751 | <summary> | 2902 | <summary> |
2752 | Find a NpgsqlNativeTypeInfo in the default types map that can handle objects | 2903 | Releases a connector, possibly back to the pool for future use. |
2753 | of the given DbType. | ||
2754 | </summary> | 2904 | </summary> |
2905 | <remarks> | ||
2906 | Pooled connectors will be put back into the pool if there is room. | ||
2907 | Shared connectors should just have their use count decremented | ||
2908 | since they always stay in the shared pool. | ||
2909 | </remarks> | ||
2910 | <param name="Connector">The connector to release.</param> | ||
2755 | </member> | 2911 | </member> |
2756 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.TryGetNativeTypeInfo(System.Type,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> | 2912 | <member name="M:Npgsql.NpgsqlConnectorPool.ReleasePooledConnector(Npgsql.NpgsqlConnection,Npgsql.NpgsqlConnector)"> |
2757 | <summary> | 2913 | <summary> |
2758 | Find a NpgsqlNativeTypeInfo in the default types map that can handle objects | 2914 | Release a pooled connector. Handle locking here. |
2759 | of the given System.Type. | ||
2760 | </summary> | 2915 | </summary> |
2761 | </member> | 2916 | </member> |
2762 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.ConvertBackendStringToSystemType(NpgsqlTypes.NpgsqlBackendTypeInfo,System.String,System.Int16,System.Int32)"> | 2917 | <member name="M:Npgsql.NpgsqlConnectorPool.ReleasePooledConnectorInternal(Npgsql.NpgsqlConnection,Npgsql.NpgsqlConnector)"> |
2763 | <summary> | 2918 | <summary> |
2764 | This method is responsible to convert the string received from the backend | 2919 | Release a pooled connector. Handle shared/non-shared here. |
2765 | to the corresponding NpgsqlType. | 2920 | </summary> |
2766 | The given TypeInfo is called upon to do the conversion. | ||
2767 | If no TypeInfo object is provided, no conversion is performed. | ||
2768 | </summary> | ||
2769 | </member> | 2921 | </member> |
2770 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.PrepareDefaultTypesMap"> | 2922 | <member name="M:Npgsql.NpgsqlConnectorPool.GetNonPooledConnector(Npgsql.NpgsqlConnection)"> |
2771 | <summary> | 2923 | <summary> |
2772 | Create the one and only native to backend type map. | 2924 | Create a connector without any pooling functionality. |
2773 | This map is used when formatting native data | ||
2774 | types to backend representations. | ||
2775 | </summary> | 2925 | </summary> |
2776 | </member> | 2926 | </member> |
2777 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.CreateAndLoadInitialTypesMapping(Npgsql.NpgsqlConnector)"> | 2927 | <member name="M:Npgsql.NpgsqlConnectorPool.GetPooledConnector(Npgsql.NpgsqlConnection)"> |
2778 | <summary> | 2928 | <summary> |
2779 | This method creates (or retrieves from cache) a mapping between type and OID | 2929 | Find an available pooled connector in the non-shared pool, or create |
2780 | of all natively supported postgresql data types. | 2930 | a new one if none found. |
2781 | This is needed as from one version to another, this mapping can be changed and | 2931 | </summary> |
2782 | so we avoid hardcoding them. | ||
2783 | </summary> | ||
2784 | <returns>NpgsqlTypeMapping containing all known data types. The mapping must be | ||
2785 | cloned before it is modified because it is cached; changes made by one connection may | ||
2786 | effect another connection.</returns> | ||
2787 | </member> | 2932 | </member> |
2788 | <member name="M:NpgsqlTypes.NpgsqlTypesHelper.LoadTypesMappings(Npgsql.NpgsqlConnector,NpgsqlTypes.NpgsqlBackendTypeMapping,System.Collections.Generic.IEnumerable{NpgsqlTypes.NpgsqlBackendTypeInfo})"> | 2933 | <member name="M:Npgsql.NpgsqlConnectorPool.FixPoolCountBecauseOfConnectionDisposeFalse(Npgsql.NpgsqlConnection)"> |
2789 | <summary> | 2934 | <summary> |
2790 | Attempt to map types by issuing a query against pg_type. | 2935 | This method is only called when NpgsqlConnection.Dispose(false) is called which means a |
2791 | This function takes a list of NpgsqlTypeInfo and attempts to resolve the OID field | 2936 | finalization. This also means, an NpgsqlConnection was leak. We clear pool count so that |
2792 | of each by querying pg_type. If the mapping is found, the type info object is | 2937 | client doesn't end running out of connections from pool. When the connection is finalized, its underlying |
2793 | updated (OID) and added to the provided NpgsqlTypeMapping object. | 2938 | socket is closed. |
2794 | </summary> | 2939 | </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> | 2940 | </member> |
2799 | <member name="T:NpgsqlTypes.ConvertBackendToNativeHandler"> | 2941 | <member name="M:Npgsql.NpgsqlConnectorPool.UngetNonPooledConnector(Npgsql.NpgsqlConnection,Npgsql.NpgsqlConnector)"> |
2800 | <summary> | 2942 | <summary> |
2801 | Delegate called to convert the given backend data to its native representation. | 2943 | Close the connector. |
2802 | </summary> | 2944 | </summary> |
2945 | <param name="Connection"></param> | ||
2946 | <param name="Connector">Connector to release</param> | ||
2803 | </member> | 2947 | </member> |
2804 | <member name="T:NpgsqlTypes.ConvertNativeToBackendHandler"> | 2948 | <member name="M:Npgsql.NpgsqlConnectorPool.UngetPooledConnector(Npgsql.NpgsqlConnection,Npgsql.NpgsqlConnector)"> |
2805 | <summary> | 2949 | <summary> |
2806 | Delegate called to convert the given native data to its backand representation. | 2950 | Put a pooled connector into the pool queue. |
2807 | </summary> | 2951 | </summary> |
2952 | <param name="Connector">Connector to pool</param> | ||
2808 | </member> | 2953 | </member> |
2809 | <member name="T:NpgsqlTypes.NpgsqlBackendTypeInfo"> | 2954 | <member name="T:Npgsql.NpgsqlConnectorPool.ConnectorQueue"> |
2810 | <summary> | 2955 | <summary> |
2811 | Represents a backend data type. | 2956 | A queue with an extra Int32 for keeping track of busy connections. |
2812 | This class can be called upon to convert a backend field representation to a native object. | ||
2813 | </summary> | 2957 | </summary> |
2814 | </member> | 2958 | </member> |
2815 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeInfo.#ctor(System.Int32,System.String,NpgsqlTypes.NpgsqlDbType,System.Data.DbType,System.Type,NpgsqlTypes.ConvertBackendToNativeHandler)"> | 2959 | <member name="F:Npgsql.NpgsqlConnectorPool.ConnectorQueue.Available"> |
2816 | <summary> | 2960 | <summary> |
2817 | Construct a new NpgsqlTypeInfo with the given attributes and conversion handlers. | 2961 | Connections available to the end user |
2818 | </summary> | 2962 | </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> | 2963 | </member> |
2825 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeInfo.ConvertToNative(System.String,System.Int16,System.Int32)"> | 2964 | <member name="F:Npgsql.NpgsqlConnectorPool.ConnectorQueue.Busy"> |
2826 | <summary> | 2965 | <summary> |
2827 | Perform a data conversion from a backend representation to | 2966 | Connections currently in use |
2828 | a native object. | ||
2829 | </summary> | 2967 | </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> | 2968 | </member> |
2833 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.OID"> | 2969 | <member name="T:Npgsql.NpgsqlCopyFormat"> |
2834 | <summary> | 2970 | <summary> |
2835 | Type OID provided by the backend server. | 2971 | Represents information about COPY operation data transfer format as returned by server. |
2836 | </summary> | 2972 | </summary> |
2837 | </member> | 2973 | </member> |
2838 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.Name"> | 2974 | <member name="M:Npgsql.NpgsqlCopyFormat.#ctor(System.Byte,System.Int16[])"> |
2839 | <summary> | 2975 | <summary> |
2840 | Type name provided by the backend server. | 2976 | Only created when a CopyInResponse or CopyOutResponse is received by NpgsqlState.ProcessBackendResponses() |
2841 | </summary> | 2977 | </summary> |
2842 | </member> | 2978 | </member> |
2843 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.NpgsqlDbType"> | 2979 | <member name="M:Npgsql.NpgsqlCopyFormat.FieldIsBinary(System.Int32)"> |
2844 | <summary> | 2980 | <summary> |
2845 | NpgsqlDbType. | 2981 | Returns true if this operation is currently active and field at given location is in binary format. |
2846 | </summary> | 2982 | </summary> |
2847 | </member> | 2983 | </member> |
2848 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.DbType"> | 2984 | <member name="P:Npgsql.NpgsqlCopyFormat.IsBinary"> |
2849 | <summary> | 2985 | <summary> |
2850 | NpgsqlDbType. | 2986 | Returns true if this operation is currently active and in binary format. |
2851 | </summary> | 2987 | </summary> |
2852 | </member> | 2988 | </member> |
2853 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.Type"> | 2989 | <member name="P:Npgsql.NpgsqlCopyFormat.FieldCount"> |
2854 | <summary> | 2990 | <summary> |
2855 | Provider type to convert fields of this type to. | 2991 | Returns number of fields if this operation is currently active, otherwise -1 |
2856 | </summary> | 2992 | </summary> |
2857 | </member> | 2993 | </member> |
2858 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeInfo.FrameworkType"> | 2994 | <member name="T:Npgsql.NpgsqlCopyIn"> |
2859 | <summary> | 2995 | <summary> |
2860 | System type to convert fields of this type to. | 2996 | Represents a PostgreSQL COPY FROM STDIN operation with a corresponding SQL statement |
2997 | to execute against a PostgreSQL database | ||
2998 | and an associated stream used to read data from (if provided by user) | ||
2999 | or for writing it (when generated by driver). | ||
3000 | Eg. new NpgsqlCopyIn("COPY mytable FROM STDIN", connection, streamToRead).Start(); | ||
2861 | </summary> | 3001 | </summary> |
2862 | </member> | 3002 | </member> |
2863 | <member name="T:NpgsqlTypes.NpgsqlNativeTypeInfo"> | 3003 | <member name="M:Npgsql.NpgsqlCopyIn.#ctor(System.String,Npgsql.NpgsqlConnection)"> |
2864 | <summary> | 3004 | <summary> |
2865 | Represents a backend data type. | 3005 | Creates NpgsqlCommand to run given query upon Start(). Data for the requested COPY IN operation can then be written to CopyData stream followed by a call to End() or Cancel(). |
2866 | This class can be called upon to convert a native object to its backend field representation, | ||
2867 | </summary> | 3006 | </summary> |
2868 | </member> | 3007 | </member> |
2869 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeInfo.ArrayOf(NpgsqlTypes.NpgsqlNativeTypeInfo)"> | 3008 | <member name="M:Npgsql.NpgsqlCopyIn.#ctor(Npgsql.NpgsqlCommand,Npgsql.NpgsqlConnection)"> |
2870 | <summary> | 3009 | <summary> |
2871 | Returns an NpgsqlNativeTypeInfo for an array where the elements are of the type | 3010 | Given command is run upon Start(). Data for the requested COPY IN operation can then be written to CopyData stream followed by a call to End() or Cancel(). |
2872 | described by the NpgsqlNativeTypeInfo supplied. | ||
2873 | </summary> | 3011 | </summary> |
2874 | </member> | 3012 | </member> |
2875 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeInfo.#ctor(System.String,NpgsqlTypes.NpgsqlDbType,System.Data.DbType,System.Boolean,NpgsqlTypes.ConvertNativeToBackendHandler)"> | 3013 | <member name="M:Npgsql.NpgsqlCopyIn.#ctor(Npgsql.NpgsqlCommand,Npgsql.NpgsqlConnection,System.IO.Stream)"> |
2876 | <summary> | 3014 | <summary> |
2877 | Construct a new NpgsqlTypeInfo with the given attributes and conversion handlers. | 3015 | Given command is executed upon Start() and all data from fromStream is passed to it as copy data. |
2878 | </summary> | 3016 | </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> | 3017 | </member> |
2883 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeInfo.ConvertToBackend(System.Object,System.Boolean)"> | 3018 | <member name="M:Npgsql.NpgsqlCopyIn.FieldIsBinary(System.Int32)"> |
2884 | <summary> | 3019 | <summary> |
2885 | Perform a data conversion from a native object to | 3020 | Returns true if this operation is currently active and field at given location is in binary format. |
2886 | a backend representation. | ||
2887 | DBNull and null values are handled differently depending if a plain query is used | ||
2888 | When | ||
2889 | </summary> | 3021 | </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> | 3022 | </member> |
2894 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeInfo.Name"> | 3023 | <member name="M:Npgsql.NpgsqlCopyIn.Start"> |
2895 | <summary> | 3024 | <summary> |
2896 | Type name provided by the backend server. | 3025 | Command specified upon creation is executed as a non-query. |
3026 | If CopyStream is set upon creation, it will be flushed to server as copy data, and operation will be finished immediately. | ||
3027 | Otherwise the CopyStream member can be used for writing copy data to server and operation finished with a call to End() or Cancel(). | ||
2897 | </summary> | 3028 | </summary> |
2898 | </member> | 3029 | </member> |
2899 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeInfo.NpgsqlDbType"> | 3030 | <member name="M:Npgsql.NpgsqlCopyIn.End"> |
2900 | <summary> | 3031 | <summary> |
2901 | NpgsqlDbType. | 3032 | Called after writing all data to CopyStream to successfully complete this copy operation. |
2902 | </summary> | 3033 | </summary> |
2903 | </member> | 3034 | </member> |
2904 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeInfo.DbType"> | 3035 | <member name="M:Npgsql.NpgsqlCopyIn.Cancel(System.String)"> |
2905 | <summary> | 3036 | <summary> |
2906 | DbType. | 3037 | Withdraws an already started copy operation. The operation will fail with given error message. |
3038 | Will do nothing if current operation is not active. | ||
2907 | </summary> | 3039 | </summary> |
2908 | </member> | 3040 | </member> |
2909 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeInfo.Quote"> | 3041 | <member name="P:Npgsql.NpgsqlCopyIn.IsActive"> |
2910 | <summary> | 3042 | <summary> |
2911 | Apply quoting. | 3043 | Returns true if the connection is currently reserved for this operation. |
2912 | </summary> | 3044 | </summary> |
2913 | </member> | 3045 | </member> |
2914 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeInfo.UseSize"> | 3046 | <member name="P:Npgsql.NpgsqlCopyIn.CopyStream"> |
2915 | <summary> | 3047 | <summary> |
2916 | Use parameter size information. | 3048 | The stream provided by user or generated upon Start(). |
3049 | User may provide a stream to constructor; it is used to pass to server all data read from it. | ||
3050 | Otherwise, call to Start() sets this to a writable NpgsqlCopyInStream that passes all data written to it to server. | ||
3051 | In latter case this is only available while the copy operation is active and null otherwise. | ||
2917 | </summary> | 3052 | </summary> |
2918 | </member> | 3053 | </member> |
2919 | <member name="T:NpgsqlTypes.NpgsqlBackendTypeMapping"> | 3054 | <member name="P:Npgsql.NpgsqlCopyIn.IsBinary"> |
2920 | <summary> | 3055 | <summary> |
2921 | Provide mapping between type OID, type name, and a NpgsqlBackendTypeInfo object that represents it. | 3056 | Returns true if this operation is currently active and in binary format. |
2922 | </summary> | 3057 | </summary> |
2923 | </member> | 3058 | </member> |
2924 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.#ctor"> | 3059 | <member name="P:Npgsql.NpgsqlCopyIn.FieldCount"> |
2925 | <summary> | 3060 | <summary> |
2926 | Construct an empty mapping. | 3061 | Returns number of fields expected on each input row if this operation is currently active, otherwise -1 |
2927 | </summary> | 3062 | </summary> |
2928 | </member> | 3063 | </member> |
2929 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.#ctor(NpgsqlTypes.NpgsqlBackendTypeMapping)"> | 3064 | <member name="P:Npgsql.NpgsqlCopyIn.NpgsqlCommand"> |
2930 | <summary> | 3065 | <summary> |
2931 | Copy constuctor. | 3066 | The Command used to execute this copy operation. |
2932 | </summary> | 3067 | </summary> |
2933 | </member> | 3068 | </member> |
2934 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.AddType(NpgsqlTypes.NpgsqlBackendTypeInfo)"> | 3069 | <member name="P:Npgsql.NpgsqlCopyIn.CopyBufferSize"> |
2935 | <summary> | 3070 | <summary> |
2936 | Add the given NpgsqlBackendTypeInfo to this mapping. | 3071 | Set before a COPY IN query to define size of internal buffer for reading from given CopyStream. |
2937 | </summary> | 3072 | </summary> |
2938 | </member> | 3073 | </member> |
2939 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.AddType(System.Int32,System.String,NpgsqlTypes.NpgsqlDbType,System.Data.DbType,System.Type,NpgsqlTypes.ConvertBackendToNativeHandler)"> | 3074 | <member name="T:Npgsql.NpgsqlCopyInState"> |
2940 | <summary> | 3075 | <summary> |
2941 | Add a new NpgsqlBackendTypeInfo with the given attributes and conversion handlers to this mapping. | 3076 | Represents an ongoing COPY FROM STDIN operation. |
3077 | Provides methods to push data to server and end or cancel the operation. | ||
2942 | </summary> | 3078 | </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> | 3079 | </member> |
2949 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.Clone"> | 3080 | <member name="M:Npgsql.NpgsqlCopyInState.StartCopy(Npgsql.NpgsqlConnector,Npgsql.NpgsqlCopyFormat)"> |
2950 | <summary> | 3081 | <summary> |
2951 | Make a shallow copy of this type mapping. | 3082 | Called from NpgsqlState.ProcessBackendResponses upon CopyInResponse. |
3083 | If CopyStream is already set, it is used to read data to push to server, after which the copy is completed. | ||
3084 | Otherwise CopyStream is set to a writable NpgsqlCopyInStream that calls SendCopyData each time it is written to. | ||
2952 | </summary> | 3085 | </summary> |
2953 | </member> | 3086 | </member> |
2954 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.ContainsOID(System.Int32)"> | 3087 | <member name="M:Npgsql.NpgsqlCopyInState.SendCopyData(Npgsql.NpgsqlConnector,System.Byte[],System.Int32,System.Int32)"> |
2955 | <summary> | 3088 | <summary> |
2956 | Determine if a NpgsqlBackendTypeInfo with the given backend type OID exists in this mapping. | 3089 | Sends given packet to server as a CopyData message. |
3090 | Does not check for notifications! Use another thread for that. | ||
2957 | </summary> | 3091 | </summary> |
2958 | </member> | 3092 | </member> |
2959 | <member name="M:NpgsqlTypes.NpgsqlBackendTypeMapping.ContainsName(System.String)"> | 3093 | <member name="M:Npgsql.NpgsqlCopyInState.SendCopyDone(Npgsql.NpgsqlConnector)"> |
2960 | <summary> | 3094 | <summary> |
2961 | Determine if a NpgsqlBackendTypeInfo with the given backend type name exists in this mapping. | 3095 | Sends CopyDone message to server. Handles responses, ie. may throw an exception. |
2962 | </summary> | 3096 | </summary> |
2963 | </member> | 3097 | </member> |
2964 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeMapping.Count"> | 3098 | <member name="M:Npgsql.NpgsqlCopyInState.SendCopyFail(Npgsql.NpgsqlConnector,System.String)"> |
2965 | <summary> | 3099 | <summary> |
2966 | Get the number of type infos held. | 3100 | Sends CopyFail message to server. Handles responses, ie. should always throw an exception: |
3101 | in CopyIn state the server responds to CopyFail with an error response; | ||
3102 | outside of a CopyIn state the server responds to CopyFail with an error response; | ||
3103 | without network connection or whatever, there's going to eventually be a failure, timeout or user intervention. | ||
2967 | </summary> | 3104 | </summary> |
2968 | </member> | 3105 | </member> |
2969 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeMapping.Item(System.Int32)"> | 3106 | <member name="P:Npgsql.NpgsqlCopyInState.CopyFormat"> |
2970 | <summary> | 3107 | <summary> |
2971 | Retrieve the NpgsqlBackendTypeInfo with the given backend type OID, or null if none found. | 3108 | Copy format information returned from server. |
2972 | </summary> | 3109 | </summary> |
2973 | </member> | 3110 | </member> |
2974 | <member name="P:NpgsqlTypes.NpgsqlBackendTypeMapping.Item(System.String)"> | 3111 | <member name="T:Npgsql.NpgsqlCopyInStream"> |
2975 | <summary> | 3112 | <summary> |
2976 | Retrieve the NpgsqlBackendTypeInfo with the given backend type name, or null if none found. | 3113 | Stream for writing data to a table on a PostgreSQL version 7.4 or newer database during an active COPY FROM STDIN operation. |
3114 | <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! | ||
2977 | </summary> | 3115 | </summary> |
2978 | </member> | 3116 | </member> |
2979 | <member name="T:NpgsqlTypes.NpgsqlNativeTypeMapping"> | 3117 | <member name="M:Npgsql.NpgsqlCopyInStream.#ctor(Npgsql.NpgsqlConnector)"> |
2980 | <summary> | 3118 | <summary> |
2981 | Provide mapping between type Type, NpgsqlDbType and a NpgsqlNativeTypeInfo object that represents it. | 3119 | Created only by NpgsqlCopyInState.StartCopy() |
2982 | </summary> | 3120 | </summary> |
2983 | </member> | 3121 | </member> |
2984 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.AddType(NpgsqlTypes.NpgsqlNativeTypeInfo)"> | 3122 | <member name="M:Npgsql.NpgsqlCopyInStream.Close"> |
2985 | <summary> | 3123 | <summary> |
2986 | Add the given NpgsqlNativeTypeInfo to this mapping. | 3124 | Successfully completes copying data to server. Returns after operation is finished. |
3125 | Does nothing if this stream is not the active copy operation writer. | ||
2987 | </summary> | 3126 | </summary> |
2988 | </member> | 3127 | </member> |
2989 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.AddType(System.String,NpgsqlTypes.NpgsqlDbType,System.Data.DbType,System.Boolean,NpgsqlTypes.ConvertNativeToBackendHandler)"> | 3128 | <member name="M:Npgsql.NpgsqlCopyInStream.Cancel(System.String)"> |
2990 | <summary> | 3129 | <summary> |
2991 | Add a new NpgsqlNativeTypeInfo with the given attributes and conversion handlers to this mapping. | 3130 | Withdraws an already started copy operation. The operation will fail with given error message. |
3131 | Does nothing if this stream is not the active copy operation writer. | ||
2992 | </summary> | 3132 | </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> | 3133 | </member> |
2997 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.TryGetValue(NpgsqlTypes.NpgsqlDbType,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> | 3134 | <member name="M:Npgsql.NpgsqlCopyInStream.Write(System.Byte[],System.Int32,System.Int32)"> |
2998 | <summary> | 3135 | <summary> |
2999 | Retrieve the NpgsqlNativeTypeInfo with the given NpgsqlDbType. | 3136 | Writes given bytes to server. |
3137 | Fails if this stream is not the active copy operation writer. | ||
3000 | </summary> | 3138 | </summary> |
3001 | </member> | 3139 | </member> |
3002 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.TryGetValue(System.Data.DbType,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> | 3140 | <member name="M:Npgsql.NpgsqlCopyInStream.Flush"> |
3003 | <summary> | 3141 | <summary> |
3004 | Retrieve the NpgsqlNativeTypeInfo with the given DbType. | 3142 | Flushes stream contents to server. |
3143 | Fails if this stream is not the active copy operation writer. | ||
3005 | </summary> | 3144 | </summary> |
3006 | </member> | 3145 | </member> |
3007 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.TryGetValue(System.Type,NpgsqlTypes.NpgsqlNativeTypeInfo@)"> | 3146 | <member name="M:Npgsql.NpgsqlCopyInStream.Read(System.Byte[],System.Int32,System.Int32)"> |
3008 | <summary> | 3147 | <summary> |
3009 | Retrieve the NpgsqlNativeTypeInfo with the given Type. | 3148 | Not readable |
3010 | </summary> | 3149 | </summary> |
3011 | </member> | 3150 | </member> |
3012 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.ContainsName(System.String)"> | 3151 | <member name="M:Npgsql.NpgsqlCopyInStream.Seek(System.Int64,System.IO.SeekOrigin)"> |
3013 | <summary> | 3152 | <summary> |
3014 | Determine if a NpgsqlNativeTypeInfo with the given backend type name exists in this mapping. | 3153 | Not seekable |
3015 | </summary> | 3154 | </summary> |
3016 | </member> | 3155 | </member> |
3017 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.ContainsNpgsqlDbType(NpgsqlTypes.NpgsqlDbType)"> | 3156 | <member name="M:Npgsql.NpgsqlCopyInStream.SetLength(System.Int64)"> |
3018 | <summary> | 3157 | <summary> |
3019 | Determine if a NpgsqlNativeTypeInfo with the given NpgsqlDbType exists in this mapping. | 3158 | Not supported |
3020 | </summary> | 3159 | </summary> |
3021 | </member> | 3160 | </member> |
3022 | <member name="M:NpgsqlTypes.NpgsqlNativeTypeMapping.ContainsType(System.Type)"> | 3161 | <member name="P:Npgsql.NpgsqlCopyInStream.IsActive"> |
3023 | <summary> | 3162 | <summary> |
3024 | Determine if a NpgsqlNativeTypeInfo with the given Type name exists in this mapping. | 3163 | True while this stream can be used to write copy data to server |
3025 | </summary> | 3164 | </summary> |
3026 | </member> | 3165 | </member> |
3027 | <member name="P:NpgsqlTypes.NpgsqlNativeTypeMapping.Count"> | 3166 | <member name="P:Npgsql.NpgsqlCopyInStream.CanRead"> |
3028 | <summary> | 3167 | <summary> |
3029 | Get the number of type infos held. | 3168 | False |
3030 | </summary> | 3169 | </summary> |
3031 | </member> | 3170 | </member> |
3032 | <member name="T:Npgsql.StringRowReaderV3"> | 3171 | <member name="P:Npgsql.NpgsqlCopyInStream.CanWrite"> |
3033 | <summary> | 3172 | <summary> |
3034 | Implements <see cref="T:Npgsql.RowReader"/> for version 3 of the protocol. | 3173 | True |
3035 | </summary> | 3174 | </summary> |
3036 | </member> | 3175 | </member> |
3037 | <member name="T:Npgsql.RowReader"> | 3176 | <member name="P:Npgsql.NpgsqlCopyInStream.CanSeek"> |
3038 | <summary> | 3177 | <summary> |
3039 | Reads a row, field by field, allowing a DataRow to be built appropriately. | 3178 | False |
3040 | </summary> | 3179 | </summary> |
3041 | </member> | 3180 | </member> |
3042 | <member name="T:Npgsql.RowReader.Streamer"> | 3181 | <member name="P:Npgsql.NpgsqlCopyInStream.Length"> |
3043 | <summary> | 3182 | <summary> |
3044 | Reads part of a field, as needed (for <see cref="!:System.Data.IDataRecord.GetChars()"/> | 3183 | Number of bytes written so far |
3045 | and <see cref="!:System.Data.IDataRecord.GetBytes()"/> | ||
3046 | </summary> | 3184 | </summary> |
3047 | </member> | 3185 | </member> |
3048 | <member name="T:Npgsql.RowReader.Streamer`1"> | 3186 | <member name="P:Npgsql.NpgsqlCopyInStream.Position"> |
3049 | <summary> | 3187 | <summary> |
3050 | Adds further functionality to stream that is dependant upon the type of data read. | 3188 | Number of bytes written so far; not settable |
3051 | </summary> | 3189 | </summary> |
3052 | </member> | 3190 | </member> |
3053 | <member name="T:Npgsql.RowReader.CharStreamer"> | 3191 | <member name="T:Npgsql.NpgsqlCopyOut"> |
3054 | <summary> | 3192 | <summary> |
3055 | Completes the implementation of Streamer for char data. | 3193 | Represents a PostgreSQL COPY TO STDOUT operation with a corresponding SQL statement |
3194 | to execute against a PostgreSQL database | ||
3195 | and an associated stream used to write results to (if provided by user) | ||
3196 | or for reading the results (when generated by driver). | ||
3197 | Eg. new NpgsqlCopyOut("COPY (SELECT * FROM mytable) TO STDOUT", connection, streamToWrite).Start(); | ||
3056 | </summary> | 3198 | </summary> |
3057 | </member> | 3199 | </member> |
3058 | <member name="T:Npgsql.RowReader.ByteStreamer"> | 3200 | <member name="M:Npgsql.NpgsqlCopyOut.#ctor(System.String,Npgsql.NpgsqlConnection)"> |
3059 | <summary> | 3201 | <summary> |
3060 | Completes the implementation of Streamer for byte data. | 3202 | Creates NpgsqlCommand to run given query upon Start(), after which CopyStream provides data from database as requested in the query. |
3061 | </summary> | 3203 | </summary> |
3062 | </member> | 3204 | </member> |
3063 | <member name="T:Npgsql.StringRowReaderV2"> | 3205 | <member name="M:Npgsql.NpgsqlCopyOut.#ctor(Npgsql.NpgsqlCommand,Npgsql.NpgsqlConnection)"> |
3064 | <summary> | 3206 | <summary> |
3065 | Implements <see cref="T:Npgsql.RowReader"/> for version 2 of the protocol. | 3207 | Given command is run upon Start(), after which CopyStream provides data from database as requested in the query. |
3066 | </summary> | 3208 | </summary> |
3067 | </member> | 3209 | </member> |
3068 | <member name="T:Npgsql.StringRowReaderV2.NullMap"> | 3210 | <member name="M:Npgsql.NpgsqlCopyOut.#ctor(Npgsql.NpgsqlCommand,Npgsql.NpgsqlConnection,System.IO.Stream)"> |
3069 | <summary> | 3211 | <summary> |
3070 | Encapsulates the null mapping bytes sent at the start of a version 2 | 3212 | Given command is executed upon Start() and all requested copy data is written to toStream immediately. |
3071 | datarow message, and the process of identifying the nullity of the data | ||
3072 | at a particular index | ||
3073 | </summary> | 3213 | </summary> |
3074 | </member> | 3214 | </member> |
3075 | <member name="T:Npgsql.NpgsqlSchema"> | 3215 | <member name="M:Npgsql.NpgsqlCopyOut.FieldIsBinary(System.Int32)"> |
3076 | <summary> | 3216 | <summary> |
3077 | Provides the underlying mechanism for reading schema information. | 3217 | Returns true if this operation is currently active and field at given location is in binary format. |
3078 | </summary> | 3218 | </summary> |
3079 | </member> | 3219 | </member> |
3080 | <member name="M:Npgsql.NpgsqlSchema.#ctor(Npgsql.NpgsqlConnection)"> | 3220 | <member name="M:Npgsql.NpgsqlCopyOut.Start"> |
3081 | <summary> | 3221 | <summary> |
3082 | Creates an NpgsqlSchema that can read schema information from the database. | 3222 | Command specified upon creation is executed as a non-query. |
3223 | If CopyStream is set upon creation, all copy data from server will be written to it, and operation will be finished immediately. | ||
3224 | Otherwise the CopyStream member can be used for reading copy data from server until no more data is available. | ||
3083 | </summary> | 3225 | </summary> |
3084 | <param name="connection">An open database connection for reading metadata.</param> | ||
3085 | </member> | 3226 | </member> |
3086 | <member name="M:Npgsql.NpgsqlSchema.GetMetaDataCollections"> | 3227 | <member name="M:Npgsql.NpgsqlCopyOut.End"> |
3087 | <summary> | 3228 | <summary> |
3088 | Returns the MetaDataCollections that lists all possible collections. | 3229 | Flush generated CopyStream at once. Effectively reads and discard all the rest of copy data from server. |
3089 | </summary> | 3230 | </summary> |
3090 | <returns>The MetaDataCollections</returns> | ||
3091 | </member> | 3231 | </member> |
3092 | <member name="M:Npgsql.NpgsqlSchema.GetRestrictions"> | 3232 | <member name="P:Npgsql.NpgsqlCopyOut.IsActive"> |
3093 | <summary> | 3233 | <summary> |
3094 | Returns the Restrictions that contains the meaning and position of the values in the restrictions array. | 3234 | Returns true if the connection is currently reserved for this operation. |
3095 | </summary> | 3235 | </summary> |
3096 | <returns>The Restrictions</returns> | ||
3097 | </member> | 3236 | </member> |
3098 | <member name="M:Npgsql.NpgsqlSchema.GetDatabases(System.String[])"> | 3237 | <member name="P:Npgsql.NpgsqlCopyOut.CopyStream"> |
3099 | <summary> | 3238 | <summary> |
3100 | Returns the Databases that contains a list of all accessable databases. | 3239 | The stream provided by user or generated upon Start() |
3101 | </summary> | 3240 | </summary> |
3102 | <param name="restrictions">The restrictions to filter the collection.</param> | ||
3103 | <returns>The Databases</returns> | ||
3104 | </member> | 3241 | </member> |
3105 | <member name="M:Npgsql.NpgsqlSchema.GetTables(System.String[])"> | 3242 | <member name="P:Npgsql.NpgsqlCopyOut.NpgsqlCommand"> |
3106 | <summary> | 3243 | <summary> |
3107 | Returns the Tables that contains table and view names and the database and schema they come from. | 3244 | The Command used to execute this copy operation. |
3108 | </summary> | 3245 | </summary> |
3109 | <param name="restrictions">The restrictions to filter the collection.</param> | ||
3110 | <returns>The Tables</returns> | ||
3111 | </member> | 3246 | </member> |
3112 | <member name="M:Npgsql.NpgsqlSchema.GetColumns(System.String[])"> | 3247 | <member name="P:Npgsql.NpgsqlCopyOut.IsBinary"> |
3113 | <summary> | 3248 | <summary> |
3114 | Returns the Columns that contains information about columns in tables. | 3249 | Returns true if this operation is currently active and in binary format. |
3115 | </summary> | 3250 | </summary> |
3116 | <param name="restrictions">The restrictions to filter the collection.</param> | ||
3117 | <returns>The Columns.</returns> | ||
3118 | </member> | 3251 | </member> |
3119 | <member name="M:Npgsql.NpgsqlSchema.GetViews(System.String[])"> | 3252 | <member name="P:Npgsql.NpgsqlCopyOut.FieldCount"> |
3120 | <summary> | 3253 | <summary> |
3121 | Returns the Views that contains view names and the database and schema they come from. | 3254 | Returns number of fields if this operation is currently active, otherwise -1 |
3122 | </summary> | 3255 | </summary> |
3123 | <param name="restrictions">The restrictions to filter the collection.</param> | ||
3124 | <returns>The Views</returns> | ||
3125 | </member> | 3256 | </member> |
3126 | <member name="M:Npgsql.NpgsqlSchema.GetUsers(System.String[])"> | 3257 | <member name="P:Npgsql.NpgsqlCopyOut.Read"> |
3127 | <summary> | 3258 | <summary> |
3128 | Returns the Users containing user names and the sysid of those users. | 3259 | Faster alternative to using the generated CopyStream. |
3129 | </summary> | 3260 | </summary> |
3130 | <param name="restrictions">The restrictions to filter the collection.</param> | ||
3131 | <returns>The Users.</returns> | ||
3132 | </member> | 3261 | </member> |
3133 | <member name="T:Npgsql.NpgsqlRow"> | 3262 | <member name="T:Npgsql.NpgsqlCopyOutState"> |
3134 | <summary> | 3263 | <summary> |
3135 | This is the abstract base class for NpgsqlAsciiRow and NpgsqlBinaryRow. | 3264 | Represents an ongoing COPY TO STDOUT operation. |
3265 | Provides methods to read data from server or end the operation. | ||
3136 | </summary> | 3266 | </summary> |
3137 | </member> | 3267 | </member> |
3138 | <member name="T:NpgsqlTypes.BitString"> | 3268 | <member name="M:Npgsql.NpgsqlCopyOutState.StartCopy(Npgsql.NpgsqlConnector,Npgsql.NpgsqlCopyFormat)"> |
3139 | <summary> | 3269 | <summary> |
3140 | <para>Implements a bit string; a collection of zero or more bits which can each be 1 or 0.</para> | 3270 | Called from NpgsqlState.ProcessBackendResponses upon CopyOutResponse. |
3141 | <para>BitString's behave as a list of bools, though like most strings and unlike most collections the position | 3271 | If CopyStream is already set, it is used to write data received from server, after which the copy ends. |
3142 | tends to be of as much significance as the value.</para> | 3272 | Otherwise CopyStream is set to a readable NpgsqlCopyOutStream that receives data from server. |
3143 | <para>BitStrings are often used as masks, and are commonly cast to and from other values.</para> | ||
3144 | </summary> | 3273 | </summary> |
3145 | </member> | 3274 | </member> |
3146 | <member name="F:NpgsqlTypes.BitString.Empty"> | 3275 | <member name="M:Npgsql.NpgsqlCopyOutState.GetCopyData(Npgsql.NpgsqlConnector)"> |
3147 | <summary> | 3276 | <summary> |
3148 | Represents the empty string. | 3277 | Called from NpgsqlOutStream.Read to read copy data from server. |
3149 | </summary> | 3278 | </summary> |
3150 | </member> | 3279 | </member> |
3151 | <member name="M:NpgsqlTypes.BitString.#ctor(System.Collections.Generic.IEnumerable{System.Boolean})"> | 3280 | <member name="P:Npgsql.NpgsqlCopyOutState.CopyFormat"> |
3152 | <summary> | 3281 | <summary> |
3153 | Create a BitString from an enumeration of boolean values. The BitString will contain | 3282 | Copy format information returned from server. |
3154 | those booleans in the order they came in. | ||
3155 | </summary> | 3283 | </summary> |
3156 | <param name="bits">The boolean values.</param> | ||
3157 | </member> | 3284 | </member> |
3158 | <member name="M:NpgsqlTypes.BitString.#ctor(System.Boolean,System.Int32)"> | 3285 | <member name="T:Npgsql.NpgsqlCopyOutStream"> |
3159 | <summary> | 3286 | <summary> |
3160 | Creates a BitString filled with a given number of true or false values. | 3287 | Stream for reading data from a table or select on a PostgreSQL version 7.4 or newer database during an active COPY TO STDOUT operation. |
3288 | <b>Passes data exactly as provided by the server.</b> | ||
3161 | </summary> | 3289 | </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> | 3290 | </member> |
3165 | <member name="M:NpgsqlTypes.BitString.#ctor(System.String)"> | 3291 | <member name="M:Npgsql.NpgsqlCopyOutStream.#ctor(Npgsql.NpgsqlConnector)"> |
3166 | <summary> | 3292 | <summary> |
3167 | Creats a bitstring from a <see cref="T:System.String">string</see>. | 3293 | Created only by NpgsqlCopyOutState.StartCopy() |
3168 | <param name="str">The <see cref="T:System.String">string to copy from</see>.</param> | ||
3169 | <seealso cref="!:Npgsql.BitString.Parse(System.String)"/> | ||
3170 | </summary> | 3294 | </summary> |
3171 | </member> | 3295 | </member> |
3172 | <member name="M:NpgsqlTypes.BitString.#ctor(System.Boolean)"> | 3296 | <member name="M:Npgsql.NpgsqlCopyOutStream.Close"> |
3173 | <summary> | 3297 | <summary> |
3174 | Creates a single-bit element from a boolean value. | 3298 | Discards copy data as long as server pushes it. Returns after operation is finished. |
3299 | Does nothing if this stream is not the active copy operation reader. | ||
3175 | </summary> | 3300 | </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> | 3301 | </member> |
3179 | <member name="M:NpgsqlTypes.BitString.#ctor(System.UInt32)"> | 3302 | <member name="M:Npgsql.NpgsqlCopyOutStream.Write(System.Byte[],System.Int32,System.Int32)"> |
3180 | <summary> | 3303 | <summary> |
3181 | Creates a bitstring from an unsigned integer value. The string will be the shortest required to | 3304 | Not writable. |
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> | 3305 | </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> | 3306 | </member> |
3187 | <member name="M:NpgsqlTypes.BitString.#ctor(System.Int32)"> | 3307 | <member name="M:Npgsql.NpgsqlCopyOutStream.Flush"> |
3188 | <summary> | 3308 | <summary> |
3189 | Creates a bitstring from an integer value. The string will be the shortest required to | 3309 | Not flushable. |
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> | 3310 | </summary> |
3192 | <param name="integer">The <see cref="T:System.Int32">integer</see>.</param> | ||
3193 | </member> | 3311 | </member> |
3194 | <member name="M:NpgsqlTypes.BitString.IndexOf(System.Boolean)"> | 3312 | <member name="M:Npgsql.NpgsqlCopyOutStream.Read(System.Byte[],System.Int32,System.Int32)"> |
3195 | <summary> | 3313 | <summary> |
3196 | Finds the first instance of a given value | 3314 | Copies data read from server to given byte buffer. |
3315 | Since server returns data row by row, length will differ each time, but it is only zero once the operation ends. | ||
3316 | Can be mixed with calls to the more efficient NpgsqlCopyOutStream.Read() : byte[] though that would not make much sense. | ||
3197 | </summary> | 3317 | </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> | 3318 | </member> |
3201 | <member name="M:NpgsqlTypes.BitString.Contains(System.Boolean)"> | 3319 | <member name="M:Npgsql.NpgsqlCopyOutStream.Seek(System.Int64,System.IO.SeekOrigin)"> |
3202 | <summary> | 3320 | <summary> |
3203 | True if there is at least one bit with the value looked for. | 3321 | Not seekable |
3204 | </summary> | 3322 | </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> | 3323 | </member> |
3208 | <member name="M:NpgsqlTypes.BitString.CopyTo(System.Boolean[],System.Int32)"> | 3324 | <member name="M:Npgsql.NpgsqlCopyOutStream.SetLength(System.Int64)"> |
3209 | <summary> | 3325 | <summary> |
3210 | Copies the bitstring to an array of bools. | 3326 | Not supported |
3211 | </summary> | 3327 | </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> | 3328 | </member> |
3215 | <member name="M:NpgsqlTypes.BitString.GetEnumerator"> | 3329 | <member name="M:Npgsql.NpgsqlCopyOutStream.Read"> |
3216 | <summary> | 3330 | <summary> |
3217 | Returns an enumerator that enumerates through the string. | 3331 | Returns a whole row of data from server without extra work. |
3332 | If standard Stream.Read(...) has been called before, it's internal buffers remains are returned. | ||
3218 | </summary> | 3333 | </summary> |
3219 | <returns>The enumerator.</returns> | ||
3220 | </member> | 3334 | </member> |
3221 | <member name="M:NpgsqlTypes.BitString.Concat(NpgsqlTypes.BitString)"> | 3335 | <member name="P:Npgsql.NpgsqlCopyOutStream.IsActive"> |
3222 | <summary> | 3336 | <summary> |
3223 | Creats a bitstring by concatenating another onto this one. | 3337 | True while this stream can be used to read copy data from server |
3224 | </summary> | 3338 | </summary> |
3225 | <param name="append">The string to append to this one.</param> | ||
3226 | <returns>The combined strings.</returns> | ||
3227 | </member> | 3339 | </member> |
3228 | <member name="M:NpgsqlTypes.BitString.Substring(System.Int32,System.Int32)"> | 3340 | <member name="P:Npgsql.NpgsqlCopyOutStream.CanRead"> |
3229 | <summary> | 3341 | <summary> |
3230 | Returns a substring of this string. | 3342 | True |
3231 | </summary> | 3343 | </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> | 3344 | </member> |
3237 | <member name="M:NpgsqlTypes.BitString.Substring(System.Int32)"> | 3345 | <member name="P:Npgsql.NpgsqlCopyOutStream.CanWrite"> |
3238 | <summary> | 3346 | <summary> |
3239 | Returns a substring of this string. | 3347 | False |
3240 | </summary> | 3348 | </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> | 3349 | </member> |
3245 | <member name="M:NpgsqlTypes.BitString.And(NpgsqlTypes.BitString)"> | 3350 | <member name="P:Npgsql.NpgsqlCopyOutStream.CanSeek"> |
3246 | <summary> | 3351 | <summary> |
3247 | A logical and between this string and another. The two strings must be the same length. | 3352 | False |
3248 | </summary> | 3353 | </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> | 3354 | </member> |
3252 | <member name="M:NpgsqlTypes.BitString.Or(NpgsqlTypes.BitString)"> | 3355 | <member name="P:Npgsql.NpgsqlCopyOutStream.Length"> |
3253 | <summary> | 3356 | <summary> |
3254 | A logical or between this string and another. The two strings must be the same length. | 3357 | Number of bytes read so far |
3255 | </summary> | 3358 | </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> | 3359 | </member> |
3259 | <member name="M:NpgsqlTypes.BitString.Xor(NpgsqlTypes.BitString)"> | 3360 | <member name="P:Npgsql.NpgsqlCopyOutStream.Position"> |
3260 | <summary> | 3361 | <summary> |
3261 | A logical xor between this string and another. The two strings must be the same length. | 3362 | Number of bytes read so far; can not be set. |
3262 | </summary> | 3363 | </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> | 3364 | </member> |
3267 | <member name="M:NpgsqlTypes.BitString.Not"> | 3365 | <member name="T:Npgsql.NpgsqlCopySerializer"> |
3268 | <summary> | 3366 | <summary> |
3269 | A bitstring that is the logical inverse of this one. | 3367 | Writes given objects into a stream for PostgreSQL COPY in default copy format (not CSV or BINARY). |
3270 | </summary> | 3368 | </summary> |
3271 | <returns>A bitstring of the same length as this with 1 where this has 0 and vice-versa.</returns> | ||
3272 | </member> | 3369 | </member> |
3273 | <member name="M:NpgsqlTypes.BitString.LShift(System.Int32)"> | 3370 | <member name="T:Npgsql.NpgsqlRowUpdatedEventHandler"> |
3274 | <summary> | 3371 | <summary> |
3275 | Shifts the string operand bits to the left, filling with zeros to produce a | 3372 | Represents the method that handles the <see cref="E:Npgsql.NpgsqlDataAdapter.RowUpdated">RowUpdated</see> events. |
3276 | string of the same length. | ||
3277 | </summary> | 3373 | </summary> |
3278 | <param name="operand">The number of bits to shift to the left.</param> | 3374 | <param name="sender">The source of the event.</param> |
3279 | <returns>A left-shifted bitstring.</returns> | 3375 | <param name="e">A <see cref="T:NpgsqlRowUpdatedEventArgs">NpgsqlRowUpdatedEventArgs</see> that contains the event data.</param> |
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> | 3376 | </member> |
3286 | <member name="M:NpgsqlTypes.BitString.RShift(System.Int32)"> | 3377 | <member name="T:Npgsql.NpgsqlRowUpdatingEventHandler"> |
3287 | <summary> | 3378 | <summary> |
3288 | Shifts the string operand bits to the right, filling with zeros to produce a | 3379 | Represents the method that handles the <see cref="E:Npgsql.NpgsqlDataAdapter.RowUpdating">RowUpdating</see> events. |
3289 | string of the same length. | ||
3290 | </summary> | 3380 | </summary> |
3291 | <param name="operand">The number of bits to shift to the right.</param> | 3381 | <param name="sender">The source of the event.</param> |
3292 | <returns>A right-shifted bitstring.</returns> | 3382 | <param name="e">A <see cref="T:NpgsqlRowUpdatingEventArgs">NpgsqlRowUpdatingEventArgs</see> that contains the event data.</param> |
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> | 3383 | </member> |
3301 | <member name="M:NpgsqlTypes.BitString.Equals(NpgsqlTypes.BitString)"> | 3384 | <member name="T:Npgsql.NpgsqlDataAdapter"> |
3302 | <summary> | 3385 | <summary> |
3303 | Returns true if the this string is identical to the argument passed. | 3386 | This class represents an adapter from many commands: select, update, insert and delete to fill <see cref="T:System.Data.DataSet">Datasets.</see> |
3304 | </summary> | 3387 | </summary> |
3305 | </member> | 3388 | </member> |
3306 | <member name="M:NpgsqlTypes.BitString.CompareTo(NpgsqlTypes.BitString)"> | 3389 | <member name="T:Npgsql.NpgsqlDataReader"> |
3307 | <summary> | 3390 | <summary> |
3308 | Compares two strings. Strings are compared as strings, so while 0 being less than 1 will | 3391 | Provides a means of reading a forward-only stream of rows from a PostgreSQL backend. This class cannot be inherited. |
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> | 3392 | </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> | 3393 | </member> |
3319 | <member name="M:NpgsqlTypes.BitString.CompareTo(System.Object)"> | 3394 | <member name="M:Npgsql.NpgsqlDataReader.GetDataTypeName(System.Int32)"> |
3320 | <summary> | 3395 | <summary> |
3321 | Compares the string with another object. | 3396 | Return the data type name of the column at index <param name="Index"></param>. |
3322 | </summary> | 3397 | </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> | 3398 | </member> |
3328 | <member name="M:NpgsqlTypes.BitString.Equals(System.Object)"> | 3399 | <member name="M:Npgsql.NpgsqlDataReader.GetFieldType(System.Int32)"> |
3329 | <summary> | 3400 | <summary> |
3330 | Compares this BitString with an object for equality. | 3401 | Return the data type of the column at index <param name="Index"></param>. |
3331 | </summary> | 3402 | </summary> |
3332 | </member> | 3403 | </member> |
3333 | <member name="M:NpgsqlTypes.BitString.GetHashCode"> | 3404 | <member name="M:Npgsql.NpgsqlDataReader.GetProviderSpecificFieldType(System.Int32)"> |
3334 | <summary> | 3405 | <summary> |
3335 | Returns a code for use in hashing operations. | 3406 | Return the Npgsql specific data type of the column at requested ordinal. |
3336 | </summary> | 3407 | </summary> |
3408 | <param name="ordinal">column position</param> | ||
3409 | <returns>Appropriate Npgsql type for column.</returns> | ||
3337 | </member> | 3410 | </member> |
3338 | <member name="M:NpgsqlTypes.BitString.ToString(System.String)"> | 3411 | <member name="M:Npgsql.NpgsqlDataReader.GetName(System.Int32)"> |
3339 | <summary> | 3412 | <summary> |
3340 | Returns a string representation of the BitString. | 3413 | Return the column name of the column at index <param name="Index"></param>. |
3341 | </summary> | 3414 | </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> | 3415 | </member> |
3375 | <member name="M:NpgsqlTypes.BitString.ToString"> | 3416 | <member name="M:Npgsql.NpgsqlDataReader.GetDataTypeOID(System.Int32)"> |
3376 | <summary> | 3417 | <summary> |
3377 | Returns a string representation for the Bitstring | 3418 | Return the data type OID of the column at index <param name="Index"></param>. |
3378 | </summary> | 3419 | </summary> |
3379 | <returns>A string containing '0' and '1' characters.</returns> | 3420 | FIXME: Why this method returns String? |
3380 | </member> | 3421 | </member> |
3381 | <member name="M:NpgsqlTypes.BitString.ToString(System.String,System.IFormatProvider)"> | 3422 | <member name="M:Npgsql.NpgsqlDataReader.GetOrdinal(System.String)"> |
3382 | <summary> | 3423 | <summary> |
3383 | Returns the same string as <see cref="M:NpgsqlTypes.BitString.ToString(System.String)"/>. formatProvider is ignored. | 3424 | Return the column name of the column named <param name="Name"></param>. |
3384 | </summary> | 3425 | </summary> |
3385 | </member> | 3426 | </member> |
3386 | <member name="M:NpgsqlTypes.BitString.Parse(System.String)"> | 3427 | <member name="M:Npgsql.NpgsqlDataReader.GetFieldDbType(System.Int32)"> |
3387 | <summary> | 3428 | <summary> |
3388 | Parses a string to produce a BitString. Most formats that can be produced by | 3429 | Return the data DbType of the column at index <param name="Index"></param>. |
3389 | <see cref="M:NpgsqlTypes.BitString.ToString(System.String)"/> can be accepted, but hexadecimal | ||
3390 | can be interpreted with the preceding X' to mark the following characters as | ||
3391 | being hexadecimal rather than binary. | ||
3392 | </summary> | 3430 | </summary> |
3393 | </member> | 3431 | </member> |
3394 | <member name="M:NpgsqlTypes.BitString.op_BitwiseAnd(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | 3432 | <member name="M:Npgsql.NpgsqlDataReader.GetFieldNpgsqlDbType(System.Int32)"> |
3395 | <summary> | 3433 | <summary> |
3396 | Performs a logical AND on the two operands. | 3434 | Return the data NpgsqlDbType of the column at index <param name="Index"></param>. |
3397 | </summary> | 3435 | </summary> |
3398 | </member> | 3436 | </member> |
3399 | <member name="M:NpgsqlTypes.BitString.op_BitwiseOr(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | 3437 | <member name="M:Npgsql.NpgsqlDataReader.GetInterval(System.Int32)"> |
3400 | <summary> | 3438 | <summary> |
3401 | Performs a logcial OR on the two operands. | 3439 | Get the value of a column as a <see cref="T:NpgsqlTypes.NpgsqlInterval"/>. |
3440 | <remarks>If the differences between <see cref="T:NpgsqlTypes.NpgsqlInterval"/> and <see cref="!:System.Timespan"/> | ||
3441 | in handling of days and months is not important to your application, use <see cref="!:GetTimeSpan()"/> | ||
3442 | instead.</remarks> | ||
3402 | </summary> | 3443 | </summary> |
3444 | <param name="i">Index of the field to find.</param> | ||
3445 | <returns><see cref="T:NpgsqlTypes.NpgsqlInterval"/> value of the field.</returns> | ||
3403 | </member> | 3446 | </member> |
3404 | <member name="M:NpgsqlTypes.BitString.op_ExclusiveOr(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | 3447 | <member name="M:Npgsql.NpgsqlDataReader.GetGuid(System.Int32)"> |
3405 | <summary> | 3448 | <summary> |
3406 | Perofrms a logical EXCLUSIVE-OR on the two operands | 3449 | Gets the value of a column converted to a Guid. |
3407 | </summary> | 3450 | </summary> |
3408 | </member> | 3451 | </member> |
3409 | <member name="M:NpgsqlTypes.BitString.op_OnesComplement(NpgsqlTypes.BitString)"> | 3452 | <member name="M:Npgsql.NpgsqlDataReader.GetInt16(System.Int32)"> |
3410 | <summary> | 3453 | <summary> |
3411 | Performs a logical NOT on the operand. | 3454 | Gets the value of a column as Int16. |
3412 | </summary> | 3455 | </summary> |
3413 | </member> | 3456 | </member> |
3414 | <member name="M:NpgsqlTypes.BitString.op_Addition(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | 3457 | <member name="M:Npgsql.NpgsqlDataReader.GetInt32(System.Int32)"> |
3415 | <summary> | 3458 | <summary> |
3416 | Concatenates the operands. | 3459 | Gets the value of a column as Int32. |
3417 | </summary> | 3460 | </summary> |
3418 | </member> | 3461 | </member> |
3419 | <member name="M:NpgsqlTypes.BitString.op_LeftShift(NpgsqlTypes.BitString,System.Int32)"> | 3462 | <member name="M:Npgsql.NpgsqlDataReader.GetInt64(System.Int32)"> |
3420 | <summary> | 3463 | <summary> |
3421 | Left-shifts the string BitString. | 3464 | Gets the value of a column as Int64. |
3422 | </summary> | 3465 | </summary> |
3423 | </member> | 3466 | </member> |
3424 | <member name="M:NpgsqlTypes.BitString.op_RightShift(NpgsqlTypes.BitString,System.Int32)"> | 3467 | <member name="M:Npgsql.NpgsqlDataReader.GetFloat(System.Int32)"> |
3425 | <summary> | 3468 | <summary> |
3426 | Right-shifts the string BitString. | 3469 | Gets the value of a column as Single. |
3427 | </summary> | 3470 | </summary> |
3428 | </member> | 3471 | </member> |
3429 | <member name="M:NpgsqlTypes.BitString.op_Equality(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | 3472 | <member name="M:Npgsql.NpgsqlDataReader.GetDouble(System.Int32)"> |
3430 | <summary> | 3473 | <summary> |
3431 | Compares the two operands. | 3474 | Gets the value of a column as Double. |
3432 | </summary> | 3475 | </summary> |
3433 | </member> | 3476 | </member> |
3434 | <member name="M:NpgsqlTypes.BitString.op_Inequality(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | 3477 | <member name="M:Npgsql.NpgsqlDataReader.GetString(System.Int32)"> |
3435 | <summary> | 3478 | <summary> |
3436 | Compares the two operands. | 3479 | Gets the value of a column as String. |
3437 | </summary> | 3480 | </summary> |
3438 | </member> | 3481 | </member> |
3439 | <member name="M:NpgsqlTypes.BitString.op_LessThan(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | 3482 | <member name="M:Npgsql.NpgsqlDataReader.GetDecimal(System.Int32)"> |
3440 | <summary> | 3483 | <summary> |
3441 | Compares the two operands. | 3484 | Gets the value of a column as Decimal. |
3442 | </summary> | 3485 | </summary> |
3443 | </member> | 3486 | </member> |
3444 | <member name="M:NpgsqlTypes.BitString.op_GreaterThan(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | 3487 | <member name="M:Npgsql.NpgsqlDataReader.GetTimeSpan(System.Int32)"> |
3445 | <summary> | 3488 | <summary> |
3446 | Compares the two operands. | 3489 | Gets the value of a column as TimeSpan. |
3447 | </summary> | 3490 | </summary> |
3448 | </member> | 3491 | </member> |
3449 | <member name="M:NpgsqlTypes.BitString.op_LessThanOrEqual(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | 3492 | <member name="M:Npgsql.NpgsqlDataReader.GetValues(System.Object[])"> |
3450 | <summary> | 3493 | <summary> |
3451 | Compares the two operands. | 3494 | Copy values from each column in the current row into <param name="Values"></param>. |
3452 | </summary> | 3495 | </summary> |
3496 | <returns>The number of column values copied.</returns> | ||
3453 | </member> | 3497 | </member> |
3454 | <member name="M:NpgsqlTypes.BitString.op_GreaterThanOrEqual(NpgsqlTypes.BitString,NpgsqlTypes.BitString)"> | 3498 | <member name="M:Npgsql.NpgsqlDataReader.GetProviderSpecificValues(System.Object[])"> |
3455 | <summary> | 3499 | <summary> |
3456 | Compares the two operands. | 3500 | Copy values from each column in the current row into <param name="Values"></param>. |
3457 | </summary> | 3501 | </summary> |
3502 | <param name="values">An array appropriately sized to store values from all columns.</param> | ||
3503 | <returns>The number of column values copied.</returns> | ||
3458 | </member> | 3504 | </member> |
3459 | <member name="M:NpgsqlTypes.BitString.ToString(System.Text.Encoding)"> | 3505 | <member name="M:Npgsql.NpgsqlDataReader.GetBoolean(System.Int32)"> |
3460 | <summary> | 3506 | <summary> |
3461 | Interprets the bitstring as a series of bits in an encoded character string, | 3507 | Gets the value of a column as Boolean. |
3462 | encoded according to the Encoding passed, and returns that string. | ||
3463 | The bitstring must contain a whole number of octets(bytes) and also be | ||
3464 | valid according to the Encoding passed. | ||
3465 | </summary> | 3508 | </summary> |
3466 | <param name="encoding">The <see cref="T:System.Text.Encoding"/> to use in producing the string.</param> | ||
3467 | <returns>The string that was encoded in the BitString.</returns> | ||
3468 | </member> | 3509 | </member> |
3469 | <member name="M:NpgsqlTypes.BitString.ToByteEnumerable"> | 3510 | <member name="M:Npgsql.NpgsqlDataReader.GetByte(System.Int32)"> |
3470 | <summary> | 3511 | <summary> |
3471 | Interprets the bitstring as a series of octets (bytes) and returns those octets. Fails | 3512 | Gets the value of a column as Byte. Not implemented. |
3472 | if the Bitstring does not contain a whole number of octets (its length is not evenly | ||
3473 | divisible by 8). | ||
3474 | </summary> | 3513 | </summary> |
3475 | </member> | 3514 | </member> |
3476 | <member name="M:NpgsqlTypes.BitString.ToSByteEnumerable"> | 3515 | <member name="M:Npgsql.NpgsqlDataReader.GetChar(System.Int32)"> |
3477 | <summary> | 3516 | <summary> |
3478 | Interprets the bitstring as a series of signed octets (bytes) and returns those octets. Fails | 3517 | Gets the value of a column as Char. |
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> | 3518 | </summary> |
3484 | </member> | 3519 | </member> |
3485 | <member name="M:NpgsqlTypes.BitString.ToUInt16Enumerable"> | 3520 | <member name="M:Npgsql.NpgsqlDataReader.GetDateTime(System.Int32)"> |
3486 | <summary> | 3521 | <summary> |
3487 | Interprets the bitstring as a series of unsigned 16-bit integers and returns those integers. | 3522 | Gets the value of a column as DateTime. |
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> | 3523 | </summary> |
3492 | </member> | 3524 | </member> |
3493 | <member name="M:NpgsqlTypes.BitString.ToInt16Enumerable"> | 3525 | <member name="M:Npgsql.NpgsqlDataReader.GetSchemaTable"> |
3494 | <summary> | 3526 | <summary> |
3495 | Interprets the bitstring as a series of 16-bit integers and returns those integers. | 3527 | Returns a System.Data.DataTable that describes the column metadata of the DataReader. |
3496 | Fails if the Bitstring's length is not evenly divisible by 16. | ||
3497 | </summary> | 3528 | </summary> |
3498 | </member> | 3529 | </member> |
3499 | <member name="M:NpgsqlTypes.BitString.ToUInt32Enumerable"> | 3530 | <member name="M:Npgsql.NpgsqlDataReader.GetTableNameFromQuery"> |
3500 | <summary> | 3531 | <summary> |
3501 | Interprets the bitstring as a series of unsigned 32-bit integers and returns those integers. | 3532 | This methods parses the command text and tries to get the tablename |
3502 | Fails if the Bitstring's length is not evenly divisible by 32. | 3533 | from it. |
3503 | <remarks>This method is not CLS-Compliant and may not be available to languages that cannot | ||
3504 | handle unsigned integers.</remarks> | ||
3505 | </summary> | 3534 | </summary> |
3506 | </member> | 3535 | </member> |
3507 | <member name="M:NpgsqlTypes.BitString.ToInt32Enumerable"> | 3536 | <member name="E:Npgsql.NpgsqlDataReader.ReaderClosed"> |
3508 | <summary> | 3537 | <summary> |
3509 | Interprets the bitstring as a series of signed 32-bit integers and returns those integers. | 3538 | Is raised whenever Close() is called. |
3510 | Fails if the Bitstring's length is not evenly divisible by 32. | ||
3511 | </summary> | 3539 | </summary> |
3512 | </member> | 3540 | </member> |
3513 | <member name="M:NpgsqlTypes.BitString.ToUInt64Enumerable"> | 3541 | <member name="P:Npgsql.NpgsqlDataReader.FieldCount"> |
3514 | <summary> | 3542 | <summary> |
3515 | Interprets the bitstring as a series of unsigned 64-bit integers and returns those integers. | 3543 | Gets the number of columns in the current row. |
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> | 3544 | </summary> |
3520 | </member> | 3545 | </member> |
3521 | <member name="M:NpgsqlTypes.BitString.ToInt64Enumerable"> | 3546 | <member name="P:Npgsql.NpgsqlDataReader.Item(System.Int32)"> |
3522 | <summary> | 3547 | <summary> |
3523 | Interprets the bitstring as a series of signed 64-bit integers and returns those integers. | 3548 | Gets the value of a column in its native format. |
3524 | Fails if the Bitstring's length is not evenly divisible by 64. | ||
3525 | </summary> | 3549 | </summary> |
3526 | </member> | 3550 | </member> |
3527 | <member name="P:NpgsqlTypes.BitString.Length"> | 3551 | <member name="P:Npgsql.NpgsqlDataReader.Item(System.String)"> |
3528 | <summary> | 3552 | <summary> |
3529 | The length of the string. | 3553 | Gets the value of a column in its native format. |
3530 | </summary> | 3554 | </summary> |
3531 | </member> | 3555 | </member> |
3532 | <member name="P:NpgsqlTypes.BitString.Item(System.Int32)"> | 3556 | <member name="P:Npgsql.NpgsqlDataReader.Depth"> |
3533 | <summary> | 3557 | <summary> |
3534 | Retrieves the value of the bit at the given index. | 3558 | Gets a value indicating the depth of nesting for the current row. Always returns zero. |
3535 | </summary> | 3559 | </summary> |
3536 | </member> | 3560 | </member> |
3537 | <member name="T:Npgsql.MD5CryptoServiceProvider"> | 3561 | <member name="P:Npgsql.NpgsqlDataReader.IsClosed"> |
3538 | <summary> | 3562 | <summary> |
3539 | C# implementation of the MD5 cryptographic hash function. | 3563 | Gets a value indicating whether the data reader is closed. |
3540 | </summary> | 3564 | </summary> |
3541 | </member> | 3565 | </member> |
3542 | <member name="M:Npgsql.MD5CryptoServiceProvider.#ctor"> | 3566 | <member name="F:Npgsql.NpgsqlDataReader.KeyLookup.primaryKey"> |
3543 | <summary> | 3567 | <summary> |
3544 | Creates a new MD5CryptoServiceProvider. | 3568 | Contains the column names as the keys |
3545 | </summary> | 3569 | </summary> |
3546 | </member> | 3570 | </member> |
3547 | <member name="M:Npgsql.MD5CryptoServiceProvider.HashCore(System.Byte[],System.Int32,System.Int32)"> | 3571 | <member name="F:Npgsql.NpgsqlDataReader.KeyLookup.uniqueColumns"> |
3548 | <summary> | 3572 | <summary> |
3549 | Drives the hashing function. | 3573 | Contains all unique columns |
3550 | </summary> | 3574 | </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> | 3575 | </member> |
3555 | <member name="M:Npgsql.MD5CryptoServiceProvider.HashFinal"> | 3576 | <member name="T:Npgsql.ForwardsOnlyDataReader"> |
3556 | <summary> | 3577 | <summary> |
3557 | This finalizes the hash. Takes the data from the chaining variables and returns it. | 3578 | This is the primary implementation of NpgsqlDataReader. It is the one used in normal cases (where the |
3579 | preload-reader option is not set in the connection string to resolve some potential backwards-compatibility | ||
3580 | issues), the only implementation used internally, and in cases where CachingDataReader is used, it is still | ||
3581 | used to do the actual "leg-work" of turning a response stream from the server into a datareader-style | ||
3582 | object - with CachingDataReader then filling it's cache from here. | ||
3558 | </summary> | 3583 | </summary> |
3559 | </member> | 3584 | </member> |
3560 | <member name="M:Npgsql.MD5CryptoServiceProvider.Initialize"> | 3585 | <member name="M:Npgsql.ForwardsOnlyDataReader.GetNextResponseObject"> |
3561 | <summary> | 3586 | <summary> |
3562 | Resets the class after use. Called automatically after hashing is done. | 3587 | Iterate through the objects returned through from the server. |
3588 | If it's a CompletedResponse the rowsaffected count is updated appropriately, | ||
3589 | and we iterate again, otherwise we return it (perhaps updating our cache of pending | ||
3590 | rows if appropriate). | ||
3563 | </summary> | 3591 | </summary> |
3592 | <returns>The next <see cref="T:Npgsql.IServerResponseObject"/> we will deal with.</returns> | ||
3564 | </member> | 3593 | </member> |
3565 | <member name="M:Npgsql.MD5CryptoServiceProvider.ProcessBlock(System.Byte[],System.Int32)"> | 3594 | <member name="M:Npgsql.ForwardsOnlyDataReader.GetNextRowDescription"> |
3566 | <summary> | 3595 | <summary> |
3567 | This is the meat of the hash function. It is what processes each block one at a time. | 3596 | Advances the data reader to the next result, when multiple result sets were returned by the PostgreSQL backend. |
3568 | </summary> | 3597 | </summary> |
3569 | <param name="inputBuffer">Byte array to process data from.</param> | 3598 | <returns>True if the reader was advanced, otherwise false.</returns> |
3570 | <param name="inputOffset">Where in the byte array to start processing.</param> | ||
3571 | </member> | 3599 | </member> |
3572 | <member name="M:Npgsql.MD5CryptoServiceProvider.ProcessFinalBlock(System.Byte[],System.Int32,System.Int32)"> | 3600 | <member name="M:Npgsql.ForwardsOnlyDataReader.Dispose(System.Boolean)"> |
3573 | <summary> | 3601 | <summary> |
3574 | Pads and then processes the final block. | 3602 | Releases the resources used by the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see>. |
3575 | </summary> | 3603 | </summary> |
3576 | <param name="inputBuffer">Buffer to grab data from.</param> | ||
3577 | <param name="inputOffset">Position in buffer in bytes to get data from.</param> | ||
3578 | <param name="inputCount">How much data in bytes in the buffer to use.</param> | ||
3579 | </member> | 3604 | </member> |
3580 | <member name="T:Npgsql.NpgsqlCopyInStream"> | 3605 | <member name="M:Npgsql.ForwardsOnlyDataReader.Close"> |
3581 | <summary> | 3606 | <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. | 3607 | Closes the data reader object. |
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> | 3608 | </summary> |
3585 | </member> | 3609 | </member> |
3586 | <member name="M:Npgsql.NpgsqlCopyInStream.#ctor(Npgsql.NpgsqlConnector)"> | 3610 | <member name="M:Npgsql.ForwardsOnlyDataReader.NextResult"> |
3587 | <summary> | 3611 | <summary> |
3588 | Created only by NpgsqlCopyInState.StartCopy() | 3612 | Advances the data reader to the next result, when multiple result sets were returned by the PostgreSQL backend. |
3589 | </summary> | 3613 | </summary> |
3614 | <returns>True if the reader was advanced, otherwise false.</returns> | ||
3590 | </member> | 3615 | </member> |
3591 | <member name="M:Npgsql.NpgsqlCopyInStream.Close"> | 3616 | <member name="M:Npgsql.ForwardsOnlyDataReader.Read"> |
3592 | <summary> | 3617 | <summary> |
3593 | Successfully completes copying data to server. Returns after operation is finished. | 3618 | Advances the data reader to the next row. |
3594 | Does nothing if this stream is not the active copy operation writer. | ||
3595 | </summary> | 3619 | </summary> |
3620 | <returns>True if the reader was advanced, otherwise false.</returns> | ||
3596 | </member> | 3621 | </member> |
3597 | <member name="M:Npgsql.NpgsqlCopyInStream.Cancel(System.String)"> | 3622 | <member name="M:Npgsql.ForwardsOnlyDataReader.GetValue(System.Int32)"> |
3598 | <summary> | 3623 | <summary> |
3599 | Withdraws an already started copy operation. The operation will fail with given error message. | 3624 | Return the value of the column at index <param name="Index"></param>. |
3600 | Does nothing if this stream is not the active copy operation writer. | ||
3601 | </summary> | 3625 | </summary> |
3602 | </member> | 3626 | </member> |
3603 | <member name="M:Npgsql.NpgsqlCopyInStream.Write(System.Byte[],System.Int32,System.Int32)"> | 3627 | <member name="M:Npgsql.ForwardsOnlyDataReader.GetBytes(System.Int32,System.Int64,System.Byte[],System.Int32,System.Int32)"> |
3604 | <summary> | 3628 | <summary> |
3605 | Writes given bytes to server. | 3629 | Gets raw data from a column. |
3606 | Fails if this stream is not the active copy operation writer. | ||
3607 | </summary> | 3630 | </summary> |
3608 | </member> | 3631 | </member> |
3609 | <member name="M:Npgsql.NpgsqlCopyInStream.Flush"> | 3632 | <member name="M:Npgsql.ForwardsOnlyDataReader.GetChars(System.Int32,System.Int64,System.Char[],System.Int32,System.Int32)"> |
3610 | <summary> | 3633 | <summary> |
3611 | Flushes stream contents to server. | 3634 | Gets raw data from a column. |
3612 | Fails if this stream is not the active copy operation writer. | ||
3613 | </summary> | 3635 | </summary> |
3614 | </member> | 3636 | </member> |
3615 | <member name="M:Npgsql.NpgsqlCopyInStream.Read(System.Byte[],System.Int32,System.Int32)"> | 3637 | <member name="M:Npgsql.ForwardsOnlyDataReader.IsDBNull(System.Int32)"> |
3616 | <summary> | 3638 | <summary> |
3617 | Not readable | 3639 | Report whether the value in a column is DBNull. |
3618 | </summary> | 3640 | </summary> |
3619 | </member> | 3641 | </member> |
3620 | <member name="M:Npgsql.NpgsqlCopyInStream.Seek(System.Int64,System.IO.SeekOrigin)"> | 3642 | <member name="P:Npgsql.ForwardsOnlyDataReader.RecordsAffected"> |
3621 | <summary> | 3643 | <summary> |
3622 | Not seekable | 3644 | Gets the number of rows changed, inserted, or deleted by execution of the SQL statement. |
3623 | </summary> | 3645 | </summary> |
3624 | </member> | 3646 | </member> |
3625 | <member name="M:Npgsql.NpgsqlCopyInStream.SetLength(System.Int64)"> | 3647 | <member name="P:Npgsql.ForwardsOnlyDataReader.HasRows"> |
3626 | <summary> | 3648 | <summary> |
3627 | Not supported | 3649 | Indicates if NpgsqlDatareader has rows to be read. |
3628 | </summary> | 3650 | </summary> |
3629 | </member> | 3651 | </member> |
3630 | <member name="P:Npgsql.NpgsqlCopyInStream.IsActive"> | 3652 | <member name="T:Npgsql.CachingDataReader"> |
3631 | <summary> | 3653 | <summary> |
3632 | True while this stream can be used to write copy data to server | 3654 | <para>Provides an implementation of NpgsqlDataReader in which all data is pre-loaded into memory. |
3655 | This operates by first creating a ForwardsOnlyDataReader as usual, and then loading all of it's | ||
3656 | Rows into memory. There is a general principle that when there is a trade-off between a class design that | ||
3657 | is more efficient and/or scalable on the one hand and one that is less efficient but has more functionality | ||
3658 | (in this case the internal-only functionality of caching results) that one can build the less efficent class | ||
3659 | from the most efficient without significant extra loss in efficiency, but not the other way around. The relationship | ||
3660 | between ForwardsOnlyDataReader and CachingDataReader is an example of this).</para> | ||
3661 | <para>Since the interface presented to the user is still forwards-only, queues are used to | ||
3662 | store this information, so that dequeueing as we go we give the garbage collector the best opportunity | ||
3663 | possible to reclaim any memory that is no longer in use.</para> | ||
3664 | <para>ForwardsOnlyDataReader being used to actually | ||
3665 | obtain the information from the server means that the "leg-work" is still only done (and need only be | ||
3666 | maintained) in one place.</para> | ||
3667 | <para>This class exists to allow for certain potential backwards-compatibility issues to be resolved | ||
3668 | with little effort on the part of affected users. It is considerably less efficient than ForwardsOnlyDataReader | ||
3669 | and hence never used internally.</para> | ||
3633 | </summary> | 3670 | </summary> |
3634 | </member> | 3671 | </member> |
3635 | <member name="P:Npgsql.NpgsqlCopyInStream.CanRead"> | 3672 | <member name="T:Npgsql.NpgsqlDescribe"> |
3673 | <summary> | ||
3674 | This class represents the Parse message sent to PostgreSQL | ||
3675 | server. | ||
3676 | </summary> | ||
3677 | |||
3678 | </member> | ||
3679 | <member name="T:Npgsql.NpgsqlNoticeEventArgs"> | ||
3636 | <summary> | 3680 | <summary> |
3637 | False | 3681 | EventArgs class to send Notice parameters, which are just NpgsqlError's in a lighter context. |
3638 | </summary> | 3682 | </summary> |
3639 | </member> | 3683 | </member> |
3640 | <member name="P:Npgsql.NpgsqlCopyInStream.CanWrite"> | 3684 | <member name="F:Npgsql.NpgsqlNoticeEventArgs.Notice"> |
3641 | <summary> | 3685 | <summary> |
3642 | True | 3686 | Notice information. |
3643 | </summary> | 3687 | </summary> |
3644 | </member> | 3688 | </member> |
3645 | <member name="P:Npgsql.NpgsqlCopyInStream.CanSeek"> | 3689 | <member name="T:Npgsql.NpgsqlError"> |
3646 | <summary> | 3690 | <summary> |
3647 | False | 3691 | This class represents the ErrorResponse and NoticeResponse |
3692 | message sent from PostgreSQL server. | ||
3648 | </summary> | 3693 | </summary> |
3649 | </member> | 3694 | </member> |
3650 | <member name="P:Npgsql.NpgsqlCopyInStream.Length"> | 3695 | <member name="M:Npgsql.NpgsqlError.ToString"> |
3651 | <summary> | 3696 | <summary> |
3652 | Number of bytes written so far | 3697 | Return a string representation of this error object. |
3653 | </summary> | 3698 | </summary> |
3654 | </member> | 3699 | </member> |
3655 | <member name="P:Npgsql.NpgsqlCopyInStream.Position"> | 3700 | <member name="P:Npgsql.NpgsqlError.Severity"> |
3656 | <summary> | 3701 | <summary> |
3657 | Number of bytes written so far; not settable | 3702 | Severity code. All versions. |
3658 | </summary> | 3703 | </summary> |
3659 | </member> | 3704 | </member> |
3660 | <member name="T:Npgsql.NpgsqlCommand"> | 3705 | <member name="P:Npgsql.NpgsqlError.Code"> |
3661 | <summary> | 3706 | <summary> |
3662 | Represents a SQL statement or function (stored procedure) to execute | 3707 | Error code. PostgreSQL 7.4 and up. |
3663 | against a PostgreSQL database. This class cannot be inherited. | ||
3664 | </summary> | 3708 | </summary> |
3665 | </member> | 3709 | </member> |
3666 | <member name="M:Npgsql.NpgsqlCommand.#ctor"> | 3710 | <member name="P:Npgsql.NpgsqlError.Message"> |
3667 | <summary> | 3711 | <summary> |
3668 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> class. | 3712 | Terse error message. All versions. |
3669 | </summary> | 3713 | </summary> |
3670 | </member> | 3714 | </member> |
3671 | <member name="M:Npgsql.NpgsqlCommand.#ctor(System.String)"> | 3715 | <member name="P:Npgsql.NpgsqlError.Detail"> |
3672 | <summary> | 3716 | <summary> |
3673 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> class with the text of the query. | 3717 | Detailed error message. PostgreSQL 7.4 and up. |
3674 | </summary> | 3718 | </summary> |
3675 | <param name="cmdText">The text of the query.</param> | ||
3676 | </member> | 3719 | </member> |
3677 | <member name="M:Npgsql.NpgsqlCommand.#ctor(System.String,Npgsql.NpgsqlConnection)"> | 3720 | <member name="P:Npgsql.NpgsqlError.Hint"> |
3678 | <summary> | 3721 | <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>. | 3722 | Suggestion to help resolve the error. PostgreSQL 7.4 and up. |
3680 | </summary> | 3723 | </summary> |
3681 | <param name="cmdText">The text of the query.</param> | ||
3682 | <param name="connection">A <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> that represents the connection to a PostgreSQL server.</param> | ||
3683 | </member> | 3724 | </member> |
3684 | <member name="M:Npgsql.NpgsqlCommand.#ctor(System.String,Npgsql.NpgsqlConnection,Npgsql.NpgsqlTransaction)"> | 3725 | <member name="P:Npgsql.NpgsqlError.Position"> |
3685 | <summary> | 3726 | <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>. | 3727 | Position (one based) within the query string where the error was encounterd. PostgreSQL 7.4 and up. |
3687 | </summary> | 3728 | </summary> |
3688 | <param name="cmdText">The text of the query.</param> | ||
3689 | <param name="connection">A <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> that represents the connection to a PostgreSQL server.</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> | 3729 | </member> |
3692 | <member name="M:Npgsql.NpgsqlCommand.#ctor(System.String,Npgsql.NpgsqlConnector)"> | 3730 | <member name="P:Npgsql.NpgsqlError.InternalPosition"> |
3693 | <summary> | 3731 | <summary> |
3694 | Used to execute internal commands. | 3732 | 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. |
3695 | </summary> | 3733 | </summary> |
3696 | </member> | 3734 | </member> |
3697 | <member name="M:Npgsql.NpgsqlCommand.Cancel"> | 3735 | <member name="P:Npgsql.NpgsqlError.InternalQuery"> |
3698 | <summary> | 3736 | <summary> |
3699 | Attempts to cancel the execution of a <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see>. | 3737 | 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. |
3700 | </summary> | 3738 | </summary> |
3701 | <remarks>This Method isn't implemented yet.</remarks> | ||
3702 | </member> | 3739 | </member> |
3703 | <member name="M:Npgsql.NpgsqlCommand.System#ICloneable#Clone"> | 3740 | <member name="P:Npgsql.NpgsqlError.Where"> |
3704 | <summary> | 3741 | <summary> |
3705 | Create a new command based on this one. | 3742 | Trace back information. PostgreSQL 7.4 and up. |
3706 | </summary> | 3743 | </summary> |
3707 | <returns>A new NpgsqlCommand object.</returns> | ||
3708 | </member> | 3744 | </member> |
3709 | <member name="M:Npgsql.NpgsqlCommand.Clone"> | 3745 | <member name="P:Npgsql.NpgsqlError.File"> |
3710 | <summary> | 3746 | <summary> |
3711 | Create a new command based on this one. | 3747 | Source file (in backend) reporting the error. PostgreSQL 7.4 and up. |
3712 | </summary> | 3748 | </summary> |
3713 | <returns>A new NpgsqlCommand object.</returns> | ||
3714 | </member> | 3749 | </member> |
3715 | <member name="M:Npgsql.NpgsqlCommand.CreateDbParameter"> | 3750 | <member name="P:Npgsql.NpgsqlError.Line"> |
3716 | <summary> | 3751 | <summary> |
3717 | Creates a new instance of an <see cref="T:System.Data.Common.DbParameter">DbParameter</see> object. | 3752 | Source file line number (in backend) reporting the error. PostgreSQL 7.4 and up. |
3718 | </summary> | 3753 | </summary> |
3719 | <returns>An <see cref="T:System.Data.Common.DbParameter">DbParameter</see> object.</returns> | ||
3720 | </member> | 3754 | </member> |
3721 | <member name="M:Npgsql.NpgsqlCommand.CreateParameter"> | 3755 | <member name="P:Npgsql.NpgsqlError.Routine"> |
3722 | <summary> | 3756 | <summary> |
3723 | Creates a new instance of a <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object. | 3757 | Source routine (in backend) reporting the error. PostgreSQL 7.4 and up. |
3724 | </summary> | 3758 | </summary> |
3725 | <returns>A <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> object.</returns> | ||
3726 | </member> | 3759 | </member> |
3727 | <member name="M:Npgsql.NpgsqlCommand.ExecuteBlind"> | 3760 | <member name="P:Npgsql.NpgsqlError.ErrorSql"> |
3728 | <summary> | 3761 | <summary> |
3729 | Slightly optimised version of ExecuteNonQuery() for internal ues in cases where the number | 3762 | String containing the sql sent which produced this error. |
3730 | of affected rows is of no interest. | ||
3731 | </summary> | 3763 | </summary> |
3732 | </member> | 3764 | </member> |
3733 | <member name="M:Npgsql.NpgsqlCommand.ExecuteNonQuery"> | 3765 | <member name="P:Npgsql.NpgsqlError.BackendProtocolVersion"> |
3734 | <summary> | 3766 | <summary> |
3735 | Executes a SQL statement against the connection and returns the number of rows affected. | 3767 | Backend protocol version in use. |
3736 | </summary> | 3768 | </summary> |
3737 | <returns>The number of rows affected if known; -1 otherwise.</returns> | ||
3738 | </member> | 3769 | </member> |
3739 | <member name="M:Npgsql.NpgsqlCommand.ExecuteDbDataReader(System.Data.CommandBehavior)"> | 3770 | <member name="T:Npgsql.LogLevel"> |
3740 | <summary> | 3771 | <summary> |
3741 | Sends the <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> to | 3772 | The level of verbosity of the NpgsqlEventLog |
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> | 3773 | </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> | 3774 | </member> |
3749 | <member name="M:Npgsql.NpgsqlCommand.ExecuteReader"> | 3775 | <member name="F:Npgsql.LogLevel.None"> |
3750 | <summary> | 3776 | <summary> |
3751 | Sends the <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> to | 3777 | Don't log at all |
3752 | the <see cref="T:Npgsql.NpgsqlConnection">Connection</see> and builds a | ||
3753 | <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see>. | ||
3754 | </summary> | 3778 | </summary> |
3755 | <returns>A <see cref="T:Npgsql.NpgsqlDataReader">NpgsqlDataReader</see> object.</returns> | ||
3756 | </member> | 3779 | </member> |
3757 | <member name="M:Npgsql.NpgsqlCommand.ExecuteReader(System.Data.CommandBehavior)"> | 3780 | <member name="F:Npgsql.LogLevel.Normal"> |
3758 | <summary> | 3781 | <summary> |
3759 | Sends the <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> to | 3782 | Only log the most common issues |
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> | 3783 | </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> | 3784 | </member> |
3768 | <member name="M:Npgsql.NpgsqlCommand.BindParameters"> | 3785 | <member name="F:Npgsql.LogLevel.Debug"> |
3769 | <summary> | 3786 | <summary> |
3770 | This method binds the parameters from parameters collection to the bind | 3787 | Log everything |
3771 | message. | 3788 | </summary> |
3789 | </member> | ||
3790 | <member name="T:Npgsql.NpgsqlEventLog"> | ||
3791 | <summary> | ||
3792 | This class handles all the Npgsql event and debug logging | ||
3793 | </summary> | ||
3794 | </member> | ||
3795 | <member name="M:Npgsql.NpgsqlEventLog.LogMsg(System.String,Npgsql.LogLevel)"> | ||
3796 | <summary> | ||
3797 | Writes a string to the Npgsql event log if msglevel is bigger then <see cref="P:Npgsql.NpgsqlEventLog.Level">NpgsqlEventLog.Level</see> | ||
3798 | </summary> | ||
3799 | <remarks> | ||
3800 | This method is obsolete and should no longer be used. | ||
3801 | It is likely to be removed in future versions of Npgsql | ||
3802 | </remarks> | ||
3803 | <param name="message">The message to write to the event log</param> | ||
3804 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
3805 | </member> | ||
3806 | <member name="M:Npgsql.NpgsqlEventLog.LogMsg(System.Resources.ResourceManager,System.String,Npgsql.LogLevel,System.Object[])"> | ||
3807 | <summary> | ||
3808 | Writes a string to the Npgsql event log if msglevel is bigger then <see cref="P:Npgsql.NpgsqlEventLog.Level">NpgsqlEventLog.Level</see> | ||
3809 | </summary> | ||
3810 | <param name="resman">The <see cref="T:System.Resources.ResourceManager">ResourceManager</see> to get the localized resources</param> | ||
3811 | <param name="ResourceString">The name of the resource that should be fetched by the <see cref="T:System.Resources.ResourceManager">ResourceManager</see></param> | ||
3812 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
3813 | <param name="Parameters">The additional parameters that shall be included into the log-message (must be compatible with the string in the resource):</param> | ||
3814 | </member> | ||
3815 | <member name="M:Npgsql.NpgsqlEventLog.LogIndexerGet(Npgsql.LogLevel,System.String,System.Object)"> | ||
3816 | <summary> | ||
3817 | Writes the default log-message for the action of calling the Get-part of an Indexer to the log file. | ||
3818 | </summary> | ||
3819 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
3820 | <param name="ClassName">The name of the class that contains the Indexer</param> | ||
3821 | <param name="IndexerParam">The parameter given to the Indexer</param> | ||
3822 | </member> | ||
3823 | <member name="M:Npgsql.NpgsqlEventLog.LogIndexerSet(Npgsql.LogLevel,System.String,System.Object,System.Object)"> | ||
3824 | <summary> | ||
3825 | Writes the default log-message for the action of calling the Set-part of an Indexer to the logfile. | ||
3826 | </summary> | ||
3827 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
3828 | <param name="ClassName">The name of the class that contains the Indexer</param> | ||
3829 | <param name="IndexerParam">The parameter given to the Indexer</param> | ||
3830 | <param name="value">The value the Indexer is set to</param> | ||
3831 | </member> | ||
3832 | <member name="M:Npgsql.NpgsqlEventLog.LogPropertyGet(Npgsql.LogLevel,System.String,System.String)"> | ||
3833 | <summary> | ||
3834 | Writes the default log-message for the action of calling the Get-part of a Property to the logfile. | ||
3835 | </summary> | ||
3836 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
3837 | <param name="ClassName">The name of the class that contains the Property</param> | ||
3838 | <param name="PropertyName">The name of the Property</param> | ||
3839 | </member> | ||
3840 | <member name="M:Npgsql.NpgsqlEventLog.LogPropertySet(Npgsql.LogLevel,System.String,System.String,System.Object)"> | ||
3841 | <summary> | ||
3842 | Writes the default log-message for the action of calling the Set-part of a Property to the logfile. | ||
3843 | </summary> | ||
3844 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
3845 | <param name="ClassName">The name of the class that contains the Property</param> | ||
3846 | <param name="PropertyName">The name of the Property</param> | ||
3847 | <param name="value">The value the Property is set to</param> | ||
3848 | </member> | ||
3849 | <member name="M:Npgsql.NpgsqlEventLog.LogMethodEnter(Npgsql.LogLevel,System.String,System.String)"> | ||
3850 | <summary> | ||
3851 | Writes the default log-message for the action of calling a Method without Arguments to the logfile. | ||
3852 | </summary> | ||
3853 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
3854 | <param name="ClassName">The name of the class that contains the Method</param> | ||
3855 | <param name="MethodName">The name of the Method</param> | ||
3856 | </member> | ||
3857 | <member name="M:Npgsql.NpgsqlEventLog.LogMethodEnter(Npgsql.LogLevel,System.String,System.String,System.Object)"> | ||
3858 | <summary> | ||
3859 | Writes the default log-message for the action of calling a Method with one Argument to the logfile. | ||
3860 | </summary> | ||
3861 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
3862 | <param name="ClassName">The name of the class that contains the Method</param> | ||
3863 | <param name="MethodName">The name of the Method</param> | ||
3864 | <param name="MethodParameter">The value of the Argument of the Method</param> | ||
3865 | </member> | ||
3866 | <member name="M:Npgsql.NpgsqlEventLog.LogMethodEnter(Npgsql.LogLevel,System.String,System.String,System.Object,System.Object)"> | ||
3867 | <summary> | ||
3868 | Writes the default log-message for the action of calling a Method with two Arguments to the logfile. | ||
3869 | </summary> | ||
3870 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
3871 | <param name="ClassName">The name of the class that contains the Method</param> | ||
3872 | <param name="MethodName">The name of the Method</param> | ||
3873 | <param name="MethodParameter1">The value of the first Argument of the Method</param> | ||
3874 | <param name="MethodParameter2">The value of the second Argument of the Method</param> | ||
3875 | </member> | ||
3876 | <member name="M:Npgsql.NpgsqlEventLog.LogMethodEnter(Npgsql.LogLevel,System.String,System.String,System.Object,System.Object,System.Object)"> | ||
3877 | <summary> | ||
3878 | Writes the default log-message for the action of calling a Method with three Arguments to the logfile. | ||
3879 | </summary> | ||
3880 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
3881 | <param name="ClassName">The name of the class that contains the Method</param> | ||
3882 | <param name="MethodName">The name of the Method</param> | ||
3883 | <param name="MethodParameter1">The value of the first Argument of the Method</param> | ||
3884 | <param name="MethodParameter2">The value of the second Argument of the Method</param> | ||
3885 | <param name="MethodParameter3">The value of the third Argument of the Method</param> | ||
3886 | </member> | ||
3887 | <member name="M:Npgsql.NpgsqlEventLog.LogMethodEnter(Npgsql.LogLevel,System.String,System.String,System.Object[])"> | ||
3888 | <summary> | ||
3889 | Writes the default log-message for the action of calling a Method with more than three Arguments to the logfile. | ||
3890 | </summary> | ||
3891 | <param name="msglevel">The minimum <see cref="T:Npgsql.LogLevel">LogLevel</see> for which this message should be logged.</param> | ||
3892 | <param name="ClassName">The name of the class that contains the Method</param> | ||
3893 | <param name="MethodName">The name of the Method</param> | ||
3894 | <param name="MethodParameters">A <see cref="T:System.Object">Object</see>-Array with zero or more Ojects that are Arguments of the Method.</param> | ||
3895 | </member> | ||
3896 | <member name="P:Npgsql.NpgsqlEventLog.Level"> | ||
3897 | <summary> | ||
3898 | Sets/Returns the level of information to log to the logfile. | ||
3772 | </summary> | 3899 | </summary> |
3900 | <value>The current <see cref="T:Npgsql.LogLevel">LogLevel</see></value> | ||
3773 | </member> | 3901 | </member> |
3774 | <member name="M:Npgsql.NpgsqlCommand.ExecuteScalar"> | 3902 | <member name="P:Npgsql.NpgsqlEventLog.LogName"> |
3775 | <summary> | 3903 | <summary> |
3776 | Executes the query, and returns the first column of the first row | 3904 | Sets/Returns the filename to use for logging. |
3777 | in the result set returned by the query. Extra columns or rows are ignored. | 3905 | </summary> |
3906 | <value>The filename of the current Log file.</value> | ||
3907 | </member> | ||
3908 | <member name="P:Npgsql.NpgsqlEventLog.EchoMessages"> | ||
3909 | <summary> | ||
3910 | Sets/Returns whether Log messages should be echoed to the console | ||
3911 | </summary> | ||
3912 | <value><b>true</b> if Log messages are echoed to the console, otherwise <b>false</b></value> | ||
3913 | </member> | ||
3914 | <member name="T:Npgsql.NpgsqlException"> | ||
3915 | <summary> | ||
3916 | The exception that is thrown when the PostgreSQL backend reports errors. | ||
3778 | </summary> | 3917 | </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> | 3918 | </member> |
3782 | <member name="M:Npgsql.NpgsqlCommand.Prepare"> | 3919 | <member name="M:Npgsql.NpgsqlException.#ctor(System.Collections.IList)"> |
3783 | <summary> | 3920 | <summary> |
3784 | Creates a prepared version of the command on a PostgreSQL server. | 3921 | Construct a backend error exception based on a list of one or more |
3922 | backend errors. The basic Exception.Message will be built from the | ||
3923 | first (usually the only) error in the list. | ||
3785 | </summary> | 3924 | </summary> |
3786 | </member> | 3925 | </member> |
3787 | <member name="M:Npgsql.NpgsqlCommand.CheckConnectionState"> | 3926 | <member name="M:Npgsql.NpgsqlException.ToString"> |
3788 | <summary> | 3927 | <summary> |
3789 | This method checks the connection state to see if the connection | 3928 | Format a .NET style exception string. |
3790 | is set or it is open. If one of this conditions is not met, throws | 3929 | Include all errors in the list, including any hints. |
3791 | an InvalidOperationException | ||
3792 | </summary> | 3930 | </summary> |
3793 | </member> | 3931 | </member> |
3794 | <member name="M:Npgsql.NpgsqlCommand.GetCommandText"> | 3932 | <member name="M:Npgsql.NpgsqlException.AppendString(System.IO.StringWriter,System.String,System.String)"> |
3795 | <summary> | 3933 | <summary> |
3796 | This method substitutes the <see cref="P:Npgsql.NpgsqlCommand.Parameters">Parameters</see>, if exist, in the command | 3934 | Append a line to the given Stream, first checking for zero-length. |
3797 | to their actual values. | ||
3798 | The parameter name format is <b>:ParameterName</b>. | ||
3799 | </summary> | 3935 | </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> | ||
3801 | </member> | 3936 | </member> |
3802 | <member name="P:Npgsql.NpgsqlCommand.CommandText"> | 3937 | <member name="P:Npgsql.NpgsqlException.Item(System.Int32)"> |
3803 | <summary> | 3938 | <summary> |
3804 | Gets or sets the SQL statement or function (stored procedure) to execute at the data source. | 3939 | Provide access to the entire list of errors provided by the PostgreSQL backend. |
3805 | </summary> | 3940 | </summary> |
3806 | <value>The Transact-SQL statement or stored procedure to execute. The default is an empty string.</value> | ||
3807 | </member> | 3941 | </member> |
3808 | <member name="P:Npgsql.NpgsqlCommand.CommandTimeout"> | 3942 | <member name="P:Npgsql.NpgsqlException.Severity"> |
3809 | <summary> | 3943 | <summary> |
3810 | Gets or sets the wait time before terminating the attempt | 3944 | Severity code. All versions. |
3811 | to execute a command and generating an error. | ||
3812 | </summary> | 3945 | </summary> |
3813 | <value>The time (in seconds) to wait for the command to execute. | ||
3814 | The default is 20 seconds.</value> | ||
3815 | </member> | 3946 | </member> |
3816 | <member name="P:Npgsql.NpgsqlCommand.CommandType"> | 3947 | <member name="P:Npgsql.NpgsqlException.Code"> |
3817 | <summary> | 3948 | <summary> |
3818 | Gets or sets a value indicating how the | 3949 | Error code. PostgreSQL 7.4 and up. |
3819 | <see cref="P:Npgsql.NpgsqlCommand.CommandText">CommandText</see> property is to be interpreted. | ||
3820 | </summary> | 3950 | </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> | ||
3822 | </member> | 3951 | </member> |
3823 | <member name="P:Npgsql.NpgsqlCommand.Connection"> | 3952 | <member name="P:Npgsql.NpgsqlException.BaseMessage"> |
3824 | <summary> | 3953 | <summary> |
3825 | Gets or sets the <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> | 3954 | Basic error message. All versions. |
3826 | used by this instance of the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see>. | ||
3827 | </summary> | 3955 | </summary> |
3828 | <value>The connection to a data source. The default value is a null reference.</value> | ||
3829 | </member> | 3956 | </member> |
3830 | <member name="P:Npgsql.NpgsqlCommand.Parameters"> | 3957 | <member name="P:Npgsql.NpgsqlException.Detail"> |
3831 | <summary> | 3958 | <summary> |
3832 | Gets the <see cref="T:Npgsql.NpgsqlParameterCollection">NpgsqlParameterCollection</see>. | 3959 | Detailed error message. PostgreSQL 7.4 and up. |
3833 | </summary> | 3960 | </summary> |
3834 | <value>The parameters of the SQL statement or function (stored procedure). The default is an empty collection.</value> | ||
3835 | </member> | 3961 | </member> |
3836 | <member name="P:Npgsql.NpgsqlCommand.Transaction"> | 3962 | <member name="P:Npgsql.NpgsqlException.Hint"> |
3837 | <summary> | 3963 | <summary> |
3838 | Gets or sets the <see cref="T:Npgsql.NpgsqlTransaction">NpgsqlTransaction</see> | 3964 | Suggestion to help resolve the error. PostgreSQL 7.4 and up. |
3839 | within which the <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> executes. | ||
3840 | </summary> | 3965 | </summary> |
3841 | <value>The <see cref="T:Npgsql.NpgsqlTransaction">NpgsqlTransaction</see>. | ||
3842 | The default value is a null reference.</value> | ||
3843 | </member> | 3966 | </member> |
3844 | <member name="P:Npgsql.NpgsqlCommand.UpdatedRowSource"> | 3967 | <member name="P:Npgsql.NpgsqlException.Position"> |
3845 | <summary> | 3968 | <summary> |
3846 | Gets or sets how command results are applied to the <see cref="T:System.Data.DataRow">DataRow</see> | 3969 | Position (one based) within the query string where the error was encounterd. PostgreSQL 7.4 and up. |
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> | 3970 | </summary> |
3850 | <value>One of the <see cref="T:System.Data.UpdateRowSource">UpdateRowSource</see> values.</value> | ||
3851 | </member> | 3971 | </member> |
3852 | <member name="P:Npgsql.NpgsqlCommand.LastInsertedOID"> | 3972 | <member name="P:Npgsql.NpgsqlException.Where"> |
3853 | <summary> | 3973 | <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. | 3974 | Trace back information. PostgreSQL 7.4 and up. |
3975 | </summary> | ||
3976 | </member> | ||
3977 | <member name="P:Npgsql.NpgsqlException.File"> | ||
3978 | <summary> | ||
3979 | Source file (in backend) reporting the error. PostgreSQL 7.4 and up. | ||
3980 | </summary> | ||
3981 | </member> | ||
3982 | <member name="P:Npgsql.NpgsqlException.Line"> | ||
3983 | <summary> | ||
3984 | Source file line number (in backend) reporting the error. PostgreSQL 7.4 and up. | ||
3985 | </summary> | ||
3986 | </member> | ||
3987 | <member name="P:Npgsql.NpgsqlException.Routine"> | ||
3988 | <summary> | ||
3989 | Source routine (in backend) reporting the error. PostgreSQL 7.4 and up. | ||
3990 | </summary> | ||
3991 | </member> | ||
3992 | <member name="P:Npgsql.NpgsqlException.ErrorSql"> | ||
3993 | <summary> | ||
3994 | String containing the sql sent which produced this error. | ||
3995 | </summary> | ||
3996 | </member> | ||
3997 | <member name="P:Npgsql.NpgsqlException.Errors"> | ||
3998 | <summary> | ||
3999 | Returns the entire list of errors provided by the PostgreSQL backend. | ||
4000 | </summary> | ||
4001 | </member> | ||
4002 | <member name="T:Npgsql.NpgsqlExecute"> | ||
4003 | <summary> | ||
4004 | This class represents the Parse message sent to PostgreSQL | ||
4005 | server. | ||
4006 | </summary> | ||
4007 | |||
4008 | </member> | ||
4009 | <member name="T:Npgsql.NpgsqlFactory"> | ||
4010 | <summary> | ||
4011 | A factory to create instances of various Npgsql objects. | ||
4012 | </summary> | ||
4013 | </member> | ||
4014 | <member name="M:Npgsql.NpgsqlFactory.CreateCommand"> | ||
4015 | <summary> | ||
4016 | Creates an NpgsqlCommand object. | ||
4017 | </summary> | ||
4018 | </member> | ||
4019 | <member name="T:Npgsql.NpgsqlFlush"> | ||
4020 | <summary> | ||
4021 | This class represents the Parse message sent to PostgreSQL | ||
4022 | server. | ||
4023 | </summary> | ||
4024 | |||
4025 | </member> | ||
4026 | <member name="T:Npgsql.NpgsqlMediator"> | ||
4027 | <summary> | ||
4028 | This class is responsible for serving as bridge between the backend | ||
4029 | protocol handling and the core classes. It is used as the mediator for | ||
4030 | exchanging data generated/sent from/to backend. | ||
4031 | </summary> | ||
4032 | |||
4033 | </member> | ||
4034 | <member name="T:Npgsql.NpgsqlNotificationEventArgs"> | ||
4035 | <summary> | ||
4036 | EventArgs class to send Notification parameters. | ||
4037 | </summary> | ||
4038 | </member> | ||
4039 | <member name="F:Npgsql.NpgsqlNotificationEventArgs.PID"> | ||
4040 | <summary> | ||
4041 | Process ID of the PostgreSQL backend that sent this notification. | ||
3855 | </summary> | 4042 | </summary> |
3856 | </member> | 4043 | </member> |
4044 | <member name="F:Npgsql.NpgsqlNotificationEventArgs.Condition"> | ||
4045 | <summary> | ||
4046 | Condition that triggered that notification. | ||
4047 | </summary> | ||
4048 | </member> | ||
4049 | <member name="F:Npgsql.NpgsqlNotificationEventArgs.AdditionalInformation"> | ||
4050 | <summary> | ||
4051 | Additional Information From Notifiying Process (for future use, currently postgres always sets this to an empty string) | ||
4052 | </summary> | ||
4053 | </member> | ||
4054 | <member name="T:Npgsql.NpgsqlParameter"> | ||
4055 | <summary> | ||
4056 | This class represents a parameter to a command that will be sent to server | ||
4057 | </summary> | ||
4058 | </member> | ||
4059 | <member name="M:Npgsql.NpgsqlParameter.#ctor"> | ||
4060 | <summary> | ||
4061 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> class. | ||
4062 | </summary> | ||
4063 | </member> | ||
4064 | <member name="M:Npgsql.NpgsqlParameter.#ctor(System.String,System.Object)"> | ||
4065 | <summary> | ||
4066 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> | ||
4067 | class with the parameter m_Name and a value of the new <b>NpgsqlParameter</b>. | ||
4068 | </summary> | ||
4069 | <param m_Name="parameterName">The m_Name of the parameter to map.</param> | ||
4070 | <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> | ||
4071 | <remarks> | ||
4072 | <p>When you specify an <see cref="T:System.Object">Object</see> | ||
4073 | in the value parameter, the <see cref="T:System.Data.DbType">DbType</see> is | ||
4074 | inferred from the .NET Framework type of the <b>Object</b>.</p> | ||
4075 | <p>When using this constructor, you must be aware of a possible misuse of the constructor which takes a DbType parameter. | ||
4076 | This happens when calling this constructor passing an int 0 and the compiler thinks you are passing a value of DbType. | ||
4077 | Use <code> Convert.ToInt32(value) </code> for example to have compiler calling the correct constructor.</p> | ||
4078 | </remarks> | ||
4079 | </member> | ||
4080 | <member name="M:Npgsql.NpgsqlParameter.#ctor(System.String,NpgsqlTypes.NpgsqlDbType)"> | ||
4081 | <summary> | ||
4082 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> | ||
4083 | class with the parameter m_Name and the data type. | ||
4084 | </summary> | ||
4085 | <param m_Name="parameterName">The m_Name of the parameter to map.</param> | ||
4086 | <param m_Name="parameterType">One of the <see cref="T:System.Data.DbType">DbType</see> values.</param> | ||
4087 | </member> | ||
4088 | <member name="M:Npgsql.NpgsqlParameter.#ctor(System.String,NpgsqlTypes.NpgsqlDbType,System.Int32)"> | ||
4089 | <summary> | ||
4090 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> | ||
4091 | class with the parameter m_Name, the <see cref="T:System.Data.DbType">DbType</see>, and the size. | ||
4092 | </summary> | ||
4093 | <param m_Name="parameterName">The m_Name of the parameter to map.</param> | ||
4094 | <param m_Name="parameterType">One of the <see cref="T:System.Data.DbType">DbType</see> values.</param> | ||
4095 | <param m_Name="size">The length of the parameter.</param> | ||
4096 | </member> | ||
4097 | <member name="M:Npgsql.NpgsqlParameter.#ctor(System.String,NpgsqlTypes.NpgsqlDbType,System.Int32,System.String)"> | ||
4098 | <summary> | ||
4099 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> | ||
4100 | class with the parameter m_Name, the <see cref="T:System.Data.DbType">DbType</see>, the size, | ||
4101 | and the source column m_Name. | ||
4102 | </summary> | ||
4103 | <param m_Name="parameterName">The m_Name of the parameter to map.</param> | ||
4104 | <param m_Name="parameterType">One of the <see cref="T:System.Data.DbType">DbType</see> values.</param> | ||
4105 | <param m_Name="size">The length of the parameter.</param> | ||
4106 | <param m_Name="sourceColumn">The m_Name of the source column.</param> | ||
4107 | </member> | ||
4108 | <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)"> | ||
4109 | <summary> | ||
4110 | Initializes a new instance of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> | ||
4111 | class with the parameter m_Name, the <see cref="T:System.Data.DbType">DbType</see>, the size, | ||
4112 | the source column m_Name, a <see cref="T:System.Data.ParameterDirection">ParameterDirection</see>, | ||
4113 | the precision of the parameter, the scale of the parameter, a | ||
4114 | <see cref="T:System.Data.DataRowVersion">DataRowVersion</see> to use, and the | ||
4115 | value of the parameter. | ||
4116 | </summary> | ||
4117 | <param m_Name="parameterName">The m_Name of the parameter to map.</param> | ||
4118 | <param m_Name="parameterType">One of the <see cref="T:System.Data.DbType">DbType</see> values.</param> | ||
4119 | <param m_Name="size">The length of the parameter.</param> | ||
4120 | <param m_Name="sourceColumn">The m_Name of the source column.</param> | ||
4121 | <param m_Name="direction">One of the <see cref="T:System.Data.ParameterDirection">ParameterDirection</see> values.</param> | ||
4122 | <param m_Name="isNullable"><b>true</b> if the value of the field can be null, otherwise <b>false</b>.</param> | ||
4123 | <param m_Name="precision">The total number of digits to the left and right of the decimal point to which | ||
4124 | <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see> is resolved.</param> | ||
4125 | <param m_Name="scale">The total number of decimal places to which | ||
4126 | <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see> is resolved.</param> | ||
4127 | <param m_Name="sourceVersion">One of the <see cref="T:System.Data.DataRowVersion">DataRowVersion</see> values.</param> | ||
4128 | <param m_Name="value">An <see cref="T:System.Object">Object</see> that is the value | ||
4129 | of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see>.</param> | ||
4130 | </member> | ||
4131 | <member name="M:Npgsql.NpgsqlParameter.Clone"> | ||
4132 | <summary> | ||
4133 | Creates a new <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> that | ||
4134 | is a copy of the current instance. | ||
4135 | </summary> | ||
4136 | <returns>A new <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> that is a copy of this instance.</returns> | ||
4137 | </member> | ||
4138 | <member name="P:Npgsql.NpgsqlParameter.Precision"> | ||
4139 | <summary> | ||
4140 | Gets or sets the maximum number of digits used to represent the | ||
4141 | <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see> property. | ||
4142 | </summary> | ||
4143 | <value>The maximum number of digits used to represent the | ||
4144 | <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see> property. | ||
4145 | The default value is 0, which indicates that the data provider | ||
4146 | sets the precision for <b>Value</b>.</value> | ||
4147 | </member> | ||
4148 | <member name="P:Npgsql.NpgsqlParameter.Scale"> | ||
4149 | <summary> | ||
4150 | Gets or sets the number of decimal places to which | ||
4151 | <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see> is resolved. | ||
4152 | </summary> | ||
4153 | <value>The number of decimal places to which | ||
4154 | <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see> is resolved. The default is 0.</value> | ||
4155 | </member> | ||
4156 | <member name="P:Npgsql.NpgsqlParameter.Size"> | ||
4157 | <summary> | ||
4158 | Gets or sets the maximum size, in bytes, of the data within the column. | ||
4159 | </summary> | ||
4160 | <value>The maximum size, in bytes, of the data within the column. | ||
4161 | The default value is inferred from the parameter value.</value> | ||
4162 | </member> | ||
4163 | <member name="P:Npgsql.NpgsqlParameter.DbType"> | ||
4164 | <summary> | ||
4165 | Gets or sets the <see cref="T:System.Data.DbType">DbType</see> of the parameter. | ||
4166 | </summary> | ||
4167 | <value>One of the <see cref="T:System.Data.DbType">DbType</see> values. The default is <b>String</b>.</value> | ||
4168 | </member> | ||
4169 | <member name="P:Npgsql.NpgsqlParameter.NpgsqlDbType"> | ||
4170 | <summary> | ||
4171 | Gets or sets the <see cref="T:System.Data.DbType">DbType</see> of the parameter. | ||
4172 | </summary> | ||
4173 | <value>One of the <see cref="T:System.Data.DbType">DbType</see> values. The default is <b>String</b>.</value> | ||
4174 | </member> | ||
4175 | <member name="P:Npgsql.NpgsqlParameter.Direction"> | ||
4176 | <summary> | ||
4177 | Gets or sets a value indicating whether the parameter is input-only, | ||
4178 | output-only, bidirectional, or a stored procedure return value parameter. | ||
4179 | </summary> | ||
4180 | <value>One of the <see cref="T:System.Data.ParameterDirection">ParameterDirection</see> | ||
4181 | values. The default is <b>Input</b>.</value> | ||
4182 | </member> | ||
4183 | <member name="P:Npgsql.NpgsqlParameter.IsNullable"> | ||
4184 | <summary> | ||
4185 | Gets or sets a value indicating whether the parameter accepts null values. | ||
4186 | </summary> | ||
4187 | <value><b>true</b> if null values are accepted; otherwise, <b>false</b>. The default is <b>false</b>.</value> | ||
4188 | </member> | ||
4189 | <member name="P:Npgsql.NpgsqlParameter.ParameterName"> | ||
4190 | <summary> | ||
4191 | Gets or sets the m_Name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see>. | ||
4192 | </summary> | ||
4193 | <value>The m_Name of the <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see>. | ||
4194 | The default is an empty string.</value> | ||
4195 | </member> | ||
4196 | <member name="P:Npgsql.NpgsqlParameter.CleanName"> | ||
4197 | <summary> | ||
4198 | The m_Name scrubbed of any optional marker | ||
4199 | </summary> | ||
4200 | </member> | ||
4201 | <member name="P:Npgsql.NpgsqlParameter.SourceColumn"> | ||
4202 | <summary> | ||
4203 | Gets or sets the m_Name of the source column that is mapped to the | ||
4204 | <see cref="T:System.Data.DataSet">DataSet</see> and used for loading or | ||
4205 | returning the <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see>. | ||
4206 | </summary> | ||
4207 | <value>The m_Name of the source column that is mapped to the | ||
4208 | <see cref="T:System.Data.DataSet">DataSet</see>. The default is an empty string.</value> | ||
4209 | </member> | ||
4210 | <member name="P:Npgsql.NpgsqlParameter.SourceVersion"> | ||
4211 | <summary> | ||
4212 | Gets or sets the <see cref="T:System.Data.DataRowVersion">DataRowVersion</see> | ||
4213 | to use when loading <see cref="P:Npgsql.NpgsqlParameter.Value">Value</see>. | ||
4214 | </summary> | ||
4215 | <value>One of the <see cref="T:System.Data.DataRowVersion">DataRowVersion</see> values. | ||
4216 | The default is <b>Current</b>.</value> | ||
4217 | </member> | ||
4218 | <member name="P:Npgsql.NpgsqlParameter.Value"> | ||
4219 | <summary> | ||
4220 | Gets or sets the value of the parameter. | ||
4221 | </summary> | ||
4222 | <value>An <see cref="T:System.Object">Object</see> that is the value of the parameter. | ||
4223 | The default value is null.</value> | ||
4224 | </member> | ||
4225 | <member name="P:Npgsql.NpgsqlParameter.NpgsqlValue"> | ||
4226 | <summary> | ||
4227 | Gets or sets the value of the parameter. | ||
4228 | </summary> | ||
4229 | <value>An <see cref="T:System.Object">Object</see> that is the value of the parameter. | ||
4230 | The default value is null.</value> | ||
4231 | </member> | ||
3857 | <member name="T:Npgsql.NpgsqlParameterCollection"> | 4232 | <member name="T:Npgsql.NpgsqlParameterCollection"> |
3858 | <summary> | 4233 | <summary> |
3859 | Represents a collection of parameters relevant to a <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> | 4234 | Represents a collection of parameters relevant to a <see cref="T:Npgsql.NpgsqlCommand">NpgsqlCommand</see> |
@@ -4031,89 +4406,299 @@ | |||
4031 | </summary> | 4406 | </summary> |
4032 | <value>The number of <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> objects in the collection.</value> | 4407 | <value>The number of <see cref="T:Npgsql.NpgsqlParameter">NpgsqlParameter</see> objects in the collection.</value> |
4033 | </member> | 4408 | </member> |
4034 | <member name="T:Npgsql.NpgsqlCopyInState"> | 4409 | <member name="T:Npgsql.NpgsqlParameterStatus"> |
4410 | <summary> | ||
4411 | This class represents the ParameterStatus message sent from PostgreSQL | ||
4412 | server. | ||
4413 | </summary> | ||
4414 | |||
4415 | </member> | ||
4416 | <member name="T:Npgsql.NpgsqlParse"> | ||
4417 | <summary> | ||
4418 | This class represents the Parse message sent to PostgreSQL | ||
4419 | server. | ||
4420 | </summary> | ||
4421 | |||
4422 | </member> | ||
4423 | <member name="T:Npgsql.NpgsqlPasswordPacket"> | ||
4035 | <summary> | 4424 | <summary> |
4036 | Represents an ongoing COPY FROM STDIN operation. | 4425 | This class represents a PasswordPacket message sent to backend |
4037 | Provides methods to push data to server and end or cancel the operation. | 4426 | PostgreSQL. |
4038 | </summary> | 4427 | </summary> |
4039 | </member> | 4428 | </member> |
4040 | <member name="M:Npgsql.NpgsqlCopyInState.StartCopy(Npgsql.NpgsqlConnector,Npgsql.NpgsqlCopyFormat)"> | 4429 | <member name="M:Npgsql.NpgsqlPromotableSinglePhaseNotification.Prepare"> |
4041 | <summary> | 4430 | <summary> |
4042 | Called from NpgsqlState.ProcessBackendResponses upon CopyInResponse. | 4431 | Used when a connection is closed |
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> | 4432 | </summary> |
4046 | </member> | 4433 | </member> |
4047 | <member name="M:Npgsql.NpgsqlCopyInState.SendCopyData(Npgsql.NpgsqlConnector,System.Byte[],System.Int32,System.Int32)"> | 4434 | <member name="T:Npgsql.NpgsqlQuery"> |
4048 | <summary> | 4435 | <summary> |
4049 | Sends given packet to server as a CopyData message. | 4436 | Summary description for NpgsqlQuery |
4050 | Does not check for notifications! Use another thread for that. | ||
4051 | </summary> | 4437 | </summary> |
4052 | </member> | 4438 | </member> |
4053 | <member name="M:Npgsql.NpgsqlCopyInState.SendCopyDone(Npgsql.NpgsqlConnector)"> | 4439 | <member name="T:Npgsql.NpgsqlRow"> |
4054 | <summary> | 4440 | <summary> |
4055 | Sends CopyDone message to server. Handles responses, ie. may throw an exception. | 4441 | This is the abstract base class for NpgsqlAsciiRow and NpgsqlBinaryRow. |
4056 | </summary> | 4442 | </summary> |
4057 | </member> | 4443 | </member> |
4058 | <member name="M:Npgsql.NpgsqlCopyInState.SendCopyFail(Npgsql.NpgsqlConnector,System.String)"> | 4444 | <member name="T:Npgsql.NpgsqlRowDescription"> |
4445 | <summary> | ||
4446 | This class represents a RowDescription message sent from | ||
4447 | the PostgreSQL. | ||
4448 | </summary> | ||
4449 | |||
4450 | </member> | ||
4451 | <member name="T:Npgsql.NpgsqlRowDescription.FieldData"> | ||
4059 | <summary> | 4452 | <summary> |
4060 | Sends CopyFail message to server. Handles responses, ie. should always throw an exception: | 4453 | This struct represents the internal data of the RowDescription message. |
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> | 4454 | </summary> |
4065 | </member> | 4455 | </member> |
4066 | <member name="P:Npgsql.NpgsqlCopyInState.CopyFormat"> | 4456 | <member name="T:Npgsql.NpgsqlSchema"> |
4067 | <summary> | 4457 | <summary> |
4068 | Copy format information returned from server. | 4458 | Provides the underlying mechanism for reading schema information. |
4069 | </summary> | 4459 | </summary> |
4070 | </member> | 4460 | </member> |
4071 | <member name="T:NpgsqlTypes.NpgsqlPoint"> | 4461 | <member name="M:Npgsql.NpgsqlSchema.#ctor(Npgsql.NpgsqlConnection)"> |
4072 | <summary> | 4462 | <summary> |
4073 | Represents a PostgreSQL Point type | 4463 | Creates an NpgsqlSchema that can read schema information from the database. |
4074 | </summary> | 4464 | </summary> |
4465 | <param name="connection">An open database connection for reading metadata.</param> | ||
4075 | </member> | 4466 | </member> |
4076 | <member name="T:NpgsqlTypes.NpgsqlLSeg"> | 4467 | <member name="M:Npgsql.NpgsqlSchema.GetMetaDataCollections"> |
4077 | <summary> | 4468 | <summary> |
4078 | Represents a PostgreSQL Line Segment type. | 4469 | Returns the MetaDataCollections that lists all possible collections. |
4079 | </summary> | 4470 | </summary> |
4471 | <returns>The MetaDataCollections</returns> | ||
4080 | </member> | 4472 | </member> |
4081 | <member name="T:NpgsqlTypes.NpgsqlPath"> | 4473 | <member name="M:Npgsql.NpgsqlSchema.GetRestrictions"> |
4082 | <summary> | 4474 | <summary> |
4083 | Represents a PostgreSQL Path type. | 4475 | Returns the Restrictions that contains the meaning and position of the values in the restrictions array. |
4084 | </summary> | 4476 | </summary> |
4477 | <returns>The Restrictions</returns> | ||
4085 | </member> | 4478 | </member> |
4086 | <member name="T:NpgsqlTypes.NpgsqlPolygon"> | 4479 | <member name="M:Npgsql.NpgsqlSchema.GetDatabases(System.String[])"> |
4087 | <summary> | 4480 | <summary> |
4088 | Represents a PostgreSQL Polygon type. | 4481 | Returns the Databases that contains a list of all accessable databases. |
4089 | </summary> | 4482 | </summary> |
4483 | <param name="restrictions">The restrictions to filter the collection.</param> | ||
4484 | <returns>The Databases</returns> | ||
4090 | </member> | 4485 | </member> |
4091 | <member name="T:NpgsqlTypes.NpgsqlCircle"> | 4486 | <member name="M:Npgsql.NpgsqlSchema.GetTables(System.String[])"> |
4092 | <summary> | 4487 | <summary> |
4093 | Represents a PostgreSQL Circle type. | 4488 | Returns the Tables that contains table and view names and the database and schema they come from. |
4094 | </summary> | 4489 | </summary> |
4490 | <param name="restrictions">The restrictions to filter the collection.</param> | ||
4491 | <returns>The Tables</returns> | ||
4095 | </member> | 4492 | </member> |
4096 | <member name="T:NpgsqlTypes.NpgsqlInet"> | 4493 | <member name="M:Npgsql.NpgsqlSchema.GetColumns(System.String[])"> |
4097 | <summary> | 4494 | <summary> |
4098 | Represents a PostgreSQL inet type. | 4495 | Returns the Columns that contains information about columns in tables. |
4099 | </summary> | 4496 | </summary> |
4497 | <param name="restrictions">The restrictions to filter the collection.</param> | ||
4498 | <returns>The Columns.</returns> | ||
4100 | </member> | 4499 | </member> |
4101 | <member name="T:NpgsqlTypes.NpgsqlMacAddress"> | 4500 | <member name="M:Npgsql.NpgsqlSchema.GetViews(System.String[])"> |
4102 | <summary> | 4501 | <summary> |
4103 | Represents a PostgreSQL MacAddress type. | 4502 | Returns the Views that contains view names and the database and schema they come from. |
4104 | </summary> | 4503 | </summary> |
4504 | <param name="restrictions">The restrictions to filter the collection.</param> | ||
4505 | <returns>The Views</returns> | ||
4105 | </member> | 4506 | </member> |
4106 | <member name="M:NpgsqlTypes.NpgsqlMacAddress.#ctor(System.String)"> | 4507 | <member name="M:Npgsql.NpgsqlSchema.GetUsers(System.String[])"> |
4107 | <summary> | 4508 | <summary> |
4509 | Returns the Users containing user names and the sysid of those users. | ||
4510 | </summary> | ||
4511 | <param name="restrictions">The restrictions to filter the collection.</param> | ||
4512 | <returns>The Users.</returns> | ||
4513 | </member> | ||
4514 | <member name="T:Npgsql.NpgsqlStartupPacket"> | ||
4515 | <summary> | ||
4516 | This class represents a StartupPacket message of PostgreSQL | ||
4517 | protocol. | ||
4518 | </summary> | ||
4108 | 4519 | ||
4520 | </member> | ||
4521 | <member name="T:Npgsql.CompletedResponse"> | ||
4522 | <summary> | ||
4523 | Represents a completed response message. | ||
4109 | </summary> | 4524 | </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> | 4525 | </member> |
4113 | <member name="T:Npgsql.NpgsqlPasswordPacket"> | 4526 | <member name="T:Npgsql.NpgsqlSync"> |
4527 | <summary> | ||
4528 | This class represents the Parse message sent to PostgreSQL | ||
4529 | server. | ||
4530 | </summary> | ||
4531 | |||
4532 | </member> | ||
4533 | <member name="T:Npgsql.NpgsqlTransaction"> | ||
4114 | <summary> | 4534 | <summary> |
4115 | This class represents a PasswordPacket message sent to backend | 4535 | Represents a transaction to be made in a PostgreSQL database. This class cannot be inherited. |
4116 | PostgreSQL. | 4536 | </summary> |
4537 | </member> | ||
4538 | <member name="M:Npgsql.NpgsqlTransaction.Commit"> | ||
4539 | <summary> | ||
4540 | Commits the database transaction. | ||
4541 | </summary> | ||
4542 | </member> | ||
4543 | <member name="M:Npgsql.NpgsqlTransaction.Rollback"> | ||
4544 | <summary> | ||
4545 | Rolls back a transaction from a pending state. | ||
4546 | </summary> | ||
4547 | </member> | ||
4548 | <member name="M:Npgsql.NpgsqlTransaction.Rollback(System.String)"> | ||
4549 | <summary> | ||
4550 | Rolls back a transaction from a pending savepoint state. | ||
4551 | </summary> | ||
4552 | </member> | ||
4553 | <member name="M:Npgsql.NpgsqlTransaction.Save(System.String)"> | ||
4554 | <summary> | ||
4555 | Creates a transaction save point. | ||
4556 | </summary> | ||
4557 | </member> | ||
4558 | <member name="M:Npgsql.NpgsqlTransaction.Cancel"> | ||
4559 | <summary> | ||
4560 | Cancel the transaction without telling the backend about it. This is | ||
4561 | used to make the transaction go away when closing a connection. | ||
4562 | </summary> | ||
4563 | </member> | ||
4564 | <member name="P:Npgsql.NpgsqlTransaction.Connection"> | ||
4565 | <summary> | ||
4566 | Gets the <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> | ||
4567 | object associated with the transaction, or a null reference if the | ||
4568 | transaction is no longer valid. | ||
4569 | </summary> | ||
4570 | <value>The <see cref="T:Npgsql.NpgsqlConnection">NpgsqlConnection</see> | ||
4571 | object associated with the transaction.</value> | ||
4572 | </member> | ||
4573 | <member name="P:Npgsql.NpgsqlTransaction.IsolationLevel"> | ||
4574 | <summary> | ||
4575 | Specifies the <see cref="T:System.Data.IsolationLevel">IsolationLevel</see> for this transaction. | ||
4576 | </summary> | ||
4577 | <value>The <see cref="T:System.Data.IsolationLevel">IsolationLevel</see> for this transaction. | ||
4578 | The default is <b>ReadCommitted</b>.</value> | ||
4579 | </member> | ||
4580 | <member name="T:Npgsql.PGUtil"> | ||
4581 | <summary> | ||
4582 | This class provides many util methods to handle | ||
4583 | reading and writing of PostgreSQL protocol messages. | ||
4584 | </summary> | ||
4585 | </member> | ||
4586 | <member name="M:Npgsql.PGUtil.ConvertProtocolVersion(Npgsql.ProtocolVersion)"> | ||
4587 | <summary> | ||
4588 | This method takes a ProtocolVersion and returns an integer | ||
4589 | version number that the Postgres backend will recognize in a | ||
4590 | startup packet. | ||
4591 | </summary> | ||
4592 | </member> | ||
4593 | <member name="M:Npgsql.PGUtil.ExtractServerVersion(System.String)"> | ||
4594 | <summary> | ||
4595 | This method takes a version string as returned by SELECT VERSION() and returns | ||
4596 | a valid version string ("7.2.2" for example). | ||
4597 | This is only needed when running protocol version 2. | ||
4598 | This does not do any validity checks. | ||
4599 | </summary> | ||
4600 | </member> | ||
4601 | <member name="M:Npgsql.PGUtil.ReadString(System.IO.Stream)"> | ||
4602 | <summary> | ||
4603 | This method gets a C NULL terminated string from the network stream. | ||
4604 | It keeps reading a byte in each time until a NULL byte is returned. | ||
4605 | It returns the resultant string of bytes read. | ||
4606 | This string is sent from backend. | ||
4607 | </summary> | ||
4608 | </member> | ||
4609 | <member name="M:Npgsql.PGUtil.ReadBytes(System.IO.Stream,System.Byte[],System.Int32,System.Int32)"> | ||
4610 | <summary> | ||
4611 | Reads requested number of bytes from stream with retries until Stream.Read returns 0 or count is reached. | ||
4612 | </summary> | ||
4613 | <param name="stream">Stream to read</param> | ||
4614 | <param name="buffer">byte buffer to fill</param> | ||
4615 | <param name="offset">starting position to fill the buffer</param> | ||
4616 | <param name="count">number of bytes to read</param> | ||
4617 | <returns>The number of bytes read. May be less than count if no more bytes are available.</returns> | ||
4618 | </member> | ||
4619 | <member name="M:Npgsql.PGUtil.WriteString(System.String,System.IO.Stream)"> | ||
4620 | <summary> | ||
4621 | This method writes a C NULL terminated string to the network stream. | ||
4622 | It appends a NULL terminator to the end of the String. | ||
4623 | </summary> | ||
4624 | <summary> | ||
4625 | This method writes a C NULL terminated string to the network stream. | ||
4626 | It appends a NULL terminator to the end of the String. | ||
4627 | </summary> | ||
4628 | </member> | ||
4629 | <member name="M:Npgsql.PGUtil.WriteBytes(System.Byte[],System.IO.Stream)"> | ||
4630 | <summary> | ||
4631 | This method writes a set of bytes to the stream. It also enables logging of them. | ||
4632 | </summary> | ||
4633 | </member> | ||
4634 | <member name="M:Npgsql.PGUtil.WriteLimString(System.String,System.Int32,System.IO.Stream)"> | ||
4635 | <summary> | ||
4636 | This method writes a C NULL terminated string limited in length to the | ||
4637 | backend server. | ||
4638 | It pads the string with null bytes to the size specified. | ||
4639 | </summary> | ||
4640 | </member> | ||
4641 | <member name="M:Npgsql.PGUtil.WriteInt32(System.IO.Stream,System.Int32)"> | ||
4642 | <summary> | ||
4643 | Write a 32-bit integer to the given stream in the correct byte order. | ||
4644 | </summary> | ||
4645 | </member> | ||
4646 | <member name="M:Npgsql.PGUtil.ReadInt32(System.IO.Stream)"> | ||
4647 | <summary> | ||
4648 | Read a 32-bit integer from the given stream in the correct byte order. | ||
4649 | </summary> | ||
4650 | </member> | ||
4651 | <member name="M:Npgsql.PGUtil.WriteInt16(System.IO.Stream,System.Int16)"> | ||
4652 | <summary> | ||
4653 | Write a 16-bit integer to the given stream in the correct byte order. | ||
4654 | </summary> | ||
4655 | </member> | ||
4656 | <member name="M:Npgsql.PGUtil.ReadInt16(System.IO.Stream)"> | ||
4657 | <summary> | ||
4658 | Read a 16-bit integer from the given stream in the correct byte order. | ||
4659 | </summary> | ||
4660 | </member> | ||
4661 | <member name="T:Npgsql.ProtocolVersion"> | ||
4662 | <summary> | ||
4663 | Represent the frontend/backend protocol version. | ||
4664 | </summary> | ||
4665 | </member> | ||
4666 | <member name="T:Npgsql.ServerVersion"> | ||
4667 | <summary> | ||
4668 | Represent the backend server version. | ||
4669 | As this class offers no functionality beyond that offered by <see cref="T:System.Version"/> it has been | ||
4670 | deprecated in favour of that class. | ||
4671 | </summary> | ||
4672 | |||
4673 | </member> | ||
4674 | <member name="M:Npgsql.ServerVersion.ToString"> | ||
4675 | <summary> | ||
4676 | Returns the string representation of this version in three place dot notation (Major.Minor.Patch). | ||
4677 | </summary> | ||
4678 | </member> | ||
4679 | <member name="P:Npgsql.ServerVersion.Major"> | ||
4680 | <summary> | ||
4681 | Server version major number. | ||
4682 | </summary> | ||
4683 | </member> | ||
4684 | <member name="P:Npgsql.ServerVersion.Minor"> | ||
4685 | <summary> | ||
4686 | Server version minor number. | ||
4687 | </summary> | ||
4688 | </member> | ||
4689 | <member name="P:Npgsql.ServerVersion.Patch"> | ||
4690 | <summary> | ||
4691 | Server version patch level number. | ||
4692 | </summary> | ||
4693 | </member> | ||
4694 | <member name="T:Npgsql.SSPIHandler"> | ||
4695 | <summary> | ||
4696 | A class to handle everything associated with SSPI authentication | ||
4697 | </summary> | ||
4698 | </member> | ||
4699 | <member name="T:Npgsql.SSPIHandler.SecBufferDesc"> | ||
4700 | <summary> | ||
4701 | Simplified SecBufferDesc struct with only one SecBuffer | ||
4117 | </summary> | 4702 | </summary> |
4118 | </member> | 4703 | </member> |
4119 | </members> | 4704 | </members> |
diff --git a/bin/lib/NET/Mono.Security.dll b/bin/lib/NET/Mono.Security.dll index 6accde7..1371f5c 100644 --- a/bin/lib/NET/Mono.Security.dll +++ b/bin/lib/NET/Mono.Security.dll | |||
Binary files differ | |||