We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cadc9a commit 0d41c2aCopy full SHA for 0d41c2a
Provider/src/FirebirdSql.Data.FirebirdClient/Services/FbService.cs
@@ -81,8 +81,7 @@ private ServiceParameterBuffer BuildSpb()
81
var spb = new ServiceParameterBuffer();
82
spb.Append(IscCodes.isc_spb_version);
83
spb.Append(IscCodes.isc_spb_current_version);
84
- var gdsSvc = _svc as Client.Managed.Version10.GdsServiceManager;
85
- if (gdsSvc?.AuthData != null)
+ if (_svc is Client.Managed.Version10.GdsServiceManager gdsSvc && gdsSvc.AuthData != null)
86
{
87
spb.Append((byte)IscCodes.isc_spb_specific_auth_data, gdsSvc.AuthData);
88
}
0 commit comments