diff --git a/Include/Fluent/Antlr3.Runtime.dll b/Include/Fluent/Antlr3.Runtime.dll deleted file mode 100644 index fb3ac4e..0000000 Binary files a/Include/Fluent/Antlr3.Runtime.dll and /dev/null differ diff --git a/Include/Fluent/Castle.Core.dll b/Include/Fluent/Castle.Core.dll deleted file mode 100644 index 0207bae..0000000 Binary files a/Include/Fluent/Castle.Core.dll and /dev/null differ diff --git a/Include/Fluent/Castle.Core.xml b/Include/Fluent/Castle.Core.xml deleted file mode 100644 index 448fd69..0000000 --- a/Include/Fluent/Castle.Core.xml +++ /dev/null @@ -1,4927 +0,0 @@ - - - - Castle.Core - - - - - Assignes a specific dictionary key. - - - - - Defines the contract for customizing dictionary access. - - - - - Determines relative order to apply related behaviors. - - - - - Determines relative order to apply related behaviors. - - - - - Defines the contract for updating dictionary values. - - - - - Sets the stored dictionary value. - - The dictionary adapter. - The key. - The stored value. - The property. - true if the property should be stored. - - - - Defines the contract for building s. - - - - - Builds the dictionary behaviors. - - - - - - Abstract adapter for the support - needed by the - - - - - Adds an element with the provided key and value to the object. - - The to use as the key of the element to add. - The to use as the value of the element to add. - An element with the same key already exists in the object. - key is null. - The is read-only.-or- The has a fixed size. - - - - Removes all elements from the object. - - The object is read-only. - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - true if the contains an element with the key; otherwise, false. - - key is null. - - - - Returns an object for the object. - - - An object for the object. - - - - - Removes the element with the specified key from the object. - - The key of the element to remove. - The object is read-only.-or- The has a fixed size. - key is null. - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in array at which copying begins. - array is null. - The type of the source cannot be cast automatically to the type of the destination array. - index is less than zero. - array is multidimensional.-or- index is equal to or greater than the length of array.-or- The number of elements in the source is greater than the available space from index to the end of the destination array. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets a value indicating whether the object has a fixed size. - - - true if the object has a fixed size; otherwise, false. - - - - Gets a value indicating whether the object is read-only. - - - true if the object is read-only; otherwise, false. - - - - Gets an object containing the keys of the object. - - - An object containing the keys of the object. - - - - Gets an object containing the values in the object. - - - An object containing the values in the object. - - - - Gets or sets the with the specified key. - - - - - - Gets the number of elements contained in the . - - - The number of elements contained in the . - - - - Gets a value indicating whether access to the is synchronized (thread safe). - - - true if access to the is synchronized (thread safe); otherwise, false. - - - - Gets an object that can be used to synchronize access to the . - - - An object that can be used to synchronize access to the . - - - - Constant to use when making assembly internals visible to Castle.Core - [assembly: InternalsVisibleTo(CoreInternalsVisible.ToCastleCore)] - - - - - Constant to use when making assembly internals visible to proxy types generated by DynamicProxy. Required when proxying internal types. - [assembly: InternalsVisibleTo(CoreInternalsVisible.ToDynamicProxyGenAssembly2)] - - - - - Abstract implementation of . - - - - - Conract for traversing a . - - - - - Identifies a property should be represented as a nested component. - - - - - Defines the contract for building typed dictionary keys. - - - - - Builds the specified key. - - The dictionary adapter. - The current key. - The property. - The updated key - - - - Defines the contract for retrieving dictionary values. - - - - - Gets the effective dictionary value. - - The dictionary adapter. - The key. - The stored value. - The property. - true if return only existing. - The effective property value. - - - - Applies no prefix. - - - - - Gets or sets the prefix. - - The prefix. - - - - Identifies the dictionary adapter types. - - - - - Identifies an interface or property to be pre-feteched. - - - - - Instructs fetching to occur. - - - - - Instructs fetching according to - - - - - - Gets whether or not fetching should occur. - - - - - Assigns a property to a group. - - - - - Constructs a group assignment. - - The group name. - - - - Constructs a group assignment. - - The group name. - - - - Gets the group the property is assigned to. - - - - - Assigns a specific dictionary key. - - - - - Initializes a new instance of the class. - - The key. - - - - Initializes a new instance of the class. - - The compound key. - - - - Assigns a prefix to the keyed properties of an interface. - - - - - Initializes a default instance of the class. - - - - - Initializes a new instance of the class. - - The prefix for the keyed properties of the interface. - - - - Gets the prefix key added to the properties of the interface. - - - - - Substitutes part of key with another string. - - - - - Initializes a new instance of the class. - - The old value. - The new value. - - - - Requests support for multi-level editing. - - - - - Contract for dictionary initialization. - - - - - Performs any initialization of the - - The dictionary adapter. - The dictionary behaviors. - - - - Generates a new GUID on demand. - - - - - Support for on-demand value resolution. - - - - - Suppress property change notifications. - - - - - Provides simple string formatting from existing properties. - - - - - Gets the string format. - - - - - Gets the format properties. - - - - - Identifies a property should be represented as a delimited string value. - - - - - Gets the separator. - - - - - Converts all properties to strings. - - - - - Gets or sets the format. - - The format. - - - - Suppress property change notifications. - - - - - Contract for property descriptor initialization. - - - - - Performs any initialization of the - - The property descriptor. - The property behaviors. - - - - Assigns a prefix to the keyed properties using the interface name. - - - - - Manages conversion between property values. - - - - - Initializes a new instance of the class. - - The converter. - - - - Gets the effective dictionary value. - - The dictionary adapter. - The key. - The stored value. - The property. - true if return only existing. - The effective property value. - - - - - - - - - Contract for creating additional Dictionary adapters. - - - - - Contract for manipulating the Dictionary adapter. - - - - - Contract for editing the Dictionary adapter. - - - - - Contract for managing Dictionary adapter notifications. - - - - - Contract for validating Dictionary adapter. - - - - - Uses Reflection.Emit to expose the properties of a dictionary - through a dynamic implementation of a typed interface. - - - - - Defines the contract for building typed dictionary adapters. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the dictionary. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the dictionary. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - The property descriptor. - An implementation of the typed interface bound to the dictionary. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the namedValues. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the namedValues. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the xpath navigable. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the xpath navigable. - - The type represented by T must be an interface with properties. - - - - - Gets the associated with the type. - - The typed interface. - The adapter meta-data. - - - - Gets the associated with the type. - - The typed interface. - The property descriptor. - The adapter meta-data. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Describes a dictionary property. - - - - - Initializes an empty class. - - - - - Initializes a new instance of the class. - - The property. - The property behaviors. - - - - Copies an existinginstance of the class. - - - - - - - Gets the key. - - The dictionary adapter. - The key. - The descriptor. - - - - - Adds the key builder. - - The builder. - - - - Adds the key builders. - - The builders. - - - - Copies the key builders to the other - - - - - - - Copies the selected key builders to the other - - - - - - - - Gets the property value. - - The dictionary adapter. - The key. - The stored value. - The descriptor. - true if return only existing. - - - - - Adds the dictionary getter. - - The getter. - - - - Adds the dictionary getters. - - The getters. - - - - Copies the property getters to the other - - - - - - - Copies the selected property getters to the other - - - - - - - - Sets the property value. - - The dictionary adapter. - The key. - The value. - The descriptor. - - - - - Adds the dictionary setter. - - The setter. - - - - Adds the dictionary setters. - - The setters. - - - - Copies the property setters to the other - - - - - - - Copies the selected property setters to the other - - - - - - - - Adds the behaviors. - - - - - - - Adds the behaviors. - - - - - - - Adds the behaviors from the builders. - - - - - - - Copies the behaviors to the other - - - - - - - Copies the behaviors to the other - - - - - - - - - - - - - Gets the property name. - - - - - Gets the property type. - - - - - Gets the property. - - The property. - - - - Returns true if the property is dynamic. - - - - - Gets additional state. - - - - - Determines if property should be fetched. - - - - - Determines if notifications should occur. - - - - - Gets the property behaviors. - - - - - Gets the type converter. - - The type converter. - - - - Gets the key builders. - - The key builders. - - - - Gets the setter. - - The setter. - - - - Gets the getter. - - The getter. - - - - Adds the dictionary initializers. - - The initializers. - - - - Adds the dictionary initializers. - - The initializers. - - - - Copies the initializers to the other - - - - - - - Copies the filtered initializers to the other - - - - - - - - Adds the dictionary meta-data initializers. - - The meta-data initializers. - - - - Adds the dictionary meta-data initializers. - - The meta-data initializers. - - - - Copies the meta-initializers to the other - - - - - - - Copies the filtered meta-initializers to the other - - - - - - - - Gets the initializers. - - The initializers. - - - - Gets the meta-data initializers. - - The meta-data initializers. - - - - Contract for dictionary meta-data initialization. - - - - - Performs any initialization of the dictionary adapter meta-data. - - The dictionary adapter factory. - The dictionary adapter meta. - - - - - Contract for dictionary validation. - - - - - Determines if is valid. - - The dictionary adapter. - true if valid. - - - - Validates the . - - The dictionary adapter. - The error summary information. - - - - Validates the for a property. - - The dictionary adapter. - The property to validate. - The property summary information. - - - - Invalidates any results cached by the validator. - - The dictionary adapter. - - - - - - - - - Initializes a new instance of the class. - - The name values. - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - true if the contains an element with the key; otherwise, false. - - key is null. - - - - Adapts the specified name values. - - The name values. - - - - - Gets a value indicating whether the object is read-only. - - - true if the object is read-only; otherwise, false. - - - - Gets or sets the with the specified key. - - - - - - Helper class for retrieving attributes. - - - - - Gets the attribute. - - The member. - The member attribute. - - - - Gets the attributes. Does not consider inherited attributes! - - The member. - The member attributes. - - - - Gets the type attribute. - - The type. - The type attribute. - - - - Gets the type attributes. - - The type. - The type attributes. - - - - Gets the type converter. - - The member. - - - - - Gets the attribute. - - The member. - The member attribute. - - - - Contract for typed dynamic value resolution. - - - - - - Contract for dynamic value resolution. - - - - - Encapsulates an invocation of a proxied method. - - - - - Overrides the value of an argument at the given with the - new provided. - - - This method accepts an , however the value provided must be compatible - with the type of the argument defined on the method, otherwise an exception will be thrown. - - The index of the argument to override. - The new value for the argument. - - - - Gets the value of the argument at the specified . - - The index. - The value of the argument at the specified . - - - - Returns the concrete instantiation of the on the proxy, with any generic - parameters bound to real types. - - - The concrete instantiation of the on the proxy, or the if - not a generic method. - - Can be slower than calling . - - - - Returns the concrete instantiation of , with any - generic parameters bound to real types. - For interface proxies, this will point to the on the target class. - - The concrete instantiation of , or - if not a generic method. - In debug builds this can be slower than calling . - - - - Proceeds the call to the next interceptor in line, and ultimately to the target method. - - - Since interface proxies without a target don't have the target implementation to proceed to, - it is important, that the last interceptor does not call this method, otherwise a - will be thrown. - - - - - Gets the proxy object on which the intercepted method is invoked. - - Proxy object on which the intercepted method is invoked. - - - - Gets the object on which the invocation is performed. This is different from proxy object - because most of the time this will be the proxy target object. - - - The invocation target. - - - - Gets the type of the target object for the intercepted method. - - The type of the target object. - - - - Gets the arguments that the has been invoked with. - - The arguments the method was invoked with. - - - - Gets the generic arguments of the method. - - The generic arguments, or null if not a generic method. - - - - Gets the representing the method being invoked on the proxy. - - The representing the method being invoked. - - - - For interface proxies, this will point to the on the target class. - - The method invocation target. - - - - Gets or sets the return value of the method. - - The return value of the method. - - - - Used during the target type inspection process. Implementors have a chance to customize the - proxy generation process. - - - - - Invoked by the generation process to determine if the specified method should be proxied. - - The type which declares the given method. - The method to inspect. - True if the given method should be proxied; false otherwise. - - - - Invoked by the generation process to notify that a member was not marked as virtual. - - The type which declares the non-virtual member. - The non-virtual member. - - This method gives an opportunity to inspect any non-proxyable member of a type that has - been requested to be proxied, and if appropriate - throw an exception to notify the caller. - - - - - Invoked by the generation process to notify that the whole process has completed. - - - - - Interface describing elements composing generated type - - - - - Checks if the method is public or protected. - - - - - - - Performs some basic screening and invokes the - to select methods. - - - - - - - - - Provides functionality for disassembling instances of attributes to CustomAttributeBuilder form, during the process of emiting new types by Dynamic Proxy. - - - - - Disassembles given attribute instance back to corresponding CustomAttributeBuilder. - - An instance of attribute to disassemble - corresponding 1 to 1 to given attribute instance, or null reference. - - Implementers should return that corresponds to given attribute instance 1 to 1, - that is after calling specified constructor with specified arguments, and setting specified properties and fields with values specified - we should be able to get an attribute instance identical to the one passed in . Implementer can return null - if it wishes to opt out of replicating the attribute. Notice however, that for some cases, like attributes passed explicitly by the user - it is illegal to return null, and doing so will result in exception. - - - - - Handles error during disassembly process - - Type of the attribute being disassembled - Exception thrown during the process - usually null, or (re)throws the exception - - - - Here we try to match a constructor argument to its value. - Since we can't get the values from the assembly, we use some heuristics to get it. - a/ we first try to match all the properties on the attributes by name (case insensitive) to the argument - b/ if we fail we try to match them by property type, with some smarts about convertions (i,e: can use Guid for string). - - - - - We have the following rules here. - Try to find a matching type, failing that, if the parameter is string, get the first property (under the assumption that - we can convert it. - - - - - Attributes can only accept simple types, so we return null for null, - if the value is passed as string we call to string (should help with converting), - otherwise, we use the value as is (enums, integer, etc). - - - - - Applied to the assemblies saved by in order to persist the cache data included in the persisted assembly. - - - - - Base class that exposes the common functionalities - to proxy generation. - - - - - Generates a parameters constructor that initializes the proxy - state with just to make it non-null. - - This constructor is important to allow proxies to be XML serializable - - - - - - It is safe to add mapping (no mapping for the interface exists) - - - - - - - - Generates the constructor for the class that extends - - - - - - - - - Default implementation of interface producing in-memory proxy assemblies. - - - - - Abstracts the implementation of proxy type construction. - - - - - Creates a proxy type for given , using provided. - - The class type to proxy. - The proxy generation options. - The generated proxy type. - Thrown when is a generic type definition. - Thrown when is not public. - Note that to avoid this exception, you can mark offending type internal, and define - pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. - - - - - Creates a proxy type for given , implementing , using provided. - - The class type to proxy. - Additional interface types to proxy. - The proxy generation options. - The generated proxy type. - - Implementers should return a proxy type for the specified class and interfaces. - Additional interfaces should be only 'mark' interfaces, that is, they should work like interface proxy without target. (See method.) - - Thrown when or any of is a generic type definition. - Thrown when or any of is not public. - Note that to avoid this exception, you can mark offending type internal, and define - pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. - - - - - Creates a proxy type for given , implementing , using provided. - - The class type to proxy. - Additional interface types to proxy. - The proxy generation options. - The generated proxy type. - - Implementers should return a proxy type for the specified class and interfaces. - Additional interfaces should be only 'mark' interfaces, that is, they should work like interface proxy without target. (See method.) - - Thrown when or any of is a generic type definition. - Thrown when or any of is not public. - Note that to avoid this exception, you can mark offending type internal, and define - pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. - - - - - Creates a proxy type that proxies calls to members on , implementing , using provided. - - The interface type to proxy. - Additional interface types to proxy. - Type implementing on which calls to the interface members should be intercepted. - The proxy generation options. - The generated proxy type. - - Implementers should return a proxy type for the specified interface that 'proceeds' executions to the specified target. - Additional interfaces should be only 'mark' interfaces, that is, they should work like interface proxy without target. (See method.) - - Thrown when or any of is a generic type definition. - Thrown when or any of is not public. - Note that to avoid this exception, you can mark offending type internal, and define - pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. - - - - - Creates a proxy type for given that delegates all calls to the provided interceptors. - - The interface type to proxy. - Additional interface types to proxy. - The proxy generation options. - The generated proxy type. - - Implementers should return a proxy type for the specified interface and additional interfaces that delegate all executions to the specified interceptors. - - Thrown when or any of is a generic type definition. - Thrown when or any of is not public. - Note that to avoid this exception, you can mark offending type internal, and define - pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. - - - - - Creates a proxy type for given and that delegates all calls to the provided interceptors and allows interceptors to switch the actual target of invocation. - - The interface type to proxy. - Additional interface types to proxy. - The proxy generation options. - The generated proxy type. - - Implementers should return a proxy type for the specified interface(s) that delegate all executions to the specified interceptors - and uses an instance of the interface as their targets (i.e. ), rather than a class. All classes should then implement interface, - to allow interceptors to switch invocation target with instance of another type implementing called interface. - - Thrown when or any of is a generic type definition. - Thrown when or any of is not public. - Note that to avoid this exception, you can mark offending type internal, and define - pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. - - - - - Gets or sets the that this logs to. - - - - - Gets the associated with this builder. - - The module scope associated with this builder. - - - - Initializes a new instance of the class with new . - - - - - Initializes a new instance of the class. - - The module scope for generated proxy types. - - - - Registers custom disassembler to handle disassembly of specified type of attributes. - - Type of attributes to handle - Disassembler converting existing instances of Attributes to CustomAttributeBuilders - - When disassembling an attribute Dynamic Proxy will first check if an custom disassembler has been registered to handle attributes of that type, - and if none is found, it'll use the . - - - - - Attributes should be replicated if they are non-inheritable, - but there are some special cases where the attributes means - something to the CLR, where they should be skipped. - - - - - Initializes a new instance of the class. - - Target element. This is either target type or target method for invocation types. - The type of the proxy. This is base type for invocation types. - The interfaces. - The options. - - - - Initializes a new instance of the class. - - Type of the target. - The interfaces. - The options. - - - s - Provides appropriate Ldc.X opcode for the type of primitive value to be loaded. - - - - - Provides appropriate Ldind.X opcode for - the type of primitive value to be loaded indirectly. - - - - - Emits a load opcode of the appropriate kind for a constant string or - primitive value. - - - - - - - Emits a load opcode of the appropriate kind for the constant default value of a - type, such as 0 for value types and null for reference types. - - - - - Emits a load indirect opcode of the appropriate type for a value or object reference. - Pops a pointer off the evaluation stack, dereferences it and loads - a value of the specified type. - - - - - - - Emits a store indirectopcode of the appropriate type for a value or object reference. - Pops a value of the specified type and a pointer off the evaluation stack, and - stores the value. - - - - - - - Summary description for PropertiesCollection. - - - - - Wraps a reference that is passed - ByRef and provides indirect load/store support. - - - - - Summary description for NewArrayExpression. - - - - - - - - - - Provides appropriate Stind.X opcode - for the type of primitive value to be stored indirectly. - - - - - Returns list of all unique interfaces implemented given types, including their base interfaces. - - - - - - - Initializes a new instance of the class. - - The name. - Type declaring the original event being overriten, or null. - - The add method. - The remove method. - The attributes. - - - - Represents the scope of uniquenes of names for types and their members - - - - - Gets a unique name based on - - Name suggested by the caller - Unique name based on . - - Implementers should provide name as closely resembling as possible. - Generally if no collision occurs it is suggested to return suggested name, otherwise append sequential suffix. - Implementers must return deterministic names, that is when is called twice - with the same suggested name, the same returned name should be provided each time. Non-deterministic return - values, like appending random suffices will break serialization of proxies. - - - - - Returns new, disposable naming scope. It is responsibilty of the caller to make sure that no naming collision - with enclosing scope, or other subscopes is possible. - - New naming scope. - - - - Returns the methods implemented by a type. Use this instead of Type.GetMethods() to work around a CLR issue - where duplicate MethodInfos are returned by Type.GetMethods() after a token of a generic type's method was loaded. - - - - - Determines whether this assembly has internals visible to dynamic proxy. - - The assembly to inspect. - - - - Determines whether the specified method is internal. - - The method. - - true if the specified method is internal; otherwise, false. - - - - - Because we need to cache the types based on the mixed in mixins, we do the following here: - - Get all the mixin interfaces - - Sort them by full name - - Return them by position - - The idea is to have reproducable behavior for the case that mixins are registered in different orders. - This method is here because it is required - - - - - Summary description for ModuleScope. - - - - - The default file name used when the assembly is saved using . - - - - - The default assembly (simple) name used for the assemblies generated by a instance. - - - - - Initializes a new instance of the class; assemblies created by this instance will not be saved. - - - - - Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance - should be saved. - - If set to true saves the generated module. - - - - Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance - should be saved. - - If set to true saves the generated module. - If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. - - - - Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance - should be saved and what simple names are to be assigned to them. - - If set to true saves the generated module. - If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. - The simple name of the strong-named assembly generated by this . - The path and file name of the manifest module of the strong-named assembly generated by this . - The simple name of the weak-named assembly generated by this . - The path and file name of the manifest module of the weak-named assembly generated by this . - - - - Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance - should be saved and what simple names are to be assigned to them. - - If set to true saves the generated module. - If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. - Naming scope used to provide unique names to generated types and their members (usually via sub-scopes). - The simple name of the strong-named assembly generated by this . - The path and file name of the manifest module of the strong-named assembly generated by this . - The simple name of the weak-named assembly generated by this . - The path and file name of the manifest module of the weak-named assembly generated by this . - - - - Returns a type from this scope's type cache, or null if the key cannot be found. - - The key to be looked up in the cache. - The type from this scope's type cache matching the key, or null if the key cannot be found - - - - Registers a type in this scope's type cache. - - The key to be associated with the type. - The type to be stored in the cache. - - - - Gets the key pair used to sign the strong-named assembly generated by this . - - - - - - Gets the specified module generated by this scope, creating a new one if none has yet been generated. - - If set to true, a strong-named module is returned; otherwise, a weak-named module is returned. - A strong-named or weak-named module generated by this scope, as specified by the parameter. - - - - Gets the strong-named module generated by this scope, creating a new one if none has yet been generated. - - A strong-named module generated by this scope. - - - - Gets the weak-named module generated by this scope, creating a new one if none has yet been generated. - - A weak-named module generated by this scope. - - - - Saves the generated assembly with the name and directory information given when this instance was created (or with - the and current directory if none was given). - - - - This method stores the generated assembly in the directory passed as part of the module information specified when this instance was - constructed (if any, else the current directory is used). If both a strong-named and a weak-named assembly - have been generated, it will throw an exception; in this case, use the overload. - - - If this was created without indicating that the assembly should be saved, this method does nothing. - - Both a strong-named and a weak-named assembly have been generated. - The path of the generated assembly file, or null if no file has been generated. - - - - Saves the specified generated assembly with the name and directory information given when this instance was created - (or with the and current directory if none was given). - - True if the generated assembly with a strong name should be saved (see ); - false if the generated assembly without a strong name should be saved (see . - - - This method stores the specified generated assembly in the directory passed as part of the module information specified when this instance was - constructed (if any, else the current directory is used). - - - If this was created without indicating that the assembly should be saved, this method does nothing. - - - No assembly has been generated that matches the parameter. - - The path of the generated assembly file, or null if no file has been generated. - - - - Loads the generated types from the given assembly into this 's cache. - - The assembly to load types from. This assembly must have been saved via or - , or it must have the manually applied. - - This method can be used to load previously generated and persisted proxy types from disk into this scope's type cache, eg. in order - to avoid the performance hit associated with proxy generation. - - - - - Users of this should use this lock when accessing the cache. - - - - - Gets the strong-named module generated by this scope, or if none has yet been generated. - - The strong-named module generated by this scope, or if none has yet been generated. - - - - Gets the file name of the strongly named module generated by this scope. - - The file name of the strongly named module generated by this scope. - - - - Gets the directory where the strongly named module generated by this scope will be saved, or if the current directory - is used. - - The directory where the strongly named module generated by this scope will be saved when is called - (if this scope was created to save modules). - - - - Gets the weak-named module generated by this scope, or if none has yet been generated. - - The weak-named module generated by this scope, or if none has yet been generated. - - - - Gets the file name of the weakly named module generated by this scope. - - The file name of the weakly named module generated by this scope. - - - - Gets the directory where the weakly named module generated by this scope will be saved, or if the current directory - is used. - - The directory where the weakly named module generated by this scope will be saved when is called - (if this scope was created to save modules). - - - - ProxyBuilder that persists the generated type. - - - The saved assembly contains just the last generated type. - - - - - Initializes a new instance of the class. - - - - - Saves the generated assembly to a physical file. Note that this renders the unusable. - - The path of the generated assembly file, or null if no assembly has been generated. - This method does not support saving multiple files. If both a signed and an unsigned module have been generated, use the - respective methods of the . - - - - Initializes a new instance of the class. - - The hook. - - - - Initializes a new instance of the class. - - - - - Provides proxy objects for classes and interfaces. - - - - - Initializes a new instance of the class. - - Proxy types builder. - - - - Initializes a new instance of the class. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - Object proxying calls to members of on object. - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no parameterless constructor exists on type . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no parameterless constructor exists on type . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates the proxy type for class proxy with given class, implementing given and using provided . - - The base class for proxy type. - The interfaces that proxy type should implement. - The options for proxy generation process. - of proxy. - - - - Creates the proxy type for interface proxy with target for given interface, implementing given on given and using provided . - - The interface proxy type should implement. - The additional interfaces proxy type should implement. - Actual type that the proxy type will encompass. - The options for proxy generation process. - of proxy. - - - - Creates the proxy type for interface proxy with target interface for given interface, implementing given on given and using provided . - - The interface proxy type should implement. - The additional interfaces proxy type should implement. - The options for proxy generation process. - of proxy. - - - - Creates the proxy type for interface proxy without target for given interface, implementing given and using provided . - - The interface proxy type should implement. - The additional interfaces proxy type should implement. - The options for proxy generation process. - of proxy. - - - - Gets or sets the that this log to. - - - - - Gets the proxy builder instance used to generate proxy types. - - The proxy builder. - - - - - - - - - - - - - - - For interface proxies, this will point to the - on the target class - - - - - Handles the deserialization of proxies. - - - - - Resets the used for deserialization to a new scope. - - This is useful for test cases. - - - - Resets the used for deserialization to a given . - - The scope to be used for deserialization. - By default, the deserialization process uses a different scope than the rest of the application, which can lead to multiple proxies - being generated for the same type. By explicitly setting the deserialization scope to the application's scope, this can be avoided. - - - - Gets the used for deserialization. - - As has no way of automatically determining the scope used by the application (and the application - might use more than one scope at the same time), uses a dedicated scope instance for deserializing proxy - types. This instance can be reset and set to a specific value via and . - - - - Holds objects representing methods of class. - - - - - Holds objects representing methods of class. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Provides an extension point that allows proxies to choose specific interceptors on - a per method basis. - - - - - Selects the interceptors that should intercept calls to the given . - - The type declaring the method to intercept. - The method that will be intercepted. - All interceptors registered with the proxy. - An array of interceptors to invoke upon calling the . - - This method is called only once per proxy instance, upon the first call to the - . Either an empty array or null are valid return values to indicate - that no interceptor should intercept calls to the method. Although it is not advised, it is - legal to return other implementations than these provided in - . - - - - - Creates a new lock. - - - - - - This interface should be implemented by classes - that are available in a bigger context, exposing - the container to different areas in the same application. - - For example, in Web application, the (global) HttpApplication - subclasses should implement this interface to expose - the configured container - - - - - - Exposes means to change target objects of proxies and invocations - - - - - Changes the target object () of current . - - The new value of target of invocation. - - Although the method takes the actual instance must be of type assignable to , otherwise an will be thrown. - Also while it's technically legal to pass null reference (Nothing in Visual Basic) as , for obvious reasons Dynamic Proxy will not be able to call the intercepted method on such target. - In this case last interceptor in the pipeline mustn't call or a will be throws. - Also while it's technically legal to pass proxy itself as , this would create stack overflow. - In this case last interceptor in the pipeline mustn't call or a will be throws. - - Thrown when is not assignable to the proxied type. - - - - Permanently changes the target object of the proxy. This does not affect target of the current invocation. - - The new value of target of the proxy. - - Although the method takes the actual instance must be of type assignable to proxy's target type, otherwise an will be thrown. - Also while it's technically legal to pass null reference (Nothing in Visual Basic) as , for obvious reasons Dynamic Proxy will not be able to call the intercepted method on such target. - In this case last interceptor in the pipeline mustn't call or a will be throws. - Also while it's technically legal to pass proxy itself as , this would create stack overflow. - In this case last interceptor in the pipeline mustn't call or a will be throws. - - Thrown when is not assignable to the proxied type. - - - - New interface that is going to be used by DynamicProxy 2 - - - - - Get the proxy target (note that null is a valid target!) - - - - - - Gets the interceptors for the proxy - - - - - - Defines that the implementation wants a - in order to - access other components. The creator must be aware - that the component might (or might not) implement - the interface. - - - Used by Castle Project components to, for example, - gather logging factories - - - - - Increments IServiceProvider with a generic service resolution operation. - - - - - Provides a factory that can produce either or - classes. - - - - - Manages the instantiation of s. - - - - - Creates a new logger, getting the logger name from the specified type. - - - - - Creates a new logger. - - - - - Creates a new logger, getting the logger name from the specified type. - - - - - Creates a new logger. - - - - - Creates a new extended logger, getting the logger name from the specified type. - - - - - Creates a new extended logger. - - - - - Creates a new extended logger, getting the logger name from the specified type. - - - - - Creates a new extended logger. - - - - - Creates a new extended logger, getting the logger name from the specified type. - - - - - Creates a new extended logger. - - - - - Creates a new extended logger, getting the logger name from the specified type. - - - - - Creates a new extended logger. - - - - - Creates a new logger, getting the logger name from the specified type. - - - - - Creates a new logger. - - - - - Creates a new logger, getting the logger name from the specified type. - - - - - Creates a new logger. - - - - - Gets the configuration file. - - i.e. log4net.config - - - - - Used to create the TraceLogger implementation of ILogger interface. See . - - - - - Gets the configuration file. - - i.e. log4net.config - - - - - Interface for Context Properties implementations - - - - This interface defines a basic property get set accessor. - - - Based on the ContextPropertiesBase of log4net, by Nicko Cadell. - - - - - - Gets or sets the value of a property - - - The value for the property with the specified key - - - - Gets or sets the value of a property - - - - - - NullLogFactory used when logging is turned off. - - - - - Creates an instance of ILogger with the specified name. - - Name. - - - - - Creates an instance of ILogger with the specified name and LoggerLevel. - - Name. - Level. - - - - - Creates outputing - to files. The name of the file is derived from the log name - plus the 'log' extension. - - - - - Provides an interface that supports and - allows the storage and retrieval of Contexts. These are supported in - both log4net and NLog. - - - - - Manages logging. - - - This is a facade for the different logging subsystems. - It offers a simplified interface that follows IOC patterns - and a simplified priority/level/severity abstraction. - - - - - Logs a debug message. - - The message to log - - - - Logs a debug message. - - The exception to log - The message to log - - - - Logs a debug message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The message to log - - - - Logs an info message. - - The exception to log - The message to log - - - - Logs an info message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The message to log - - - - Logs a warn message. - - The exception to log - The message to log - - - - Logs a warn message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The message to log - - - - Logs an error message. - - The exception to log - The message to log - - - - Logs an error message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The message to log - - - - Logs a fatal message. - - The exception to log - The message to log - - - - Logs a fatal message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal error message. - - The Message - - - - Logs a fatal error message. - - The Message - The Exception - - - - Logs a fatal error message. - - Message format - Array of objects to write using format - - - - Create a new child logger. - The name of the child logger is [current-loggers-name].[passed-in-name] - - The Subname of this logger. - The New ILogger instance. - If the name has an empty element name. - - - - Determines if messages of priority "debug" will be logged. - - True if "debug" messages will be logged. - - - - Determines if messages of priority "info" will be logged. - - True if "info" messages will be logged. - - - - Determines if messages of priority "warn" will be logged. - - True if "warn" messages will be logged. - - - - Determines if messages of priority "error" will be logged. - - True if "error" messages will be logged. - - - - Determines if messages of priority "fatal" will be logged. - - True if "fatal" messages will be logged. - - - - Determines if messages of priority "fatalError" will be logged. - - True if "fatalError" messages will be logged. - - - - Exposes the Global Context of the extended logger. - - - - - Exposes the Thread Context of the extended logger. - - - - - Exposes the Thread Stack of the extended logger. - - - - - Supporting Logger levels. - - - - - Logging will be off - - - - - Fatal logging level - - - - - Error logging level - - - - - Warn logging level - - - - - Info logging level - - - - - Debug logging level - - - - - The Logger sending everything to the standard output streams. - This is mainly for the cases when you have a utility that - does not have a logger to supply. - - - - - The Level Filtered Logger class. This is a base clase which - provides a LogLevel attribute and reroutes all functions into - one Log method. - - - - - Creates a new LevelFilteredLogger. - - - - - Keep the instance alive in a remoting scenario - - - - - - Logs a debug message. - - The message to log - - - - Logs a debug message. - - The exception to log - The message to log - - - - Logs a debug message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - Message format - Array of objects to write using format - - - - Logs an info message. - - The message to log - - - - Logs an info message. - - The exception to log - The message to log - - - - Logs an info message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - Message format - Array of objects to write using format - - - - Logs a warn message. - - The message to log - - - - Logs a warn message. - - The exception to log - The message to log - - - - Logs a warn message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - Message format - Array of objects to write using format - - - - Logs an error message. - - The message to log - - - - Logs an error message. - - The exception to log - The message to log - - - - Logs an error message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - Message format - Array of objects to write using format - - - - Logs a fatal message. - - The message to log - - - - Logs a fatal message. - - The exception to log - The message to log - - - - Logs a fatal message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - Message format - Array of objects to write using format - - - - Logs a fatal error message. - - The Message - - - - Logs a fatal error message. - - The Message - The Exception - - - - Logs a fatal error message. - - Message format - Array of objects to write using format - - - - Implementors output the log content by implementing this method only. - Note that exception can be null - - - - - - - - - The LoggerLevel that this logger - will be using. Defaults to LoggerLevel.Off - - - - - The name that this logger will be using. - Defaults to String.Empty - - - - - Determines if messages of priority "debug" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "info" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "warn" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "error" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "fatal" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "fatal" will be logged. - - true if log level flags include the bit - - - - Creates a new ConsoleLogger with the Level - set to LoggerLevel.Debug and the Name - set to String.Empty. - - - - - Creates a new ConsoleLogger with the Name - set to String.Empty. - - The logs Level. - - - - Creates a new ConsoleLogger with the Level - set to LoggerLevel.Debug. - - The logs Name. - - - - Creates a new ConsoleLogger. - - The logs Name. - The logs Level. - - - - A Common method to log. - - The level of logging - The name of the logger - The Message - The Exception - - - - Returns a new ConsoleLogger with the name - added after this loggers name, with a dot in between. - - The added hierarchical name. - A new ConsoleLogger. - - - - The Logger using standart Diagnostics namespace. - - - - - Creates a logger based on . - - - - - - Creates a logger based on . - - - - - - - Creates a logger based on . - - - - - - - - The Null Logger class. This is useful for implementations where you need - to provide a logger to a utility class, but do not want any output from it. - It also helps when you have a utility that does not have a logger to supply. - - - - - Creates a new NullLogger. - - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - Returns this NullLogger. - - Ignored - This ILogger instance. - - - - No-op. - - false - - - - No-op. - - false - - - - No-op. - - false - - - - No-op. - - false - - - - No-op. - - false - - - - No-op. - - false - - - - Returns empty context properties. - - - - - Returns empty context properties. - - - - - Returns empty context stacks. - - - - - The Stream Logger class. This class can stream log information - to any stream, it is suitable for storing a log file to disk, - or to a MemoryStream for testing your components. - - - This logger is not thread safe. - - - - - Creates a new StreamLogger with default encoding - and buffer size. Initial Level is set to Debug. - - - The name of the log. - - - The stream that will be used for logging, - seeking while the logger is alive - - - - - Creates a new StreamLogger with default buffer size. - Initial Level is set to Debug. - - - The name of the log. - - - The stream that will be used for logging, - seeking while the logger is alive - - - The encoding that will be used for this stream. - - - - - - Creates a new StreamLogger. - Initial Level is set to Debug. - - - The name of the log. - - - The stream that will be used for logging, - seeking while the logger is alive - - - The encoding that will be used for this stream. - - - - The buffer size that will be used for this stream. - - - - - - Creates a new StreamLogger with - Debug as default Level. - - The name of the log. - The StreamWriter the log will write to. - - - - The TraceLogger sends all logging to the System.Diagnostics.TraceSource - built into the .net framework. - - - Logging can be configured in the system.diagnostics configuration - section. - - If logger doesn't find a source name with a full match it will - use source names which match the namespace partially. For example you can - configure from all castle components by adding a source name with the - name "Castle". - - If no portion of the namespace matches the source named "Default" will - be used. - - - - - Build a new trace logger based on the named TraceSource - - The name used to locate the best TraceSource. In most cases comes from the using type's fullname. - - - - Build a new trace logger based on the named TraceSource - - The name used to locate the best TraceSource. In most cases comes from the using type's fullname. - The default logging level at which this source should write messages. In almost all cases this - default value will be overridden in the config file. - - - - Create a new child logger. - The name of the child logger is [current-loggers-name].[passed-in-name] - - The Subname of this logger. - The New ILogger instance. - - - - This is an abstract implementation - that deals with methods that can be abstracted away - from underlying implementations. - - - AbstractConfiguration makes easier to implementers - to create a new version of - - - - - is a interface encapsulating a configuration node - used to retrieve configuration values. - - - - - Gets the value of the node and converts it - into specified . - - The - - The Default value returned if the conversion fails. - - The Value converted into the specified type. - - - - Gets the name of the node. - - - The Name of the node. - - - - - Gets the value of the node. - - - The Value of the node. - - - - - Gets an of - elements containing all node children. - - The Collection of child nodes. - - - - Gets an of the configuration attributes. - - - - - Gets the value of the node and converts it - into specified . - - The - - The Default value returned if the convertion fails. - - The Value converted into the specified type. - - - - Gets the name of the . - - - The Name of the . - - - - - Gets the value of . - - - The Value of the . - - - - - Gets all child nodes. - - The of child nodes. - - - - Gets node attributes. - - - All attributes of the node. - - - - - A collection of objects. - - - - - Creates a new instance of ConfigurationCollection. - - - - - Creates a new instance of ConfigurationCollection. - - - - - Summary description for MutableConfiguration. - - - - - Initializes a new instance of the class. - - The name. - - - - Gets the value of . - - - The Value of the . - - - - - Pendent - - - - - Deserializes the specified node into an abstract representation of configuration. - - The node. - - - - - If a config value is an empty string we return null, this is to keep - backward compability with old code - - - - - General purpose class to represent a standard pair of values. - - Type of the first value - Type of the second value - - - - Constructs a pair with its values - - - - - - - List of utility methods related to dynamic proxy operations - - - - - Determines whether the specified type is a proxy generated by - DynamicProxy (1 or 2). - - The type. - - true if it is a proxy; otherwise, false. - - - - - Pendent - - - - - Initializes a new instance of the class. - - The target. - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - true if the contains an element with the key; otherwise, false. - - - is null. - - - - Adds an element with the provided key and value to the object. - - The to use as the key of the element to add. - The to use as the value of the element to add. - - is null. - An element with the same key already exists in the object. - The is read-only.-or- The has a fixed size. - - - - Removes all elements from the object. - - The object is read-only. - - - - Returns an object for the object. - - - An object for the object. - - - - - Removes the element with the specified key from the object. - - The key of the element to remove. - - is null. - The object is read-only.-or- The has a fixed size. - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in at which copying begins. - - is null. - - is less than zero. - - is multidimensional.-or- is equal to or greater than the length of .-or- The number of elements in the source is greater than the available space from to the end of the destination . - The type of the source cannot be cast automatically to the type of the destination . - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets or sets the with the specified key. - - - - - - Gets an object containing the keys of the object. - - - An object containing the keys of the object. - - - - Gets an object containing the values in the object. - - - An object containing the values in the object. - - - - Gets a value indicating whether the object is read-only. - - - true if the object is read-only; otherwise, false. - - - - Gets a value indicating whether the object has a fixed size. - - - true if the object has a fixed size; otherwise, false. - - - - Gets the number of elements contained in the . - - - The number of elements contained in the . - - - - Gets an object that can be used to synchronize access to the . - - - An object that can be used to synchronize access to the . - - - - Gets a value indicating whether access to the is synchronized (thread safe). - - - true if access to the is synchronized (thread safe); otherwise, false. - - - - Represents a 'streamable' resource. Can - be a file, a resource in an assembly. - - - - - Returns a reader for the stream - - - It's up to the caller to dispose the reader. - - - - - - Returns a reader for the stream - - - It's up to the caller to dispose the reader. - - - - - - - Returns an instance of - created according to the relativePath - using itself as the root. - - - - - - - - - - Only valid for resources that - can be obtained through relative paths - - - - - - - - - - This returns a new stream instance each time it is called. - It is the responsability of the caller to dispose of this stream - - - - - Depicts the contract for resource factories. - - - - - Used to check whether the resource factory - is able to deal with the given resource - identifier. - - - Implementors should return true - only if the given identifier is supported - by the resource factory - - - - - - - Creates an instance - for the given resource identifier - - - - - - - Creates an instance - for the given resource identifier - - - - - - - - - - - - - - - - - - Adapts a static string content as an - - - - - Enable access to files on network shares - - - - - Email sender abstraction. - - - - - Sends a mail message. - - From field - To field - E-mail's subject - message's body - - - - Sends a message. - - Message instance - - - - Sends multiple messages. - - List of messages - - - - Default implementation. - - - - - Initializes a new instance of the class based on the configuration provided in the application configuration file. - - - This constructor is based on the default configuration in the application configuration file. - - - - - This service implementation - requires a host name in order to work - - The smtp server name - - - - Sends a message. - - If any of the parameters is null - From field - To field - e-mail's subject - message's body - - - - Sends a message. - - If the message is null - Message instance - - - - Configures the sender - with port information and eventual credential - informed - - Message instance - - - - Gets or sets the port used to - access the SMTP server - - - - - Gets the hostname. - - The hostname. - - - - Gets or sets a value which is used to - configure if emails are going to be sent asyncrhonously or not. - - - - - Gets or sets a value that specifies - the amount of time after which a synchronous Send call times out. - - - - - Gets or sets a value indicating whether the email should be sent using - a secure communication channel. - - true if should use SSL; otherwise, false. - - - - Gets or sets the domain. - - The domain. - - - - Gets or sets the name of the user. - - The name of the user. - - - - Gets or sets the password. - - The password. - - - - Gets a value indicating whether credentials were informed. - - - if this instance has credentials; otherwise, . - - - - diff --git a/Include/Fluent/FluentNHibernate.XML b/Include/Fluent/FluentNHibernate.XML deleted file mode 100644 index 5338fcd..0000000 --- a/Include/Fluent/FluentNHibernate.XML +++ /dev/null @@ -1,5798 +0,0 @@ - - - - FluentNHibernate - - - - - Built-in alteration for altering an AutoPersistenceModel with instance of IAutoMappingOverride<T>. - - - - - Provides a mechanism for altering an AutoPersistenceModel prior to - the generation of mappings. - - - - - Alter the model - - AutoPersistenceModel instance to alter - - - - Constructor for AutoMappingOverrideAlteration. - - Assembly to load overrides from. - - - - Alter the model - - - Finds all types in the assembly (passed in the constructor) that implement IAutoMappingOverride<T>, then - creates an AutoMapping<T> and applies the override to it. - - AutoPersistenceModel instance to alter - - - - A mapping override for an auto mapped entity. - - Entity who's auto-mapping you're overriding - - - - Alter the automapping for this type - - Automapping - - - - Facade over an assembly for retrieving type instances. - - - - - A source for Type instances, acts as a facade for an Assembly or as an alternative Type provider. - - - - - Defines a property to be used as a key for this composite-id. - - A member access lambda expression for the property - The composite identity part fluent interface - - - - Defines a property to be used as a key for this composite-id with an explicit column name. - - A member access lambda expression for the property - The column name in the database to use for this key, or null to use the property name - The composite identity part fluent interface - - - - Defines a property to be used as a key for this composite-id with an explicit column name. - - A member access lambda expression for the property - Additional settings for the key property - The composite identity part fluent interface - - - - Defines a reference to be used as a many-to-one key for this composite-id with an explicit column name. - - A member access lambda expression for the property - The composite identity part fluent interface - - - - Defines a reference to be used as a many-to-one key for this composite-id with an explicit column name. - - A member access lambda expression for the property - A list of column names used for this key - The composite identity part fluent interface - - - - Defines a reference to be used as a many-to-one key for this composite-id with an explicit column name. - - A member access lambda expression for the property - A lambda expression specifying additional settings for the key reference - A list of column names used for this key - The composite identity part fluent interface - - - - Specifies that this composite id is "mapped"; aka, a composite id where - the properties exist in the identity class as well as in the entity itself - - - - - Specifies the unsaved value for the identity - - Unsaved value - - - - You may use a component as an identifier of an entity class. Your component class must - satisfy certain requirements: - - * It must be Serializable. - * It must re-implement Equals() and GetHashCode(), consistently with the database's - notion of composite key equality. - - You can't use an IIdentifierGenerator to generate composite keys. Instead the application - must assign its own identifiers. Since a composite identifier must be assigned to the object - before saving it, we can't use unsaved-value of the identifier to distinguish between newly - instantiated instances and instances saved in a previous session. You may instead implement - IInterceptor.IsUnsaved() if you wish to use SaveOrUpdate() or cascading save / update. As an - alternative, you may also set the unsaved-value attribute on a version or timestamp to specify - a value that indicates a new transient instance. In this case, the version of the entity is - used instead of the (assigned) identifier and you don't have to implement - IInterceptor.IsUnsaved() yourself. - - The property of component type that holds the composite identifier. - - Your persistent class must override Equals() and GetHashCode() to implement composite identifier - equality. It must also be Serializable. - - - - - Set the access and naming strategy for this identity. - - - - - Invert the next boolean operation - - - - - Create a property mapping. - - Property to map - - Map(x => x.Name); - - - - - Create a property mapping. - - Property to map - Property column name - - Map(x => x.Name, "person_name"); - - - - - Create a reference to another entity. In database terms, this is a many-to-one - relationship. - - Other entity - Property on the current entity - - References(x => x.Company); - - - - - Create a reference to another entity. In database terms, this is a many-to-one - relationship. - - Other entity - Property on the current entity - Column name - - References(x => x.Company, "company_id"); - - - - - Create a reference to another entity. In database terms, this is a many-to-one - relationship. - - Other entity - Property on the current entity - - References(x => x.Company, "company_id"); - - - - - Create a reference to another entity. In database terms, this is a many-to-one - relationship. - - Other entity - Property on the current entity - Column name - - References(x => x.Company, "company_id"); - - - - - Create a reference to any other entity. This is an "any" polymorphic relationship. - - Other entity to reference - Property - - - - Create a reference to another entity based exclusively on the primary-key values. - This is sometimes called a one-to-one relationship, in database terms. Generally - you should use - whenever possible. - - Other entity - Property - - HasOne(x => x.ExtendedInfo); - - - - - Create a reference to another entity based exclusively on the primary-key values. - This is sometimes called a one-to-one relationship, in database terms. Generally - you should use - whenever possible. - - Other entity - Property - - HasOne(x => x.ExtendedInfo); - - - - - Create a dynamic component mapping. This is a dictionary that represents - a limited number of columns in the database. - - Property containing component - Component setup action - - DynamicComponent(x => x.Data, comp => - { - comp.Map(x => (int)x["age"]); - }); - - - - - Creates a component reference. This is a place-holder for a component that is defined externally with a - ; the mapping defined in said will be merged - with any options you specify from this call. - - Component type - Property exposing the component - Component reference builder - - - - Maps a component - - Type of component - Component property - Component mapping - - Component(x => x.Address, comp => - { - comp.Map(x => x.Street); - comp.Map(x => x.City); - }); - - - - - Maps a component - - Type of component - Component property - Component mapping - - Component(x => x.Address, comp => - { - comp.Map(x => x.Street); - comp.Map(x => x.City); - }); - - - - - Allows the user to add a custom component mapping to the class mapping. - Note: not a fluent method. - - - In some cases, our users need a way to add an instance of their own implementation of IComponentMappingProvider. - For an example of where this might be necessary, see: http://codebetter.com/blogs/jeremy.miller/archive/2010/02/16/our-extension-properties-story.aspx - - - - - Maps a collection of entities as a one-to-many - - Child entity type - Collection property - - HasMany(x => x.Locations); - - - - - Maps a collection of entities as a one-to-many - - Child entity type - Collection property - - HasMany(x => x.Locations); - - - - - Maps a collection of entities as a many-to-many - - Child entity type - Collection property - - HasManyToMany(x => x.Locations); - - - - - Maps a collection of entities as a many-to-many - - Child entity type - Collection property - - HasManyToMany(x => x.Locations); - - - - - Specify an insert stored procedure - - Stored procedure call - - - - Specify an update stored procedure - - Stored procedure call - - - - Specify an delete stored procedure - - Stored procedure call - - - - Specify an delete all stored procedure - - Stored procedure call - - - - Specifies an entity-name. - - See http://nhforge.org/blogs/nhibernate/archive/2008/10/21/entity-name-in-action-a-strongly-typed-entity.aspx - - - - Inverts the next boolean - - - - - Maps to the Join element in NH 2.0 - - - - - - Specify the key column name - - Column name - - - - Specify the key column name - - Column names - - - - Specify the schema - - Schema name - - - - Inverse the ownership of this relationship - - - - - Specify this relationship as optional - - - - - Specify the catalog - - Catalog - - - - Specify a subselect for fetching this join - - Query - - - - Specify the table name - - Table name - - - - Specify the fetching strategy - - - - - Invert the next boolean operation - - - - - Starting point for automapping your entities. - - - - - Automatically map classes in the assembly that contains . - - Class in the assembly you want to map - - - - Automatically map classes in the assembly that contains . - - Class in the assembly you want to map - Automapping configuration - - - - Automatically map the classes in . - - Assembly containing the classes to map - - - - Automatically map the classes in . - - Assembly containing the classes to map - Automapping configuration - - - - Automatically map the classes in each assembly supplied. - - Assemblies containing classes to map - - - - Automatically map the classes in each assembly supplied. - - Automapping configuration - Assemblies containing classes to map - - - - Automatically map the classes in each assembly supplied. - - Automapping configuration - Assemblies containing classes to map - - - - Automatically map the classes exposed through the supplied . - - containing classes to map - - - - Automatically map the classes exposed through the supplied . - - containing classes to map - Automapping configuration - - - - Automatically map the classes exposed through the supplied . - - containing classes to map - Criteria for selecting a subset of the types in the assembly for mapping - - - - Automatically map the classes in . - - Assembly containing the classes to map - Criteria for selecting a subset of the types in the assembly for mapping - - - - Automatically map classes in the assembly that contains . - - Class in the assembly you want to map - Criteria for selecting a subset of the types in the assembly for mapping - - - - Defines a mapping for an entity. Derive from this class to create a mapping, - and use the constructor to control how your entity is persisted. - - - public class PersonMap : ClassMap<Person> - { - public PersonMap() - { - Id(x => x.PersonId); - Map(x => x.Name); - Map(x => x.Age); - } - } - - Entity type to map - - - - Specify the identifier for this entity. - - Identity property - - Id(x => x.PersonId); - - - - - Specify the identifier for this entity. - - Identity property - Column name - - Id(x => x.PersonId, "id"); - - - - - Create an Id that doesn't have a corresponding property in - the domain object, or a column in the database. This is mainly - for use with read-only access and/or views. Defaults to an int - identity with an "increment" generator. - - - - - Create an Id that doesn't have a corresponding property in - the domain object, or a column in the database. This is mainly - for use with read-only access and/or views. - - Type of the id - - - - Create an Id that doesn't have a corresponding property in - the domain object. - - Type of the id - Name and column name of the id - - - - Create a natural identity. This is a secondary identifier - that has "business meaning" moreso than the primary key. - - - NaturalId() - .Property(x => x.Name); - - - - - Create a composite identity. This is an identity composed of multiple - columns. - Note: Prefer using a surrogate key over a composite key whenever possible. - - - CompositeId() - .KeyProperty(x => x.FirstName) - .KeyProperty(x => x.LastName); - - - - - Create a composite identity represented by an identity class. This is an - identity composed of multiple columns. - Note: Prefer using a surrogate key over a composite key whenever possible. - - Composite id property - - CompositeId(x => x.Id) - .KeyProperty(x => x.FirstName) - .KeyProperty(x => x.LastName); - - - - - Specifies that this class should be versioned/timestamped using the - given property. - - Version/timestamp property - - Version(x => x.Timestamp); - - - - - Specify that this entity should use a discriminator with it's subclasses. - This is a mapping strategy called table-per-inheritance-hierarchy; where all - subclasses are stored in the same table, differenciated by a discriminator - column value. - - Type of the discriminator column - Discriminator column name - Default discriminator value - - - - Specify that this entity should use a discriminator with it's subclasses. - This is a mapping strategy called table-per-inheritance-hierarchy; where all - subclasses are stored in the same table, differenciated by a discriminator - column value. - - Type of the discriminator column - Discriminator column name - - - - Specify that this entity should use a discriminator with it's subclasses. - This is a mapping strategy called table-per-inheritance-hierarchy; where all - subclasses are stored in the same table, differenciated by a discriminator - column value. - - Discriminator column name - - - - Specifies that any subclasses of this entity should be treated as union-subclass - mappings. Don't use this in combination with a discriminator, as they are mutually - exclusive. - - - - - Sets the schema for this class. - - Schema name - - - - Sets the table for the class. - - Table name - - - - Sets this entity to be lazy-loaded (overrides the default lazy load configuration). - - - - - Links this entity to another table, to create a composite entity from two or - more tables. - - Joined table name - Joined table mapping - - Join("another_table", join => - { - join.Map(x => x.Name); - join.Map(x => x.Age); - }); - - - - - Imports an existing type for use in the mapping. - - Type to import. - - - - Set the mutability of this class, sets the mutable attribute. - - - - - Sets this entity to be dynamic update - - - - - Sets this entity to be dynamic insert - - - - - Sets the query batch size for this entity. - - Batch size - - - - Specifies a check constraint - - Constraint name - - - - Specifies a persister to be used with this entity - - Persister type - - - - Specifies a persister to be used with this entity - - Persister type - - - - Specifies a persister to be used with this entity - - Persister type - - - - Specifies a proxy class for this entity. - - Proxy type - - - - Specifies a proxy class for this entity. - - Proxy type - - - - Specifies a proxy class for this entity. - - Proxy type - - - - Specifies that a select should be performed before updating - this entity - - - - - Defines a SQL 'where' clause used when retrieving objects of this type. - - - - - Sets the SQL statement used in subselect fetching. - - Subselect SQL Query - - - - Specifies an entity-name. - - See http://nhforge.org/blogs/nhibernate/archive/2008/10/21/entity-name-in-action-a-strongly-typed-entity.aspx - - - - Applies a filter to this entity given its name. - - The filter's name - The condition to apply - - - - Applies a filter to this entity given its name. - - The filter's name - - - - Applies a named filter to this entity. - - The condition to apply - - The type of a implementation - defining the filter to apply. - - - - - Applies a named filter to this entity. - - - The type of a implementation - defining the filter to apply. - - - - - Configures the tuplizer for this entity. The tuplizer defines how to transform - a Property-Value to its persistent representation, and viceversa a Column-Value - to its in-memory representation, and the EntityMode defines which tuplizer is in use. - - Tuplizer entity-mode - Tuplizer type - - - - Specify the caching for this entity. - - - Cache.ReadWrite(); - - - - - Specify settings for the container/hibernate-mapping for this class. - Note: Avoid using this, if possible prefer using conventions. - - - HibernateMapping.Schema("dto"); - - - - - Inverts the next boolean option - - - - - Sets the optimistic locking strategy - - - - - Sets the polymorphism behaviour - - - - - Sets the schema action behaviour - - - - - Flags a type as already mapped, stop it from being auto-mapped. - - - - - Creates an instance of an IAutoMappingAlteration from a type instance, then adds it to the alterations collection. - - Type of an IAutoMappingAlteration - - - - Creates an instance of an IAutoMappingAlteration from a generic type parameter, then adds it to the alterations collection. - - Type of an IAutoMappingAlteration - Container - - - - Adds an alteration - - Alteration to add - Container - - - - Adds all alterations from an assembly - - Assembly to search - Container - - - - Adds all alterations from an assembly that contains T. - - Type who's assembly to search - Container - - - - Apply alterations to an AutoPersisteceModel - - AutoPersistenceModel instance to apply alterations to - - - - Determines whether a member is to be automapped. - - - - - Determines whether a member is the identity of an entity. - - - - - Determines whether an abstract class is a layer supertype or part of a mapped inheritance hierarchy. - - - - - Specifies the value column used in a table of simple types. - - - - - Implement this interface to control how the automapper behaves. - Typically you're better off deriving from the - class, which is pre-configured with the default settings; you can then - just override specific methods that you'd like to alter. - - - - - Determines whether a type should be auto-mapped. - Override to restrict which types are mapped in your domain. - - - You normally want to override this method and restrict via something known, like - Namespace. - - - return type.Namespace.EndsWith("Domain"); - - Type to map - Should map type - - - - Determines whether a member of a type should be auto-mapped. - Override to restrict which members are considered in automapping. - - - You normally want to override this method to restrict which members will be - used for mapping. This method will be called for every property, field, and method - on your types. - - - // all writable public properties: - return member.IsProperty && member.IsPublic && member.CanWrite; - - Member to map - Should map member - - - - Determines whether a member is the id of an entity. - - - This method is called for each member that ShouldMap(Type) returns true for. - - Member - Member is id - - - - Gets the access strategy to be used for a read-only property. This method is - called for every setterless property and private-setter autoproperty in your - domain that has been accepted through . - - Member to get access strategy for - Access strategy - - - - Controls which side of a many-to-many relationship is considered the "parent". - - Left side of the relationship - Right side of the relationship - left or right - - - - Determines whether a type is a concrete, or instantiatable, base class. This - affects how the inheritance mappings are built, specifically that any types - this method returns true for will not be mapped as a subclass. - - Type - Base type is concrete? - - - - Specifies that a particular type should be mapped as a component rather than - an entity. - - Type - Type is a component? - - - - Gets the column prefix for a component. - - Member defining the component - Component column prefix - - - - Specifies whether a particular type is mapped with a discriminator. - This method will be called for every type that has already been - approved by . - - Type to check - Whether the type is to be discriminated - - - - Gets the column name of the discriminator. - - Type - Discriminator column name - - - - Specifies whether an abstract type is considered a Layer Supertype - (http://martinfowler.com/eaaCatalog/layerSupertype.html). Defaults to - true for all abstract classes. Override this method if you have an - abstract class that you want mapping as a regular entity. - - Abstract class type - Whether the type is a Layer Supertype - - - - Gets the value column for a collection of simple types. - - - This is the name of the <element> column. - - Collection property - Value column name - - - - Specifies whether the current member is a version property - - Candidate member - Is member a version - - - - Gets the steps that are executed to map a type. - - Collection of mapping steps - - - - Gets or sets whether validation of mappings is performed. - - - - - Specify alterations to be used with this AutoPersisteceModel - - Lambda to declare alterations - AutoPersistenceModel - - - - Use auto mapping overrides defined in the assembly of T. - - Type to get assembly from - AutoPersistenceModel - - - - Use auto mapping overrides defined in the assembly of T. - - Assembly to scan - AutoPersistenceModel - - - - Alter some of the configuration options that control how the automapper works. - Depreciated in favour of supplying your own IAutomappingConfiguration instance to AutoMap: . - Cannot be used in combination with a user-defined configuration. - - - - - Supply a criteria for which types will be mapped. - Cannot be used in combination with a user-defined configuration. - - Where clause - - - - Adds all entities from a specific assembly. - - Assembly to load from - - - - Adds all entities from the . - - to load from - - - - Override the mapping of a specific entity. - - This may affect subclasses, depending on the alterations you do. - Entity who's mapping to override - Lambda performing alterations - - - - Override all mappings. - - Currently only supports ignoring properties on all entities. - Lambda performing alterations - - - - Ignore a base type. This removes it from any mapped inheritance hierarchies, good for non-abstract layer - supertypes. - - Type to ignore - - - - Ignore a base type. This removes it from any mapped inheritance hierarchies, good for non-abstract layer - supertypes. - - Type to ignore - - - - Explicitly includes a type to be used as part of a mapped inheritance hierarchy. - - - Abstract classes are probably what you'll be using this method with. Fluent NHibernate considers abstract - classes to be layer supertypes, so doesn't automatically map them as part of an inheritance hierarchy. You - can use this method to override that behavior for a specific type; otherwise you should consider using the - setting. - - Type to include - - - - Explicitly includes a type to be used as part of a mapped inheritance hierarchy. - - - Abstract classes are probably what you'll be using this method with. Fluent NHibernate considers abstract - classes to be layer supertypes, so doesn't automatically map them as part of an inheritance hierarchy. You - can use this method to override that behavior for a specific type; otherwise you should consider using the - setting. - - Type to include - - - - Alter convention discovery - - - - - Sets whether this subclass is lazy loaded - - - - - - Specifies an entity-name. - - See http://nhforge.org/blogs/nhibernate/archive/2008/10/21/entity-name-in-action-a-strongly-typed-entity.aspx - - - - Inverts the next boolean - - - - - Sets the database dialect. This shouldn't be necessary - if you've used one of the provided database configurations. - - Configuration builder - - - - Sets the database dialect. This shouldn't be necessary - if you've used one of the provided database configurations. - - Configuration builder - - - - Sets the default database schema - - Default schema name - Configuration builder - - - - Enables the outer-join option. - - Configuration builder - - - - Sets the max fetch depth. - - Max fetch depth - Configuration builder - - - - Enables the reflection optimizer. - - Configuration builder - - - - Sets any query stubstitutions that NHibernate should - perform. - - Substitutions - Configuration builder - - - - Enables the show SQL option. - - Configuration builder - - - - Enables the format SQL option. - - Configuration builder - - - - Sets the database provider. This shouldn't be necessary - if you're using one of the provided database configurations. - - Provider type - Configuration builder - - - - Sets the database provider. This shouldn't be necessary - if you're using one of the provided database configurations. - - Provider type - Configuration builder - - - - Specify the database driver. This isn't necessary - if you're using one of the provided database configurations. - - Driver type - Configuration builder - - - - Specify the database driver. This isn't necessary - if you're using one of the provided database configurations. - - Driver type - Configuration builder - - - - Configure the connection string - - - ConnectionString(x => - { - x.Server("db_server"); - x.Database("Products"); - }); - - Closure for building the connection string - Configuration builder - - - - Set the connection string. - - Connection string to use - Configuration builder - - - - Configure caching. - - - Cache(x => - { - x.UseQueryCache(); - x.UseMinimalPuts(); - }); - - Closure for configuring caching - Configuration builder - - - - Sets a raw property on the NHibernate configuration. Use this method - if there isn't a specific option available in the API. - - Setting key - Setting value - Configuration builder - - - - Sets the collectiontype.factory_class property. - NOTE: NHibernate 2.1 only - - factory class - Configuration - - - - Sets the collectiontype.factory_class property. - NOTE: NHibernate 2.1 only - - factory class - Configuration - - - - Sets the collectiontype.factory_class property. - NOTE: NHibernate 2.1 only - - factory class - Configuration - - - - Sets the proxyfactory.factory_class property. - NOTE: NHibernate 2.1 only - - factory class - Configuration - - - - Sets the proxyfactory.factory_class property. - NOTE: NHibernate 2.1 only - - factory class - Configuration - - - - Sets the proxyfactory.factory_class property. - NOTE: NHibernate 2.1 only - - factory class - Configuration - - - - Sets the adonet.batch_size property. - - Batch size - Configuration - - - - Sets the current_session_context_class property. - - current session context class - Configuration - - - - Sets the current_session_context_class property. - - Implementation of ICurrentSessionContext to use - Configuration - - - - Sets the connection isolation level. NHibernate setting: connection.isolation - - Isolation level - Configuration builder - - - - Sets the connection isolation level. NHibernate setting: connection.isolation - - Isolation level - Configuration builder - - - - Negates the next boolean option. - - - - - Provides types for mapping from multiple assemblies - - - - - Basic convention interface. Don't use directly. - - Inspector instance for use in retrieving values and setting expectations - Apply instance - - - - Ignore - this is used for generic restrictions only - - - - - Apply changes to the target - - - - - Whether this convention will be applied to the target. - - Instace that could be supplied - Apply on this target? - - - - Represents a string identifier for the model instance, used in conventions for a lazy - shortcut. - - e.g. for a ColumnMapping the StringIdentifierForModel would be the Name attribute, - this allows the user to find any columns with the matching name. - - - - - Diagnostic logging configuration - - - - - Conditionally enable logging - - Enable logging - - - - Enable logging - - - - - Disable logging - - - - - Register a logging listener - - Listener - - - - Register a default Console.Write listener - - - - - - Register a Console.Write listener with a custom result formatter - - Result formatter - - - - Register a default file output listener - - Output path - - - - Register a file output listener with a custom result formatter - - Result formatter - Output path - - - - Base class for attribute based conventions. Create a subclass of this to supply your own - attribute based conventions. - - Attribute identifier - - - - Apply changes to a property with an attribute matching T. - - Instance of attribute found on property. - Property with attribute - - - - Convention for identities, implement this interface to apply changes to - identity mappings. - - - - - Version convention, implement this interface to apply changes to vesion mappings. - - - - - Property convention, implement this interface to apply changes to - property mappings. - - - - - Convention for a component mapping. Implement this interface to - apply changes to components. - - - - - Convention for dynamic components. Implement this member to apply changes - to dynamic components. - - - - - Reference convention, implement this interface to apply changes to Reference/many-to-one - relationships. - - - - - HasOne convention, used for applying changes to one-to-one relationships. - - - - - Convention for the hibernate-mapping container for a class, this can be used to - set some class-wide settings such as lazy-load and access strategies. - - - - - Joined subclass convention, implement this interface to alter joined-subclass mappings. - - - - - Join convention, implement this interface to alter join mappings. - - - - - Convention for a single class mapping. Implement this interface to apply - changes to class mappings. - - - - - Subclass convention, implement this interface to alter subclass mappings. - - - - - Apply changes to the target - - - - - Apply changes to the target - - - - - Apply changes to the target - - - - - Apply changes to the target - - - - - Apply changes to the target - - - - - Represents a string identifier for the model instance, used in conventions for a lazy - shortcut. - - e.g. for a ColumnMapping the StringIdentifierForModel would be the Name attribute, - this allows the user to find any columns with the matching name. - - - - - Gets the requested value off the first column, as all columns are (currently) created equal - - - - - - - Applies to the joining table for this many-to-many. - - - - - Applies to the joining table for this many-to-many. - - - - - generates identifiers of any integral type that are unique only when no other - process is inserting data into the same table. Do not use in a cluster. - - - - - - generates identifiers of any integral type that are unique only when no other - process is inserting data into the same table. Do not use in a cluster. - - Params configuration - - - - supports identity columns in DB2, MySQL, MS SQL Server and Sybase. - The identifier returned by the database is converted to the property type using - Convert.ChangeType. Any integral property type is thus supported. - - - - - - supports identity columns in DB2, MySQL, MS SQL Server and Sybase. - The identifier returned by the database is converted to the property type using - Convert.ChangeType. Any integral property type is thus supported. - - Params configuration - - - - uses a sequence in DB2, PostgreSQL, Oracle or a generator in Firebird. - The identifier returned by the database is converted to the property type - using Convert.ChangeType. Any integral property type is thus supported. - - - - - - - uses a sequence in DB2, PostgreSQL, Oracle or a generator in Firebird. - The identifier returned by the database is converted to the property type - using Convert.ChangeType. Any integral property type is thus supported. - - - Params configuration - - - - uses a hi/lo algorithm to efficiently generate identifiers of any integral type, - given a table and column (by default hibernate_unique_key and next_hi respectively) - as a source of hi values. The hi/lo algorithm generates identifiers that are unique - only for a particular database. Do not use this generator with a user-supplied connection. - requires a "special" database table to hold the next available "hi" value - - The table. - The column. - The max lo. - The where. - - - - uses a hi/lo algorithm to efficiently generate identifiers of any integral type, - given a table and column (by default hibernate_unique_key and next_hi respectively) - as a source of hi values. The hi/lo algorithm generates identifiers that are unique - only for a particular database. Do not use this generator with a user-supplied connection. - requires a "special" database table to hold the next available "hi" value - - - - - - - - - uses a hi/lo algorithm to efficiently generate identifiers of any integral type, - given a table and column (by default hibernate_unique_key and next_hi respectively) - as a source of hi values. The hi/lo algorithm generates identifiers that are unique - only for a particular database. Do not use this generator with a user-supplied connection. - requires a "special" database table to hold the next available "hi" value - - - - - Params configuration - - - - uses a hi/lo algorithm to efficiently generate identifiers of any integral type, - given a table and column (by default hibernate_unique_key and next_hi respectively) - as a source of hi values. The hi/lo algorithm generates identifiers that are unique - only for a particular database. Do not use this generator with a user-supplied connection. - requires a "special" database table to hold the next available "hi" value - - - - - - - uses a hi/lo algorithm to efficiently generate identifiers of any integral type, - given a table and column (by default hibernate_unique_key and next_hi respectively) - as a source of hi values. The hi/lo algorithm generates identifiers that are unique - only for a particular database. Do not use this generator with a user-supplied connection. - requires a "special" database table to hold the next available "hi" value - - - Params configuration - - - - uses an Oracle-style sequence (where supported) - - - - - - - - uses an Oracle-style sequence (where supported) - - - - Params configuration - - - - uses System.Guid and its ToString(string format) method to generate identifiers - of type string. The length of the string returned depends on the configured format. - - http://msdn.microsoft.com/en-us/library/97af8hh4.aspx - - - - - uses System.Guid and its ToString(string format) method to generate identifiers - of type string. The length of the string returned depends on the configured format. - - http://msdn.microsoft.com/en-us/library/97af8hh4.aspx - Params configuration - - - - uses a new System.Guid to create a byte[] that is converted to a string. - - - - - - uses a new System.Guid to create a byte[] that is converted to a string. - - Params configuration - - - - uses a new System.Guid as the identifier. - - - - - - uses a new System.Guid as the identifier. - - Params configuration - - - - Recommended for Guid identifiers! - uses the algorithm to generate a new System.Guid described by Jimmy Nilsson - in the article http://www.informit.com/articles/article.asp?p=25862. - - - - - - Recommended for Guid identifiers! - uses the algorithm to generate a new System.Guid described by Jimmy Nilsson - in the article http://www.informit.com/articles/article.asp?p=25862. - - Params configuration - - - - Generator that uses the RDBMS native function to generate a GUID. - The behavior is similar to the “sequence” generator. When a new - object is saved NH run two queries: the first to retrieve the GUID - value and the second to insert the entity using the Guid retrieved - from the RDBMS. Your entity Id must be System.Guid and the SQLType - will depend on the dialect (RAW(16) in Oracle, UniqueIdentifier in - MsSQL for example). - - - - - Generator that uses the RDBMS native function to generate a GUID. - The behavior is similar to the “sequence” generator. When a new - object is saved NH run two queries: the first to retrieve the GUID - value and the second to insert the entity using the Guid retrieved - from the RDBMS. Your entity Id must be System.Guid and the SQLType - will depend on the dialect (RAW(16) in Oracle, UniqueIdentifier in - MsSQL for example). - - - GuidNative(x => - { - x.AddParam("key", "value"); - }); - - Parameter builder closure - - - - A deviation of the trigger-identity. This generator works - together with the feature. - The difference with trigger-identity is that the POID value - is retrieved by a SELECT using the natural-id fields as filter. - - - - - A deviation of the trigger-identity. This generator works - together with the feature. - The difference with trigger-identity is that the POID value - is retrieved by a SELECT using the natural-id fields as filter. - - - Select(x => - { - x.AddParam("key", "value"); - }); - - Parameter builder closure - - - - Based on sequence but works like an identity. The POID - value is retrieved with an INSERT query. Your entity Id must - be an integral type. - "hibernate_sequence" is the default name for the sequence, unless - another is provided. - - - - - Based on sequence but works like an identity. The POID - value is retrieved with an INSERT query. Your entity Id must - be an integral type. - "hibernate_sequence" is the default name for the sequence, unless - another is provided. - - Custom sequence name - - - - Based on sequence but works like an identity. The POID - value is retrieved with an INSERT query. Your entity Id must - be an integral type. - "hibernate_sequence" is the default name for the sequence, unless - another is provided. - - Parameter builder closure - - - - Based on sequence but works like an identity. The POID - value is retrieved with an INSERT query. Your entity Id must - be an integral type. - "hibernate_sequence" is the default name for the sequence, unless - another is provided. - - Custom sequence name - Parameter builder closure - - - - trigger-identity is a NHibernate specific feature where the POID - is generated by the RDBMS with an INSERT query through a - BEFORE INSERT trigger. In this case you can use any supported type, - including a custom type, with the limitation of a single column usage. - - - - - trigger-identity is a NHibernate specific feature where the POID - is generated by the RDBMS with an INSERT query through a - BEFORE INSERT trigger. In this case you can use any supported type, - including a custom type, with the limitation of a single column usage. - - Parameter builder closure - - - - lets the application to assign an identifier to the object before Save() is called. - - - - - - lets the application to assign an identifier to the object before Save() is called. - - Params configuration - - - - picks identity, sequence or hilo depending upon the capabilities of the underlying database. - - - - - - picks identity, sequence or hilo depending upon the capabilities of the underlying database. - - Params configuration - - - - picks identity, sequence or hilo depending upon the capabilities of the underlying database. - - - - - picks identity, sequence or hilo depending upon the capabilities of the underlying database. - - - - - uses the identifier of another associated object. Usually used in conjunction with a one-to-one primary key association. - - - - - - - uses the identifier of another associated object. Usually used in conjunction with a one-to-one primary key association. - - - Params configuration - - - - Applies to the joining table for this many-to-many. - - - - - Applies to the joining table for this many-to-many. - - - - - Applies a filter to this relationship given its name. - - The filter's name - The condition to apply - - - - Applies a filter to this relationship given its name. - - The filter's name - - - - Applies a named filter to this relationship. - - The condition to apply - - The type of a implementation - defining the filter to apply. - - - - - Applies a named filter to this relationship. - - - The type of a implementation - defining the filter to apply. - - - - - Applies a filter to this entity given its name. - - The filter's name - The condition to apply - - - - Applies a filter to this entity given its name. - - The filter's name - - - - Applies a named filter to this entity. - - The condition to apply - - The type of a implementation - defining the filter to apply. - - - - - Applies a named filter to this entity. - - - The type of a implementation - defining the filter to apply. - - - - - Specify the lazy behaviour of this relationship. - - - Defaults to Proxy lazy-loading. Use the modifier to disable - lazy-loading, and use the - overload to specify alternative lazy strategies. - - - LazyLoad(); - Not.LazyLoad(); - - - - - Specify the lazy behaviour of this relationship. Cannot be used - with the modifier. - - Laziness strategy - - LazyLoad(Laziness.NoProxy); - - - - - Adds a column to the index if columns have not yet been specified - - The column name to add - - - - Adds a column to the index if columns have not yet been specified - - The column name to add - - - - Specify the lazy behaviour of this relationship. - - - Defaults to Proxy lazy-loading. Use the modifier to disable - lazy-loading, and use the - overload to specify alternative lazy strategies. - - - LazyLoad(); - Not.LazyLoad(); - - - - - Specify the lazy behaviour of this relationship. Cannot be used - with the modifier. - - Laziness strategy - - LazyLoad(Laziness.NoProxy); - - - - - Applies a filter to this relationship given its name. - - The filter's name - The condition to apply - - - - Applies a filter to this relationship given its name. - - The filter's name - - - - Applies a named filter to this relationship. - - The condition to apply - - The type of a implementation - defining the filter to apply. - - - - - Applies a named filter to this relationship. - - - The type of a implementation - defining the filter to apply. - - - - - (optional) Specifies the entity from which this subclass descends/extends. - - Type of the entity to extend - - - - (optional) Specifies the entity from which this subclass descends/extends. - - Type of the entity to extend - - - - Checks whether a collection contains an inspector identified by the string value. - - - - - - - - - Checks whether a collection contains an inspector identified by a predicate. - - - - - - - - - (optional) Specifies the entity from which this subclass descends/extends. - - Type of the entity to extend - - - - (optional) Specifies the entity from which this subclass descends/extends. - - Type of the entity to extend - - - - Base convention for specifying your own many-to-many table naming style. Implement - the abstract members defined by this class to control how your join tables are named - for uni and bi-directional many-to-many's. - - - - - Gets the name used for bi-directional many-to-many tables. Implement this member to control how - your join table is named for bi-directional relationships. - - - This method will be called once per bi-directional relationship; once one side of the relationship - has been saved, then the other side will assume that name aswell. - - Main collection - Inverse collection - Many-to-many table name - - - - Gets the name used for uni-directional many-to-many tables. Implement this member to control how - your join table is named for uni-directional relationships. - - Main collection - Many-to-many table name - - - - A component that is declared external to a class mapping. - - - - - Determines the lazy-loading strategy for a collection mapping. - - - - - Collection will be eager loaded (lazy=false). - - - - - Collection will lazy loaded (lazy=true). - - - - - collection will be extra lazy loaded (lazy=extra). - - - "Extra" lazy collections are mostly similar to lazy=true, except certain operations on the collection will not load the whol collection - but issue a smarter SQL statement. For example, invoking Count on an extra-lazy collection will issue a "SELECT COUNT(*)..." rather than selecting - and loading the whole collection of entities. - - - - - This bad boy is the entry point to the visitor - - - - - - Laziness strategy for relationships - - - - - No lazy loading - - - - - Proxy-based lazy-loading - - - - - No proxy lazy loading - - - - - Defines a property to be used for this natural-id. - - A member access lambda expression for the property - The natural id part fluent interface - - - - Defines a property to be used for this natural-id with an explicit column name. - - A member access lambda expression for the property - The column name in the database to use for this natural id, or null to use the property name - The natural id part fluent interface - - - - Defines a reference to be used as a many-to-one key for this natural-id with an explicit column name. - - A member access lambda expression for the property - The natural ID part fluent interface - - - - Defines a reference to be used as a many-to-one key for this natural-id with an explicit column name. - - A member access lambda expression for the property - The column name in the database to use for this key, or null to use the property name - The natural id part fluent interface - - - - Specifies that this id is read-only - - This is the same as setting the mutable attribute to false - - - - Inverts the next boolean operation - - - - - Sets the tuplizer type. - - Type - - - - Sets the tuplizer type. - - Type - - - - Sets the tuplizer type. - - Type - - - - Sets the tuplizer mode - - Mode - - - - Specifies an entity-name. - - See http://nhforge.org/blogs/nhibernate/archive/2008/10/21/entity-name-in-action-a-strongly-typed-entity.aspx - - - Computes the Levenshtein Edit Distance between two enumerables. - The type of the items in the enumerables. - The first enumerable. - The second enumerable. - The edit distance. - - - - A reference to a component which is declared externally. Contains properties - that can't be declared externally (property name, for example) - - - - - Specify the column name - - Column name - - - - Specify the column length - - Column length - - - - Specify the nullability of the column - - - - - Specify the uniquness of the column - - - - - Specify the unique key constraint name - - Constraint name - - - - Specify the SQL type for the column - - SQL type - - - - Specify the index name - - Index name - - - - Inverts the next boolean - - - - - Defines a mapping for a component. Derive from this class to create a mapping, - and use the constructor to control how your component is persisted. - - - public class AddressMap : ComponentMap<Address> - { - public AddressMap() - { - Map(x => x.Street); - Map(x => x.City); - } - } - - Component type to map - - - - Specify a parent reference for this component - - Parent property - - ParentReference(x => x.Parent); - - - - - Specifies that this component is read-only - - - This is the same as calling both Not.Insert() and Not.Update() - - - - - Specifies that this component is insertable. - - - - - Specifies that this component is updatable - - - - - Specifies the uniqueness of this component - - - - - Specify that this component should be optimistically locked on access - - - - - Set the access and naming strategy for this component. - - - - - Invert the next boolean operation - - - - - Creates a component reference. This is a place-holder for a component that is defined externally with a - ; the mapping defined in said will be merged - with any options you specify from this call. - - Component type - Property exposing the component - Component reference builder - - - - The fluent-interface part for a external component reference. These are - components which have their bulk/body declared external to a class mapping - and are reusable. - - Component type - - - - Sets the prefix for any columns defined within the component. To refer to the property - that exposes this component use {property}. - - - // Entity using Address component - public class Person - { - public Address PostalAddress { get; set; } - } - - ColumnPrefix("{property}_") will result in any columns of Person.Address being prefixed with "PostalAddress_". - - Prefix for column names - - - - Maps to the Filter element in NH 2.0 - - - - - Specifies an entity-name. - - See http://nhforge.org/blogs/nhibernate/archive/2008/10/21/entity-name-in-action-a-strongly-typed-entity.aspx - - - - Inverts the next boolean - - - - - Defines how NHibernate will access the object for persisting/hydrating (Defaults to Property) - - - - - Implicit polymorphism - - - - - Explicit polymorphism - - - - - Takes a type that represents the level in the class/subclass-hiearchy that we're starting from, the parent, - this can be a class or subclass; also takes a list of subclass providers. The providers are then iterated - and added to a dictionary key'd by the types "distance" from the parentType; distance being the number of levels - between parentType and the subclass-type. - - By default if the Parent type is an interface the level will always be zero. At this time there is no check for - hierarchical interface inheritance. - - Starting point, parent type. - List of subclasses - Dictionary key'd by the distance from the parentType. - - - - The evalType starts out as the original subclass. The class hiearchy is only - walked if the subclass inherits from a class that is included in the subclassProviders. - - - - - - - - - The evalType is always one class higher in the hiearchy starting from the original subclass. The class - hiearchy is walked until the IsTopLevel (base class is Object) is met. The level is only incremented if - the subclass inherits from a class that is also in the subclassProviders. - - - - - - - - - Defines a mapping for an entity subclass. Derive from this class to create a mapping, - and use the constructor to control how your entity is persisted. - - - public class EmployeeMap : SubclassMap<Employee> - { - public EmployeeMap() - { - Map(x => x.Name); - Map(x => x.Age); - } - } - - Entity type to map - - - - (optional) Specifies that this subclass is abstract - - - - - Sets the dynamic insert behaviour - - - - - Sets the dynamic update behaviour - - - - - Specifies that this entity should be lazy loaded - - - - - Specify a proxy type for this entity - - Proxy type - - - - Specify a proxy type for this entity - - Proxy type - - - - Specify that a select should be performed before an update of this entity - - - - - Set the discriminator value, if this entity is in a table-per-class-hierarchy - mapping strategy. - - Discriminator value - - - - Sets the table name - - Table name - - - - Sets the schema - - Schema - - - - Specifies a check constraint - - Constraint name - - - - Adds a column to the key for this subclass, if used - in a table-per-subclass strategy. - - Column name - - - - Subselect query - - Subselect query - - - - Specifies a persister for this entity - - Persister type - - - - Specifies a persister for this entity - - Persister type - - - - Specifies a persister for this entity - - Persister type - - - - Set the query batch size - - Batch size - - - - Specifies an entity-name. - - See http://nhforge.org/blogs/nhibernate/archive/2008/10/21/entity-name-in-action-a-strongly-typed-entity.aspx - - - - Links this entity to another table, to create a composite entity from two or - more tables. This only works if you're in a table-per-inheritance-hierarchy - strategy. - - Joined table name - Joined table mapping - - Join("another_table", join => - { - join.Map(x => x.Name); - join.Map(x => x.Age); - }); - - - - - (optional) Specifies the entity from which this subclass descends/extends. - - Type of the entity to extend - - - - (optional) Specifies the entity from which this subclass descends/extends. - - Type of the entity to extend - - - - Inverts the next boolean setting - - - - - Container for automatic mappings - - - - - Add automatic mappings - - Lambda returning an auto mapping setup - Auto mappings configuration - - - - Add automatic mappings - - Auto mapping setup - Auto mappings configuration - - - - Sets the export location for generated mappings - - Path to folder for mappings - Auto mappings configuration - - - - Sets the text writer to write the generated mappings to. - - Fluent mappings configuration - - - - Applies any added mappings to the NHibernate Configuration - - NHibernate Configuration instance - - - - - Gets whether any mappings were added - - - - - Initializes a new instance of the class using the - MS Oracle Client (System.Data.OracleClient) library specifying the Oracle 9i dialect. - - - - - Initializes a new instance of the class using the - MS Oracle Client (System.Data.OracleClient) library specifying the Oracle 10g dialect. - This allows for ANSI join syntax. - - - - - Initializes a new instance of the class using the - Oracle Data Provider (Oracle.DataAccess) library specifying the Oracle 8i dialect. - The Oracle.DataAccess library must be available to the calling application/library. - - - - - Initializes a new instance of the class using the - Oracle Data Provider (Oracle.DataAccess) library specifying the Oracle 9i dialect. - The Oracle.DataAccess library must be available to the calling application/library. - - - - - Initializes a new instance of the class using the - Oracle Data Provider (Oracle.DataAccess) library specifying the Oracle 10g dialect. - The Oracle.DataAccess library must be available to the calling application/library. - This allows for ANSI join syntax. - - - - - Specifies the server to connect. This can be either the DNS name of the - server or the IP (as a string). - - The server. - - - - - Specifies the instance (database name) to use. This can be the short name or the - fully qualified name (Oracle service name). - - The instance. - - - - - Specifies the name of the user account accessing the database. - - The username. - - - - - Specifies the password of the user account accessing the database. - - The password. - - - - - Optional. Ports the specified port the oracle database is running on. This defaults to 1521. - - The port. - - - - - Enable or disable pooling connections for this data configuration. - - if set to true enable pooling. - - - - - Specifies the SQL statement cache size to use for this connection. - - Size of the cache. - - - - - Specifies, as a string, other Oracle options to pass to the connection. - - The other options. - - - - - Initializes a new instance of the class using the - Oracle Data Provider (Oracle.DataAccess) library specifying the Oracle 9i dialect. - The Oracle.DataAccess library must be available to the calling application/library. - - - - - Initializes a new instance of the class using the - Oracle Data Provider (Oracle.DataAccess) library specifying the Oracle 10g dialect. - The Oracle.DataAccess library must be available to the calling application/library. - - - - - The type of authentication to be used. Acceptable values: - - - SERVER - - - SERVER_ENCRYPT - - - DATA_ENCRYPT - - - KERBEROS - - - GSSPLUGIN - - - - - IfxDRDAConnectionStringBuilder object - - - - The name of the database within the server instance. - - - IfxSQLIConnectionStringBuilder object - - - - - - true - - host variable (:param) support enabled. - - - false (default) - - host variable support disabled. - - - - - IfxSQLIConnectionStringBuilder object - - - - Isolation level for the connection. Possible values: - - - ReadCommitted - - - ReadUncommitted - - - RepeatableRead - - - Serializable - - - Transaction - - - This keyword is only supported for applications participating in a - distributed transaction. - - - IfxDRDAConnectionStringBuilder object - - - - The maximum number of connections allowed in the pool. - - - IfxDRDAConnectionStringBuilder object - - - - The minimum number of connections allowed in the pool. Default value 0. - - - IfxDRDAConnectionStringBuilder object - - - - The password associated with the User ID. - - - IfxDRDAConnectionStringBuilder object - - - - When set to true, the IfxConnection object is drawn from - the appropriate pool, or if necessary, it is created and added - to the appropriate pool. Default value 'true'. - - - IfxDRDAConnectionStringBuilder object - - - - Server name with optional port number for direct connection using either - IPv4 notation ([:]]]>) or IPv6 notation. - - - IfxDRDAConnectionStringBuilder object - - - - The login account. - - - IfxDRDAConnectionStringBuilder object - - - - Other options: Connection Lifetime, Connection Reset, Connection Timeout, CurrentSchema, Enlist, - Interrupt, Persist Security Info, ResultArrayAsReturnValue, Security, TrustedContextSystemUserID, - TrustedContextSystemPassword - - - IfxDRDAConnectionStringBuilder object - - - - Client locale, default value is en_us.CP1252 (Windows) - - - IfxSQLIConnectionStringBuilder object - - - - The name of the database within the server instance. - - - IfxSQLIConnectionStringBuilder object - - - - The language locale of the database. Default value is en_US.8859-1 - - - IfxSQLIConnectionStringBuilder object - - - - When set to true or y for yes, any string within double - quotes (") is treated as an identifier, and any string within - single quotes (') is treated as a string literal. Default value 'y'. - - - IfxSQLIConnectionStringBuilder object - - - - The name or IP address of the machine on which the - Informix server is running. Required. - - - IfxSQLIConnectionStringBuilder object - - - - The maximum number of connections allowed in the pool. Default value 100. - - - IfxSQLIConnectionStringBuilder object - - - - The minimum number of connections allowed in the pool. Default value 0. - - - IfxSQLIConnectionStringBuilder object - - - - The password associated with the User ID. Required if the - client machine or user account is not trusted by the host. - Prohibited if a User ID is not given. - - - IfxSQLIConnectionStringBuilder object - - - - When set to true, the IfxConnection object is drawn from - the appropriate pool, or if necessary, it is created and added - to the appropriate pool. Default value 'true'. - - - IfxSQLIConnectionStringBuilder object - - - - The name or alias of the instance of the Informix server to - which to connect. Required. - - - IfxSQLIConnectionStringBuilder object - - - - The service name or port number through which the server - is listening for connection requests. - - - IfxSQLIConnectionStringBuilder object - - - - The login account. Required, unless the client machine is - trusted by the host machine. - - - IfxSQLIConnectionStringBuilder object - - - - Other options like: Connection Lifetime, Enlist, Exclusive, Optimize OpenFetchClose, - Fetch Buffer Size, Persist Security Info, Protocol, Single Threaded, Skip Parsing - - - IfxSQLIConnectionStringBuilder object - - - - Fluent configuration API for NHibernate - - - - - Configure diagnostic logging - - Diagnostic configuration - - - - Apply database settings - - Lambda returning database configuration - Fluent configuration - - - - Apply database settings - - Database configuration instance - Fluent configuration - - - - Configure caching. - - - Cache(x => - { - x.UseQueryCache(); - x.UseMinimalPuts(); - }); - - Closure for configuring caching - Configuration builder - - - - Sets the collectiontype.factory_class property. - NOTE: NHibernate 2.1 only - - factory class - Configuration - - - - Sets the collectiontype.factory_class property. - NOTE: NHibernate 2.1 only - - factory class - Configuration - - - - Sets the collectiontype.factory_class property. - NOTE: NHibernate 2.1 only - - factory class - Configuration - - - - Sets the proxyfactory.factory_class property. - NOTE: NHibernate 2.1 only - - factory class - Configuration - - - - Sets the proxyfactory.factory_class property. - NOTE: NHibernate 2.1 only - - factory class - Configuration - - - - Sets the proxyfactory.factory_class property. - NOTE: NHibernate 2.1 only - - factory class - Configuration - - - - Sets the current_session_context_class property. - - current session context class - Configuration - - - - Sets the current_session_context_class property. - - Implementation of ICurrentSessionContext to use - Configuration - - - - Apply mappings to NHibernate - - Lambda used to apply mappings - Fluent configuration - - - - Allows altering of the raw NHibernate Configuration object before creation - - Lambda used to alter Configuration - Fluent configuration - - - - Verify's the configuration and instructs NHibernate to build a SessionFactory. - - ISessionFactory from supplied settings. - - - - Verifies the configuration and populates the NHibernate Configuration instance. - - NHibernate Configuration instance - - - - Creates an exception based on the current state of the configuration. - - Inner exception - FluentConfigurationException with state - - - - Fluently configure NHibernate - - - - - Begin fluently configuring NHibernate - - Fluent Configuration - - - - Begin fluently configuring NHibernate - - Instance of an NHibernate Configuration - Fluent Configuration - - - - Container for fluent mappings - - - - - Add all fluent mappings in the assembly that contains T. - - Type from the assembly - Fluent mappings configuration - - - - Add all fluent mappings in the assembly - - Assembly to add mappings from - Fluent mappings configuration - - - - Adds a single represented by the specified type. - - Fluent mappings configuration - - - - Adds a single represented by the specified type. - - The type. - Fluent mappings configuration - - - - Sets the export location for generated mappings - - Path to folder for mappings - Fluent mappings configuration - - - - Sets the text writer to write the generated mappings to. - - Fluent mappings configuration - - - - Applies any added mappings to the NHibernate Configuration - - PersistenceModel to alter - - - - Alter convention discovery - - - - - Gets whether any mappings were added - - - - - Container for Hbm mappings - - - - - Add explicit classes with Hbm mappings - - List of types to map - Hbm mappings configuration - - - - Add all Hbm mappings in the assembly that contains T. - - Type from the assembly - Hbm mappings configuration - - - - Add all Hbm mappings in the assembly - - Assembly to add mappings from - Hbm mappings configuration - - - - Applies any added mappings to the NHibernate Configuration - - NHibernate Configuration instance - - - - Gets whether any mappings were added - - - - - Fluent mapping configuration - - - - - Applies any mappings to the NHibernate Configuration - - Diagnostics logger - NHibernate Configuration instance - - - - Fluent mappings - - - - - Automatic mapping configurations - - - - - Hbm mappings - - - - - Get whether any mappings of any kind were added - - - - - Convention finder - used to search through assemblies for types that implement a specific convention interface. - - - - - Add a source to be queried. - - Source to query - - - - Add an assembly to be queried. - - - All convention types must have a parameterless constructor, or a single parameter of . - - Assembly instance to query - - - - Adds all conventions found in the assembly that contains . - - - All convention types must have a parameterless constructor, or a single parameter of . - - - - - Add a single convention by type. - - - Type must have a parameterless constructor, or a single parameter of . - - Convention type - - - - Add a single convention by type. - - - Types must have a parameterless constructor, or a single parameter of . - - Type of convention - - - - Add an instance of a convention. - - - Useful for supplying conventions that require extra constructor parameters. - - Convention type - Instance of convention - - - - Find any conventions implementing T. - - Convention interface type - IEnumerable of T - - - - Default convention finder - doesn't do anything special. - - - - - Find any conventions implementing T. - - Convention interface type - IEnumerable of T - - - - Add an assembly to be queried. - - - All convention types must have a parameterless constructor, or a single parameter of IConventionFinder. - - Assembly instance to query - - - - Adds all conventions found in the assembly that contains T. - - - All convention types must have a parameterless constructor, or a single parameter of IConventionFinder. - - - - - Add a single convention by type. - - - Type must have a parameterless constructor, or a single parameter of IConventionFinder. - - Convention type - - - - Add a single convention by type. - - - Types must have a parameterless constructor, or a single parameter of . - - Type of convention - - - - Add an instance of a convention. - - - Useful for supplying conventions that require extra constructor parameters. - - Convention type - Instance of convention - - - - Indicates whether the current is equal to another . - - - true if the current object is equal to the parameter; otherwise, false. - - An Entity to compare with this object. - - - - Determines whether the specified is equal to the current . - - - true if the specified is equal to the current ; otherwise, false. - - The to compare with the current . - The parameter is null.2 - - - - Serves as a hash function for a Entity. - - - A hash code for the current . - - 2 - - - - Set which type this subclass extends. - Note: This doesn't actually get output into the XML, it's - instead used as a marker for the - to pair things up. - - - - - Represents the "Any" mapping in NHibernate. It is impossible to specify a foreign key constraint for this kind of association. For more information - please reference chapter 5.2.4 in the NHibernate online documentation - - - - - Sets the meta-type value for this any mapping. - - Meta type - - - - Sets the meta-type value for this any mapping. - - Meta type - - - - Sets the meta-type value for this any mapping. - - Meta type - - - - Defines how NHibernate will access the object for persisting/hydrating (Defaults to Property) - - - - - Cascade style (Defaults to none) - - - - - Access strategy mapping builder. - - - - - Access strategy mapping builder. - - - - - Sets the access-strategy to property. - - - - - Sets the access-strategy to field. - - - - - Sets the access-strategy to use the backing-field of an auto-property. - - - - - Sets the access-strategy to readonly. - - - - - Sets the access-strategy to field and the naming-strategy to camelcase (field.camelcase). - - - - - Sets the access-strategy to field and the naming-strategy to camelcase, with the specified prefix. - - Naming-strategy prefix - - - - Sets the access-strategy to field and the naming-strategy to lowercase. - - - - - Sets the access-strategy to field and the naming-strategy to lowercase, with the specified prefix. - - Naming-strategy prefix - - - - Sets the access-strategy to field and the naming-strategy to pascalcase, with the specified prefix. - - Naming-strategy prefix - - - - Sets the access-strategy to read-only property (nosetter) and the naming-strategy to camelcase. - - - - - Sets the access-strategy to read-only property (nosetter) and the naming-strategy to camelcase, with the specified prefix. - - Naming-strategy prefix - - - - Sets the access-strategy to read-only property (nosetter) and the naming-strategy to lowercase. - - - - - Sets the access-strategy to read-only property (nosetter) and the naming-strategy to lowercase. - - Naming-strategy prefix - - - - Sets the access-strategy to read-only property (nosetter) and the naming-strategy to pascalcase, with the specified prefix. - - Naming-strategy prefix - - - - Sets the access-strategy to use the type referenced. - - Assembly qualified name of the type to use as the access-strategy - - - - Sets the access-strategy to use the type referenced. - - Type to use as the access-strategy - - - - Sets the access-strategy to use the type referenced. - - Type to use as the access-strategy - - - - Force NHibernate to always select using the discriminator value, even when selecting all subclasses. This - can be useful when your table contains more discriminator values than you have classes (legacy). - - Sets the "force" attribute. - - - - Set this discriminator as read-only. Call this if your discriminator column is also part of a mapped composite identifier. - - Sets the "insert" attribute. - - - - An arbitrary SQL expression that is executed when a type has to be evaluated. Allows content-based discrimination. - - SQL expression - - - - Sets the precision for decimals - - Decimal precision - - - - Specifies the scale for decimals - - Decimal scale - - - - Specify the column length - - Column length - - - - Specify the nullability of this column - - - - - Specifies the uniqueness of this column - - - - - Specifies the unique key constraint name - - Constraint columns - - - - Specifies the index name - - Index name - - - - Specifies a check constraint name - - Constraint name - - - - Specifies the default value for the discriminator - - Default value - - - - Specifies a custom type for the discriminator - - - This is often used with - - Custom type - - - - Specifies a custom type for the discriminator - - - This is often used with - - Custom type - - - - Specifies a custom type for the discriminator - - - This is often used with - - Custom type - - - - Specifies a custom SQL type for the discriminator. - - Custom SQL type. - - - - Invert the next boolean operation - - - - - Pre-defined discriminator values - - - - - Null discriminator value - - - - - Non-null discriminator value - - - - - Specify the element column name - - Column name - - - - Specify the element type - - Element type - - - - Specify the element column length - - Column length - - - - Specify the element column formula - - Formula - - - - Modify the columns for this element - - - - - Sets caching to read-write - - - - - Sets caching to non-strict read-write - - - - - Sets caching to read-only - - - - - Sets caching to transactional - - - - - Specifies a custom cache behaviour - - Custom behaviour - - - - Specifies the cache region - - - - - - Include all properties for caching - - - - - - Include only non-lazy properties for caching - - - - - Specify a custom property inclusion strategy - - Inclusion strategy - - - - Base class for user type conventions. Create a subclass of this to automatically - map all properties that the user type can be used against. Override Accept or - Apply to alter the behavior. - - IUserType implementation - - - - Base class for attribute based conventions. Create a subclass of this to supply your own - attribute based conventions. - - Attribute identifier - - - - Apply changes to a property with an attribute matching T. - - Instance of attribute found on property. - Property with attribute - - - - Cascade all actions - - - - - Cascade no actions - - - - - Cascade saves and updates - - - - - Cascade deletes - - - - - Cascade all actions, deleting any orphaned records - - - - - Cascade deletes, deleting any orphaned records - - - - - Map a property - - Dictionary key - - Map("Age"); - - - - - Map a property - - Dictionary key - Property type - - Map<int>("Age"); - - - - - Join fetching - - - - - Select fetching - - - - - Subselect/subquery fetching - - - - - Specifies an entity-name. - - See http://nhforge.org/blogs/nhibernate/archive/2008/10/21/entity-name-in-action-a-strongly-typed-entity.aspx - - - - Thrown when a prefix is specified for an access-strategy that isn't supported. - - - - - Naming strategy prefix. - - - - - Property is never database generated - - - - - Property is only generated on insert - - - - - Property is always database generated - - - - - Checks a list of components for validity. - - Entity type - Type of list element - Persistence specification - Property - Value to save - Equality comparer - - - - Converts an expression to a best guess SQL string - - - - - Converts a Func expression to a best guess SQL string - - - - - Converts a boolean Func expression to a best guess SQL string - - - - - Gets the value of a method call. - - Method call expression - - - - Specify an alternative name for the type - - Alternative name - - - - Used to set the Not-Found attribute to ignore. This tells NHibernate to - return a null object rather then throw an exception when the join fails - - - - - Used to set the Not-Found attribute to exception (Nhibernate default). This - tells NHibernate to throw an exception when the join fails - - - - - Specifies the child class - - Child - - - - Specifies the child class - - Child - - - - Specifies that this relationship should be created with a default-named - foreign-key - - - - - Specify the foreign-key constraint name - - Foreign-key constraint - - - - Sets the property reference - - Property - - - - Sets the property reference - - Property - - - - Specifies that this relationship is constrained - - - - - Specify the lazy behaviour of this relationship. - - - Defaults to Proxy lazy-loading. Use the modifier to disable - lazy-loading, and use the - overload to specify alternative lazy strategies. - - - LazyLoad(); - Not.LazyLoad(); - - - - - Specify the lazy behaviour of this relationship. Cannot be used - with the modifier. - - Laziness strategy - - LazyLoad(Laziness.NoProxy); - - - - - Specifies an entity-name. - - See http://nhforge.org/blogs/nhibernate/archive/2008/10/21/entity-name-in-action-a-strongly-typed-entity.aspx - - - - Sets the fetch behaviour for this relationship - - - Fetch.Select(); - - - - - Sets the cascade behaviour for this relationship - - - Cascade.All(); - - - - - Specifies the access strategy for this relationship - - - Access.Field(); - - - - - Inverts the next boolean operation - - - - - No optimistic locking - - - - - Version locking - - - - - Dirty locking - - - - - Lock on everything - - - - - Use no locking strategy - - - - - Use version locking - - - - - Use dirty locking - - - - - Use all locking - - - - - This method is used to set a different key column in this table to be used for joins. - The output is set as the property-ref attribute in the "key" subelement of the collection - - The name of the column in this table which is linked to the foreign key - OneToManyPart - - - - Specify the lazy-load behaviour - - - - - Specify extra lazy loading - - - - - Inverse the ownership of this entity. Make the other side of the relationship - responsible for saving. - - - - - Use a set collection - - - - - Use a set collection - - Sorting - - - - Use a set collection - - Item comparer - - - - Use a bag collection - - - - - Use a list collection - - - - - Use a list collection with an index - - Index mapping - - - - Use a map collection - - Index type - Index property - - - - Use a map collection - - Index type - Index property - Sorting - - - - Use a map collection - - Index column name - - - - Use a map collection - - Index column name - Sorting - - - - Use a map collection - - Index type - Index column name - - - - Use a map collection - - Index type - Index column name - Sorting - - - - Use a map collection - - Index type - Comparer - Index column name - - - - Use a map collection - - Index type - Index property - Index mapping - - - - Use a map collection - - Index type - Index property - Index mapping - Sorting - - - - Use a map collection - - Index type - Index mapping - Element mapping - - - - Use an array - - Index type - Index property - - - - Use an array - - Index type - Index property - Index mapping - - - - Make this collection indexed - - Index type - Index property - Index mapping - - - - Make this collection index - - Index type - Index column - Index mapping - - - - Map an element/value type - - Column name - - - - Map an element/value type - - Column name - Custom mapping - - - - Maps this collection as a collection of components. - - Component mapping - - - - Sets the table name for this one-to-many. - - Table name - - - - Specify that the deletes should be cascaded - - - - - Specify a custom persister - - Persister - - - - Specify a check constraint - - Constraint name - - - - Specify that this collection is generic (optional) - - - - - Sets the where clause for this one-to-many relationship. - Note: This only supports simple cases, use the string overload for more complex clauses. - - - - - Sets the where clause for this one-to-many relationship. - - - - - Specify the select batch size - - Batch size - - - - Sets a custom collection type - - - - - Sets a custom collection type - - - - - Sets a custom collection type - - - - - Sets a custom collection type - - - - - Specify the table schema - - Schema name - - - - Specifies an entity-name. - - See http://nhforge.org/blogs/nhibernate/archive/2008/10/21/entity-name-in-action-a-strongly-typed-entity.aspx - - - - Applies a filter to this entity given it's name. - - - Applies a filter to this entity given it's name. - - The filter's name - The condition to apply - - - - Applies a filter to this entity given it's name. - - - Applies a filter to this entity given it's name. - - The filter's name - - - - Applies a named filter to this one-to-many. - - - Applies a named filter to this one-to-many. - - The condition to apply - - The type of a implementation - defining the filter to apply. - - - - - Applies a named filter to this one-to-many. - - - The type of a implementation - defining the filter to apply. - - - - - Specify caching for this entity. - - - - - Specify the cascade behaviour - - - - - Specify the fetching behaviour - - - - - Set the access and naming strategy for this one-to-many. - - - - - Specify the optimistic locking behaviour - - - - - Inverts the next boolean operation - - - - - Access strategy mapping builder. - - Mapping part to be applied to - - - - Access strategy mapping builder. - - Instance of the parent mapping part. - Setter for altering the model - - - - Sets the access-strategy to property. - - - - - Sets the access-strategy to field. - - - - - Sets the access-strategy to use the backing-field of an auto-property. - - - - - Sets the access-strategy to readonly. - - - - - - Sets the access-strategy to field and the naming-strategy to camelcase (field.camelcase). - - - - - Sets the access-strategy to field and the naming-strategy to camelcase, with the specified prefix. - - Naming-strategy prefix - - - - Sets the access-strategy to field and the naming-strategy to lowercase. - - - - - Sets the access-strategy to field and the naming-strategy to lowercase, with the specified prefix. - - Naming-strategy prefix - - - - Sets the access-strategy to field and the naming-strategy to pascalcase, with the specified prefix. - - Naming-strategy prefix - - - - Sets the access-strategy to read-only property (nosetter) and the naming-strategy to camelcase. - - - - - Sets the access-strategy to read-only property (nosetter) and the naming-strategy to camelcase, with the specified prefix. - - Naming-strategy prefix - - - - Sets the access-strategy to read-only property (nosetter) and the naming-strategy to lowercase. - - - - - Sets the access-strategy to read-only property (nosetter) and the naming-strategy to lowercase. - - Naming-strategy prefix - - - - Sets the access-strategy to read-only property (nosetter) and the naming-strategy to pascalcase, with the specified prefix. - - Naming-strategy prefix - - - - Sets the access-strategy to use the type referenced. - - Assembly qualified name of the type to use as the access-strategy - - - - Sets the access-strategy to use the type referenced. - - Type to use as the access-strategy - - - - Sets the access-strategy to use the type referenced. - - Type to use as the access-strategy - - - - Specify the lazy-load behaviour - - - - - Component-element for component HasMany's. - - Component type - - - - Map a property - - Property - - Map(x => x.Age); - - - - - Map a property - - Property - Column name - - Map(x => x.Age, "person_age"); - - - - - Create a reference to another entity. In database terms, this is a many-to-one - relationship. - - Other entity - Property on the current entity - - References(x => x.Company); - - - - - Create a reference to another entity. In database terms, this is a many-to-one - relationship. - - Other entity - Property on the current entity - Column name - - References(x => x.Company, "person_company_id"); - - - - - Maps a property of the component class as a reference back to the containing entity - - Parent reference property - Component being mapped - - - - Create a nested component mapping. - - Component property - Action for creating the component - - HasMany(x => x.Locations) - .Component(c => - { - c.Map(x => x.Name); - c.Component(x => x.Address, addr => - { - addr.Map(x => x.Street); - addr.Map(x => x.PostCode); - }); - }); - - - - - generates identifiers of any integral type that are unique only when no other - process is inserting data into the same table. Do not use in a cluster. - - - - - - generates identifiers of any integral type that are unique only when no other - process is inserting data into the same table. Do not use in a cluster. - - Params configuration - - - - supports identity columns in DB2, MySQL, MS SQL Server and Sybase. - The identifier returned by the database is converted to the property type using - Convert.ChangeType. Any integral property type is thus supported. - - - - - - supports identity columns in DB2, MySQL, MS SQL Server and Sybase. - The identifier returned by the database is converted to the property type using - Convert.ChangeType. Any integral property type is thus supported. - - Params configuration - - - - uses a sequence in DB2, PostgreSQL, Oracle or a generator in Firebird. - The identifier returned by the database is converted to the property type - using Convert.ChangeType. Any integral property type is thus supported. - - - - - - - uses a sequence in DB2, PostgreSQL, Oracle or a generator in Firebird. - The identifier returned by the database is converted to the property type - using Convert.ChangeType. Any integral property type is thus supported. - - - Params configuration - - - - uses a hi/lo algorithm to efficiently generate identifiers of any integral type, - given a table and column (by default hibernate_unique_key and next_hi respectively) - as a source of hi values. The hi/lo algorithm generates identifiers that are unique - only for a particular database. Do not use this generator with a user-supplied connection. - requires a "special" database table to hold the next available "hi" value - - The table. - The column. - The max lo. - The where. - - - - - uses a hi/lo algorithm to efficiently generate identifiers of any integral type, - given a table and column (by default hibernate_unique_key and next_hi respectively) - as a source of hi values. The hi/lo algorithm generates identifiers that are unique - only for a particular database. Do not use this generator with a user-supplied connection. - requires a "special" database table to hold the next available "hi" value - - - - - - - - - uses a hi/lo algorithm to efficiently generate identifiers of any integral type, - given a table and column (by default hibernate_unique_key and next_hi respectively) - as a source of hi values. The hi/lo algorithm generates identifiers that are unique - only for a particular database. Do not use this generator with a user-supplied connection. - requires a "special" database table to hold the next available "hi" value - - - - - Params configuration - - - - uses a hi/lo algorithm to efficiently generate identifiers of any integral type, - given a table and column (by default hibernate_unique_key and next_hi respectively) - as a source of hi values. The hi/lo algorithm generates identifiers that are unique - only for a particular database. Do not use this generator with a user-supplied connection. - requires a "special" database table to hold the next available "hi" value - - - - - - - uses a hi/lo algorithm to efficiently generate identifiers of any integral type, - given a table and column (by default hibernate_unique_key and next_hi respectively) - as a source of hi values. The hi/lo algorithm generates identifiers that are unique - only for a particular database. Do not use this generator with a user-supplied connection. - requires a "special" database table to hold the next available "hi" value - - - Params configuration - - - - uses an Oracle-style sequence (where supported) - - - - - - - - uses an Oracle-style sequence (where supported) - - - - Params configuration - - - - uses System.Guid and its ToString(string format) method to generate identifiers - of type string. The length of the string returned depends on the configured format. - - http://msdn.microsoft.com/en-us/library/97af8hh4.aspx - - - - - uses System.Guid and its ToString(string format) method to generate identifiers - of type string. The length of the string returned depends on the configured format. - - http://msdn.microsoft.com/en-us/library/97af8hh4.aspx - Params configuration - - - - uses a new System.Guid to create a byte[] that is converted to a string. - - - - - - uses a new System.Guid to create a byte[] that is converted to a string. - - Params configuration - - - - uses a new System.Guid as the identifier. - - - - - - uses a new System.Guid as the identifier. - - Params configuration - - - - Recommended for Guid identifiers! - uses the algorithm to generate a new System.Guid described by Jimmy Nilsson - in the article http://www.informit.com/articles/article.asp?p=25862. - - - - - - Recommended for Guid identifiers! - uses the algorithm to generate a new System.Guid described by Jimmy Nilsson - in the article http://www.informit.com/articles/article.asp?p=25862. - - Params configuration - - - - lets the application to assign an identifier to the object before Save() is called. - - - - - - lets the application to assign an identifier to the object before Save() is called. - - Params configuration - - - - picks identity, sequence or hilo depending upon the capabilities of the underlying database. - - - - - - picks identity, sequence or hilo depending upon the capabilities of the underlying database. - - Params configuration - - - - picks identity, sequence or hilo depending upon the capabilities of the underlying database. - - - - - picks identity, sequence or hilo depending upon the capabilities of the underlying database. - - - - - uses the identifier of another associated object. Usually used in conjunction with a one-to-one primary key association. - - - - - - - uses the identifier of another associated object. Usually used in conjunction with a one-to-one primary key association. - - - Params configuration - - - - Generator that uses the RDBMS native function to generate a GUID. - The behavior is similar to the “sequence” generator. When a new - object is saved NH run two queries: the first to retrieve the GUID - value and the second to insert the entity using the Guid retrieved - from the RDBMS. Your entity Id must be System.Guid and the SQLType - will depend on the dialect (RAW(16) in Oracle, UniqueIdentifier in - MsSQL for example). - - - - - Generator that uses the RDBMS native function to generate a GUID. - The behavior is similar to the “sequence” generator. When a new - object is saved NH run two queries: the first to retrieve the GUID - value and the second to insert the entity using the Guid retrieved - from the RDBMS. Your entity Id must be System.Guid and the SQLType - will depend on the dialect (RAW(16) in Oracle, UniqueIdentifier in - MsSQL for example). - - - GuidNative(x => - { - x.AddParam("key", "value"); - }); - - Parameter builder closure - - - - A deviation of the trigger-identity. This generator works - together with the feature. - The difference with trigger-identity is that the POID value - is retrieved by a SELECT using the natural-id fields as filter. - - - - - A deviation of the trigger-identity. This generator works - together with the feature. - The difference with trigger-identity is that the POID value - is retrieved by a SELECT using the natural-id fields as filter. - - - Select(x => - { - x.AddParam("key", "value"); - }); - - Parameter builder closure - - - - Based on sequence but works like an identity. The POID - value is retrieved with an INSERT query. Your entity Id must - be an integral type. - "hibernate_sequence" is the default name for the sequence, unless - another is provided. - - - - - Based on sequence but works like an identity. The POID - value is retrieved with an INSERT query. Your entity Id must - be an integral type. - "hibernate_sequence" is the default name for the sequence, unless - another is provided. - - Custom sequence name - - - - Based on sequence but works like an identity. The POID - value is retrieved with an INSERT query. Your entity Id must - be an integral type. - "hibernate_sequence" is the default name for the sequence, unless - another is provided. - - Parameter builder closure - - - - Based on sequence but works like an identity. The POID - value is retrieved with an INSERT query. Your entity Id must - be an integral type. - "hibernate_sequence" is the default name for the sequence, unless - another is provided. - - Custom sequence name - Parameter builder closure - - - - trigger-identity is a NHibernate specific feature where the POID - is generated by the RDBMS with an INSERT query through a - BEFORE INSERT trigger. In this case you can use any supported type, - including a custom type, with the limitation of a single column usage. - - - - - trigger-identity is a NHibernate specific feature where the POID - is generated by the RDBMS with an INSERT query through a - BEFORE INSERT trigger. In this case you can use any supported type, - including a custom type, with the limitation of a single column usage. - - Parameter builder closure - - - - Sets the unsaved-value of the identity. - - Value that represents an unsaved value. - - - - Sets the column name for the identity field. - - Column name - - - - Specify the identity column length - - Column length - - - - Specify the decimal precision - - Decimal precision - - - - Specify the decimal scale - - Decimal scale - - - - Specify the nullability of the identity column - - - - - Specify the uniqueness of the identity column - - - - - Specify a unique key constraint - - Constraint columns - - - - Specify a custom SQL type - - SQL type - - - - Specify an index name - - Index name - - - - Specify a check constraint - - Constraint name - - - - Specify a default value - - Default value - - - - Specify a custom type - - - This is usually used with an - - Custom type - - - - Specify a custom type - - - This is usually used with an - - Custom type - - - - Specify a custom type - - - This is usually used with an - - Custom type - - - - Specify the generator - - - Id(x => x.PersonId) - .GeneratedBy.Assigned(); - - - - - Set the access and naming strategy for this identity. - - - - - Invert the next boolean operation - - - - - Sets a single child key column. If there are multiple columns, use ChildKeyColumns.Add - - - - - Sets a single parent key column. If there are multiple columns, use ParentKeyColumns.Add - - - - - Sets the order-by clause on the collection element. - - - - - Sets the order-by clause on the many-to-many element. - - - - - Applies a filter to the child element of this entity given it's name. - - - Applies a filter to the child element of this entity given it's name. - - The filter's name - The condition to apply - - - - Applies a filter to the child element of this entity given it's name. - - - Applies a filter to the child element of this entity given it's name. - - The filter's name - - - - Applies a named filter to the child element of this many-to-many. - - - Applies a named filter to the child element of this many-to-many. - - The condition to apply - - The type of a implementation - defining the filter to apply. - - - - - Applies a named filter to the child element of this many-to-many. - - - The type of a implementation - defining the filter to apply. - - - - - Sets the where clause for this relationship, on the many-to-many element. - - - - - Sets whether this relationship is unique - - - Unique(); - Not.Unique(); - - - - - Specifies the name of a multi-column unique constraint. - - Name of constraint - - - - Specifies the index name - - Index name - - - - Specifies the child class of this relationship - - Child - - - - Specifies the child class of this relationship - - Child - - - - Sets this relationship to read-only - - - This is the same as calling both Not.Insert() and Not.Update() - - - ReadOnly(); - Not.ReadOnly(); - - - - - Specify the lazy behaviour of this relationship. - - - Defaults to Proxy lazy-loading. Use the modifier to disable - lazy-loading, and use the - overload to specify alternative lazy strategies. - - - LazyLoad(); - Not.LazyLoad(); - - - - - Specify the lazy behaviour of this relationship. Cannot be used - with the modifier. - - Laziness strategy - - LazyLoad(Laziness.NoProxy); - - - - - Specifies this relationship should be created with a default-named - foreign key. - - - - - Specifies the foreign-key constraint name - - Constraint name - - - - Specifies that this relationship is insertable - - - - - Specifies that this relationship is updatable - - - - - Sets the single column used in this relationship. Use - if you need to specify more than one column. - - Column name - - - - Specifies the columns used in this relationship - - Columns - - - - Specifies the columns used in this relationship - - Columns - - - - Specifies the sql formula used for this relationship - - Formula - - - - Specifies the property reference - - Property - - - - Specifies the property reference - - Property - - - - Sets this relationship to nullable - - - Nullable(); - Not.Nullable(); - - - - - Specifies an entity-name. - - See http://nhforge.org/blogs/nhibernate/archive/2008/10/21/entity-name-in-action-a-strongly-typed-entity.aspx - - - - Set the fetching strategy - - - Fetch.Select(); - - - - - Set the behaviour for when this relationship is null in the database - - - NotFound.Exception(); - - - - - Specifies the cascade behaviour for this relationship - - - Cascade.All(); - - - - - Specifies the access strategy for this relationship - - - Access.Field(); - - - - - Inverts the next boolean - - - - - Specify that this is a ternary association - - - - - Specify that this is a ternary association - - Index column - - - - Specify this as an entity map - - - - - Specify this as an entity map - - Index column - - - - Specify the key column name - - Column name - - - - Specify a foreign key constraint - - Constraint name - - - - Sets the order-by clause for this one-to-many relationship. - - - - - Specify that this collection is read-only - - - - - Specify a sub-select query for fetching this collection - - Query - - - - Specify that the key is updatable - - - - - Specify that the key is nullable - - - - - Specifies the behaviour for if this collection is not found - - - - - Specify the cascade behaviour - - - - - Modify the key columns collection - - - - - Specify the property column name - - Column name - - - - Specify that this property is insertable - - - - - Specify that this property is updatable - - - - - Specify the column length - - Column length - - - - Specify the nullability of this property - - - - - Specify that this property is read-only - - - - - Specify the property formula - - Formula - - - - Specify the lazy-loading behaviour - - - - - Specify an index name - - Index name - - - - Specifies that a custom type (an implementation of ) should be used for this property for mapping it to/from one or more database columns whose format or type doesn't match this .NET property. - - A type which implements . - This property mapping to continue the method chain - - - - Specifies that a custom type (an implementation of ) should be used for this property for mapping it to/from one or more database columns whose format or type doesn't match this .NET property. - - A type which implements . - This property mapping to continue the method chain - - - - Specifies that a custom type (an implementation of ) should be used for this property for mapping it to/from one or more database columns whose format or type doesn't match this .NET property. - - A type which implements . - This property mapping to continue the method chain - - - - Specifies that a custom type (an implementation of ) should be used for this property for mapping it to/from one or more database columns whose format or type doesn't match this .NET property. - - A function which returns a type which implements . The argument of the function is the mapped property type - This property mapping to continue the method chain - - - - Specify a custom SQL type - - SQL type - - - - Specify that this property has a unique constranit - - - - - Specify decimal precision - - Decimal precision - - - - Specify decimal scale - - Decimal scale - - - - Specify a default value - - Default value - - - - Specifies the name of a multi-column unique constraint. - - Name of constraint - - - - Specify that this property is optimistically locked - - - - - Specify a check constraint - - Constraint name - - - - Specify if this property is database generated - - - Generated.Insert(); - - - - - Modify the columns collection - - - - - Set the access and naming strategy for this property. - - - - - Inverts the next boolean - - - - - Specify the column name - - Column name - - - - Specify the unsaved value - - Unsaved value - - - - Specify the column length - - Column length - - - - Specify decimal precision - - Decimal precision - - - - Specify decimal scale - - Decimal scale - - - - Specify the nullability of the column - - - - - Specify the uniqueness of the column - - - - - Specify a unique key constraint - - Constraint columns - - - - Specify an index name - - Index name - - - - Specify a check constraint - - Constraint name - - - - Specify a default value - - Default value - - - - Specify a custom type - - Usually used with an - Custom type - - - - Specify a custom type - - Usually used with an - Custom type - - - - Specify a custom type - - Usually used with an - Custom type - - - - Specify a custom SQL type - - SQL type - - - - Specify if this version is database generated - - - - - Specify the access strategy - - - - - Invert the next boolean operation - - - - - Returns whether the user has set a value for a property. - - - - - Returns whether the user has set a value for a property. - - - - - Returns whether a property has any value, default or user specified. - - - - - - - - Reveals a hidden property or field for use instead of expressions. - - Entity type - Name of property or field - Expression for the hidden property or field - - - - Reveals a hidden property or field with a specific return type for use instead of expressions. - - Entity type - Property or field return type - Name of property or field - Expression for the hidden property or field - - - - Visitor that performs validation against the mapping model. - - - - - Gets or sets whether validation is performed. - - - - diff --git a/Include/Fluent/FluentNHibernate.dll b/Include/Fluent/FluentNHibernate.dll deleted file mode 100644 index e60b38e..0000000 Binary files a/Include/Fluent/FluentNHibernate.dll and /dev/null differ diff --git a/Include/Fluent/FluentNHibernate.pdb b/Include/Fluent/FluentNHibernate.pdb deleted file mode 100644 index 05ab4f8..0000000 Binary files a/Include/Fluent/FluentNHibernate.pdb and /dev/null differ diff --git a/Include/Fluent/NHibernate.ByteCode.Castle.dll b/Include/Fluent/NHibernate.ByteCode.Castle.dll deleted file mode 100644 index 356fbff..0000000 Binary files a/Include/Fluent/NHibernate.ByteCode.Castle.dll and /dev/null differ diff --git a/Include/Fluent/NHibernate.ByteCode.Castle.pdb b/Include/Fluent/NHibernate.ByteCode.Castle.pdb deleted file mode 100644 index 3e98aea..0000000 Binary files a/Include/Fluent/NHibernate.ByteCode.Castle.pdb and /dev/null differ diff --git a/Include/Fluent/NHibernate.ByteCode.Castle.xml b/Include/Fluent/NHibernate.ByteCode.Castle.xml deleted file mode 100644 index 05a584a..0000000 --- a/Include/Fluent/NHibernate.ByteCode.Castle.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - NHibernate.ByteCode.Castle - - - - - A for use with the Castle Dynamic Class Generator. - - - - - Initializes a new object. - - - The Class to Proxy. - The Id of the Object we are Proxying. - - - - The ISession this Proxy is in. - - - - Invoke the actual Property/Method using the Proxy or instantiate the actual - object and use it when the Proxy can't handle the method. - - The from the generated Castle.DynamicProxy. - - - - Build a proxy using the Castle.DynamicProxy library. - - The value for the Id. - The Session the proxy is in. - A fully built INHibernateProxy. - - - diff --git a/Include/Fluent/NHibernate.dll b/Include/Fluent/NHibernate.dll deleted file mode 100644 index 21232aa..0000000 Binary files a/Include/Fluent/NHibernate.dll and /dev/null differ diff --git a/Include/Fluent/NHibernate.pdb b/Include/Fluent/NHibernate.pdb deleted file mode 100644 index 7daf896..0000000 Binary files a/Include/Fluent/NHibernate.pdb and /dev/null differ diff --git a/Include/Fluent/NHibernate.xml b/Include/Fluent/NHibernate.xml deleted file mode 100644 index fa8b751..0000000 --- a/Include/Fluent/NHibernate.xml +++ /dev/null @@ -1,42861 +0,0 @@ - - - - NHibernate - - - - - Implementation of BulkOperationCleanupAction. - - - - - An operation which may be scheduled for later execution. - Usually, the operation is a database insert/update/delete, - together with required second-level cache management. - - - - Called before executing any actions - - - Execute this action - - - - What spaces (tables) are affected by this action? - - - - - Get the before-transaction-completion process, if any, for this action. - - - - - Get the after-transaction-completion process, if any, for this action. - - - - - Create an action that will evict collection and entity regions based on queryspaces (table names). - - - - - Any action relating to insert/update/delete of a collection - - - - - Initializes a new instance of . - - The that is responsible for the persisting the Collection. - The Persistent collection. - The identifier of the Collection. - The that the Action is occurring in. - - - Called before executing any actions - - - Execute this action - - - - Compares the current object with another object of the same type. - - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has the following meanings: Value Meaning Less than zero This object is less than the other parameter.Zero This object is equal to other. Greater than zero This object is greater than other. - - An object to compare with this object. - - - - What spaces (tables) are affected by this action? - - - - Execute this action - - This method is called when a new non-null collection is persisted - or when an existing (non-null) collection is moved to a new owner - - - - - Removes a persistent collection from its loaded owner. - - The collection to to remove; must be non-null - The collection's persister - The collection key - Indicates if the snapshot is empty - The session - Use this constructor when the collection is non-null. - - - - Removes a persistent collection from a specified owner. - - The collection's owner; must be non-null - The collection's persister - The collection key - Indicates if the snapshot is empty - The session - Use this constructor when the collection to be removed has not been loaded. - - - - Acts as a stand-in for an entity identifier which is supposed to be - generated on insert (like an IDENTITY column) where the insert needed to - be delayed because we were outside a transaction when the persist - occurred (save currently still performs the insert). - - The stand-in is only used within the see cref="NHibernate.Engine.PersistenceContext" - in order to distinguish one instance from another; it is never injected into - the entity instance or returned to the client... - - - - - Base class for actions relating to insert/update/delete of an entity - instance. - - - - - Instantiate an action. - - The session from which this action is coming. - The id of the entity - The entity instance - The entity persister - - - - Entity name accessor - - - - - Entity Id accessor - - - - - Entity Instance - - - - - Session from which this action originated - - - - - The entity persister. - - - - - Delegate representing some process that needs to occur before transaction completion. - - - NH specific: C# does not support dynamic interface proxies so a delegate is used in - place of the Hibernate interface (see Action/BeforeTransactionCompletionProcess). The - delegate omits the parameter as it is not used. - - - - - Delegate representing some process that needs to occur after transaction completion. - - Did the transaction complete successfully? True means it did. - - NH specific: C# does not support dynamic interface proxies so a delegate is used in - place of the Hibernate interface (see Action/AfterTransactionCompletionProcess). The - delegate omits the parameter as it is not used. - - - - Format an SQL statement using simple rules: - a) Insert newline after each comma; - b) Indent three spaces after each inserted newline; - If the statement contains single/double quotes return unchanged, - it is too complex and could be broken by simple formatting. - - - - Represents the the understood types or styles of formatting. - - - Centralize logging handling for SQL statements. - - - Constructs a new SqlStatementLogger instance. - - - Constructs a new SqlStatementLogger instance. - Should we log to STDOUT in addition to our internal logger. - Should we format SQL ('prettify') prior to logging. - - - Log a IDbCommand. - Title - The SQL statement. - The requested formatting style. - - - Log a IDbCommand. - The SQL statement. - The requested formatting style. - - - - Manages prepared statements and batching. Class exists to enforce separation of concerns - - - - - Manages s and s - for an . - - -

- Abstracts ADO.NET batching to maintain the illusion that a single logical batch - exists for the whole session, even when batching is disabled. - Provides transparent IDbCommand caching. -

-

- This will be useful once ADO.NET gets support for batching. Until that point - no code exists that will do batching, but this will provide a good point to do - error checking and making sure the correct number of rows were affected. -

-
-
- - - Get an for using in loading / querying. - - The to convert to an . - The of the command. - The SqlTypes of parameters - in . - - An that is ready to be executed. - - - - If not explicitly released by , it will be - released when the session is closed or disconnected. - - - This does NOT add anything to the batch - it only creates the IDbCommand and - does NOT cause the batch to execute... - - - - - - Get a non-batchable an to use for inserting / deleting / updating. - Must be explicitly released by CloseCommand() - - The to convert to an . - The of the command. - The SqlTypes of parameters - in . - - An that is ready to have the parameter values set - and then executed. - - - - - Close a opened using PrepareCommand() - - The to ensure is closed. - The to ensure is closed. - - - - Close a opened using - - The to ensure is closed. - - - - Get a batchable to use for inserting / deleting / updating - (might be called many times before a single call to ExecuteBatch() - - - After setting parameters, call AddToBatch() - do not execute the statement - explicitly. - - The to convert to an . - The of the command. - The SqlTypes of parameters - in . - - - - - Add an insert / delete / update to the current batch (might be called multiple times - for a single PrepareBatchStatement()) - - Determines whether the number of rows affected by query is correct. - - - - Execute the batch - - - - - Close any query statements that were left lying around - - - Use this method instead of Dispose if the - can be used again. - - - - - Gets an by calling ExecuteReader on the . - - The to execute to get the . - The from the . - - The Batcher is responsible for ensuring that all of the Drivers rules for how many open - s it can have are followed. - - - - - Executes the . - - The to execute. - The number of rows affected. - - The Batcher is responsible for ensuring that all of the Drivers rules for how many open - s it can have are followed. - - - - - Expand the parameters of the cmd to have a single parameter for each parameter in the - sql string - - - This is for databases that do not support named parameters. So, instead of a single parameter - for 'select ... from MyTable t where t.Col1 = @p0 and t.Col2 = @p0' we can issue - 'select ... from MyTable t where t.Col1 = ? and t.Col2 = ?' - - - - - Must be called when an exception occurs. - - - - - - Cancel the current query statement - - - - - Gets the value indicating whether there are any open resources - managed by this batcher (IDbCommands or IDataReaders). - - - - - Gets or sets the size of the batch, this can change dynamically by - calling the session's SetBatchSize. - - The size of the batch. - - - - Initializes a new instance of the class. - - The owning this batcher. - - - - - Prepares the for execution in the database. - - - This takes care of hooking the up to an - and if one exists. It will call Prepare if the Driver - supports preparing commands. - - - - - Ensures that the Driver's rules for Multiple Open DataReaders are being followed. - - - - - - - - - - - - - - Adds the expected row count into the batch. - - The number of rows expected to be affected by the query. - - If Batching is not supported, then this is when the Command should be executed. If Batching - is supported then it should hold of on executing the batch until explicitly told to. - - - - - A flag to indicate if Dispose() has been called. - - - - - Finalizer that ensures the object is correctly disposed of. - - - - - Takes care of freeing the managed and unmanaged resources that - this class is responsible for. - - - - - Takes care of freeing the managed and unmanaged resources that - this class is responsible for. - - Indicates if this BatcherImpl is being Disposed of or Finalized. - - If this BatcherImpl is being Finalized (isDisposing==false) then make sure not - to call any methods that could potentially bring this BatcherImpl back to life. - - - - - Gets the current that is contained for this Batch - - The current . - - - - Gets or sets the size of the batch, this can change dynamically by - calling the session's SetBatchSize. - - The size of the batch. - - - - Gets the the Batcher was - created in. - - - The the Batcher was - created in. - - - - - Gets the for this batcher. - - - - Implementation of ColumnNameCache. - - - - Manages the database connection and transaction for an . - - - This class corresponds to ConnectionManager and JDBCContext in Hibernate, - combined. - - - - The batcher managed by this ConnectionManager. - - - - Expected row count. Valid only for batchable expectations. - - - - Factory for instances. - - - - Provide the class of according to the configuration - and the capabilities of the driver. - - - By default, .Net doesn't have any batching capabilities, drivers that does have - batching support. - The BatcherFactory trough session-factory configuration section. - This interface was added in NHibernate for backdraw compatibility to have the ability - to specify a default for a specific . - - - - - An implementation of the - interface that does no batching. - - - - - Initializes a new instance of the class. - - The for this batcher. - - - - - Executes the current and compares the row Count - to the expectedRowCount. - - - The expected number of rows affected by the query. A value of less than 0 - indicates that the number of rows to expect is unknown or should not be a factor. - - - Thrown when there is an expected number of rows to be affected and the - actual number of rows is different. - - - - - This Batcher implementation does not support batching so this is a no-op call. The - actual execution of the is run in the AddToBatch - method. - - - - - - A BatcherFactory implementation which constructs Batcher instances - that do not perform batch operations. - - - - - Summary description for OracleDataClientBatchingBatcher. - By Tomer Avissar - - - - - A ResultSet delegate, responsible for locally caching the columnName-to-columnIndex - resolution that has been found to be inefficient in a few vendor's drivers (i.e., Oracle - and Postgres). - - - - - - Summary description for SqlClientBatchingBatcher. - - - - - Expose the batch functionality in ADO.Net 2.0 - Microsoft in its wisdom decided to make my life hard and mark it internal. - Through the use of Reflection and some delegates magic, I opened up the functionality. - - Observable performance benefits are 50%+ when used, so it is really worth it. - - - - - Append a command to the batch - - - - - - This is required because SqlClient.SqlCommandSet will throw if - the command has no parameters. - - - - - - Executes the batch - - - This seems to be returning the total number of affected rows in all queries - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - 2 - - - - Return the batch command to be executed - - - - - The number of commands batched in this instance - - - - - Any exception that occurs in the O-R persistence layer. - - - Exceptions that occur in the database layer are left as native exceptions. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message that describes the error. - - - - Initializes a new instance of the class. - - - The exception that is the cause of the current exception. If the innerException parameter - is not a null reference, the current exception is raised in a catch block that handles - the inner exception. - - - - - Initializes a new instance of the class. - - The message that describes the error. - - The exception that is the cause of the current exception. If the innerException parameter - is not a null reference, the current exception is raised in a catch block that handles - the inner exception. - - - - - Initializes a new instance of the class - with serialized data. - - - The that holds the serialized object - data about the exception being thrown. - - - The that contains contextual information about the source or destination. - - - - - CodeDOM-based bytecode provider. - - - - - Retrieve the delegate for this provider - capable of generating reflection optimization components. - - The class to be reflected upon. - All property getters to be accessed via reflection. - All property setters to be accessed via reflection. - The reflection optimization delegate. - - - - The specific factory for this provider capable of - generating run-time proxies for lazy-loading purposes. - - - - - NHibernate's object instaciator. - - - For entities and its implementations. - - - - - Instanciator of NHibernate's collections default types. - - - - - ctor - - The target class - Array of setters - Array of getters - - - - Set up the compiler options - - - - - Add an assembly to the list of ReferencedAssemblies - required to build the class - - - - - - Build the generated code - - Generated code - An instance of the generated class - - - - Check if the property is public - - - If IsPublic==true I can directly set the property - If IsPublic==false I need to use the setter/getter - - - - - - - Generate the required code - - C# code - - - - Represents optimized entity property access. - - - - - Factory that generate object based on IReflectionOptimizer needed to replace the use - of reflection. - - - Used in and - - - - - - Generate the IReflectionOptimizer object - - The target class - Array of setters - Array of getters - if the generation fails - - - - Represents reflection optimization for a particular class. - - - - - Represents optimized entity instantiation. - - - - - Perform instantiation of an instance of the underlying class. - - The new instance. - - - - Class constructor. - - - - - Generates a dynamic method which creates a new instance of - when invoked. - - - - - Generates a dynamic method on the given type. - - - - - Generates a dynamic method on the given type. - - - - - - Interface for instanciate all NHibernate objects. - - - - - Creates an instance of the specified type. - - The type of object to create. - A reference to the created object. - - - - Creates an instance of the specified type. - - The type of object to create. - true if a public or nonpublic default constructor can match; false if only a public default constructor can match. - A reference to the created object. - - - - Creates an instance of the specified type using the constructor - that best matches the specified parameters. - - The type of object to create. - An array of constructor arguments. - A reference to the created object. - - - - Emits an ldc.i4 opcode using the fastest available opcode choice. - - - - - Emits IL to unbox a value type and if null, create a new instance of the value type. - - - This does not work if the value type doesn't have a default constructor - we delegate - that to the ISetter. - - - - - Defines a new delegate type. - - - - - Type factory for collections types. - - - - - Creates a new for an . - - The role the collection is in. - The name of the property in the - owner object containing the collection ID, or if it is - the primary key. - The to use to create the array. - Is embedded in XML (not supported yet) - - An for the specified role. - - - - - Creates a new for an - with bag semantics. - - The role the collection is in. - The name of the property in the - owner object containing the collection ID, or if it is - the primary key. - Is embedded in XML (not supported yet) - - A for the specified role. - - - - - Creates a new for an - with bag semantics. - - The type of elements in the list. - The role the collection is in. - - The name of the property in the owner object containing the collection ID, - or if it is the primary key. - - Is embedded in XML (not supported yet) - - A for the specified role. - - - - - Creates a new for an . - - The role the collection is in. - The name of the property in the - owner object containing the collection ID, or if it is - the primary key. - Is embedded in XML (not supported yet) - - A for the specified role. - - - - - Creates a new for an - with list - semantics. - - The type of elements in the list. - The role the collection is in. - - The name of the property in the - owner object containing the collection ID, or if it is - the primary key. - - Is embedded in XML (not supported yet) - - A for the specified role. - - - - - Creates a new for an - with id-bag semantics. - - The role the collection is in. - The name of the property in the - owner object containing the collection ID, or if it is - the primary key. - Is embedded in XML (not supported yet) - - A for the specified role. - - - - - Creates a new for an - with identifier - bag semantics. - - The type of elements in the list. - The role the collection is in. - The name of the property in the - owner object containing the collection ID, or if it is - the primary key. - - Is embedded in XML (not supported yet) - - A for the specified role. - - - - - Creates a new for an . - - The role the collection is in. - The name of the property in the - owner object containing the collection ID, or if it is - the primary key. - Is embedded in XML (not supported yet) - - A for the specified role. - - - - - Creates a new for an - that is sorted by an . - - The role the collection is in. - The name of the property in the - owner object containing the collection ID, or if it is - the primary key. - The that does the sorting. - Is embedded in XML (not supported yet) - - A for the specified role. - - - - - Creates a new for an . - - The type of elements in the collection. - The role the collection is in. - The name of the property in the - owner object containing the collection ID, or if it is - the primary key. - Is embedded in XML (not supported yet) - A for the specified role. - - - - Creates a new for a sorted . - - The type of elements in the collection. - The role the collection is in. - The name of the property in the - owner object containing the collection ID, or if it is - the primary key. - Is embedded in XML (not supported yet) - The to use for the set. - A for the specified role. - - - - Creates a new for an ordered . - - The type of elements in the collection. - The role the collection is in. - - The name of the property in the owner object containing the collection ID, - or if it is the primary key. - - Is embedded in XML (not supported yet) - A for the specified role. - - - - Creates a new for an . - - The role the collection is in. - - The name of the property in the - owner object containing the collection ID, or if it is - the primary key. - Is embedded in XML (not supported yet) - - A for the specified role. - - - - - Creates a new for an - that maintains insertion order of elements. - - The role the collection is in. - The name of the property in the - owner object containing the collection ID, or if it is - the primary key. - Is embedded in XML (not supported yet) - - A for the specified role. - - - - - Creates a new for an - that is sorted by an . - - The role the collection is in. - The name of the property in the - owner object containing the collection ID, or if it is - the primary key. - The that does the sorting. - Is embedded in XML (not supported yet) - - A for the specified role. - - - - - Creates a new for an - . - - The type of keys in the dictionary. - The type of values in the dictionary. - The role the collection is in. - The name of the property in the - owner object containing the collection ID, or if it is - the primary key. - - Is embedded in XML (not supported yet) - - A for the specified role. - - - - - An interface for factories of proxy factory instances. - - - Used to abstract from the tupizer. - - - - - Build a proxy factory specifically for handling runtime - lazy loading. - - The lazy-load proxy factory. - - - - A implementation that returns - , disabling reflection optimization. - - - - - Marker interface, denoting a client-visible "soft lock" on a cached item. - - - - - A cached instance of a persistent class - - - - - An item of cached data, timestamped with the time it was cached, when it was locked, - when it was unlocked - - - - - Caches data that is sometimes updated while maintaining the semantics of - "read committed" isolation level. If the database is set to "repeatable - read", this concurrency strategy almost maintains the semantics. - Repeatable read isolation is compromised in the case of concurrent writes. - This is an "asynchronous" concurrency strategy. - - - If this strategy is used in a cluster, the underlying cache implementation - must support distributed hard locks (which are held only momentarily). This - strategy also assumes that the underlying cache implementation does not do - asynchronous replication and that state has been fully replicated as soon - as the lock is released. - for a faster algorithm - - - - - - Implementors manage transactional access to cached data. - - - - Transactions pass in a timestamp indicating transaction start time. - - - When used to cache entities and collections the key is the identifier of the - entity/collection and the value should be set to the - for an entity and the results of - for a collection. - - - - - - Attempt to retrieve an object from the Cache - - The key (id) of the object to get out of the Cache. - A timestamp prior to the transaction start time - The cached object or - - - - - Attempt to cache an object, after loading from the database - - The key (id) of the object to put in the Cache. - The value - A timestamp prior to the transaction start time - the version number of the object we are putting - a Comparer to be used to compare version numbers - indicates that the cache should avoid a put if the item is already cached - if the object was successfully cached - - - - - We are going to attempt to update/delete the keyed object - - The key - - - This method is used by "asynchronous" concurrency strategies. - - - - Called after an item has become stale (before the transaction completes). - - - - This method is used by "synchronous" concurrency strategies. - - - - Called after an item has been updated (before the transaction completes), - instead of calling Evict(). - - - - - - This method is used by "synchronous" concurrency strategies. - - - - Called after an item has been inserted (before the transaction completes), instead of calling Evict(). - - - - - This method is used by "synchronous" concurrency strategies. - - - - Called when we have finished the attempted update/delete (which may or - may not have been successful), after transaction completion. - - The key - The soft lock - - This method is used by "asynchronous" concurrency strategies. - - - - Called after an item has been updated (after the transaction completes), - instead of calling Release(). - - - - - - This method is used by "asynchronous" concurrency strategies. - - - - Called after an item has been inserted (after the transaction completes), instead of calling release(). - - - - - This method is used by "asynchronous" concurrency strategies. - - - - Evict an item from the cache immediately (without regard for transaction isolation). - - - - - - - Evict all items from the cache immediately. - - - - - - Clean up all resources. - - - - - - Gets the cache region name. - - - - - Gets or sets the for this strategy to use. - - The for this strategy to use. - - - - Generate an id for a new lock. Uniqueness per cache instance is very - desirable but not absolutely critical. Must be called from one of the - synchronized methods of this class. - - - - - - Do not return an item whose timestamp is later than the current - transaction timestamp. (Otherwise we might compromise repeatable - read unnecessarily.) Do not return an item which is soft-locked. - Always go straight to the database instead. - - - Note that since reading an item from that cache does not actually - go to the database, it is possible to see a kind of phantom read - due to the underlying row being updated after we have read it - from the cache. This would not be possible in a lock-based - implementation of repeatable read isolation. It is also possible - to overwrite changes made and committed by another transaction - after the current transaction read the item from the cache. This - problem would be caught by the update-time version-checking, if - the data is versioned or timestamped. - - - - - Stop any other transactions reading or writing this item to/from - the cache. Send them straight to the database instead. (The lock - does time out eventually.) This implementation tracks concurrent - locks by transactions which simultaneously attempt to write to an - item. - - - - - Do not add an item to the cache unless the current transaction - timestamp is later than the timestamp at which the item was - invalidated. (Otherwise, a stale item might be re-added if the - database is operating in repeatable read isolation mode.) - - Whether the item was actually put into the cache - - - - decrement a lock and put it back in the cache - - - - - Re-cache the updated state, if and only if there there are - no other concurrent soft locks. Release our lock. - - - - - Is the client's lock commensurate with the item in the cache? - If it is not, we know that the cache expired the original - lock. - - - - - Gets the cache region name. - - - - - Lock the item - - - - - Is this item visible to the timestamped transaction? - - - - - - - Don't overwrite already cached items - - - - - - - - - The timestamp on the cached data - - - - - The actual cached data - - - - - Not a lock! - - - - - Represents any exception from an . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message that describes the error. - - - - Initializes a new instance of the class. - - - The exception that is the cause of the current exception. If the innerException parameter - is not a null reference, the current exception is raised in a catch block that handles - the inner exception. - - - - - Initializes a new instance of the class. - - The message that describes the error. - - The exception that is the cause of the current exception. If the innerException parameter - is not a null reference, the current exception is raised in a catch block that handles - the inner exception. - - - - - Initializes a new instance of the class - with serialized data. - - - The that holds the serialized object - data about the exception being thrown. - - - The that contains contextual information about the source or destination. - - - - - Factory class for creating an . - - - - - No providers implement transactional caching currently, - it was ported from Hibernate just for the sake of completeness. - - - - - Creates an from the parameters. - - The name of the strategy that should use for the class. - The name of the class the strategy is being created for. - if the object being stored in the cache is mutable. - Used to retrieve the global cache region prefix. - Properties the cache provider can use to configure the cache. - An to use for this object in the . - - - - Allows multiple entity classes / collection roles to be - stored in the same cache region. Also allows for composite - keys which do not properly implement equals()/hashCode(). - - - - - Construct a new key for a collection or entity instance. - Note that an entity name should always be the root entity - name, not a subclass entity name. - - The identifier associated with the cached data - The Hibernate type mapping - The entity or collection-role name. - The entiyt mode of the originating session - The session factory for which we are caching - - - - A soft lock which supports concurrent locking, - timestamped with the time it was released - - - This class was named Lock in H2.1 - - - - - Increment the lock, setting the - new lock timeout - - - - - Decrement the lock, setting the unlock - timestamp if now unlocked - - - - - - Can the timestamped transaction re-cache this - locked item now? - - - - - locks are not returned to the client! - - - - - Was this lock held concurrently by multiple - transactions? - - - - - Yes, this is a lock - - - - - Used by - - - - - Implementors define a caching algorithm. - - - - - All implementations must be threadsafe. - - - The key is the identifier of the object that is being cached and the - value is a . - - - - - - Get the object from the Cache - - - - - - - - - - - - - - Remove an item from the Cache. - - The Key of the Item in the Cache to remove. - - - - - Clear the Cache - - - - - - Clean up. - - - - - - If this is a clustered cache, lock the item - - The Key of the Item in the Cache to lock. - - - - - If this is a clustered cache, unlock the item - - The Key of the Item in the Cache to unlock. - - - - - Generate a timestamp - - - - - - Get a reasonable "lock timeout" - - - - - Gets the name of the cache region - - - - - A simple -based cache - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Cache Provider plugin for NHibernate that is configured by using - cache.provider_class="NHibernate.Cache.HashtableCacheProvider" - - - - - Support for pluggable caches - - - - - Configure the cache - - the name of the cache region - configuration settings - - - - - generate a timestamp - - - - - - Callback to perform any necessary initialization of the underlying cache implementation - during ISessionFactory construction. - - current configuration settings - - - - Callback to perform any necessary cleanup of the underlying cache implementation - during . - - - - - Contract for sources of optimistically lockable data sent to the second level cache. - - - Note currently EntityPersisters are - the only viable source. - - - - - Does this source represent versioned (i.e., and thus optimistically lockable) data? - - True if this source represents versioned data; false otherwise. - - - Get the comparator used to compare two different version values together. - An appropriate comparator. - - - - Defines the contract for caches capable of storing query results. These - caches should only concern themselves with storing the matching result ids. - The transactional semantics are necessarily less strict than the semantics - of an item cache. - - - - - Defines a factory for query cache instances. These factories are responsible for - creating individual QueryCache instances. - - - - - A cache provider placeholder used when caching is disabled. - - - - - Configure the cache - - the name of the cache region - configuration settings - - - - - Generate a timestamp - - - - - Callback to perform any necessary initialization of the underlying cache implementation during SessionFactory - construction. - - current configuration settings. - - - - Callback to perform any necessary cleanup of the underlying cache implementation during SessionFactory.close(). - - - - - Caches data that is sometimes updated without ever locking the cache. - If concurrent access to an item is possible, this concurrency strategy - makes no guarantee that the item returned from the cache is the latest - version available in the database. Configure your cache timeout accordingly! - This is an "asynchronous" concurrency strategy. - for a much stricter algorithm - - - - - Get the most recent version, if available. - - - - - Add an item to the cache - - - - - Do nothing - - - - - Invalidate the item - - - - - Invalidate the item - - - - - Do nothing - - - - - Invalidate the item (again, for safety). - - - - - Invalidate the item (again, for safety). - - - - - Do nothing - - - - - Gets the cache region name. - - - - - Initializes a new instance of the class. - - the session factory for this query key, required to get the identifiers of entities that are used as values. - The query string. - The query parameters. - The filters. - - - - Caches data that is never updated - - - - - Unsupported! - - - - - Unsupported! - - - - - Unsupported! - - - - - Do nothing. - - - - - Do nothing. - - - - - Do nothing. - - - - - Unsupported! - - - - - Gets the cache region name. - - - - - The standard implementation of the Hibernate - interface. This implementation is very good at recognizing stale query - results and re-running queries when it detects this condition, recaching - the new results. - - - - - Standard Hibernate implementation of the IQueryCacheFactory interface. Returns - instances of . - - - - - Generates increasing identifiers (in a single application domain only). - - - Not valid across multiple application domains. Identifiers are not necessarily - strictly increasing, but usually are. - - - - - - - - - - - - - - Tracks the timestamps of the most recent updates to particular tables. It is - important that the cache timeout of the underlying cache implementation be set - to a higher value than the timeouts of any of the query caches. In fact, we - recommend that the the underlying cache not be configured for expiry at all. - Note, in particular, that an LRU cache expiry policy is never appropriate. - - - - - - - - Helper to parse hibernate-configuration XmlNode. - - - - - The XML node name for hibernate configuration section in the App.config/Web.config and - for the hibernate.cfg.xml . - - - - The XML Namespace for the nhibernate-configuration - - - XPath expression for bytecode-provider property. - - - XPath expression for reflection-optimizer property. - - - XPath expression for session-factory whole node. - - - XPath expression for session-factory.property nodes - - - XPath expression for session-factory.mapping nodes - - - XPath expression for session-factory.class-cache nodes - - - XPath expression for session-factory.collection-cache nodes - - - XPath expression for session-factory.event nodes - - - XPath expression for session-factory.listener nodes - - - - Convert a string to . - - The string that represent . - - The converted to . - - If the values is invalid. - - See for allowed values. - - - - - Convert a string to . - - The string that represent . - - The converted to . - - If the values is invalid. - - See for allowed values. - - - - - Values for class-cache include. - - Not implemented in Cache. - - - Xml value: all - - - Xml value: non-lazy - - - - Configuration parsed values for a class-cache XML node. - - - - - Initializes a new instance of the class. - - The class full name. - Cache strategy. - When is null or empty. - - - - Initializes a new instance of the class. - - The class full name. - Cache strategy. - Values for class-cache include. - When is null or empty. - - - - Initializes a new instance of the class. - - The class full name. - Cache strategy. - The cache region. - When is null or empty. - - - - Initializes a new instance of the class. - - The class full name. - Cache strategy. - Values for class-cache include. - The cache region. - When is null or empty. - - - - The class full name. - - - - - The cache region. - - If null or empty the is used during configuration. - - - - Cache strategy. - - - - - class-cache include. - - - Not implemented in Cache. - Default value . - - - - - Configuration parsed values for a collection-cache XML node. - - - - - Initializes a new instance of the class. - - The cache role. - Cache strategy. - When is null or empty. - - - - Initializes a new instance of the class. - - The cache role. - Cache strategy. - The cache region. - When is null or empty. - - - - The role. - - - - - The cache region. - - If null or empty the is used during configuration. - - - - Cache strategy. - - - - - Configuration parsed values for a event XML node. - - - - - Initializes a new instance of the class. - - The listener. - The type. - - - - The default type of listeners. - - - - - Listeners for this event. - - - - - Values for bytecode-provider system property. - - - - Xml value: codedom - - - Xml value: lcg - - - Xml value: null - - - - Configuration parsed values for hibernate-configuration section. - - - - - Initializes a new instance of the class. - - The XML reader to parse. - - The nhibernate-configuration.xsd is applied to the XML. - - When nhibernate-configuration.xsd can't be applied. - - - - Value for bytecode-provider system property. - - Default value . - - - - Value for reflection-optimizer system property. - - Default value true. - - - - The if the session-factory exists in hibernate-configuration; - Otherwise null. - - - - - Configuration parsed values for a listener XML node - - - - - Initializes a new instance of the class. - - The class full name. - When is null or empty. - - - - Initializes a new instance of the class. - - The class full name. - The listener type. - When is null or empty. - - - - The class full name. - - - - - The listener type. - - Default value mean that the value is ignored. - - - - Configuration parsed values for a mapping XML node - - - There are 3 possible combinations of mapping attributes - 1 - resource and assembly: NHibernate will read the mapping resource from the specified assembly - 2 - file only: NHibernate will read the mapping from the file. - 3 - assembly only: NHibernate will find all the resources ending in hbm.xml from the assembly. - - - - - Initializes a new instance of the class. - - Mapped file. - When is null or empty. - - - - Initializes a new instance of the class. - - The assembly name. - The mapped embedded resource. - When is null or empty. - - - - Configuration parsed values for a session-factory XML node. - - - - - The session factory name. - - - - - Session factory propeties bag. - - - - - Session factory mapping configuration. - - - - - Session factory class-cache configurations. - - - - - Session factory collection-cache configurations. - - - - - Session factory event configurations. - - - - - Session factory listener configurations. - - - - - The session factory name. - - - - - Session factory propeties bag. - - - - - Session factory mapping configuration. - - - - - Session factory class-cache configurations. - - - - - Session factory collection-cache configurations. - - - - - Session factory event configurations. - - - - - Session factory listener configurations. - - - - - Initializes a new instance of the class. - - The session factory name. Null or empty string are allowed. - - - - Add a type-definition for mappings. - - The peristent type. - The where add the type-definition. - The custom configuration action. - The . - - - - - Depending on where you will use the type-definition in the mapping the - can be : - - - - - - - - - - - - - - - - - - - - - Define the dialect to use. - - The dialect implementation inherited from . - The fluent configuration itself. - - - - Maximum depth of outer join fetching - - - 0 (zero) disable the usage of OuterJoinFetching - - - - - Set the SessionFactory mnemonic name. - - The mnemonic name. - The fluent configuration itself. - - The SessionFactory mnemonic name can be used as a surrogate key in a multi-DB application. - - - - - DataBase integration configuration. - - - - - Cache configuration. - - - - - Properties of TypeDef configuration. - - - - - - The key to use the type-definition inside not strongly typed mappings (XML mapping). - - - - - An which public properties are used as - type-definition pareneters or null where type-definition does not need parameters or you want use default values. - - - - As an anonimous object can be used: - - configure.TypeDefinition<TableHiLoGenerator>(c=> - { - c.Alias = "HighLow"; - c.Properties = new {max_lo = 99}; - }); - - - - - - - Responsible for checking that a resource name matches the default pattern of "*.hbm.xml". This is the - default filter for . - - - - - Responsible for determining whether an embedded resource should be parsed for HBM XML data while - iterating through an . - - - - - - - - Implemented by any mapping elemes supports simple and/or multicolumn mapping. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A base class for HBM schema classes that provides helper methods. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The relation of the element of the collection. - - - Can be one of: HbmCompositeElement, HbmElement, HbmManyToAny, HbmManyToMany, HbmOneToMany... - according to the type of the collection. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Columns and Formulas, in declared order - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Responsible for converting a of HBM XML into an instance of - . - - - - - Responsible for building a list of objects from a range of acceptable - sources. - - - - - Calls the greedy constructor, passing it new instances of and - . - - - - Adds any embedded resource streams which pass the . - An assembly containing embedded mapping documents. - A custom filter. - - - Adds any embedded resource streams which pass the default filter. - An assembly containing embedded mapping documents. - - - - Responsible for converting a of HBM XML into an instance of - . - - Uses an to deserialize HBM. - - - - Converts a partial class name into a fully qualified one - - - - - - - - Converts a partial class name into a fully one - - - - The class FullName (without the assembly) - - The FullName is equivalent to the default entity-name - - - - - Attempts to find a type by its full name. Throws a - using the provided in case of failure. - - name of the class to find - Error message to use for - the in case of failure. Should contain - the {0} formatting placeholder. - A instance. - - Thrown when there is an error loading the class. - - - - - Similar to , but handles short class names - by calling . - - - - - - - - - Called for all collections. parameter - was added in NH to allow for reflection related to generic types. - - - - - Called for arrays and primitive arrays - - - - - Called for Maps - - - - - Called for all collections - - - - - Bind columns and formulas in the order in which they were mapped. - - - - - - - - Extracts the names of classes mapped in a given file, - and the names of the classes they extend. - - - - - Returns a collection of containing - information about all classes in this stream. - - A validated representing - a mapping file. - - - - Holds information about mapped classes found in the hbm.xml files. - - - - - Allows the application to specify properties and mapping documents to be used when creating - a . - - - - Usually an application will create a single , build a single instance - of , and then instantiate objects in threads - servicing client requests. - - - The is meant only as an initialization-time object. - is immutable and does not retain any association back to the - - - - - Default name for hibernate configuration file. - - - - Clear the internal state of the object. - - - - - Create a new Configuration object. - - - - - Get the mapping for a particular class - - - - Get the mapping for a particular entity - An entity name. - the entity mapping information - - - - Get the mapping for a particular collection role - - a collection role - - - - - Read mappings from a particular XML file. This method is equivalent - to . - - - - - - - Read mappings from a particular XML file. - - a path to a file - This configuration object. - - - - Read mappings from a . This method is equivalent to - . - - an XML string - The name to use in error reporting. May be . - This configuration object. - - - - Read mappings from a . - - an XML string - This configuration object. - - - - Read mappings from a URL. - - a URL - This configuration object. - - - - Read mappings from a URL. - - a to read the mappings from. - This configuration object. - - - - Read mappings from an . - - A loaded that contains the mappings. - The name of the document, for error reporting purposes. - This configuration object. - - - - Takes the validated XmlDocument and has the Binder do its work of - creating Mapping objects from the Mapping Xml. - - The NamedXmlDocument that contains the validated mapping XML file. - - - - Add mapping data using deserialized class. - - Mapping metadata. - XML file's name where available; otherwise null. - - - - Create a new to add classes and collection - mappings to. - - - - - Read mappings from a . - - The stream containing XML - This Configuration object. - - The passed in through the parameter - is not guaranteed to be cleaned up by this method. It is the caller's responsiblity to - ensure that is properly handled when this method - completes. - - - - - Read mappings from a . - - The stream containing XML - The name of the stream to use in error reporting. May be . - This Configuration object. - - The passed in through the parameter - is not guaranteed to be cleaned up by this method. It is the caller's responsiblity to - ensure that is properly handled when this method - completes. - - - - - Adds the mappings in the resource of the assembly. - - The path to the resource file in the assembly. - The assembly that contains the resource file. - This configuration object. - - - - Adds the mappings from embedded resources of the assembly. - - Paths to the resource files in the assembly. - The assembly that contains the resource files. - This configuration object. - - - - Read a mapping from an embedded resource, using a convention. - - The type to map. - This configuration object. - - The convention is for class Foo.Bar.Foo to be mapped by - the resource named Foo.Bar.Foo.hbm.xml, embedded in - the class' assembly. If the mappings and classes are defined - in different assemblies or don't follow the naming convention, - this method cannot be used. - - - - - Adds all of the assembly's embedded resources whose names end with .hbm.xml. - - The name of the assembly to load. - This configuration object. - - The assembly must be loadable using . If this - condition is not satisfied, load the assembly manually and call - instead. - - - - - Adds all of the assembly's embedded resources whose names end with .hbm.xml. - - The assembly. - This configuration object. - - - - Read all mapping documents from a directory tree. Assume that any - file named *.hbm.xml is a mapping document. - - a directory - - - - Generate DDL for dropping tables - - - - - - Generate DDL for creating tables - - - - - - Call this to ensure the mappings are fully compiled/built. Usefull to ensure getting - access to all information in the metamodel when calling e.g. getClassMappings(). - - - - - This method may be called many times!! - - - - - Instantiate a new , using the properties and mappings in this - configuration. The will be immutable, so changes made to the - configuration after building the will not affect it. - - An instance. - - - - Set the default assembly to use for the mappings added to the configuration - afterwards. - - The default assembly name. - This configuration instance. - - This setting can be overridden for a mapping file by setting default-assembly - attribute of <hibernate-mapping> element. - - - - - Set the default namespace to use for the mappings added to the configuration - afterwards. - - The default namespace. - This configuration instance. - - This setting can be overridden for a mapping file by setting default-namespace - attribute of <hibernate-mapping> element. - - - - - Sets the default interceptor for use by all sessions. - - The default interceptor. - This configuration instance. - - - - Specify a completely new set of properties - - - - - Adds an of configuration properties. The - Key is the name of the Property and the Value is the - value of the Property. - - An of configuration properties. - - This object. - - - - - Sets the value of the configuration property. - - The name of the property. - The value of the property. - - This configuration object. - - - - - Gets the value of the configuration property. - - The name of the property. - The configured value of the property, or if the property was not specified. - - - - Configure NHibernate using the <hibernate-configuration> section - from the application config file, if found, or the file hibernate.cfg.xml if the - <hibernate-configuration> section not include the session-factory configuration. - - A configuration object initialized with the file. - - To configure NHibernate explicitly using hibernate.cfg.xml, appling merge/override - of the application configuration file, use this code: - - configuration.Configure("path/to/hibernate.cfg.xml"); - - - - - - Configure NHibernate using the file specified. - - The location of the XML file to use to configure NHibernate. - A Configuration object initialized with the file. - - Calling Configure(string) will override/merge the values set in app.config or web.config - - - - - Configure NHibernate using a resource contained in an Assembly. - - The that contains the resource. - The name of the manifest resource being requested. - A Configuration object initialized from the manifest resource. - - Calling Configure(Assembly, string) will overwrite the values set in app.config or web.config - - - - - Configure NHibernate using the specified XmlReader. - - The that contains the Xml to configure NHibernate. - A Configuration object initialized with the file. - - Calling Configure(XmlReader) will overwrite the values set in app.config or web.config - - - - - Set up a cache for an entity class - - - - - Set up a cache for a collection role - - - - - Create an object-oriented view of the configuration properties - - A object initialized from the settings properties. - - - - Set a custom naming strategy - - the NamingStrategy to set - - - - - Load and validate the mappings in the against - the nhibernate-mapping-2.2 schema, without adding them to the configuration. - - - This method is made public to be usable from the unit tests. It is not intended - to be called by end users. - - The XmlReader that contains the mapping. - The name of the document, for error reporting purposes. - NamedXmlDocument containing the validated XmlDocument built from the XmlReader. - - - - Adds the Mappings in the after validating it - against the nhibernate-mapping-2.2 schema. - - The XmlReader that contains the mapping. - This Configuration object. - - - - Adds the Mappings in the after validating it - against the nhibernate-mapping-2.2 schema. - - The XmlReader that contains the mapping. - The name of the document to use for error reporting. May be . - This Configuration object. - - - - Set or clear listener for a given . - - The . - The array of AssemblyQualifiedName of each listener for . - - must implements the interface related with . - All listeners of the given will be cleared if the - is null or empty. - - - when an element of have an invalid value or cant be instantiated. - - - - - Set or clear listener for a given . - - The . - The listener for or null to clear. - must implements the interface related with . - - - - - Set or clear listeners for a given . - - The . - The listener for or null to clear. - Listeners of must implements one of the interface of event listenesr. - - - - - Append the listeners to the end of the currently configured - listeners - - - - - Generate DDL for altering tables - - - - - - The class mappings - - - - - The collection mappings - - - - - The table mappings - - - - - The named queries - - - - - Retrieve the user-supplied delegate to handle non-existent entity scenarios. - - - Specify a user-supplied delegate to be used to handle scenarios where an entity could not be - located by specified id. This is mainly intended for EJB3 implementations to be able to - control how proxy initialization errors should be handled... - - - - - Gets or sets the to use. - - The to use. - - - - Gets or sets the that contains the configuration - properties and their values. - - - The that contains the configuration - properties and their values. - - - - - Get the query language imports (entityName/className -> AssemblyQualifiedName) - - - - - The named SQL queries - - - - - Naming strategy for tables and columns - - - - - Defines operations common to "compiled" mappings (ie. SessionFactory) and - "uncompiled" mappings (ie Configuration that are used by implementors of IType - - - - - Summary description for ConfigurationSectionHandler. - - - - - The default - - See for a better alternative - - - - A set of rules for determining the physical column and table names given the information in the mapping - document. May be used to implement project-scoped naming standards for database objects. - - - - - Return a table name for an entity class - - the fully-qualified class name - a table name - - - - Return a column name for a property path expression - - a property path - a column name - - - - Alter the table name given in the mapping document - - a table name - a table name - - - - Alter the column name given in the mapping document - - a column name - a column name - - - - Return a table name for a collection - - the fully-qualified name of the owning entity class - a property path - a table name - - - - Return the logical column name used to refer to a column in the metadata - (like index, unique constraints etc) - A full bijection is required between logicalNames and physical ones - logicalName have to be case insersitively unique for a given table - - given column name if any - property name of this column - - - - The singleton instance - - - - - Return the unqualified class name - - - - - - - Return the unqualified property name - - - - - - - Return the argument - - - - - - - Return the argument - - - - - - - Return the unqualified property name - - - - - - - - Values for class-cache and collection-cache strategy. - - - - Xml value: read-only - - - Xml value: read-write - - - Xml value: nonstrict-read-write - - - Xml value: transactional - - - - Helper to parse to and from XML string value. - - - - - Convert a in its xml expected value. - - The to convert. - The . - - - - Convert a string to . - - The string that represent . - - The converted to . - - If the values is invalid. - - See for allowed values. - - - - - Provides access to configuration information. - - - NHibernate has two property scopes: - - - Factory-level properties may be passed to the when it is - instantiated. Each instance might have different property values. If no properties are - specified, the factory gets them from Environment - - - System-level properties are shared by all factory instances and are always determined - by the properties - - - In NHibernate, <hibernate-configuration> section in the application configuration file - corresponds to Java system-level properties; <session-factory> - section is the session-factory-level configuration. - - It is possible to use the application configuration file (App.config) together with the NHibernate - configuration file (hibernate.cfg.xml) at the same time. - Properties in hibernate.cfg.xml override/merge properties in application configuration file where same - property is found. For others configuration a merge is applied. - - - - - Used to find the .Net 2.0 named connection string - - - - A default database schema (owner) name to use for unqualified tablenames - - - A default database catalog name to use for unqualified tablenames - - - The EntityMode in which set the Session opened from the SessionFactory. - - - Enable formatting of SQL logged to the console - - - Should named queries be checked during startup (the default is enabled). - Mainly intended for test environments. - - - Enable statistics collection - - - - Issue warnings to user when any obsolete property names are used. - - - - - - - NHibernate version (informational). - - - - - Gets a copy of the configuration found in <hibernate-configuration> section - of app.config/web.config. - - - This is the replacement for hibernate.properties - - - - - The bytecode provider to use. - - - This property is read from the <nhibernate> section - of the application configuration file by default. Since it is not - always convenient to configure NHibernate through the application - configuration file, it is also possible to set the property value - manually. This should only be done before a configuration object - is created, otherwise the change may not take effect. - - - - - Whether to enable the use of reflection optimizer - - - This property is read from the <nhibernate> section - of the application configuration file by default. Since it is not - always convenient to configure NHibernate through the application - configuration file, it is also possible to set the property value - manually. This should only be done before a configuration object - is created, otherwise the change may not take effect. - - - - - Represents a mapping queued for delayed processing to await - processing of an extends entity upon which it depends. - - - - - An exception that occurs at configuration time, rather than runtime, as a result of - something screwy in the hibernate.cfg.xml. - - - - - An exception that usually occurs at configuration time, rather than runtime, as a result of - something screwy in the O-R mappings - - - - - Initializes a new instance of the class. - - The message that describes the error. - - - - Initializes a new instance of the class. - - - The exception that is the cause of the current exception. If the innerException parameter - is not a null reference, the current exception is raised in a catch block that handles - the inner exception. - - - - - Initializes a new instance of the class. - - The message that describes the error. - - The exception that is the cause of the current exception. If the innerException parameter - is not a null reference, the current exception is raised in a catch block that handles - the inner exception. - - - - - Initializes a new instance of the class - with serialized data. - - - The that holds the serialized object - data about the exception being thrown. - - - The that contains contextual information about the source or destination. - - - - - Initializes a new instance of the class. - - Default message is used. - - - - Initializes a new instance of the class. - - - The exception that is the cause of the current exception. If the innerException parameter - is not a null reference, the current exception is raised in a catch block that handles - the inner exception. - - - - - Initializes a new instance of the class. - - The message that describes the error. - - - - Initializes a new instance of the class. - - The message that describes the error. - - The exception that is the cause of the current exception. If the innerException parameter - is not a null reference, the current exception is raised in a catch block that handles - the inner exception. - - - - - Initializes a new instance of the class - with serialized data. - - - The that holds the serialized object - data about the exception being thrown. - - - The that contains contextual information about the source or destination. - - - - - Summary description for ImprovedNamingStrategy. - - - - - The singleton instance - - - - - Return the unqualified class name, mixed case converted to underscores - - - - - - - Return the full property path with underscore separators, mixed case converted to underscores - - - - - - - Convert mixed case to underscores - - - - - - - Convert mixed case to underscores - - - - - - - Return the full property path prefixed by the unqualified class name, with underscore separators, mixed case converted to underscores - - - - - - - - A collection of mappings from classes and collections to relational database tables. - - Represents a single <hibernate-mapping> element. - - - - Binding table between the logical column name and the name out of the naming strategy - for each table. - According that when the column name is not set, the property name is considered as such - This means that while theoretically possible through the naming strategy contract, it is - forbidden to have 2 real columns having the same logical name - - - - - Binding between logical table name and physical one (ie after the naming strategy has been applied) - - - - - - - - - - - - - - - - - Adds an import to allow for the full class name Namespace.Entity (AssemblyQualifiedName) - to be referenced as Entity or some other name in HQL. - - The name of the type that is being renamed. - The new name to use in HQL for the type. - Thrown when the rename already identifies another type. - - - - - - - - - The default namespace for persistent classes - - - - - The default assembly for persistent classes - - - - - - - - - - - Gets or sets a boolean indicating if the Fully Qualified Type name should - automatically have an import added as the class name. - - if the class name should be used as an import. - - Auto-import is used to shorten the string used to refer to types to just their - unqualified name. So if the type MyAssembly.MyNamespace.MyClass, MyAssembly has - auto-import="false" then all use of it in HQL would need to be the fully qualified - version MyAssembly.MyNamespace.MyClass. If auto-import="true", the type could - be referred to in HQL as just MyClass. - - - - - Queues mapping files according to their dependency order. - - - - - Adds the specified document to the queue. - - - - - Gets a that can now be processed (i.e. - that doesn't depend on classes not yet processed). - - - - - - Checks that no unprocessed documents remain in the queue. - - - - - Holds information about mapped classes found in an embedded resource - - - - - Gets the names of all entities outside this resource - needed by the classes in this resource. - - - - - Gets the names of all entities in this resource - - - - - Settings that affect the behavior of NHibernate at runtime. - - - - - Get the registry to provide Hql-Generators for known properties/methods. - - - - - Reads configuration properties and configures a instance. - - - - - Provides callbacks from the to the persistent object. Persistent classes may - implement this interface but they are not required to. - - - - , , and are intended to be used - to cascade saves and deletions of dependent objects. This is an alternative to declaring cascaded - operations in the mapping file. - - - may be used to initialize transient properties of the object from its persistent - state. It may not be used to load dependent objects since the interface - may not be invoked from inside this method. - - - A further intended usage of , , and - is to store a reference to the for later use. - - - If , , or return - , the operation is silently vetoed. If a - is thrown, the operation is vetoed and the exception is passed back to the application. - - - Note that is called after an identifier is assigned to the object, except when - identity key generation is used. - - - - - - Called when an entity is saved - - The session - If we should veto the save - - - - Called when an entity is passed to . - - The session - A value indicating whether the operation - should be vetoed or allowed to proceed. - - This method is not called every time the object's state is - persisted during a flush. - - - - - Called when an entity is deleted - - The session - A value indicating whether the operation - should be vetoed or allowed to proceed. - - - - Called after an entity is loaded. - - - It is illegal to access the from inside this method.. - However, the object may keep a reference to the session for later use - - The session - The identifier - - - - Veto the action - - - - - Accept the action - - - - - Implemented by persistent classes with invariants that must be checked before inserting - into or updating the database - - - - - Validate the state of the object before persisting it. If a violation occurs, - throw a . This method must not change the state of the object - by side-effect. - - - - - Thrown from when an invariant was violated. Some applications - might subclass this exception in order to provide more information about the violation - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message that describes the error. - - - - Initializes a new instance of the class. - - - The exception that is the cause of the current exception. If the innerException parameter - is not a null reference, the current exception is raised in a catch block that handles - the inner exception. - - - - - Initializes a new instance of the class. - - The message that describes the error. - - The exception that is the cause of the current exception. If the innerException parameter - is not a null reference, the current exception is raised in a catch block that handles - the inner exception. - - - - - Initializes a new instance of the class - with serialized data. - - - The that holds the serialized object - data about the exception being thrown. - - - The that contains contextual information about the source or destination. - - - - - An unordered, unkeyed collection that can contain the same element - multiple times. The .NET collections API, has no Bag. - Most developers seem to use to represent bag semantics, - so NHibernate follows this practice. - - The type of the element the bag should hold. - The underlying collection used is an - - - - An unordered, unkeyed collection that can contain the same element - multiple times. The .NET collections API has no Bag class. - Most developers seem to use s to represent bag semantics, - so NHibernate follows this practice. - - - - - Base class for implementing . - - - - - - Persistent collections are treated as value objects by NHibernate. - ie. they have no independent existence beyond the object holding - a reference to them. Unlike instances of entity classes, they are - automatically deleted when unreferenced and automatically become - persistent when held by a persistent object. Collections can be - passed between different objects (change "roles") and this might - cause their elements to move from one database table to another. - - - NHibernate "wraps" a collection in an instance of - . This mechanism is designed - to support tracking of changes to the collection's persistent - state and lazy instantiation of collection elements. The downside - is that only certain abstract collection types are supported and - any extra semantics are lost. - - - Applications should never use classes in this namespace - directly, unless extending the "framework" here. - - - Changes to structure of the collection are recorded by the - collection calling back to the session. Changes to mutable - elements (ie. composite elements) are discovered by cloning their - state when the collection is initialized and comparing at flush - time. - - - - - - Return the user-visible collection (or array) instance - - - By default, the NHibernate wrapper is an acceptable collection for - the end user code to work with because it is interface compatible. - An NHibernate PersistentList is an IList, an NHibernate PersistentMap is an IDictionary - and those are the types user code is expecting. - - - - After flushing, re-init snapshot state. - - - - Clears out any Queued Additions. - - - After a Flush() the database is in synch with the in-memory - contents of the Collection. Since everything is in synch remove - any Queued Additions. - - - - - Called just before reading any rows from the - - - - - Called after reading all rows from the - - - This should be overridden by sub collections that use temporary collections - to store values read from the db. - - - true if NOT has Queued operations - - - - - Called after initializing from cache - - - true if NOT has Queued operations - - - - - Disassociate this collection from the given session. - - - true if this was currently associated with the given session - - - - Associate the collection with the given session. - - - false if the collection was already associated with the session - - - - Read the state of the collection from a disassembled cached value. - - - - - - - - Iterate all collection entries, during update of the database - - - An that gives access to all entries - in the collection. - - - - - Reads the row from the . - - - This method should be prepared to handle duplicate elements caused by fetching multiple collections, - or should be updated - to return for the collection type. - - The IDataReader that contains the value of the Identifier - The persister for this Collection. - The descriptor providing result set column names - The owner of this Collection. - The object that was contained in the row. - - - - Get the identifier of the given collection entry - - - - - Get the index of the given collection entry - - - - - Get the value of the given collection entry - - - - - Get the snapshot value of the given collection entry - - - - - Called before any elements are read into the collection, - allowing appropriate initializations to occur. - - The for this persistent collection. - The anticipated size of the collection after initilization is complete. - - - - Does the current state exactly match the snapshot? - - The to compare the elements of the Collection. - - if the wrapped collection is different than the snapshot - of the collection or if one of the elements in the collection is - dirty. - - - - Is the snapshot empty? - - - - Disassemble the collection, ready for the cache - - The for this Collection. - The contents of the persistent collection in a cacheable form. - - - - Gets a indicating if the rows for this collection - need to be recreated in the table. - - The for this Collection. - - by default since most collections can determine which rows need to be - individually updated/inserted/deleted. Currently only 's for many-to-many - need to be recreated. - - - - - Return a new snapshot of the current state of the collection - - - - - To be called internally by the session, forcing - immediate initalization. - - - This method is similar to , except that different exceptions are thrown. - - - - - Does an element exist at this entry in the collection? - - - - - Do we need to insert this element? - - - - - Do we need to update this element? - - - - - Get all the elements that need deleting - - - - - Is this the wrapper for the given underlying collection instance? - - The collection to see if this IPersistentCollection is wrapping. - - if the IPersistentCollection is wrappping the collection instance, - otherwise. - - - - Get the "queued" orphans - - - - Clear the dirty flag, after flushing changes - to the database. - - - - - Mark the collection as dirty - - - - - Called before inserting rows, to ensure that any surrogate keys are fully generated - - - - - - Called after inserting a row, to fetch the natively generated id - - - - - Get all "orphaned" elements - - The snapshot of the collection. - The persistent class whose objects - the collection is expected to contain. - - An that contains all of the elements - that have been orphaned. - - - - - The owning entity. - - - Note that the owner is only set during the flush - cycle, and when a new collection wrapper is created - while loading an entity. - - - - Get the current collection key value - - - Get the current role name - - - Is the collection unreferenced? - - - - Is the collection dirty? Note that this is only - reliable during the flush cycle, after the - collection elements are dirty checked against - the snapshot. - - - - Get the snapshot cached by the collection instance - - - - Is the initialized collection empty? - - - - - Gets a indicating if the underlying collection is directly - accessible through code. - - - if we are not guaranteed that the NHibernate collection wrapper - is being used. - - - This is typically whenever a transient object that contains a collection is being - associated with an through or . - NHibernate can't guarantee that it will know about all operations that would cause NHibernate's collections - to call or . - - - - - - - - - - - - - - Not called by Hibernate, but used by non-NET serialization, eg. SOAP libraries. - - - - - Return the user-visible collection (or array) instance - - - By default, the NHibernate wrapper is an acceptable collection for - the end user code to work with because it is interface compatible. - An NHibernate PersistentList is an IList, an NHibernate PersistentMap is an IDictionary - and those are the types user code is expecting. - - - - - Called by any read-only method of the collection interface - - - - Called by the Count property - - - - Called by any writer method of the collection interface - - - - - Queue an addition, delete etc. if the persistent collection supports it - - - - - After reading all existing elements from the database, - add the queued elements to the underlying collection. - - - - - Clears out any Queued operation. - - - After flushing, clear any "queued" additions, since the - database state is now synchronized with the memory state. - - - - - Called just before reading any rows from the - - - - - Called after reading all rows from the - - - This should be overridden by sub collections that use temporary collections - to store values read from the db. - - - - - Initialize the collection, if possible, wrapping any exceptions - in a runtime exception - - currently obsolete - if we cannot initialize - - - - Mark the collection as initialized. - - - - - Disassociate this collection from the given session. - - - true if this was currently associated with the given session - - - - Associate the collection with the given session. - - - false if the collection was already associated with the session - - - - Gets a indicating if the rows for this collection - need to be recreated in the table. - - The for this Collection. - - by default since most collections can determine which rows need to be - individually updated/inserted/deleted. Currently only 's for many-to-many - need to be recreated. - - - - - To be called internally by the session, forcing - immediate initalization. - - - This method is similar to , except that different exceptions are thrown. - - - - - Gets the Snapshot from the current session the collection is in. - - - - - Called before inserting rows, to ensure that any surrogate keys are fully generated - - - - - - Called after inserting a row, to fetch the natively generated id - - - - - Get all "orphaned" elements - - - - - Given a collection of entity instances that used to - belong to the collection, and a collection of instances - that currently belong, return a collection of orphans - - - - - Disassemble the collection, ready for the cache - - - - - - - Is this the wrapper for the given underlying collection instance? - - - - - - - Does an element exist at this entry in the collection? - - - - - - - - Get all the elements that need deleting - - - - - Read the state of the collection from a disassembled cached value. - - - - - - - - Do we need to update this element? - - - - - - - - - Reads the row from the . - - The IDataReader that contains the value of the Identifier - The persister for this Collection. - The descriptor providing result set column names - The owner of this Collection. - The object that was contained in the row. - - - - Do we need to insert this element? - - - - - - - - - Get the index of the given collection entry - - - - - Called before any elements are read into the collection, - allowing appropriate initializations to occur. - - The underlying collection persister. - The anticipated size of the collection after initilization is complete. - - - - Is the collection currently connected to an open session? - - - - - Is this collection in a state that would allow us to "queue" additions? - - - - Is this collection in a state that would allow us to - "queue" puts? This is a special case, because of orphan - delete. - - - - Is this collection in a state that would allow us to - "queue" clear? This is a special case, because of orphan - delete. - - - - Is this the "inverse" end of a bidirectional association? - - - - Is this the "inverse" end of a bidirectional association with - no orphan delete enabled? - - - - - Is this the "inverse" end of a bidirectional one-to-many, or - of a collection with no orphan delete? - - - - - - - - Is the initialized collection empty? - - - - - Gets a indicating if the underlying collection is directly - accessible through code. - - - if we are not guaranteed that the NHibernate collection wrapper - is being used. - - - This is typically whenever a transient object that contains a collection is being - associated with an through or . - NHibernate can't guarantee that it will know about all operations that would cause NHibernate's collections - to call or . - - - - Is this instance initialized? - - - Does this instance have any "queued" additions? - - - - - - - Counts the number of times that the occurs - in the . - - The element to find in the list. - The to search. - The that can determine equality. - The entity mode. - - The number of occurrences of the element in the list. - - - - - Initializes this PersistentBag from the cached values. - - The CollectionPersister to use to reassemble the PersistentBag. - The disassembled PersistentBag. - The owner object. - - - - Gets a indicating if this PersistentBag needs to be recreated - in the database. - - - - if this is a one-to-many Bag, if this is not - a one-to-many Bag. Since a Bag is an unordered, unindexed collection - that permits duplicates it is not possible to determine what has changed in a - many-to-many so it is just recreated. - - - - - Implements "bag" semantics more efficiently than by adding - a synthetic identifier column to the table. - - - - The identifier is unique for all rows in the table, allowing very efficient - updates and deletes. The value of the identifier is never exposed to the - application. - - - Identifier bags may not be used for a many-to-one association. Furthermore, - there is no reason to use inverse="true". - - - - - - Implements "bag" semantics more efficiently than a regular - by adding a synthetic identifier column to the table. - - - - The identifier is unique for all rows in the table, allowing very efficient - updates and deletes. The value of the identifier is never exposed to the - application. - - - PersistentIdentifierBags may not be used for a many-to-one association. - Furthermore, there is no reason to use inverse="true". - - - - - - Initializes this Bag from the cached values. - - The CollectionPersister to use to reassemble the PersistentIdentifierBag. - The disassembled PersistentIdentifierBag. - The owner object. - - - - A persistent wrapper for an - - The type of the element the list should hold. - The underlying collection used is a - - - - A persistent wrapper for an - - - The underlying collection used in an . - - - - - Initializes an instance of the - in the . - - The the list is in. - - - - Initializes an instance of the - that wraps an existing in the . - - The the list is in. - The to wrap. - - - - Initializes this PersistentList from the cached values. - - The CollectionPersister to use to reassemble the PersistentList. - The disassembled PersistentList. - The owner object. - - - - A persistent wrapper for a . Underlying - collection is a - - The type of the keys in the IDictionary. - The type of the elements in the IDictionary. - - - - A persistent wrapper for a . Underlying collection - is a . - - - - - Construct an uninitialized PersistentMap. - - The ISession the PersistentMap should be a part of. - - - - Construct an initialized PersistentMap based off the values from the existing IDictionary. - - The ISession the PersistentMap should be a part of. - The IDictionary that contains the initial values. - - - - Initializes this PersistentMap from the cached values. - - The CollectionPersister to use to reassemble the PersistentMap. - The disassembled PersistentMap. - The owner object. - - - - .NET has no design equivalent for Java's Set so we are going to use the - Iesi.Collections library. This class is internal to NHibernate and shouldn't - be used by user code. - - - The code for the Iesi.Collections library was taken from the article - Add Support for "Set" Collections - to .NET that was written by JasonSmith. - - - - - .NET has no design equivalent for Java's Set so we are going to use the - Iesi.Collections library. This class is internal to NHibernate and shouldn't - be used by user code. - - - The code for the Iesi.Collections library was taken from the article - Add Support for "Set" Collections - to .NET that was written by JasonSmith. - - - - - The that NHibernate is wrapping. - - - - - A temporary list that holds the objects while the PersistentSet is being - populated from the database. - - - This is necessary to ensure that the object being added to the PersistentSet doesn't - have its' GetHashCode() and Equals() methods called during the load - process. - - - - - Constructor matching super. - Instantiates a lazy set (the underlying set is un-initialized). - - The session to which this set will belong. - - - - Instantiates a non-lazy set (the underlying set is constructed - from the incoming set reference). - - The session to which this set will belong. - The underlying set data. - - - - Initializes this PersistentSet from the cached values. - - The CollectionPersister to use to reassemble the PersistentSet. - The disassembled PersistentSet. - The owner object. - - - - Set up the temporary List that will be used in the EndRead() - to fully create the set. - - - - - Takes the contents stored in the temporary list created during BeginRead() - that was populated during ReadFrom() and write it to the underlying - PersistentSet. - - - - - A persistent wrapper for an array. lazy initialization is NOT supported - - Use of Hibernate arrays is not really recommended. - - - - A temporary list that holds the objects while the PersistentArrayHolder is being - populated from the database. - - - - - Returns the user-visible portion of the NHibernate PersistentArrayHolder. - - - The array that contains the data, not the NHibernate wrapper. - - - - - Before is called the PersistentArrayHolder needs to setup - a temporary list to hold the objects. - - - - - Takes the contents stored in the temporary list created during - that was populated during and write it to the underlying - array. - - - - - Initializes this array holder from the cached values. - - The CollectionPersister to use to reassemble the Array. - The disassembled Array. - The owner object. - - - - Gets or sets the array. - - The array. - - - - The base class for the ConnectionProvider. - - - - - A strategy for obtaining ADO.NET . - - - The IConnectionProvider interface is not intended to be exposed to the application. - Instead it is used internally by NHibernate to obtain . - Implementors should provide a public default constructor. - - - - - Initialize the connection provider from the given properties. - - The connection provider settings - - - - Dispose of a used - - The to clean up. - - - - Get an open . - - An open . - - - - Gets the this ConnectionProvider should use to - communicate with the .NET Data Provider - - - The to communicate with the .NET Data Provider. - - - - - Closes the . - - The to clean up. - - - - Configures the ConnectionProvider with the Driver and the ConnectionString. - - An that contains the settings for this ConnectionProvider. - - Thrown when a could not be found - in the settings parameter or the Driver Class could not be loaded. - - - - - Get the .NET 2.0 named connection string - - - Thrown when a was found - in the settings parameter but could not be found in the app.config - - - - - Configures the driver for the ConnectionProvider. - - An that contains the settings for the Driver. - - Thrown when the could not be - found in the settings parameter or there is a problem with creating - the . - - - - - Get an open . - - An open . - - - - A flag to indicate if Disose() has been called. - - - - - Finalizer that ensures the object is correctly disposed of. - - - - - Takes care of freeing the managed and unmanaged resources that - this class is responsible for. - - - - - Takes care of freeing the managed and unmanaged resources that - this class is responsible for. - - Indicates if this ConnectionProvider is being Disposed of or Finalized. - -

- If this ConnectionProvider is being Finalized (isDisposing==false) then make - sure not to call any methods that could potentially bring this - ConnectionProvider back to life. -

-

- If any subclasses manage resources that also need to be disposed of this method - should be overridden, but don't forget to call it in the override. -

-
-
- - - Gets the for the - to connect to the database. - - - The for the - to connect to the database. - - - - - Gets the that can create the object. - - - The that can create the . - - - - - Instanciates a connection provider given configuration properties. - - - - - A ConnectionProvider that uses an IDriver to create connections. - - - - - Closes and Disposes of the . - - The to clean up. - - - - Gets a new open through - the . - - - An Open . - - - If there is any problem creating or opening the . - - - - - An implementation of the IConnectionProvider that simply throws an exception when - a connection is requested. - - - This implementation indicates that the user is expected to supply an ADO.NET connection - - - - - Throws an if this method is called - because the user is responsible for closing s. - - The to clean up. - - Thrown when this method is called. User is responsible for closing - s. - - - - - Throws an if this method is called - because the user is responsible for creating s. - - - No value is returned because an is thrown. - - - Thrown when this method is called. User is responsible for creating - s. - - - - - Configures the ConnectionProvider with only the Driver class. - - - - All other settings of the Connection are the responsibility of the User since they configured - NHibernate to use a Connection supplied by the User. - - - - - Provides a current session - for each . - Not recommended for .NET 2.0 web applications. - - - - - Extends the contract defined by - by providing methods to bind and unbind sessions to the current context. - - - The notion of a contextual session is managed by some external entity - (generally some form of interceptor like the HttpModule). - This external manager is responsible for scoping these contextual sessions - appropriately binding/unbinding them here for exposure to the application - through calls. - - - - - Defines the contract for implementations which know how to - scope the notion of a current session. - - - - Implementations should adhere to the following: - - contain a constructor accepting a single argument of type - - should be thread safe - should be fully serializable - - - - Implementors should be aware that they are also fully responsible for - cleanup of any generated current-sessions. - - - Note that there will be exactly one instance of the configured - ICurrentSessionContext implementation per . - - - It is recommended to inherit from the class - whenever possible as it simplifies the implementation and provides - single entry point with session binding support. - - - - - - Retrieve the current session according to the scoping defined - by this implementation. - - The current session. - Typically indicates an issue - locating or creating the current session. - - - - Retrieve the current session according to the scoping defined - by this implementation. - - The current session. - Indicates an issue - locating the current session. - - - - Binds the specified session to the current context. - - - - - Returns whether there is a session bound to the current context. - - - - - Unbinds and returns the current session. - - - - Gets or sets the currently bound session. - - - - Get the dicitonary mapping session factory to its current session. - - - - - Set the map mapping session factory to its current session. - - - - - Gets or sets the currently bound session. - - - - - The key is the session factory and the value is the bound session. - - - - - The key is the session factory and the value is the bound session. - - - - - Provides a current session - for each System.Web.HttpContext. - Works only with Web Applications. - - - - - This class allows access to the HttpContext without referring to HttpContext at compile time. - The accessors are cached as delegates for performance. - - - - - A impl which scopes the notion of current - session by the current thread of execution. Threads do not give us a - nice hook to perform any type of cleanup making - it questionable for this impl to actually generate Session instances. In - the interest of usability, it was decided to have this default impl - actually generate a session upon first request and then clean it up - after the associated with that session - is committed/rolled-back. In order for ensuring that happens, the sessions - generated here are unusable until after {@link Session#beginTransaction()} - has been called. If Close() is called on a session managed by - this class, it will be automatically unbound. -

- Additionally, the static and methods are - provided to allow application code to explicitly control opening and - closing of these sessions. This, with some from of interception, - is the preferred approach. It also allows easy framework integration - and one possible approach for implementing long-sessions. -

-

-
- - - Unassociate a previously bound session from the current thread of execution. - - - - - - - Provides a current session - for each thread using the []. - To avoid if there are two session factories in the same thread. - - - - Gets or sets the currently bound session. - - - - Provides a current session - for the current OperationContext in WCF. Works only during the lifetime of a WCF operation. - - - - - Provides a current session - for each System.Web.HttpContext. Works only with web applications. - - - - - Constructed with property name - - - - - Apply a "between" constraint to the named property - - - - - Apply an "in" constraint to the named property - - - - - Apply an "in" constraint to the named property - - - - - Apply an "in" constraint to the named property - - - - - A case-insensitive "like", similar to Postgres "ilike" operator - - - - - A case-insensitive "like", similar to Postgres "ilike" operator - - - - - Apply a "like" constraint to the named property - - - - - Apply a "like" constraint to the named property - - - - - Apply a "like" constraint to the named property - - - - - Apply an "is empty" constraint to the named property - - - - - Apply a "not is empty" constraint to the named property - - - - - Apply an "is null" constraint to the named property - - - - - Apply an "not is null" constraint to the named property - - - - - Constructed with property name - - - - - Add a property equal subquery criterion - - detached subquery - - - - Add a property equal all subquery criterion - - detached subquery - - - - Create a property greater than or equal subquery criterion - - detached subquery - - - - Create a property greater than or equal all subquery criterion - - detached subquery - - - - Create a property greater than or equal some subquery criterion - - detached subquery - - - - Create a property greater than subquery criterion - - detached subquery - - - - Create a property greater than all subquery criterion - - detached subquery - - - - Create a property greater than some subquery criterion - - detached subquery - - - - Create a property in subquery criterion - - detached subquery - - - - Create a property less than or equal subquery criterion - - detached subquery - - - - Create a property less than or equal all subquery criterion - - detached subquery - - - - Create a property less than or equal some subquery criterion - - detached subquery - - - - Create a property less than subquery criterion - - detached subquery - - - - Create a property less than all subquery criterion - - detached subquery - - - - Create a property less than some subquery criterion - - detached subquery - - - - Create a property not equal subquery criterion - - detached subquery - - - - Create a property not in subquery criterion - - detached subquery - - - - Create an alias for the previous projection - - - - - Select an arbitrary projection - - - - - A property average value - - - - - A property average value - - - - - A property value count - - - - - A property value count - - - - - A distinct property value count - - - - - A distinct property value count - - - - - A grouping property value - - - - - A grouping property value - - - - - A property maximum value - - - - - A property maximum value - - - - - A property minimum value - - - - - A property minimum value - - - - - A projected property value - - - - - A projected property value - - - - - A property value sum - - - - - A property value sum - - - - - Constructed with property name - - - - - Apply a "between" constraint to the named property - - - - - Apply an "in" constraint to the named property - - - - - Apply an "in" constraint to the named property - - - - - Apply an "in" constraint to the named property - - - - - A case-insensitive "like", similar to Postgres "ilike" operator - - - - - A case-insensitive "like", similar to Postgres "ilike" operator - - - - - Apply a "like" constraint to the named property - - - - - Apply a "like" constraint to the named property - - - - - Apply a "like" constraint to the named property - - - - - Apply an "is empty" constraint to the named property - - - - - Apply a "not is empty" constraint to the named property - - - - - Apply an "is null" constraint to the named property - - - - - Apply an "not is null" constraint to the named property - - - - - Add an Exists subquery criterion - - - - - Add a NotExists subquery criterion - - - - - Subquery expression in the format - .Where(t => t.Property [==, !=, >, etc.] detachedQueryOver.As<propertyType>()) - - - - - Subquery expression in the format - .Where(() => alias.Property [==, !=, >, etc.] detachedQueryOver.As<propertyType>()) - - - - - Subquery expression in the format - .WhereAll(t => t.Property [==, !=, >, etc.] detachedQueryOver.As<propertyType>()) - - - - - Subquery expression in the format - .WhereAll(() => alias.Property [==, !=, >, etc.] detachedQueryOver.As<propertyType>()) - - - - - Subquery expression in the format - .WhereSome(t => t.Property [==, !=, >, etc.] detachedQueryOver.As<propertyType>()) - - - - - Subquery expression in the format - .WhereSome(() => alias.Property [==, !=, >, etc.] detachedQueryOver.As<propertyType>()) - - - - - Add a property equal subquery criterion - - detached subquery - - - - Add a property equal all subquery criterion - - detached subquery - - - - Create a property greater than or equal subquery criterion - - detached subquery - - - - Create a property greater than or equal all subquery criterion - - detached subquery - - - - Create a property greater than or equal some subquery criterion - - detached subquery - - - - Create a property greater than subquery criterion - - detached subquery - - - - Create a property greater than all subquery criterion - - detached subquery - - - - Create a property greater than some subquery criterion - - detached subquery - - - - Create a property in subquery criterion - - detached subquery - - - - Create a property less than or equal subquery criterion - - detached subquery - - - - Create a property less than or equal all subquery criterion - - detached subquery - - - - Create a property less than or equal some subquery criterion - - detached subquery - - - - Create a property less than subquery criterion - - detached subquery - - - - Create a property less than all subquery criterion - - detached subquery - - - - Create a property less than some subquery criterion - - detached subquery - - - - Create a property not equal subquery criterion - - detached subquery - - - - Create a property not in subquery criterion - - detached subquery - - - - Base class for implementations. - - - - - An object-oriented representation of a query criterion that may be used as a constraint - in a query. - - - Built-in criterion types are provided by the Expression factory class. - This interface might be implemented by application classes but, more commonly, application - criterion types would extend AbstractCriterion. - - - - - Render a SqlString fragment for the expression. - - A SqlString that contains a valid Sql fragment. - - - - Return typed values for all parameters in the rendered SQL fragment - - An array of TypedValues for the Expression. - - - - Return all projections used in this criterion - - An array of IProjection used by the Expression. - - - - Gets a string representation of the . - - - A String that shows the contents of the . - - - This is not a well formed Sql fragment. It is useful for logging what the - looks like. - - - - - Render a SqlString for the expression. - - A SqlString that contains a valid Sql fragment. - - - - Return typed values for all parameters in the rendered SQL fragment - - An array of TypedValues for the Expression. - - - - Return all projections used in this criterion - - An array of IProjection used by the Expression. - - - - See here for details: - http://steve.emxsoftware.com/NET/Overloading+the++and++operators - - - - - See here for details: - http://steve.emxsoftware.com/NET/Overloading+the++and++operators - - - - - An Aggregation - - - - - A single-column projection that may be aliased - - - - - An "enhanced" Projection for a query. - - - - - Render the SQL Fragment. - - The criteria. - The position. - The criteria query. - The enabled filters. - - - - - Render the SQL Fragment to be used in the Group By Clause. - - The criteria. - The criteria query. - The enabled filters. - - - - - Return types for a particular user-visible alias - - - - - - - - - - - - - - - - - Get the SQL select clause column aliases for a particular user-visible alias - - - - - - - Get the SQL select clause column aliases for a particular user-visible alias - - - - - - - - Gets the typed values for parameters in this projection - - The criteria. - The criteria query. - - - - - Get the user-visible aliases for this projection (ie. the ones that will be passed to the ResultTransformer) - - - - - Does this projection specify grouping attributes? - - - - - Does this projection specify aggregate attributes? - - - - - Get the SQL column aliases used by this projection for the columns it writes for inclusion into the - SELECT clause . NHibernate always uses column aliases - to extract data from the , so it is important that these be implemented - correctly in order for NHibernate to be able to extract these values correctly. - -