SnapDAL Library Documentation

StatementManager.Create Method (Boolean, DirectoryInfo, String[])

Creates, or returns an existing, StatementManager for the directory, and provider list.

public static StatementManager Create(
   bool cacheStatements,
   DirectoryInfo statementsDirInfo,
   string[] providerResolutionOrder
);

Parameters

cacheStatements
Boolean to indicate if the statements should be cached from the file system
statementsDirInfo
The path to the statement files.
Note   This should be independent of the provider name.
providerResolutionOrder
The order of providers to use. This will most likely be a single provider name.

Return Value

The Statement Manager

See Also

StatementManager Class | SnapDAL Namespace | StatementManager.Create Overload List