Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - Programming » SQL Anywhere .NET 2.0 API Reference » SAFactory class

SAFactory members Next Page

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