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 providerName
);

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.
providerName
The provider to use.

Return Value

The Statement Manager

See Also

StatementManager Class | SnapDAL Namespace | StatementManager.Create Overload List