9 instantiations of SqlXml
System.Data (9)
fx\src\data\Microsoft\SqlServer\Server\SqlRecordBuffer.cs (1)
236return (new SqlXml(byteStream)).Value;
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (1)
3184SqlXml result = new SqlXml( copy );
fx\src\data\System\Data\Common\SQLTypes\SqlXmlStorage.cs (1)
93return (new SqlXml(reader));
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (1)
292_readerDataValues[i] = new System.Data.SqlTypes.SqlXml(reader);
fx\src\data\System\Data\SqlClient\SqlCachedBuffer.cs (2)
109SqlXml sxml = new SqlXml(ToStream()); 121SqlXml sx = new SqlXml(ToStream());
fx\src\data\System\Data\SqlClient\SqlEnums.cs (2)
524sqlVal = new SqlXml((XmlReader)comVal); 702SqlXml sxml = new SqlXml(xmlreader);
fx\src\data\System\Data\SQLTypes\SqlXml.cs (1)
179 return new SqlXml(true);
97 references to SqlXml
System.Data (97)
fx\src\data\Microsoft\SqlServer\Server\ITypedGetters.cs (2)
83SqlXml GetSqlXml( int ordinal ); 101SqlXml GetSqlXmlRef( int ordinal );
fx\src\data\Microsoft\SqlServer\Server\ITypedSetters.cs (1)
98void SetSqlXml( int ordinal, SqlXml value );
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (2)
129ht.Add( typeof( SqlXml ), ExtendedClrTypeCode.SqlXml ); 363if (value.GetType() == typeof( SqlXml ))
fx\src\data\Microsoft\SqlServer\Server\SmiContext.cs (1)
54out SqlXml eventInstanceData
fx\src\data\Microsoft\SqlServer\Server\SmiRecordBuffer.cs (3)
402public virtual SqlXml GetSqlXml( int ordinal ) { 412public virtual SqlXml GetSqlXmlRef( int ordinal ) { 795public virtual void SetSqlXml( int ordinal, SqlXml value ) {
fx\src\data\Microsoft\SqlServer\Server\SmiRequestExecutor.cs (3)
460public virtual SqlXml GetSqlXml( int ordinal ) { 470public virtual SqlXml GetSqlXmlRef( int ordinal ) { 853public virtual void SetSqlXml( int ordinal, SqlXml value ) {
fx\src\data\Microsoft\SqlServer\Server\sqlcontext.cs (1)
106SqlXml eventInstanceData;
fx\src\data\Microsoft\SqlServer\Server\SqlDataRecord.cs (2)
283public virtual SqlXml GetSqlXml(int ordinal) { 538public virtual void SetSqlXml(int ordinal, SqlXml value) {
fx\src\data\Microsoft\SqlServer\Server\SqlTriggerContext.cs (3)
21SqlXml _eventInstanceData; 23internal SqlTriggerContext(TriggerAction triggerAction, bool[] columnsUpdated, SqlXml eventInstanceData) { 40public SqlXml EventData {
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (12)
407SqlXml xmlValue = GetSqlXml_Unchecked( sink, getters, ordinal, null ); 642SqlXml xmlValue = GetSqlXml_Unchecked( sink, getters, ordinal, null ); 662internal static SqlXml GetSqlXml( SmiEventSink_Default sink, ITypedGettersV3 getters, int ordinal, SmiMetaData metaData, SmiContext context ) { 663SqlXml result; 666result = SqlXml.Null; 677result = (SqlXml) obj; 1109SqlXml.Null, // SqlDbType.Xml 1545internal static void SetSqlXml( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, SmiMetaData metaData, SqlXml value ) { 1631case ExtendedClrTypeCode.SqlXml: SetSqlXml_Unchecked( sink, setters, ordinal, (SqlXml) value ); break; 3169private static SqlXml GetSqlXml_Unchecked( SmiEventSink_Default sink, ITypedGettersV3 getters, int ordinal, SmiContext context ) { 3184SqlXml result = new SqlXml( copy ); 3596private static void SetSqlXml_Unchecked(SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, SqlXml value) {
fx\src\data\System\Data\ColumnTypeConverter.cs (1)
59typeof(SqlXml)
fx\src\data\System\Data\Common\SQLTypes\SqlXmlStorage.cs (15)
21private SqlXml[] values; 24: base(column, typeof(SqlXml), SqlXml.Null, SqlXml.Null, StorageType.Empty) { 46throw ExprException.Overflow(typeof(SqlXml)); 76values[record] = SqlXml.Null; 79values[record] = (SqlXml)value; 84SqlXml[] newValues = new SqlXml[capacity]; 107SqlXml reader = (SqlXml) value; 116return new SqlXml[recordCount]; 120SqlXml[] typedStore = (SqlXml[]) store; 126values = (SqlXml[]) store;
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (5)
278_readerDataValues[i] = System.Data.SqlTypes.SqlXml.Null; 511else if (typeof(System.Data.SqlTypes.SqlXml).IsAssignableFrom(fieldType)) { 541if (typeof(System.Data.SqlTypes.SqlXml) == dataColumn.DataType) { 697else if (typeof(System.Data.SqlTypes.SqlXml).IsAssignableFrom(fieldType)) { 740if (typeof(System.Data.SqlTypes.SqlXml) == dataColumn.DataType) {
fx\src\data\System\Data\Sql\SqlMetaData.cs (5)
1022public SqlXml Adjust(SqlXml value) { 1106else if (dataType == typeof(SqlXml)) 1107value = this.Adjust((SqlXml)value); 1294else if (dataType == typeof(SqlXml))
fx\src\data\System\Data\SqlClient\SqlBuffer.cs (10)
484internal SqlXml SqlXml { 488return SqlXml.Null; 490return (SqlXml)_object; 492return (SqlXml)this.SqlValue; // anything else we haven't thought of goes through boxing. 659return SqlXml.Null; 670return SqlXml.Null; 673return (SqlXml) _object; 725SqlXml data = (SqlXml)_object; 756case SqlBuffer.StorageType.SqlXml: return typeof(SqlXml);
fx\src\data\System\Data\SqlClient\SqlCachedBuffer.cs (3)
109SqlXml sxml = new SqlXml(ToStream()); 120internal SqlXml ToSqlXml() { 121SqlXml sx = new SqlXml(ToStream());
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (9)
1442return SqlXml.CreateSqlXmlReader(_currentStream, closeInput: true); 1450return SqlXml.CreateSqlXmlReader(new MemoryStream(new byte[0], writable: false), closeInput: true); 2374virtual public SqlXml GetSqlXml(int i){ 2376SqlXml sx = null; 2381sx = _data[i].IsNull ? SqlXml.Null : _data[i].SqlCachedBuffer.ToSqlXml(); 2388sx = _data[i].IsNull ? SqlXml.Null : _data[i].SqlCachedBuffer.ToSqlXml(); 2395sx = (SqlXml) temp; 2641SqlXml xmlValue = rawValue as SqlXml;
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (2)
804public override SqlXml GetSqlXml(int ordinal) { 911return SqlXml.CreateSqlXmlReader(stream);
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (2)
524SqlXml payload = reader.GetSqlXml(2); 960internal static SqlNotification ProcessMessage(SqlXml xmlMessage) {
fx\src\data\System\Data\SqlClient\SqlEnums.cs (7)
332else if (dataType == typeof(SqlXml)) 402else if (sqlType == typeof(SqlXml)) return SqlXml.Null; 456else if (sqlVal is SqlXml) 457comVal = ((SqlXml)sqlVal).Value; 702SqlXml sxml = new SqlXml(xmlreader); 788(255, 255, -1, false, true, true, TdsEnums.SQLXMLTYPE, TdsEnums.SQLXMLTYPE, MetaTypeName.XML, typeof(System.String), typeof(SqlXml), SqlDbType.Xml, DbType.Xml, 0);
fx\src\data\System\Data\SqlClient\SqlParameter.cs (2)
914if (typeof(SqlXml) == currentType) { 915value = MetaType.GetStringFromXml((XmlReader)(((SqlXml)value).CreateReader()));
fx\src\data\System\Data\SqlClient\SqlStream.cs (1)
249return SqlTypes.SqlXml.CreateSqlXmlReader(this, closeInput: true, throwTargetInvocationExceptions: true);
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
9913else if (currentType == typeof(SqlXml)) { 9914if (!((SqlXml)value).IsNull)
fx\src\data\System\Data\SQLTypes\SqlXml.cs (1)
177 public static SqlXml Null {
fx\src\data\System\Data\xmlsaver.cs (2)
246if (type == typeof(object) || type == typeof(SqlXml) || type == typeof(DateTimeOffset)) 1137if ((col.IsSqlType && ((dt.Length == 0) || col.ImplementsINullable)) || (typeof(SqlXml) == col.DataType) || col.DataType == typeof(DateTimeOffset) || col.DataType == typeof(System.Numerics.BigInteger)) { // no need to check if it is Sql typee if it already implements INullable,