Click or drag to resize

BusinessRuleSpecificationT Class

This class implements a specific Specification type that holds information about a special business rule.
Inheritance Hierarchy
SystemObject
  Enkoni.FrameworkSpecificationT
    Enkoni.FrameworkBusinessRuleSpecificationT

Namespace:  Enkoni.Framework
Assembly:  Enkoni.Framework.Specifications (in Enkoni.Framework.Specifications.dll) Version: 1.3.0.1
Syntax
public class BusinessRuleSpecification<T> : Specification<T>

Type Parameters

T
The type of object to which the specification applies.

The BusinessRuleSpecificationT type exposes the following members.

Properties
  NameDescription
Public propertyIncludePaths
Gets the dot-separated lists of related objects to return in the query results.
(Inherited from SpecificationT.)
Public propertyMaximumResults
Gets the maximum number of records that must be retrieved using this specification.
(Inherited from SpecificationT.)
Public propertyRuleArguments
Gets any arguments that were passed and may be required to execute the business rule.
Public propertyRuleName
Gets the name of the business rule that must be executed.
Public propertySortRules
Gets the sorting rules that are specified.
(Inherited from SpecificationT.)
Top
Methods
  NameDescription
Public methodAnd
Creates an 'And' specification that can be used to combine two specifications and compare them using the '&&' operation.
(Inherited from SpecificationT.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHandleIncludePathUpdated
Handles the occurrence of a changed include path.
(Inherited from SpecificationT.)
Protected methodHandleMaximumResultsUpdated
Handles the occurrence of a changed maximum for the number of records that must be retrieved.
(Inherited from SpecificationT.)
Protected methodHandleOrderByRulesUpdated
Handles the occurrence of a changed set of sorting rules.
(Inherited from SpecificationT.)
Public methodInclude
Sets the include path that must be considered when using the specification.
(Inherited from SpecificationT.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOr
Creates an 'Or' specification that can be used to combine two specifications and compare them using the '||' operation.
(Inherited from SpecificationT.)
Public methodOrderBy(SortSpecificationsT)
Specifies the way the sequence must be sorted.
(Inherited from SpecificationT.)
Public methodOrderByTKey(ExpressionFuncT, TKey)
Specifies the way the sequence must be sorted. It used a default sort order of ascending.
(Inherited from SpecificationT.)
Public methodOrderByTKey(ExpressionFuncT, TKey, SortOrder)
Specifies the way the sequence must be sorted.
(Inherited from SpecificationT.)
Public methodOrderByDescendingTKey
Specifies the way the sequence must be sorted. It used a default sort order of descending.
(Inherited from SpecificationT.)
Public methodSetMaximumResults
Sets the maximum number of records that must be retrieved using the specification.
(Inherited from SpecificationT.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodVisit
Visits the specification and lets visitor convert the contents of the specification into an expression that can be used to perform the actual filtering/selection.
(Inherited from SpecificationT.)
Protected methodVisitCore
Visits the specification and lets visitor convert the contents of the specification into an expression that can be used to perform the actual filtering/selection.
(Overrides SpecificationTVisitCore(ISpecificationVisitorT).)
Top
Events
See Also