Reimplemented from System.Data.Common.DataStorage.
Definition at line 411 of file ObjectStorage.cs.
412 {
414 bool flag = false;
417 {
419 string attribute =
xmlReader.GetAttribute(
"InstanceType",
"urn:schemas-microsoft-com:xml-msdata");
421 {
422 string text =
xmlReader.GetAttribute(
"type",
"http://www.w3.org/2001/XMLSchema-instance");
423 if (
text !=
null &&
text.Length > 0)
424 {
426 if (
array.Length == 2 &&
xmlReader.LookupNamespace(
array[0]) ==
"http://www.w3.org/2001/XMLSchema")
427 {
429 }
431 flag = true;
432 }
434 {
436 }
437 }
439 {
441 }
443 {
446 }
447 else
448 {
450 {
452 }
454 {
455 flag = true;
456 }
458 {
459 throw ExceptionBuilder.CanNotDeserializeObjectType();
460 }
461 TypeLimiter.EnsureTypeIsAllowed(
type);
462 if (!flag)
463 {
466 }
467 else
468 {
470 {
472 }
473 else
474 {
477 }
479 }
480 }
481 }
482 else
483 {
486 }
488 }
static Type GetType(string value)
DataStorage(DataColumn column, Type type, object defaultValue, StorageType storageType)
static XmlSerializer GetXmlSerializer(Type type)
References System.Data.Common.DataStorage._dataType, System.array, System.Data.ExceptionBuilder.CanNotDeserializeObjectType(), System.Data.Common.SqlConvert.ChangeTypeForXML(), System.Activator.CreateInstance(), System.Xml.Dictionary, System.Data.TypeLimiter.EnsureTypeIsAllowed(), System.Convert.FromBase64String(), System.Type.GetType(), System.Data.Common.DataStorage.GetType(), System.Data.Common.ObjectStorage.GetXmlSerializer(), System.obj, System.text, System.type, and System.Data.XSDSchema.XsdtoClr().