Persist.NET Documentation Class Library

Configuration Methods

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

Public Instance Methods

AddClassMap Add a ClassMap to the configuration If the configuration is already initialized, throw a ConfigurationException
AddConverter Add a Converter to the configuration If the configuration is already initialized, throw a ConfigurationException
AddIdGenerator Add an IdGenerator to the configuration If the configuration is already initialized, throw a ConfigurationException
AddRelationalDatabase Add a Relational Database to the configuration If the configuration is already initialized, throw a ConfigurationException
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetClassMapOverloaded. Return a ClassMap from that Name
GetConverter Return the Converter from that name
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.
GetIdGenerator Return the IIdGenerator from that name
GetRelationalDatabase Return the RelationalDatabase from that name
GetType (inherited from Object)Gets the Type of the current instance.
RemoveClassMap Remove a ClassMap from configuration if the Configuration is initialized, throw a ConfigurationException
RemoveConverter Remove a converter from configuration
RemoveIdGenerator Remove an IdGenerator from configuration
RemoveRelationalDatabase Remove a RelationalDatabase from configuration
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

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.

See Also

Configuration Class | Persist.Config Namespace