@@ -54,7 +54,7 @@ public sealed class NpgsqlParameter : DbParameter, ICloneable
5454 NpgsqlDbType ? _npgsqlDbType ;
5555 DbType ? _dbType ;
5656 Type _specificType ;
57- string _name = String . Empty ;
57+ string _name = string . Empty ;
5858 object _value ;
5959 object _npgsqlValue ;
6060
@@ -80,7 +80,7 @@ public sealed class NpgsqlParameter : DbParameter, ICloneable
8080 /// </summary>
8181 public NpgsqlParameter ( )
8282 {
83- SourceColumn = String . Empty ;
83+ SourceColumn = string . Empty ;
8484 Direction = ParameterDirection . Input ;
8585#if NET45 || NET451
8686 SourceVersion = DataRowVersion . Current ;
@@ -101,7 +101,7 @@ public NpgsqlParameter()
101101 /// This happens when calling this constructor passing an int 0 and the compiler thinks you are passing a value of DbType.
102102 /// Use <code> Convert.ToInt32(value) </code> for example to have compiler calling the correct constructor.</p>
103103 /// </remarks>
104- public NpgsqlParameter ( String parameterName , object value ) : this ( )
104+ public NpgsqlParameter ( string parameterName , object value ) : this ( )
105105 {
106106 ParameterName = parameterName ;
107107 Value = value ;
@@ -114,7 +114,7 @@ public NpgsqlParameter(String parameterName, object value) : this()
114114 /// <param name="parameterName">The name of the parameter to map.</param>
115115 /// <param name="parameterType">One of the <see cref="System.Data.DbType">DbType</see> values.</param>
116116 public NpgsqlParameter ( string parameterName , NpgsqlDbType parameterType )
117- : this ( parameterName , parameterType , 0 , String . Empty )
117+ : this ( parameterName , parameterType , 0 , string . Empty )
118118 {
119119 }
120120
@@ -124,7 +124,7 @@ public NpgsqlParameter(string parameterName, NpgsqlDbType parameterType)
124124 /// <param name="parameterName">The name of the parameter to map.</param>
125125 /// <param name="parameterType">One of the <see cref="System.Data.DbType">DbType</see> values.</param>
126126 public NpgsqlParameter ( string parameterName , DbType parameterType )
127- : this ( parameterName , parameterType , 0 , String . Empty )
127+ : this ( parameterName , parameterType , 0 , string . Empty )
128128 {
129129 }
130130
@@ -135,7 +135,7 @@ public NpgsqlParameter(string parameterName, DbType parameterType)
135135 /// <param name="parameterType">One of the <see cref="NpgsqlTypes.NpgsqlDbType">NpgsqlDbType</see> values.</param>
136136 /// <param name="size">The length of the parameter.</param>
137137 public NpgsqlParameter ( string parameterName , NpgsqlDbType parameterType , int size )
138- : this ( parameterName , parameterType , size , String . Empty )
138+ : this ( parameterName , parameterType , size , string . Empty )
139139 {
140140 }
141141
@@ -146,7 +146,7 @@ public NpgsqlParameter(string parameterName, NpgsqlDbType parameterType, int siz
146146 /// <param name="parameterType">One of the <see cref="System.Data.DbType">DbType</see> values.</param>
147147 /// <param name="size">The length of the parameter.</param>
148148 public NpgsqlParameter ( string parameterName , DbType parameterType , int size )
149- : this ( parameterName , parameterType , size , String . Empty )
149+ : this ( parameterName , parameterType , size , string . Empty )
150150 {
151151 }
152152
@@ -321,7 +321,7 @@ public object NpgsqlValue
321321 /// <see cref="NpgsqlParameter.Value">Value</see> property.
322322 /// The default value is 0, which indicates that the data provider
323323 /// sets the precision for <b>Value</b>.</value>
324- [ DefaultValue ( ( Byte ) 0 ) ]
324+ [ DefaultValue ( ( byte ) 0 ) ]
325325 [ Category ( "Data" ) ]
326326#if NET45
327327// In mono .NET 4.5 is actually a later version, meaning that virtual Precision and Scale already exist in DbParameter
@@ -346,7 +346,7 @@ public override byte Precision
346346 /// </summary>
347347 /// <value>The number of decimal places to which
348348 /// <see cref="NpgsqlParameter.Value">Value</see> is resolved. The default is 0.</value>
349- [ DefaultValue ( ( Byte ) 0 ) ]
349+ [ DefaultValue ( ( byte ) 0 ) ]
350350 [ Category ( "Data" ) ]
351351#if NET45
352352// In mono .NET 4.5 is actually a later version, meaning that virtual Precision and Scale already exist in DbParameter
@@ -468,7 +468,7 @@ public override string ParameterName
468468 _name = value ;
469469 if ( value == null )
470470 {
471- _name = String . Empty ;
471+ _name = string . Empty ;
472472 }
473473 // no longer prefix with : so that The name returned is The name set
474474
@@ -492,7 +492,7 @@ public override string ParameterName
492492 /// The default is an empty string.</value>
493493 [ DefaultValue ( "" ) ]
494494 [ Category ( "Data" ) ]
495- public override String SourceColumn { get ; set ; }
495+ public override string SourceColumn { get ; set ; }
496496
497497#if NET45 || NET451
498498 /// <summary>
0 commit comments