Base type from which Criteria classes can be derived in a business class. More...
Protected Member Functions | |
CriteriaBase () | |
Initializes empty CriteriaBase. More... | |
![]() | |
P | ReadPropertyConvert< F, P > (PropertyInfo< F > propertyInfo) |
Gets a property's value from the list of managed field values, converting the value to an appropriate type. More... | |
P | ReadProperty< P > (PropertyInfo< P > propertyInfo) |
Gets a property's value as a specified type. More... | |
virtual object | ReadProperty (IPropertyInfo propertyInfo) |
Gets a property's value as a specified type. More... | |
void | LoadPropertyConvert< P, F > (PropertyInfo< P > propertyInfo, F newValue) |
Loads a property's managed field with the supplied value calling PropertyHasChanged if the value does change. More... | |
void | LoadProperty< P > (PropertyInfo< P > propertyInfo, P newValue) |
Loads a property's managed field with the supplied value calling PropertyHasChanged if the value does change. More... | |
virtual void | LoadProperty (IPropertyInfo propertyInfo, object newValue) |
Loads a property's managed field with the supplied value calling PropertyHasChanged if the value does change. More... | |
virtual bool | LoadPropertyMarkDirty (IPropertyInfo propertyInfo, object newValue) |
Loads the property vith new value and mark field dirty if value is changed. More... | |
void | OnPropertyChanged (string propertyName) |
Raises the PropertyChanged event. More... | |
void | OnPropertyChanged (IPropertyInfo propertyInfo) |
Raises the PropertyChanged event. More... | |
override void | OnGetChildren (SerializationInfo info, MobileFormatter formatter) |
Override this method to manually retrieve child object data from the serializations stream. More... | |
override void | OnSetChildren (SerializationInfo info, MobileFormatter formatter) |
Override this method to manually serialize child objects into the serialization stream. More... | |
virtual void | OnDeserialized (System.Runtime.Serialization.StreamingContext context) |
This method is called on a newly deserialized object after deserialization is complete. More... | |
![]() | |
virtual void | OnGetState (SerializationInfo info, StateMode mode) |
Override this method to insert your field values into the MobileFormatter serialzation stream. More... | |
virtual void | OnSetState (SerializationInfo info, StateMode mode) |
Override this method to retrieve your field values from the MobileFormatter serialzation stream. More... | |
Static Protected Member Functions | |
static PropertyInfo< P > | RegisterProperty< P > (PropertyInfo< P > info) |
Indicates that the specified property belongs to the business object type. More... | |
static PropertyInfo< P > | RegisterProperty< P > (string propertyName) |
Indicates that the specified property belongs to the business object type. More... | |
static PropertyInfo< P > | RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression) |
Indicates that the specified property belongs to the business object type. More... | |
static PropertyInfo< P > | RegisterProperty< P > (string propertyName, RelationshipTypes relationship) |
Indicates that the specified property belongs to the business object type. More... | |
static PropertyInfo< P > | RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, RelationshipTypes relationship) |
Indicates that the specified property belongs to the business object type. More... | |
static PropertyInfo< P > | RegisterProperty< P > (string propertyName, string friendlyName) |
Indicates that the specified property belongs to the business object type. More... | |
static PropertyInfo< P > | RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName) |
Indicates that the specified property belongs to the business object type. More... | |
static PropertyInfo< P > | RegisterProperty< P > (string propertyName, string friendlyName, P defaultValue) |
Indicates that the specified property belongs to the business object type. More... | |
static PropertyInfo< P > | RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName, P defaultValue) |
Indicates that the specified property belongs to the business object type. More... | |
static PropertyInfo< P > | RegisterProperty< P > (string propertyName, string friendlyName, P defaultValue, RelationshipTypes relationship) |
Indicates that the specified property belongs to the business object type. More... | |
static PropertyInfo< P > | RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName, P defaultValue, RelationshipTypes relationship) |
Indicates that the specified property belongs to the business object type. More... | |
![]() | |
static PropertyInfo< P > | RegisterProperty< P > (Type objectType, PropertyInfo< P > info) |
Indicates that the specified property belongs to the type. More... | |
static PropertyInfo< P > | RegisterProperty< T, P > (Expression< Func< T, object > > propertyLambdaExpression) |
Indicates that the specified property belongs to the business object type. More... | |
static PropertyInfo< P > | RegisterProperty< T, P > (Expression< Func< T, object > > propertyLambdaExpression, P defaultValue) |
Indicates that the specified property belongs to the business object type. More... | |
static PropertyInfo< P > | RegisterProperty< T, P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName) |
Indicates that the specified property belongs to the business object type. More... | |
static PropertyInfo< P > | RegisterProperty< T, P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName, P defaultValue) |
Indicates that the specified property belongs to the business object type. More... | |
Additional Inherited Members | |
![]() | |
ApplicationContext | ApplicationContext [get] |
Gets the current ApplicationContext. More... | |
FieldDataManager | FieldManager [get] |
Gets a reference to the field mananger for this object. More... | |
![]() | |
ApplicationContext | ApplicationContext [getset] |
Gets or sets the current ApplicationContext object. More... | |
Base type from which Criteria classes can be derived in a business class.
T | : | CriteriaBase<T> |
Definition at line 23 of file CriteriaBase.cs.
|
protected |
Initializes empty CriteriaBase.
The type of business object to be created by the DataPortal MUST be supplied by the subclass.
Definition at line 31 of file CriteriaBase.cs.
|
staticprotected |
Indicates that the specified property belongs to the business object type.
P | Type of property |
propertyLambdaExpression | Property Expression |
Definition at line 73 of file CriteriaBase.cs.
|
staticprotected |
Indicates that the specified property belongs to the business object type.
P | Type of property |
propertyLambdaExpression | Property Expression |
relationship | Relationship with referenced object. |
Definition at line 102 of file CriteriaBase.cs.
|
staticprotected |
Indicates that the specified property belongs to the business object type.
P | Type of property |
propertyLambdaExpression | Property Expression |
friendlyName | Friendly description for a property to be used in databinding |
Definition at line 129 of file CriteriaBase.cs.
|
staticprotected |
Indicates that the specified property belongs to the business object type.
P | Type of property |
propertyLambdaExpression | Property Expression |
friendlyName | Friendly description for a property to be used in databinding |
defaultValue | Default Value for the property |
Definition at line 158 of file CriteriaBase.cs.
|
staticprotected |
Indicates that the specified property belongs to the business object type.
P | Type of property |
propertyLambdaExpression | Property Expression |
friendlyName | Friendly description for a property to be used in databinding |
defaultValue | Default Value for the property |
relationship | Relationship with referenced object. |
Definition at line 191 of file CriteriaBase.cs.
|
staticprotected |
Indicates that the specified property belongs to the business object type.
P | Type of property. |
info | PropertyInfo object for the property. |
Definition at line 49 of file CriteriaBase.cs.
|
staticprotected |
Indicates that the specified property belongs to the business object type.
P | Type of property |
propertyName | Property name from nameof() |
Definition at line 61 of file CriteriaBase.cs.
|
staticprotected |
Indicates that the specified property belongs to the business object type.
P | Type of property |
propertyName | Property name from nameof() |
relationship | Relationship with referenced object. |
Definition at line 88 of file CriteriaBase.cs.
|
staticprotected |
Indicates that the specified property belongs to the business object type.
P | Type of property |
propertyName | Property name from nameof() |
friendlyName | Friendly description for a property to be used in databinding |
Definition at line 116 of file CriteriaBase.cs.
|
staticprotected |
Indicates that the specified property belongs to the business object type.
P | Type of property |
propertyName | Property name from nameof() |
friendlyName | Friendly description for a property to be used in databinding |
defaultValue | Default Value for the property |
Definition at line 144 of file CriteriaBase.cs.
|
staticprotected |
Indicates that the specified property belongs to the business object type.
P | Type of property |
propertyName | Property name from nameof() |
friendlyName | Friendly description for a property to be used in databinding |
defaultValue | Default Value for the property |
relationship | Relationship with referenced object. |
Definition at line 175 of file CriteriaBase.cs.