SnapDAL Library Documentation

StatementManager Methods

The methods of the StatementManager class are listed below. For a complete list of StatementManager class members, see the StatementManager Members topic.

Public Static Methods

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

Protected Static Methods

CombineStatementDictionaries Add statements to a statement dictionary. Name conflict will result a no-add

Public Instance Methods

AddStatement Add a manually created Statement to this cache
CreateStatementOverloaded. Creates a new statement, replacing the existing one.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetStatement Gets a statement object by name.
GetType (inherited from Object)Gets the Type of the current instance.
RemoveStatement Remove the statement from this cache
ReplaceStatement Manually replace the Statement; adds it if it doesn't exist.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

CreateStatementOverloaded. Creates a statement based on the xmlnode node
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
ReadIndividualStatement Reads a statement from a file. Does not traverse the includes nodes.
ReadStatementsOverloaded. Read statements and caches them from the filesystem.
Note   

Uses the default statement file called 'statements.xml' as the start.

Alternate statement files can be read by using the Statements/Include(/@name) nodes to specify alternate names of relatively pathed files.

Protected Internal Instance Methods

LoadProviderStatements Loads the new provider at the end of the provider resolution list

See Also

StatementManager Class | SnapDAL Namespace