SnapDAL Library Documentation

StatementManager Members

StatementManager overview

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 Properties

Caching Is the statementManager Caching?
Directory The Directory associated with where the statements reside
Statements An array of all statements currently loaded by the manager

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