21 references to KatmaiVersion
System.Data (21)
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (3)
257
if (smiVersion >= SmiContextFactory.
KatmaiVersion
) {
355
if (value.GetType() == typeof(TimeSpan) && smiVersion >= SmiContextFactory.
KatmaiVersion
)
359
if (value.GetType() == typeof(DateTimeOffset) && smiVersion >= SmiContextFactory.
KatmaiVersion
)
fx\src\data\Microsoft\SqlServer\Server\SmiContextFactory.cs (2)
29
internal const ulong LatestVersion =
KatmaiVersion
;
31
private readonly ulong[] __supportedSmiVersions = new ulong[] {YukonVersion,
KatmaiVersion
};
fx\src\data\Microsoft\SqlServer\Server\SqlDataRecord.cs (6)
76
if (SmiVersion >= SmiContextFactory.
KatmaiVersion
) {
252
if (SmiVersion >= SmiContextFactory.
KatmaiVersion
) {
380
if (SmiVersion >= SmiContextFactory.
KatmaiVersion
) {
400
if (SmiVersion >= SmiContextFactory.
KatmaiVersion
) {
475
ValueUtilsSmi.SetTimeSpan(_eventSink, _recordBuffer, ordinal, GetSmiMetaData(ordinal), value, SmiVersion >= SmiContextFactory.
KatmaiVersion
);
480
ValueUtilsSmi.SetDateTimeOffset(_eventSink, _recordBuffer, ordinal, GetSmiMetaData(ordinal), value, SmiVersion >= SmiContextFactory.
KatmaiVersion
);
fx\src\data\Microsoft\SqlServer\Server\sqlpipe.cs (3)
137
if (SmiContextFactory.Instance.NegotiatedSmiVersion >= SmiContextFactory.
KatmaiVersion
) {
182
if (SmiContextFactory.Instance.NegotiatedSmiVersion >= SmiContextFactory.
KatmaiVersion
) {
269
if (SmiContextFactory.Instance.NegotiatedSmiVersion >= SmiContextFactory.
KatmaiVersion
) {
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (2)
1974
SmiContextFactory.
KatmaiVersion
3668
SmiContextFactory.
KatmaiVersion
fx\src\data\System\Data\SqlClient\SqlCommand.cs (3)
366
Debug.Assert(SmiContextFactory.Instance.NegotiatedSmiVersion >= SmiContextFactory.
KatmaiVersion
);
3166
if (SmiContextFactory.Instance.NegotiatedSmiVersion >= SmiContextFactory.
KatmaiVersion
) {
4600
if (SmiContextFactory.Instance.NegotiatedSmiVersion >= SmiContextFactory.
KatmaiVersion
) {
fx\src\data\System\Data\SqlClient\SqlInternalConnectionSmi.cs (1)
171
return SmiContextFactory.Instance.NegotiatedSmiVersion >= SmiContextFactory.
KatmaiVersion
;
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
8800
metaData.SqlDbType, metaData.IsMultiValued, value, null, MSS.SmiContextFactory.
KatmaiVersion
);