22 references to MetaDataUtilsSmi
System.Data (22)
fx\src\data\Microsoft\SqlServer\Server\SqlDataRecord.cs (5)
370
typeCodes[i] =
MetaDataUtilsSmi
.DetermineExtendedTypeCodeForUseWithSqlDbType(
394
ExtendedClrTypeCode typeCode =
MetaDataUtilsSmi
.DetermineExtendedTypeCodeForUseWithSqlDbType(
592
_columnSmiMetaData[i] =
MetaDataUtilsSmi
.SqlMetaDataToSmiExtendedMetaData( _columnMetaData[i] );
593
if (!
MetaDataUtilsSmi
.IsValidForSmiVersion(_columnSmiMetaData[i], smiVersion)) {
621
_columnMetaData[i] =
MetaDataUtilsSmi
.SmiExtendedMetaDataToSqlMetaData( _columnSmiMetaData[i] );
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (9)
144
if (
MetaDataUtilsSmi
.IsCharOrXmlType(metaData.SqlDbType)) {
1820
ExtendedClrTypeCode typeCode =
MetaDataUtilsSmi
.DetermineExtendedTypeCode( o );
1971
ExtendedClrTypeCode typeCode =
MetaDataUtilsSmi
.DetermineExtendedTypeCodeForUseWithSqlDbType(metaData[i].SqlDbType, metaData[i].IsMultiValued, o, null,
2140
ExtendedClrTypeCode typeCode =
MetaDataUtilsSmi
.DetermineExtendedTypeCode( o );
2263
ExtendedClrTypeCode typeCode =
MetaDataUtilsSmi
.DetermineExtendedTypeCode(o);
2590
if (
MetaDataUtilsSmi
.IsAnsiType(metaData.SqlDbType)) {
2650
if (
MetaDataUtilsSmi
.IsAnsiType(metaData.SqlDbType)) {
3664
cellTypes[i] =
MetaDataUtilsSmi
.DetermineExtendedTypeCodeForUseWithSqlDbType(
3754
if (!
MetaDataUtilsSmi
.IsCompatible(metaData.FieldMetaData[i], record.GetSqlMetaData(i))) {
fx\src\data\System\Data\SqlClient\SqlCommand.cs (1)
6255
ExtendedClrTypeCode typeCode =
MetaDataUtilsSmi
.DetermineExtendedTypeCodeForUseWithSqlDbType(requestMetaData[index].SqlDbType, requestMetaData[index].IsMultiValued, value, null /* parameters don't use CLR Type for UDTs */, SmiContextFactory.Instance.NegotiatedSmiVersion);
fx\src\data\System\Data\SqlClient\SqlParameter.cs (3)
1114
fields.Add(MSS.
MetaDataUtilsSmi
.SmiMetaDataFromDataColumn(dt.Columns[i], dt));
1174
fields.Add(MSS.
MetaDataUtilsSmi
.SqlMetaDataToSmiExtendedMetaData(colMeta));
1284
SmiExtendedMetaData candidateMd = MSS.
MetaDataUtilsSmi
.SmiMetaDataFromSchemaTableRow(row);
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
8799
typeCode = MSS.
MetaDataUtilsSmi
.DetermineExtendedTypeCodeForUseWithSqlDbType(
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (3)
46
_isPlp =
MetaDataUtilsSmi
.IsPlpFormat(md);
232
if (
MetaDataUtilsSmi
.IsAnsiType(_metaData.SqlDbType)) {
316
if (
MetaDataUtilsSmi
.IsAnsiType(_metaData.SqlDbType)) {