DBDriverBaseProduceMajorAndMinorServerVersionNumber Method |
Produces the major and minor server version number from the ServerVersion string
Namespace: SD.LLBLGen.Pro.DBDriverCoreAssembly: SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.0.0.0 (5.0.0)
Syntax protected virtual void ProduceMajorAndMinorServerVersionNumber(
out int majorVersion,
out int minorVersion
)
Protected Overridable Sub ProduceMajorAndMinorServerVersionNumber (
<OutAttribute> ByRef majorVersion As Integer,
<OutAttribute> ByRef minorVersion As Integer
)
Parameters
- majorVersion
- Type: SystemInt32
The major version number. - minorVersion
- Type: SystemInt32
The minor version number.
Remarks
Override this method if the database returns a non-numeric ServerVersion string. The default implementation assumes that the
server version is formatted as "majorversion.minorversion", splits it on '.' and uses the first fragment as major version.
See Also