12 references to String
System.Data (12)
fx\src\data\Microsoft\SqlServer\Server\SqlRecordBuffer.cs (12)
227
if (StorageType.
String
== _type) {
244
_type = StorageType.
String
;
289
if (StorageType.
String
== _type) {
317
Debug.Assert(StorageType.CharArray == _type || StorageType.
String
== _type, "Wrong storage type: " + _type);
329
Debug.Assert(StorageType.CharArray == _type || StorageType.
String
== _type, "Wrong storage type: " + _type);
331
((StorageType.CharArray == _type && value <= ((char[])_object).Length) || (StorageType.
String
== _type && value <= ((string)_object).Length)),
363
case StorageType.
String
: return _metadata ?? SmiMetaData.DefaultNVarChar;
383
if (StorageType.
String
== _type) {
401
Debug.Assert(StorageType.CharArray == _type || StorageType.
String
== _type, "Wrong storage type: " + _type);
450
if (IsNull || (StorageType.CharArray != _type && StorageType.
String
!= _type)) {
462
if (StorageType.
String
== _type) { // convert string to char[]
489
Debug.Assert(StorageType.
String
== _type, "ConvertXmlStringToByteArray: Invalid storage type for conversion: " + _type.ToString());