SqlSetFactory Function (ISqlFactory) | |
This function allows you to choose the Ado.Net provider that is used for the subsequent SqlConnect() or SqlStringConnect() calls.
Namespace:
XSharp.VFP
Assembly:
XSharp.VFP (in XSharp.VFP.dll) Version: 2.19
Syntax FUNCTION SqlSetFactory(
oFactory AS ISqlFactory
) AS ISqlFactory
public static ISqlFactory SqlSetFactory(
ISqlFactory oFactory
)
Request Example
View SourceParameters
- oFactory
- Type: ISqlFactory
An object that implements ISqlFactory. This object is then used to create the connection, its commands etc.
Return Value
Type:
ISqlFactory
The currently installed SqlFactory class.
See Also