RelatedMapperContext Class |
Namespace: NetQuarry.Data
The RelatedMapperContext type exposes the following members.
Name | Description | |
---|---|---|
RelatedMapperContext(IAppContext) |
Default constructor that tries to determine and use the current parent mapper
from the QueryString.
| |
RelatedMapperContext(IMapper) |
Create the context using an existing mapper. The mapper will NOT be closed.
It is the responsibility of the caller to close the mapper.
| |
RelatedMapperContext(IAppContext, String, String) |
Fully-qualified constructor.
|
Name | Description | |
---|---|---|
Close |
Close out this item releasing resources, if any.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetParent |
Gets the current parent mapper instance, if any.
If the current related mapper is know it is returned, else an attempt
is made to instantiate one and filter it for the current item.
| |
GetParent(String) |
Gets the parent mapper instance, if any, using the specified mapper definition.
If the current related mapper is know it is returned, else an attempt
is made to instantiate one and filter it for the current item.
| |
GetParent(String, String) |
Gets the parent mapper instance, if any, using the specified mapper definition
and filtered on the specified RowKey.
If the current related mapper is know it is returned, else an attempt
is made to instantiate one and filter it for the current item.
| |
GetParent(String, String, Flavors) |
Gets the parent mapper instance, if any, using the specified mapper definition
and filtered on the specified RowKey.
If the current related mapper is know it is returned, else an attempt
is made to instantiate one and filter it for the current item.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetDefaultParent |
Set the default parent Key and RowKey, but only if null.
| |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
EqualValue |
Determines if the object value is equal to another object. If the two objects are null, then this returns true.
There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.) |