@@ -223,7 +223,7 @@ public virtual ColumnPropertiesMapper GetColumnMapper(Column column)
223223
224224 if ( ! IdentityNeedsType && column . IsIdentity )
225225 {
226- type = String . Empty ;
226+ type = string . Empty ;
227227 }
228228
229229 return new ColumnPropertiesMapper ( this , type ) ;
@@ -328,35 +328,35 @@ public virtual string SqlForProperty(ColumnProperty property, Column column)
328328 {
329329 return propertyMap [ property ] ;
330330 }
331- return String . Empty ;
331+ return string . Empty ;
332332 }
333333
334334 public virtual string Quote ( string value )
335335 {
336- return String . Format ( QuoteTemplate , value ) ;
336+ return string . Format ( QuoteTemplate , value ) ;
337337 }
338338
339339 public virtual string Default ( object defaultValue )
340340 {
341- if ( defaultValue is String && defaultValue . ToString ( ) == String . Empty )
341+ if ( defaultValue is string && defaultValue . ToString ( ) == string . Empty )
342342 {
343343 defaultValue = "''" ;
344344 }
345345 else if ( defaultValue is Guid )
346346 {
347- return String . Format ( "DEFAULT '{0}'" , defaultValue . ToString ( ) ) ;
347+ return string . Format ( "DEFAULT '{0}'" , defaultValue . ToString ( ) ) ;
348348 }
349349 else if ( defaultValue is DateTime )
350350 {
351- return String . Format ( "DEFAULT '{0}'" , ( ( DateTime ) defaultValue ) . ToString ( "yyyy-MM-dd HH:mm:ss" ) ) ;
351+ return string . Format ( "DEFAULT '{0}'" , ( ( DateTime ) defaultValue ) . ToString ( "yyyy-MM-dd HH:mm:ss" ) ) ;
352352 }
353- else if ( defaultValue is String )
353+ else if ( defaultValue is string )
354354 {
355- defaultValue = ( ( String ) defaultValue ) . Replace ( "'" , "''" ) ;
355+ defaultValue = ( ( string ) defaultValue ) . Replace ( "'" , "''" ) ;
356356 defaultValue = "'" + defaultValue + "'" ;
357357 }
358358
359- return String . Format ( "DEFAULT {0}" , defaultValue ) ;
359+ return string . Format ( "DEFAULT {0}" , defaultValue ) ;
360360 }
361361
362362 public ColumnPropertiesMapper GetAndMapColumnProperties ( Column column )
0 commit comments