EntityFramework.Extended Indicates that a field in an audited class should always be included in the audit data even if it hasn't been changed. A list of entity actions for the audit log. The entity was inserted/added. The entity was updated/modifed. The entity was deleted. Indicates that a class can be audited. Use the attribute to prevent a field from being included in the audit A class to configure the output of an . Fluent method to set whether the entity class is auditable. The type of the entity. if set to true make the entity auditable. A fluent object to further configure the auditing for the entity type. Gets or sets a value indicating whether to include relationship properties. true to include relationship properties; otherwise, false. Gets or sets a value indicating whether to load a relationship when it is not already loaded to the context. Please not that this will make database call. true to load relationships; otherwise, false. Gets or sets a value indicating whether an entity is auditable by default. true if default auditable; otherwise, false. Gets or sets a value indicating whether the log is maintain across multiple calls to . Each additional call will add to the instance. true to maintain log across saves; otherwise, false to create a new log on eash save. Gets the default instance of AuditConfiguration. The default instance. A class to configure the auditing for the entity type. The type of the entity. Indicates that a field in an audited class should not be included in the audit log. The type of the property. The property expression. Indicates that a field in an audited class should always be included in the audit data even if it hasn't been changed. The type of the property. The property expression. Indicates a method to control the output format of the values. The type of the property. The property expression. The format method. Indicates that a field in an audited class should be used as the relationship display member. The type of the property. The property expression. A class for logging the changes to an entity. Initializes a new instance of the class. Initializes a new instance of the class. The current entity the AuditEntity is based on. Indicates whether the current object is equal to another object of the same type. true if the current object is equal to the parameter; otherwise, false. An object 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 . Serves as a hash function for a particular type. A hash code for the current . Gets or sets the action that was taken on the entity. The action that was taken on the entity. Gets or sets the data type of the entity. The data type of the entity. Gets the list of properties that are the key for the entity. The list of properties that are the key for the entity. Gets the entity in its current modified state. Value is held as a WeakReference and can be disposed. Gets the type of the entity. The type of the entity. Gets the list of properties that action was taken on. The list of properties that action was taken on. A class used to hold audit key values. Gets or sets the name of the property. The name of the property. Gets or sets the type of the property. The type of the property. Gets or sets the current/changed value of the property. The current value of the property. A keyed collection of When implemented in a derived class, extracts the key from the specified element. The element from which to extract the key. The key for the specified element. A class representing a log of the changes. The schema namespace for the audit log. Initializes a new instance of the class. Refresh key and property values. Call after Save to capture database updated keys and values. Returns an XML string of the . An XML string of the . Saves the to the specified . The writer to save to. Returns an object created from an XML string. An XML string An object created from an XML string. Returns an object created from an XML string. The to create the from. An object created from an . Gets or sets the user name that made the changes. The user name that made the changes. Gets or sets the date when the changes were made. The date when the changes were made. Gets the list entities that have changes. The list entities that have changes. A class used to create an AuditLog. Initializes a new instance of the class. The to create the from. Initializes a new instance of the class. The to create the from. The to use when creating the . Initializes a new instance of the class. The to create the from. Initializes a new instance of the class. The to create the from. The to use when creating the . Called when OjbectContext is saving changes. The sender. The instance containing the event data. Creates the from the current . Updates the from the current changes. The audit log. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Releases unmanaged and - optionally - managed resources true to release both managed and unmanaged resources; false to release only unmanaged resources. Releases unmanaged resources and performs other cleanup operations before the is reclaimed by garbage collection. Gets the ObjectContext to create the from. Gets the to use when creating the . Gets the last created. An interface to abstract the batch execute from expressions. Create and runs a batch delete statement. The type of the entity. The to get connection and metadata information from. The for . The query to create the where clause from. The number of rows deleted. Create and runs a batch update statement. The type of the entity. The to get connection and metadata information from. The for . The query to create the where clause from. The update expression. The number of rows updated. A batch execution runner for SQL Server. Create and run a batch delete statement. The type of the entity. The to get connection and metadata information from. The for . The query to create the where clause from. The number of rows deleted. Create and run a batch update statement. The type of the entity. The to get connection and metadata information from. The for . The query to create the where clause from. The update expression. The number of rows updated. The cache expiration mode. The cache item will not expire. The cache item will expire using the Duration property to calculate the absolute expiration from DateTimeOffset.Now. The cache item will expire using the Duration property as the sliding expiration. The cache item will expire on the AbsoluteExpiration DateTime. A class representing a unique key for cache items. Initializes a new instance of the class. The key for a cache item. Initializes a new instance of the class. The key for a cache item. The tags for the cache item. Gets the key for a cached item. Gets the tags for a cached item. The CacheManager with support for providers used by FromCache extension methods. This CacheManager uses the container to resolve an to store the cache items. The CacheManager also supports tagging the cache entry to support expiring by tag. supports a list of tags to associate with the cache entry. Use to evict the cache entry by . Replace cache provider with Memcached provider (() => new MemcachedProvider()); ]]> Inserts a cache entry into the cache without overwriting any existing cache entry. A unique identifier for the cache entry. The object to insert. true if insertion succeeded, or false if there is an already an entry in the cache that has the same key as key. Inserts a cache entry into the cache without overwriting any existing cache entry. A unique identifier for the cache entry. The object to insert. The fixed date and time at which the cache entry will expire. true if insertion succeeded, or false if there is an already an entry in the cache that has the same key as key. Inserts a cache entry into the cache without overwriting any existing cache entry. A unique identifier for the cache entry. The object to insert. A span of time within which a cache entry must be accessed before the cache entry is evicted from the cache. true if insertion succeeded, or false if there is an already an entry in the cache that has the same key as key. Inserts a cache entry into the cache without overwriting any existing cache entry. A unique identifier for the cache entry. The object to insert. An object that contains eviction details for the cache entry. true if insertion succeeded, or false if there is an already an entry in the cache that has the same key as key. Inserts a cache entry into the cache without overwriting any existing cache entry. A unique identifier for the cache entry. The object to insert. An object that contains eviction details for the cache entry. true if insertion succeeded, or false if there is an already an entry in the cache that has the same key as key. Gets the cache value for the specified key A unique identifier for the cache entry. The cache value for the specified key, if the entry exists; otherwise, . Gets the cache value for the specified key that is already in the dictionary or the new value if the key was not in the dictionary. A unique identifier for the cache entry. The object to insert. The value for the key. This will be either the existing value for the key if the key is already in the dictionary, or the new value if the key was not in the dictionary. Gets the cache value for the specified key that is already in the dictionary or the new value if the key was not in the dictionary. A unique identifier for the cache entry. The object to insert. The fixed date and time at which the cache entry will expire. The value for the key. This will be either the existing value for the key if the key is already in the dictionary, or the new value if the key was not in the dictionary. Gets the cache value for the specified key that is already in the dictionary or the new value if the key was not in the dictionary. A unique identifier for the cache entry. The object to insert. A span of time within which a cache entry must be accessed before the cache entry is evicted from the cache. The value for the key. This will be either the existing value for the key if the key is already in the dictionary, or the new value if the key was not in the dictionary. Gets the cache value for the specified key that is already in the dictionary or the new value if the key was not in the dictionary. A unique identifier for the cache entry. The object to insert. An object that contains eviction details for the cache entry. The value for the key. This will be either the existing value for the key if the key is already in the dictionary, or the new value if the key was not in the dictionary. Gets the cache value for the specified key that is already in the dictionary or the new value if the key was not in the dictionary. A unique identifier for the cache entry. The object to insert. An object that contains eviction details for the cache entry. The value for the key. This will be either the existing value for the key if the key is already in the dictionary, or the new value if the key was not in the dictionary. Gets the cache value for the specified key that is already in the dictionary or the new value for the key as returned by . A unique identifier for the cache entry. The function used to generate a value to insert into cache. The value for the key. This will be either the existing value for the key if the key is already in the dictionary, or the new value for the key as returned by if the key was not in the dictionary. Gets the cache value for the specified key that is already in the dictionary or the new value for the key as returned by . A unique identifier for the cache entry. The function used to generate a value to insert into cache. The fixed date and time at which the cache entry will expire. The value for the key. This will be either the existing value for the key if the key is already in the dictionary, or the new value for the key as returned by if the key was not in the dictionary. Gets the cache value for the specified key that is already in the dictionary or the new value for the key as returned by . A unique identifier for the cache entry. The function used to generate a value to insert into cache. A span of time within which a cache entry must be accessed before the cache entry is evicted from the cache. The value for the key. This will be either the existing value for the key if the key is already in the dictionary, or the new value for the key as returned by if the key was not in the dictionary. Gets the cache value for the specified key that is already in the dictionary or the new value for the key as returned by . A unique identifier for the cache entry. The function used to generate a value to insert into cache. An object that contains eviction details for the cache entry. The value for the key. This will be either the existing value for the key if the key is already in the dictionary, or the new value for the key as returned by if the key was not in the dictionary. Gets the cache value for the specified key that is already in the dictionary or the new value for the key as returned by . A unique identifier for the cache entry. The function used to generate a value to insert into cache. An object that contains eviction details for the cache entry. The value for the key. This will be either the existing value for the key if the key is already in the dictionary, or the new value for the key as returned by if the key was not in the dictionary. Removes a cache entry from the cache. A unique identifier for the cache entry. If the entry is found in the cache, the removed cache entry; otherwise, . Removes a cache entry from the cache. A unique identifier for the cache entry. If the entry is found in the cache, the removed cache entry; otherwise, . Expires the specified cache tag. The cache tag. Expires the specified cache tag. The cache tag. Inserts a cache entry into the cache overwriting any existing cache entry. A unique identifier for the cache entry. The object to insert. Inserts a cache entry into the cache overwriting any existing cache entry. A unique identifier for the cache entry. The object to insert. The fixed date and time at which the cache entry will expire. Inserts a cache entry into the cache overwriting any existing cache entry. A unique identifier for the cache entry. The object to insert. A span of time within which a cache entry must be accessed before the cache entry is evicted from the cache. Inserts a cache entry into the cache overwriting any existing cache entry. A unique identifier for the cache entry. The object to insert. An object that contains eviction details for the cache entry. Inserts a cache entry into the cache overwriting any existing cache entry. A unique identifier for the cache entry. The object to insert. An object that contains eviction details for the cache entry. Gets the registered from . An instance from . Gets the current singleton instance of . The current singleton instance. Represents a set of eviction and expiration details for a specific cache entry. Initializes a new instance of the class. Creates a with the absolute expiration. The used to calculate absolute expiration from now. An instance of . Creates a with the absolute expiration. The absolute expiration. An instance of . Creates a with the sliding expiration. The sliding expiration. An instance of . Gets the default . Gets or sets the cache expiration mode. The cache expiration mode. Gets or sets a value that indicates a cache entry should be evicted after a specified duration. Gets or sets a value that indicates a cache entry should be evicted if it has not been accessed in a given span of time. Gets or sets a value that indicates a cache entry should be evicted after a given span of time. An defining a cache provider. Inserts a cache entry into the cache without overwriting any existing cache entry. A unique identifier for the cache entry. The object to insert. An object that contains eviction details for the cache entry. true if insertion succeeded, or false if there is an already an entry in the cache that has the same key as key. Gets the cache value for the specified key A unique identifier for the cache entry. The cache value for the specified key, if the entry exists; otherwise, . Gets the cache value for the specified key that is already in the dictionary or the new value for the key as returned by . A unique identifier for the cache entry. The function used to generate a value to insert into cache. A that contains eviction details for the cache entry. The value for the key. This will be either the existing value for the key if the key is already in the cache, or the new value for the key as returned by if the key was not in the cache. Removes a cache entry from the cache. A unique identifier for the cache entry. If the entry is found in the cache, the removed cache entry; otherwise, . Expires the specified cache tag. The cache tag. The number of items expired. Inserts a cache entry into the cache overwriting any existing cache entry. A unique identifier for the cache entry. The object to insert. A that contains eviction details for the cache entry. Initializes a new instance of the class. The tag name. Indicates whether the current object is equal to another object of the same type. An object to compare with this object. true if the current object is equal to the parameter; otherwise, false. Determines whether the specified is equal to this instance. The to compare with this instance. true if the specified is equal to this instance; otherwise, false. Implements the operator ==. The left. The right. The result of the operator. Implements the operator !=. The left. The right. The result of the operator. Returns a hash code for this instance. A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. Returns a that represents this instance. A that represents this instance. Performs an implicit conversion from to . The cache tag. The result of the conversion. A cache provider based on . Inserts a cache entry into the cache without overwriting any existing cache entry. A unique identifier for the cache entry. The object to insert. An object that contains eviction details for the cache entry. true if insertion succeeded, or false if there is an already an entry in the cache that has the same key as key. Gets the cache value for the specified key A unique identifier for the cache entry. The cache value for the specified key, if the entry exists; otherwise, . Gets the cache value for the specified key that is already in the dictionary or the new value for the key as returned by . A unique identifier for the cache entry. The function used to generate a value to insert into cache. A that contains eviction details for the cache entry. The value for the key. This will be either the existing value for the key if the key is already in the cache, or the new value for the key as returned by if the key was not in the cache. Removes a cache entry from the cache. A unique identifier for the cache entry. If the entry is found in the cache, the removed cache entry; otherwise, . Expires the specified cache tag. The cache tag. The number of items expired. Inserts a cache entry into the cache overwriting any existing cache entry. A unique identifier for the cache entry. The object to insert. A that contains eviction details for the cache entry. Enables the partial evaluation of queries. From http://msdn.microsoft.com/en-us/library/bb546158.aspx Copyright notice http://msdn.microsoft.com/en-gb/cc300389.aspx#O Performs evaluation and replacement of independent sub-trees The root of the expression tree. A function that decides whether a given expression node can be part of the local function. A new tree with sub-trees evaluated and replaced. Performs evaluation and replacement of independent sub-trees The root of the expression tree. A new tree with sub-trees evaluated and replaced. Evaluates and replaces sub-trees when first candidate is reached (top-down) Performs bottom-up analysis to determine which nodes can possibly be part of an evaluated sub-tree. Enables cache key support for local collection values. Overrides ToString to print each element of a collection. Inherits List in order to support List.Contains instance method as well as standard Enumerable.Contains/Any extension methods. Extension methods for query cache. Copyright (c) 2010 Pete Montgomery. http://petemontgomery.wordpress.com Licenced under GNU LGPL v3. http://www.gnu.org/licenses/lgpl.html Gets a cache key for the specified . The query to get the key from. A unique key for the specified A interface encapsulating the execution of future queries. Executes the future queries. The to run the queries against. The future queries list. Service locator pattern. Replace cache provider with Memcached provider (() => new MemcachedProvider()); ]]> Replace the built in with other Locator framework. (() => new MemcachedProvider()); // make Locator use new custom container Locator.SetContainer(container); ]]> Initializes a new instance of the class. Sets the . The to set. Sets the for this instance. The for this instance. Registers the default service provider resolvers. The to register the default service resolvers with. Gets the current Locator . Gets the for this instance. The default for resolving dependencies. An for a simple implementation of inversion of control. Register the specified for resolving . The type of the service. The factory for resolving. Resolves an instance for the specified type. The type of the service. A resolved instance of . Initializes a new instance of the class. Resolves an instance for the specified type. The type of the service. A resolved instance of . Register the specified for resolving . The type of the service. The factory for resolving. Register the specified for resolving . The type of the service. The factory for resolving. Register the specified for resolving . The type of the service. The type of the constructor argument. The factory for resolving. Register the specified for resolving . The type of the service. The type of the first constructor argument. The type of the second constructor argument. The factory for resolving. Register the specified for resolving . The type of the service. The type of the first constructor argument. The type of the second constructor argument. The type of the third constructor argument. The factory for resolving. Register the specified for resolving . The type of the service. The type of the first constructor argument. The type of the second constructor argument. The type of the third constructor argument. The type of the fourth constructor argument. The factory for resolving. An extension class for . Begin audit logging by attaching an to the . The ObjectContext to create the AuditLog from. The AuditConfiguration to use when creating the AuditLog. An Auditlogger instance to create an AuditLog from. Begin audit logging by attaching an to the . The DbContext to create the AuditLog from. The AuditConfiguration to use when creating the AuditLog. An Auditlogger instance to create an AuditLog from. A class for logging the changes to a property on an entity. Gets or sets the name of the property. The name of the property. Gets or sets the type of the property. The type of the property. Gets or sets a value indicating whether this property is an association. true if this property is an association; otherwise, false. Gets or sets the property names that this association maps to. The property names that this association maps to.. Gets or sets the current/changed value of the property. The current value of the property. Gets or sets the original value of the property. The original value of the property. A keyed collection of Extracts the key from the specified element. The element from which to extract the key. The key for the specified element. An attribute to control the output format of the values. The following example is used to mask out the password for use in the audit log. The method signature must be static object MethodName(AuditPropertyContext auditProperty). Initializes a new instance of the class. The that contains format method. The name of the method to call to format the value. Method signature can be either static object MethodName(MemberInfo memberInfo, object value) or static object MethodName(object value). Gets or sets the that contains format method. The that contains format method. Gets or sets the name of the method to call to format the value. Must be a static method. The name of the method to call to format the value. The method signature must be static object MethodName(AuditPropertyContext auditProperty). The audit property context. Gets or sets the entity. Gets or sets the value. Gets or sets the type of the value. Indicates that a field in an audited class should not be included in the audit log. Use the NotAuditedAttribute attribute to prevent a field from being included in the audit. Extension methods for query cache. Returns the result of the ; if possible from the cache, otherwise the query is materialized and the result cached before being returned. The type of the data in the data source. The query to be materialized. The cache policy for the query. The list of tags to use for cache expiration. The result of the query. Returns the first element of the ; if possible from the cache, otherwise the query is materialized and the result cached before being returned. The type of the data in the data source. The query to be materialized. The cache policy for the query. The list of tags to use for cache expiration. default(T) if source is empty; otherwise, the first element in source. Removes the cached query from cache. The type of the data in the data source. The query to be materialized. The original for fluent chaining. Removes the cached query from cache. The type of the data in the data source. The query to be materialized. The removed items for cache. The original for fluent chaining. Extension methods for IDataRecord. Gets the value of the specified field name. The IDataRecord to read. The field name. An extensions class for batch queries. The API was refactored to no longer need this extension method. Use query.Where(expression).Delete() syntax instead. The type of the entity. The source used to determine the table to delete from. The IQueryable used to generate the where clause for the delete statement. The number of row deleted. When executing this method, the statement is immediately executed on the database provider and is not part of the change tracking system. Also, changes will not be reflected on any entities that have already been materialized in the current context. Executes a delete statement using an expression to filter the rows to be deleted. The type of the entity. The source used to determine the table to delete from. The filter expression used to generate the where clause for the delete statement. The number of row deleted. Delete all users with email domain @test.com. u.Email.EndsWith(emailDomain)); ]]> When executing this method, the statement is immediately executed on the database provider and is not part of the change tracking system. Also, changes will not be reflected on any entities that have already been materialized in the current context. Executes a delete statement using the query to filter the rows to be deleted. The type of the entity. The used to generate the where clause for the delete statement. The number of row deleted. Delete all users with email domain @test.com. u.Email.EndsWith(emailDomain)).Delete(); ]]> When executing this method, the statement is immediately executed on the database provider and is not part of the change tracking system. Also, changes will not be reflected on any entities that have already been materialized in the current context. The API was refactored to no longer need this extension method. Use query.Where(expression).Update(updateExpression) syntax instead. The type of the entity. The source used to determine the table to update. The query used to generate the where clause. The MemberInitExpression used to indicate what is updated. The number of row updated. When executing this method, the statement is immediately executed on the database provider and is not part of the change tracking system. Also, changes will not be reflected on any entities that have already been materialized in the current context. Executes an update statement using an expression to filter the rows that are updated. The type of the entity. The source used to determine the table to update. The filter expression used to generate the where clause. The used to indicate what is updated. The number of row updated. Update all users in the test.com domain to be inactive. u.Email.EndsWith(emailDomain), u => new User { IsApproved = false, LastActivityDate = DateTime.Now }); ]]> When executing this method, the statement is immediately executed on the database provider and is not part of the change tracking system. Also, changes will not be reflected on any entities that have already been materialized in the current context. Executes an update statement using the query to filter the rows to be updated. The type of the entity. The query used to generate the where clause. The used to indicate what is updated. The number of row updated. Update all users in the test.com domain to be inactive. u.Email.EndsWith(emailDomain)) .Update(u => new User { IsApproved = false, LastActivityDate = DateTime.Now }); ]]> When executing this method, the statement is immediately executed on the database provider and is not part of the change tracking system. Also, changes will not be reflected on any entities that have already been materialized in the current context. Extensions methods for and . Starts a database transaction from the database provider connection. The to get the database connection from. Specifies the isolation level for the transaction. An object representing the new transaction. Starts a database transaction from the database provider connection. The to get the database connection from. Specifies the isolation level for the transaction. An object representing the new transaction. A class that defines entity mapping. Initializes a new instance of the class. Type of the entity. Gets or sets the conceptual model EntitySet. Gets or sets the store model EntitySet. Gets or sets the conceptual model EntityType. Gets or sets the store model EntityType. Gets the type of the entity. Gets or sets the name of the table. The name of the table. Gets the property maps. Gets the key maps. Extension methods for for ObjectQuery. Convert the query into an ObjectQuery. The type of the entity. The query to convert. The converted ObjectQuery; otherwise null if it can't be converted. Convert the query into an ObjectQuery. The query to convert. The converted ObjectQuery; otherwise null if it can't be converted. Creates an ObjectQuery from an expression. The source. The expression. The type. An ObjectQuery created from the expression. Gets the ObjectContext for the specifed query. The type of the entity. The query. The ObjectContext for the query. An defining a provider to get entity mapping data. Gets the for the specified . The type of the entity. The query to use to help load the mapping data. An with the mapping data. Gets the for the specified . The type of the entity. The database context to load metadata from. An with the mapping data. Gets the for the specified . The type of the entity. The object context to load metadata from. An with the mapping data. Use to resolve mapping information. Gets the for the specified . The type of the entity. The query to use to help load the mapping data. An with the mapping data. Gets the for the specified . The type of the entity. The database context to load metadata from. An with the mapping data. Gets the for the specified . The type of the entity. The object context to load metadata from. An with the mapping data. Static class to resolve Entity Framework mapping. Gets an for the entity type used in the specified . The type of the entity. The query used to create the from. An for the specified . Gets the underling for the type of entity. The type of the entity. The context to get the from. The for the type of entity specified. A class representing a property map Gets or sets the name of the property. Gets or sets the name of the column. Provides for defering the execution of a count query to a batch of queries. The following is an example of how to use FutureCount to page a list and get the total count in one call. t.CreatedDate); // get total count var q1 = q.FutureCount(); // get first page var q2 = q.Skip(0).Take(10).Future(); // triggers sql execute as a batch var tasks = q2.ToList(); int total = q1.Value; ]]> Provides for defering the execution of a query to a batch of queries. The type for the future query. The following is an example of how to use FutureValue. t.Summary == "Test").Future(); // this triggers the loading of all the future queries User user = q1.Value; var tasks = q2.ToList(); ]]> Base class for future queries. The type for the future query. Interface for defering the future execution of a batch of queries. Gets the data command for this query. The data context to get the plan from. The requested FuturePlan object. Sets the underling value after the query has been executed. The data context to translate the results with. The to get the result from. Gets a value indicating whether this instance is loaded. true if this instance is loaded; otherwise, false. Gets the query source to use when materializing. The query source to use when materializing. Initializes a new instance of the class. The query source to use when materializing. The action to execute when the query is accessed. Gets the result by invoking the if not already loaded. An that can be used to iterate through the collection. Gets the data command for this query. The data context to get the command from. The requested command object. Gets the data command for this query. The data context to get the command from. The requested command object. Sets the underling value after the query has been executed. The data context to translate the results with. The to get the result from. Sets the underling value after the query has been executed. The data context to translate the results with. The to get the result from. Gets the action to execute when the query is accessed. The load action. Gets a value indicating whether this instance is loaded. true if this instance is loaded; otherwise, false. Gets or sets the query execute exception. The query execute exception. Gets the query source to use when materializing. The query source to use when materializing. Initializes a new instance of the class. The query source to use when materializing. The action to execute when the query is accessed. Initializes a new instance of the class. The underlying value. Performs an implicit conversion from to T. The future value. The result of forcing this lazy value. Gets or sets the value assigned to or loaded by the query. The value of this deferred property. Gets the underling value. This property will not trigger the loading of the future query. The underling value. Initializes a new instance of the class. The query source to use when materializing. The action to execute when the query is accessed. Initializes a new instance of the class. The underlying value. An exception during future query execution. Initializes a new instance of the class. Initializes a new instance of the class. The message. Initializes a new instance of the class. The message. The inner exception. Initializes a new instance of the class. The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. The parameter is null. The class name is null or is zero (0). Extension methods for future queries. Provides for defering the execution of the query to a batch of future queries. The type of the elements of . An to add to the batch of future queries. An that contains elements from the input sequence. Provides for defering the execution of the query to a batch of future queries. The type of the elements of . An to add to the batch of future queries. An instance of that contains the result of the query. Provides for defering the execution of the query to a batch of future queries. The type of the elements of . The type of the result value wrapped in a . An to add to the batch of future queries. A lambda expression with one of the Min, Max, Count, Sum, Average aggregate functions An instance of that contains the result of the query Provides for defering the execution of the query to a batch of future queries. The type of the elements of . An to add to the batch of future queries. An instance of that contains the result of the query. The command plan for a future query. Gets or sets the command text. The command text. Gets or sets the parameters. The parameters. Provides for defering the execution to a batch of queries. The type for the future query. The following is an example of how to use FutureQuery. t.Summary == "Test").Future(); // this triggers the loading of all the future queries as a batch var users = q1.ToList(); var tasks = q2.ToList(); ]]> Initializes a new instance of the class. The query source to use when materializing. The action to execute when the query is accessed. Returns an enumerator that iterates through the collection. A that can be used to iterate through the collection. Returns an enumerator that iterates through a collection. An object that can be used to iterate through the collection. A class encapsulating the execution of future queries. Executes the future queries. The to run the queries against. The future queries list. A class to store the collection of class that are linked to an . Initializes a new instance of the class. Gets or create the future context that is linked to the underlying . The query source to get the future context from. An instance of to store waiting future queries. Cleanup values that have been disposed. A percentage value between 0 and 100 inclusive. When the percentage of Values collected is greater than or equal to this percentage then a collection will occur and the underlying structure will be shrunk to only valid values. Gets the current default instance of . An interface defining storage for future queries. Executes the future queries. Adds the future query to the waiting queries list on this context. The future query. Gets the future queries. The future queries. A class to hold waiting future queries for an . This class creates a link between the and the waiting future queries. Since the ObjectContext could be displosed before this class, ObjectContext is stored as a . Initializes a new instance of the class. The object context for the future queries. Executes the future queries as a single batch. Adds the future query to the waiting queries list on this context. The future query. Gets the future queries. The future queries. Gets the for the FutureQueries. ObjectContext is stored as a WeakReference. The value can be disposed. Gets an indication whether the object referenced ObjectContext has been garbage collected. true if this instance is alive; otherwise, false. A class used to wrap an object as a allowing access to internal and private members. Initializes a new instance of the class. The wrapped object. Initializes a new instance of the class. The wrapped object. if set to true, return null when name not found. Provides the implementation for operations that invoke a member. Classes derived from the class can override this method to specify dynamic behavior for operations such as calling a method. Provides information about the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the statement sampleObject.SampleMethod(100), where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleMethod". The binder.IgnoreCase property specifies whether the member name is case-sensitive. The arguments that are passed to the object member during the invoke operation. For example, for the statement sampleObject.SampleMethod(100), where sampleObject is derived from the class, args[0] is equal to 100. The result of the member invocation. true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) Provides the implementation for operations that get member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as getting a value for a property. Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member on which the dynamic operation is performed. For example, for the Console.WriteLine(sampleObject.SampleProperty) statement, where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. The result of the get operation. For example, if the method is called for a property, you can assign the property value to . true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a run-time exception is thrown.) Provides the implementation for operations that set member values. Classes derived from the class can override this method to specify dynamic behavior for operations such as setting a value for a property. Provides information about the object that called the dynamic operation. The binder.Name property provides the name of the member to which the value is being assigned. For example, for the statement sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, binder.Name returns "SampleProperty". The binder.IgnoreCase property specifies whether the member name is case-sensitive. The value to set to the member. For example, for sampleObject.SampleProperty = "Test", where sampleObject is an instance of the class derived from the class, the is "Test". true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) Provides implementation for type conversion operations. Classes derived from the class can override this method to specify dynamic behavior for operations that convert an object from one type to another. Provides information about the conversion operation. The binder.Type property provides the type to which the object must be converted. For example, for the statement (String)sampleObject in C# (CType(sampleObject, Type) in Visual Basic), where sampleObject is an instance of the class derived from the class, binder.Type returns the type. The binder.Explicit property provides information about the kind of conversion that occurs. It returns true for explicit conversion and false for implicit conversion. The result of the type conversion operation. true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a language-specific run-time exception is thrown.) Gets the object where access is wrapped from. Gets or sets a value indicating whether to return null when name is not found. true to return null when name not found; otherwise, false to throw an exception. An accessor class for . A base class for member accessors. An interface for member accessors. An interface defining member information Gets the type of the member. The type of the member. Gets the member info. The member info. Gets the name of the member. The name of the member. Gets a value indicating whether this member has getter. true if this member has getter; otherwise, false. Gets a value indicating whether this member has setter. true if this member has setter; otherwise, false. Returns the value of the member. The object whose member value will be returned. The member value for the instance parameter. Sets the value of the member. The object whose member value will be set. The new value for this member. Returns the value of the member. The object whose member value will be returned. The member value for the instance parameter. Sets the value of the member. The object whose member value will be set. The new value for this member. Determines whether the specified is equal to this instance. The to compare with this instance. true if the specified is equal to this instance; otherwise, false. Determines whether the specified is equal to this instance. The to compare with this instance. true if the specified is equal to this instance; otherwise, false. Returns a hash code for this instance. A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. Gets the type of the member. The type of the member. Gets the member info. The member info. Gets the name of the member. The name of the member. Gets a value indicating whether this member has getter. true if this member has getter; otherwise, false. Gets a value indicating whether this member has setter. true if this member has setter; otherwise, false. Initializes a new instance of the class. The instance to use for this accessor. Returns the value of the member. The object whose member value will be returned. The member value for the instance parameter. Sets the value of the member. The object whose member value will be set. The new value for this member. Gets the type of the member. The type of the member. Gets the member info. The member info. Gets the name of the member. The name of the member. Gets a value indicating whether this member has getter. true if this member has getter; otherwise, false. Gets a value indicating whether this member has setter. true if this member has setter; otherwise, false. An interface for method accessor Invokes the method on the specified instance. The object on which to invoke the method. If a method is static, this argument is ignored. An argument list for the invoked method. An object containing the return value of the invoked method. Gets the method info. Gets the name of the member. The name of the member. A class for late bound operations on a type. Default Flags for pulic binding. Default Flags for nonpublic binding. Searches for the specified method with the specified name. The to search for the method in. The name of the method to find. The arguments. An instance for the method if found; otherwise null. Searches for the specified method, using the specified binding constraints. The to search for the method in. The name of the method to find. A bitmask comprised of one or more that specify how the search is conducted. The arguments. An instance for the method if found; otherwise null. Searches for the property using a property expression. The object type containing the property specified in the expression. The property expression (e.g. p => p.PropertyName) An instance for the property if found; otherwise null. Thrown if the is null. Thrown when the expression is:
Not a
The does not represent a property.
Or, the property is static.
Searches for the public property with the specified name. The to search for the property in. The name of the property to find. An instance for the property if found; otherwise null. Searches for the specified property, using the specified binding constraints. The to search for the property in. The name of the property to find. A bitmask comprised of one or more that specify how the search is conducted. An instance for the property if found; otherwise null. Searches for the field with the specified name. The to search for the field in. The name of the field to find. An instance for the field if found; otherwise null. Searches for the field, using the specified binding constraints. The to search for the field in. The name of the field to find. A bitmask comprised of one or more that specify how the search is conducted. An instance for the field if found; otherwise null. Searches for the property or field with the specified name. The to search for the property or field in. The name of the property or field to find. An instance for the property or field if found; otherwise null. Searches for the property or field, using the specified binding constraints. The to search for the property or field in. The name of the property or field to find. A bitmask comprised of one or more that specify how the search is conducted. An instance for the property or field if found; otherwise null. Sets the property value with the specified name. The object whose property value will be set. The name of the property to set. The new value to be set. This method supports nested property names. An exmample name would be 'Person.Address.ZipCode'. Sets the property value with the specified name. The object whose property value will be set. The name of the property to set. The new value to be set. This method supports nested property names. An exmample name would be 'Person.Address.ZipCode'. A bitmask comprised of one or more that specify how the search is conducted. Sets the field value with the specified name. The object whose field value will be set. The name of the field to set. The new value to be set. Sets the field value with the specified name. The object whose field value will be set. The name of the field to set. The new value to be set. A bitmask comprised of one or more that specify how the search is conducted. Sets the property or field value with the specified name. The object whose property or field value will be set. The name of the property or field to set. The new value to be set. Sets the property or field value with the specified name. The object whose property or field value will be set. The name of the property or field to set. The new value to be set. A bitmask comprised of one or more that specify how the search is conducted. Returns the value of the property with the specified name. The object whose property value will be returned. The name of the property to read. The value of the property. Returns the value of the property with the specified name. The object whose property value will be returned. The name of the property to read. A bitmask comprised of one or more that specify how the search is conducted. The value of the property. Returns the value of the field with the specified name. The object whose field value will be returned. The name of the field to read. The value of the field. Returns the value of the field with the specified name. The object whose field value will be returned. The name of the field to read. A bitmask comprised of one or more that specify how the search is conducted. The value of the field. Returns the value of the property or field with the specified name. The object whose property or field value will be returned. The name of the property or field to read. The value of the property or field. Returns the value of the property or field with the specified name. The object whose property or field value will be returned. The name of the property or field to read. A bitmask comprised of one or more that specify how the search is conducted. The value of the property or field. Creates an instance of the specified type. The type to create. A new instance of the specified type. Invokes a method by . The target instance to invoke the method on. The name of the method to invoke. The arguments for the method. The result of the method call An accessor class for . Initializes a new instance of the class. The method info. Invokes the method on the specified instance. The object on which to invoke the method. If a method is static, this argument is ignored. An argument list for the invoked method. An object containing the return value of the invoked method. Gets the method info. Gets the name of the member. The name of the member. A class to support cloning, which creates a new instance of a class with the same value as an existing instance. Initializes a new instance of the class. Creates a new object that is a copy of the source instance. The source object to copy. A new object that is a copy of the source instance. Copy data from a source into a target object by copying public property values. Creates a new object that is a copy of the source instance. The type of the object to clone. The source object to copy. A new object that is a copy of the source instance. Creates a new object that is a copy of the source instance. The source object to copy. A new object that is a copy of the source instance. Copies values from the source into the properties of the target. An object containing the source values. An object with properties to be set from the source. The property names and types of the source object must match the property names and types on the target object. Source properties may not be indexed. Target properties may not be readonly or indexed. Copies values from the source into the properties of the target. An object containing the source values. An object with properties to be set from the source. A list of property names to ignore. These properties will not be set on the target object. The property names and types of the source object must match the property names and types on the target object. Source properties may not be indexed. Target properties may not be readonly or indexed. Copies values from the source into the properties of the target. An object containing the source values. An object with properties to be set from the source. A list of property names to ignore. These properties will not be set on the target object. If , any exceptions will be suppressed. The property names and types of the source object must match the property names and types on the target object. Source properties may not be indexed. Target properties may not be readonly or indexed. Properties to copy are determined based on the source object. Any properties on the source object marked with the equal to false are ignored. Copies values from the source into the properties of the target. An object containing the source values. An object with properties to be set from the source. A delegate to determine if the property name should be ignored. When the delegate returns true, the property will not be set in the target. If , any exceptions will be suppressed. The property names and types of the source object must match the property names and types on the target object. Source properties may not be indexed. Target properties may not be readonly or indexed. Properties to copy are determined based on the source object. Any properties on the source object marked with the equal to false are ignored. Copies values from the source into the target . The source object. The target . Copies values from the source into the target . The source object. The target . A list of property names to ignore. These properties will not be added to the targeted . Copies values from the source into the target . The source object. The target . A list of property names to ignore. These properties will not be added to the targeted . If , any exceptions will be suppressed. Copies values from the source into the target . The source object. The target . A delegate to determine if the property name should be ignored. When the delegate returns true, the property will not be added to the targeted . If , any exceptions will be suppressed. Copies values from the into the properties of the target. The source. The target object. Copies values from the into the properties of the target. The source. The target object. A list of property names to ignore. These properties will not be set on the target object. Copies values from the into the properties of the target. The source. The target object. A list of property names to ignore. These properties will not be set on the target object. If , any exceptions will be suppressed. Copies values from the into the properties of the target. The source. The target object. A delegate to determine if the property name should be ignored. When the delegate returns true, the property will not be set in the target. If , any exceptions will be suppressed. Copies values from the into the properties of the target. The source. The target object. Copies values from the into the properties of the target. The source. The target object. A list of property names to ignore. These properties will not be set on the target object. Copies values from the into the properties of the target. The source. The target object. A list of property names to ignore. These properties will not be set on the target object. If , any exceptions will be suppressed. Copies values from the into the properties of the target. The source. The target object. A delegate to determine if the property name should be ignored. When the delegate returns true, the property will not be set in the target. If , any exceptions will be suppressed. An accessor class for . Initializes a new instance of the class. The instance to use for this accessor. Returns the value of the member. The object whose member value will be returned. The member value for the instance parameter. Sets the value of the member. The object whose member value will be set. The new value for this member. Gets the type of the member. The type of the member. Gets the member info. The member info. Gets the name of the member. The name of the member. Gets a value indicating whether this member has getter. true if this member has getter; otherwise, false. Gets a value indicating whether this member has setter. true if this member has setter; otherwise, false. A class for reflection helper methods Extracts the property name from a property expression. The type of the property value. The property expression (e.g. p => p.PropertyName) The name of the property. Thrown if the is null. Thrown when the expression is:
Not a
The does not represent a property.
Or, the property is static.
Extracts the property name from a property expression. The type of the source. The type of the property value. The property expression (e.g. p => p.PropertyName) The name of the property. Thrown if the is null. Thrown when the expression is:
Not a
The does not represent a property.
Or, the property is static.
Extracts the property name from a property expression. The member expression The name of the property. Thrown if the is null. Thrown when the expression is:
Not a
The does not represent a property.
Or, the property is static.
Extracts the from a property expression. The type of the value. The property expression. The from the expression. Extracts the from a property expression. The type of the source. The type of the value. The property expression. The from the expression. Extracts the property info. The member expression. Gets the underlying type dealing with . The type. Returns a type dealing with . Determines whether the specified type is a collection. The type to check. true if the specified type is collection; otherwise, false. Determines whether the specified type is a dictionary. The type to check. true if the specified type is dictionary; otherwise, false. Attempts to coerce a value of one type into a value of a different type. Type to which the value should be coerced. Original type of the value. The value to coerce. If the desired type is a primitive type or Decimal, empty string and null values will result in a 0 or equivalent. If the desired type is a type, empty string and null values will result in a null result. If the desired type is an enum the value's ToString() result is parsed to convert into the enum value. A class holding all the accessors for a . Initializes a new instance of the class. The this accessor is for. Creates a new instance of accessors type. A new instance of accessors type. Searches for the public property with the specified name. The name of the property to find. An instance for the method if found; otherwise null. Searches for the public property with the specified name. The name of the property to find. The parameter argument types. An instance for the method if found; otherwise null. Searches for the specified method, using the specified binding constraints. The name of the property to find. The parameter argument types. A bitmask comprised of one or more that specify how the search is conducted. An instance for the method if found; otherwise null. Searches for the public property or field with the specified name. The name of the property or field to find. An instance for the property or field if found; otherwise null. Searches for the specified property or field, using the specified binding constraints. The name of the property or field to find. A bitmask comprised of one or more that specify how the search is conducted. An instance for the property or field if found; otherwise null. Searches for the property using a property expression. The object type containing the property specified in the expression. The property expression (e.g. p => p.PropertyName) An instance for the property if found; otherwise null. Thrown if the is null. Thrown when the expression is:
Not a
The does not represent a property.
Or, the property is static.
Searches for the property using a property expression. The object type containing the property specified in the expression. The type of the value. The property expression (e.g. p => p.PropertyName) An instance for the property if found; otherwise null. Thrown if the is null. Thrown when the expression is:
Not a
The does not represent a property.
Or, the property is static.
Searches for the public property with the specified name. The name of the property to find. An instance for the property if found; otherwise null. Searches for the specified property, using the specified binding constraints. The name of the property to find. A bitmask comprised of one or more that specify how the search is conducted. An instance for the property if found; otherwise null. Gets the for the specified . The to get the for. An instance for the property. Gets the property member accessors for the Type. An of instances for the Type. Gets the property member accessors for the Type using the specified flags. An of instances for the Type. Searches for the specified field with the specified name. The name of the field to find. An instance for the field if found; otherwise null. Searches for the specified field, using the specified binding constraints. The name of the field to find. A bitmask comprised of one or more that specify how the search is conducted. An instance for the field if found; otherwise null. Gets the for the specified . The to get the for. An instance for the field. Gets the for the specified Type. The Type to get the accessor for. Gets the for the specified Type. The Type to get the accessor for. Gets the this accessor is for. The this accessor is for.