Click or drag to resize

RuntimeConfiguration Class

Central configuration class to allow configuration of various runtime elements at the code level without the requirement of a config file.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesRuntimeConfiguration

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax
public static class RuntimeConfiguration

The RuntimeConfiguration type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberEntity
Gets the configuration method object for configuring Entity(Core) specific settings.
Public propertyStatic memberPrefetching
Gets the configuration method object for configuring Prefetch/Prefetch2 instances.
Public propertyStatic memberTracing
Gets the configuration method object for configuring TraceSwitch instances of the runtime.
Public propertyStatic memberXml
Gets the configuration method object for configuring Xml serialization specific settings
Top
Methods
  NameDescription
Public methodStatic memberAddConnectionString
Adds the connectionstring specified to the configuration, under the key specified. If a connectionstring with the key specified is already present it is overwritten with the specified connectionstring
Public methodStatic memberConfigureDQETDQEConfig
Configures the Dynamic Query Engine which DQEConfigurationBase derived type has been specified using the specified configureFunc. An instance of TDQEConfig is passed to configureFunc after which its contents is passed to the associated Dynamic Query Engine.
Public methodStatic memberGetConnectionString
Gets the connectionstring added with AddConnectionString under the key specified
Public methodStatic memberSetDependencyInjectionInfo(IEnumerableAssembly, IEnumerableString)
Sets the dependency information to use by the runtime. It will rebuild the internal DI store with the information provided.
Public methodStatic memberSetDependencyInjectionInfo(IServiceProvider, ActionIServiceProvider, IEntityCore)
Sets the dependency information to use by the runtime, using a ServiceProvider which will provide the injectable elements at runtime.
Top
See Also