Instance field

Represents the singleton instance of the SAFactory class. This field is read-only.

Syntax
Visual Basic

Public Shared Readonly Instance As SAFactory
C#

public const SAFactory Instance ;
Remarks

SAFactory is a singleton class, which means only this instance of this class can exist.

Normally you would not use this field directly. Instead, you get a reference to this instance of SAFactory using [external link] DbProviderFactories.GetFactory. For an example, see the SAFactory description.

Restrictions: The SAFactory class is not available in the .NET Compact Framework 2.0.

See also