97 references to Xml
System.Activities.DurableInstancing (9)
System\Activities\DurableInstancing\CreateWorkflowOwnerAsyncResult.cs (1)
105
parameters.Add(new SqlParameter { ParameterName = "@identityMetadata", SqlDbType = SqlDbType.
Xml
, Value = identityMetadataXml });
System\Activities\DurableInstancing\LoadWorkflowAsyncResult.cs (1)
71
parameters.Add(new SqlParameter { ParameterName = "@keysToAssociate", SqlDbType = SqlDbType.
Xml
, Value = singleKeyToAssociate ? DBNull.Value : SerializationUtilities.CreateCorrelationKeyXmlBlob(keysToAssociate) });
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (7)
92
parameters.Add(new SqlParameter { ParameterName = "@identityMetadata", SqlDbType = SqlDbType.
Xml
, Value = (object)identityMetadataXml ?? DBNull.Value });
479
parameters.Add(new SqlParameter { ParameterName = "@keysToAssociate", SqlDbType = SqlDbType.
Xml
, Value = DBNull.Value });
481
parameters.Add(new SqlParameter { ParameterName = "@keysToComplete", SqlDbType = SqlDbType.
Xml
, Value = DBNull.Value });
482
parameters.Add(new SqlParameter { ParameterName = "@keysToFree", SqlDbType = SqlDbType.
Xml
, Value = DBNull.Value });
507
parameters.Add(new SqlParameter { ParameterName = "@keysToAssociate", SqlDbType = SqlDbType.
Xml
, Value = singleKeyToAssociate ? DBNull.Value : SerializationUtilities.CreateCorrelationKeyXmlBlob(keysToAssociate) });
509
parameters.Add(new SqlParameter { ParameterName = "@keysToComplete", SqlDbType = SqlDbType.
Xml
, Value = SerializationUtilities.CreateCorrelationKeyXmlBlob(keysToComplete) });
510
parameters.Add(new SqlParameter { ParameterName = "@keysToFree", SqlDbType = SqlDbType.
Xml
, Value = SerializationUtilities.CreateCorrelationKeyXmlBlob(keysToFree) });
System.Data (72)
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (6)
75
SqlDbType.
Xml
, // System.Data.SqlTypes.SqlXml
142
type == SqlDbType.
Xml
;
362
case SqlDbType.
Xml
:
486
if (SqlDbType.
Xml
== source.SqlDbType) {
519
if (SqlDbType.
Xml
== source.SqlDbType) {
784
case SqlDbType.
Xml
:
fx\src\data\Microsoft\SqlServer\Server\SmiMetaData.cs (4)
122
internal static readonly SmiMetaData DefaultXml = new SmiMetaData(SqlDbType.
Xml
, UnlimitedMaxLengthIndicator,0, 0, DefaultStringCompareOptions);// SqlDbType.Xml
360
case SqlDbType.
Xml
:
468
case SqlDbType.
Xml
:
619
return (SqlDbType.BigInt <= dbType && SqlDbType.
Xml
>= dbType) ||
fx\src\data\Microsoft\SqlServer\Server\SqlDataRecord.cs (1)
196
if (_usesStringStorageForXml && SqlDbType.
Xml
== colMeta.SqlDbType) {
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (10)
118
SqlDbType.
Xml
== metaData.SqlDbType) {
406
if (SqlDbType.
Xml
== metaData.SqlDbType) {
641
else if (SqlDbType.
Xml
== metaData.SqlDbType) {
922
case SqlDbType.
Xml
:
1070
case SqlDbType.
Xml
:
1235
case SqlDbType.
Xml
:
1814
case SqlDbType.
Xml
:
1948
case SqlDbType.
Xml
: {
2134
case SqlDbType.
Xml
:
2257
case SqlDbType.
Xml
:
fx\src\data\System\Data\Sql\SqlMetaData.cs (8)
172
case SqlDbType.
Xml
:
440
SqlDbType.
Xml
== dbType) )
662
if (SqlDbType.
Xml
!= dbType)
671
SetDefaultsForType(SqlDbType.
Xml
);
1023
if (SqlDbType.
Xml
!= SqlDbType)
1295
smd = new SqlMetaData(name, SqlDbType.
Xml
);
1427
if (md.SqlDbType == SqlDbType.
Xml
)
1615
new SqlMetaData("xml", SqlDbType.
Xml
,
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (4)
649
else if(metadata.metaType.IsPlp && metadata.metaType.SqlDbType != SqlDbType.
Xml
) {
1119
else if (((metadata.type == SqlDbType.VarChar) || (metadata.type == SqlDbType.NVarChar)) && (mtSource.IsCharType) && (mtSource.SqlDbType != SqlDbType.
Xml
)) {
1123
else if ((metadata.type == SqlDbType.
Xml
) && (mtSource.SqlDbType == SqlDbType.
Xml
)) {
fx\src\data\System\Data\SqlClient\SqlCommand.cs (7)
1929
|| md[0].SqlDbType == SqlDbType.
Xml
));
1933
SqlStream sqlBuf = new SqlStream(ds, true /*addByteOrderMark*/, (md[0].SqlDbType == SqlDbType.
Xml
) ? false : true /*process all rows*/);
2914
if (SqlDbType.
Xml
== p.SqlDbType) {
5257
else if (rec.type == SqlDbType.
Xml
) {
5861
else if (mt.IsPlp && (mt.SqlDbType != SqlDbType.
Xml
) && (mt.SqlDbType != SqlDbType.Udt)) {
6252
if (value is XmlDataFeed && requestMetaData[index].SqlDbType != SqlDbType.
Xml
) {
6321
case SqlDbType.
Xml
:
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (7)
294
if (SqlDbType.
Xml
== colMetaData.type) {
571
else if (col.type == SqlDbType.
Xml
) { // Additional metadata for Xml.
1434
if (mt.SqlDbType != SqlDbType.
Xml
) {
1512
if (!(mt.IsLong || mt.IsBinType) || (SqlDbType.
Xml
== mt.SqlDbType)) {
1886
if (((!mt.IsCharType) && (mt.SqlDbType != SqlDbType.Variant)) || (mt.SqlDbType == SqlDbType.
Xml
)) {
1987
if ( sqlDbType == SqlDbType.
Xml
) {
2460
if (metaData.type == SqlDbType.
Xml
) {
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (3)
233
if (metaData.SqlDbType == SqlDbType.
Xml
) {
704
if ( SqlDbType.
Xml
== colMetaData.SqlDbType ) {
894
if (_currentMetaData[ordinal].SqlDbType != SqlDbType.
Xml
) {
fx\src\data\System\Data\SqlClient\SqlEnums.cs (7)
108
type == SqlDbType.
Xml
||
119
type == SqlDbType.
Xml
);
126
type == SqlDbType.
Xml
);
150
SqlDbType.
Xml
== type ||
200
case SqlDbType.
Xml
: return MetaXml;
621
sqlType = SqlDbType.
Xml
;
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 (5)
440
if (SqlDbType.
Xml
== mt.SqlDbType) {
825
case SqlDbType.
Xml
:
908
((currentType != destinationType.SqlType) || (SqlDbType.
Xml
== destinationType.SqlDbType))) { // Special case for Xml types (since we need to convert SqlXml into a string)
1491
(SqlDbType != SqlDbType.
Xml
) &&
1578
if (mt.SqlDbType == SqlDbType.
Xml
) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (9)
3472
if (rec.type == SqlDbType.
Xml
) {
4859
case SqlDbType.
Xml
:
8427
if (mt.SqlDbType != SqlDbType.
Xml
)
8463
if (_isYukon && (mt.SqlDbType == SqlDbType.
Xml
)) {
8967
case SqlDbType.
Xml
:
9223
Debug.Assert(SqlDbType.
Xml
!= mdPriv.type);
9336
case SqlDbType.
Xml
:
9582
(metatype.SqlDbType == SqlDbType.
Xml
&& value is XmlDataFeed)),
9601
case SqlDbType.
Xml
:
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (1)
99
case SqlDbType.
Xml
:
System.Data.Entity (1)
System\Data\SqlClient\SqlProviderServices.cs (1)
658
dbType = SqlDbType.
Xml
;
System.Data.Linq (13)
parent\DbmlShared\Mapping.cs (1)
571
case SqlDbType.
Xml
:
SqlClient\SqlTypeSystemProvider.cs (12)
74
case SqlDbType.
Xml
: return theXml;
118
case SqlDbType.
Xml
:
165
static private readonly SqlType theXml = new SqlType(SqlDbType.
Xml
, LargeTypeSizeIndicator);
353
case SqlDbType.
Xml
:
367
case SqlDbType.
Xml
:
406
case SqlDbType.
Xml
:
473
case SqlDbType.
Xml
:
555
case SqlDbType.
Xml
:
575
case SqlDbType.
Xml
:
591
case SqlDbType.
Xml
:
732
case SqlDbType.
Xml
: return 27;
782
case SqlDbType.
Xml
:
System.WorkflowServices (2)
System\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (2)
774
SqlParameter instanceXmlParameter = new SqlParameter("@instanceXml", SqlDbType.
Xml
);
1475
SqlParameter instanceXmlParameter = new SqlParameter("@instanceXml", SqlDbType.
Xml
);