ApplyCriteria(Object, CriteriaOperator)
|
Filters the specified collection according to the specified criteria on the server side.
|
ApplyFilter(Object, CriteriaOperator)
|
Filters the specified collection according to the specified criteria on the client side.
|
CanApplyCriteria(Type)
|
Indicates whether collections of a specified type can be filtered on the server side.
|
CanApplyFilter(Object)
|
Indicates whether collections of a specified type can be filtered on the client side.
|
CanInstantiate(Type)
|
Indicates whether instances of a particular type can be created.
|
CommitChanges()
|
Saves all the changes made to the persistent objects belonging to the current Object Space to the database.
|
CompleteAllTasksAsync()
|
For internal use.
|
Contains(Object)
|
Indicates whether a specified object belongs to the current Object Space.
|
ConvertExpressionsStringToExpressionsList(String)
static
|
Returns the list of DataViewExpression objects converted from the passed semicolon-separated expressions list.
|
ConvertSortingToString(IList<SortProperty>)
static
|
Returns the string representation of a given sort list.
|
ConvertStringToSorting(String)
static
|
Converts the sorting string into the sorting list.
|
CreateByKeyCriteria(ITypeInfo, Object)
static
|
For internal use.
|
CreateCollection(Type, CriteriaOperator, IList<SortProperty>)
|
Creates and initializes a collection of objects of the specified type, filtered according to the specified criteria and sorted according to the given sorting list.
|
CreateCollection(Type, CriteriaOperator)
|
Creates and initializes a collection of objects of the specified type, filtered according to the specified criteria.
|
CreateCollection(Type)
|
Creates and initializes a collection of objects of the specified type.
|
CreateDataView(Type, IList<DataViewExpression>, CriteriaOperator, IList<SortProperty>)
|
Returns a list of data records retrieved from the database without loading complete business classes (a data view).
|
CreateDataView(Type, String, CriteriaOperator, IList<SortProperty>)
|
Returns a list of data records retrieved from a database without loading complete business classes (a data view). Values in each data record can be obtained from specific business class properties directly, or be evaluated by the database server using complex expressions.
|
CreateInstantFeedbackCollection(Type, CriteriaOperator)
|
|
CreateNestedObjectSpace()
|
Creates a nested Object Space.
|
CreateObject(Type)
|
Creates an object of the specified type.
|
CreateObject<ObjectType>()
|
Creates an object of the type designated by the specified generic type parameter.
|
CreateParseCriteriaScope()
|
Used to parse a CriteriaOperator from a string that contains references to persistent objects.
|
CreateServerCollection(Type, CriteriaOperator)
|
|
Delete(IList)
|
Marks the specified persistent objects and their aggregated objects as deleted from the database.
|
Delete(Object)
|
Marks the specified persistent object and its aggregated objects as deleted from persistent storage.
|
Dispose()
|
Releases all resources the current EFCoreObjectSpace object uses.
|
EnableObjectDeletionOnRemove(Object, Boolean)
|
Specifies whether objects should be removed from the specified collection and database simultaneously.
|
Equals(Object, Object)
static
|
Determines whether the specified object instances are considered equal.
|
Equals(Object)
|
Determines whether the specified object is equal to the current object.
|
Evaluate(Type, CriteriaOperator, CriteriaOperator)
|
|
FindObject(Type, CriteriaOperator, Boolean)
|
Searches for the first object that matches the specified criteria.
|
FindObject(Type, CriteriaOperator)
|
Searches for the first object of the specified type, matching the specified criteria.
|
FindObject<ObjectType>(CriteriaOperator, Boolean)
|
Searches for the first object of the type designated by the specified generic type parameter, matching the specified criteria.
|
FindObject<ObjectType>(CriteriaOperator)
|
Searches for the first object of the type designated by the specified generic type parameter, matching the specified criteria.
|
FindObjectSpaceByObject(Object)
static
|
Returns the Object Space used to load and save a specified persistent object. This method is for internal use.
|
FirstOrDefault<ObjectType>(Expression<Func<ObjectType, Boolean>>, Boolean)
|
Searches for the first object that matches the specified criteria.
|
FirstOrDefault<ObjectType>(Expression<Func<ObjectType, Boolean>>)
|
Searches for the first object that matches the specified lambda expression. The generic parameter determines the object’s type.
|
GetAssociatedCollectionCriteria(Object, IMemberInfo)
|
Returns the criteria applied to a specific object’s associated collection property.
|
GetCollectionObjectType(Object)
|
|
GetCollectionSorting(Object)
|
Returns the sort settings for a particular collection.
|
GetCriteria(Object)
|
Returns the criteria used to filter a specified collection on the server side.
|
GetDisplayableProperties(Object)
|
|
GetEvaluatorContextDescriptor(Type)
|
For internal use.
|
GetExpressionEvaluator(EvaluatorContextDescriptor, CriteriaOperator)
|
Creates an ExpressionEvaluator object that is used to evaluate whether objects of the specified type satisfy a particular criteria.
|
GetExpressionEvaluator(Type, CriteriaOperator)
|
Creates an ExpressionEvaluator object that is used to evaluate whether objects of the specified type satisfy a particular criteria.
|
GetFilter(Object)
|
Returns the criteria used to filter a particular collection on the client side.
|
GetHashCode()
|
Serves as the default hash function.
|
GetIntermediateObjectReferences(Object, out Object, out Object)
|
For internal use.
|
GetKeyPropertyName(Type)
|
Returns the name of a key property of the specified type.
|
GetKeyPropertyType(Type)
|
Gets the key property type of the specified business type.
|
GetKeyValue(ITypesInfo, Object)
static
|
Returns the key property’s value of the specified persistent object.
|
GetKeyValue(Object)
|
Returns the key property’s value of the specified object.
|
GetKeyValueAsString(ITypesInfo, Object)
static
|
|
GetKeyValueAsString(Object)
|
Returns the key property’s value of the specified object, converted to a string representation.
|
GetListServer(Object)
|
|
GetObject(Object)
|
Retrieves an object from another Object Space to the current Object Space.
|
GetObject<ObjectType>(ObjectType)
|
Retrieves an object from another Object Space to the current Object Space. The returned object is cast by the type designated by the specified generic type parameter.
|
GetObjectByHandle(String)
|
Returns the object with the specified handle.
|
GetObjectByKey(Type, Object)
|
Returns the persistent object whose key property has the specified value.
|
GetObjectByKey<ObjectType>(Object)
|
Returns a persistent object of the type designated by the specified generic type parameter, with the specified value for its key property.
|
GetObjectHandle(Object)
|
Returns an object’s handle.
|
GetObjectKey(Type, String)
|
Converts the key property value string representation into its actual type.
|
GetObjects(Type, CriteriaOperator, Boolean)
|
Returns an IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.
|
GetObjects(Type, CriteriaOperator, IList<SortProperty>, Boolean)
|
Returns a sorted IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.
|
GetObjects(Type, CriteriaOperator)
|
Returns an IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.
|
GetObjects(Type)
|
Returns an IList collection of objects of the specified type, retrieved to the current Object Space.
|
GetObjects<T>()
|
Returns an IList collection of objects of the specified type, retrieved to the current Object Space.
|
GetObjects<T>(CriteriaOperator, Boolean)
|
Returns an IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.
|
GetObjects<T>(CriteriaOperator, IList<SortProperty>, Boolean)
|
Returns a sorted IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.
|
GetObjects<T>(CriteriaOperator)
|
Returns an IList collection of objects of the specified type, retrieved to the current Object Space and filtered according to the specified criteria.
|
GetObjectsCount(Type, CriteriaOperator)
|
|
GetObjectsCriteria(ITypeInfo, IList)
|
Constructs a criteria that can be used to select the specified list of business objects.
|
GetObjectsQuery<T>(Boolean)
|
Gets a queryable data structure that provides functionality to evaluate queries against the specified business object type.
|
GetObjectsQuery<T>(IList<String>, CriteriaOperator, IList<SortProperty>)
|
|
GetObjectsToDelete(Boolean)
|
Returns a collection of persistent objects marked as deleted in a transaction that currently is in progress.
|
GetObjectsToSave(Boolean)
|
Returns a collection of persistent objects that are added, deleted, or modified in a transaction that is currently in progress.
|
GetObjectType(Object)
|
Returns the type of the specified business object.
|
GetTopReturnedObjectsCount(Object)
|
Returns the maximum number of objects that the specified collection can retrieve from a data store.
|
GetType()
|
Gets the Type of the current instance.
|
IsAdditionalKnownType(Type)
|
For internal use. Use the IsKnownType(Type, Boolean) method instead.
|
IsCollectionLoaded(Object)
|
For internal use.
|
IsDeletedObject(Object)
|
Indicates whether the specified persistent object is deleted and this is committed to the database.
|
IsDeletionDeferredType(Type)
|
Returns a value that indicates if the deferred deletion is enabled for persistent objects of a given type.
|
IsDisposedObject(Object)
|
Indicates whether the specified object is disposed of.
|
IsIntermediateObject(Object)
|
For internal use.
|
IsKnownType(Type, Boolean)
|
Checks whether the Object Space (or any Object Space from its AdditionalObjectSpaces collection) can handle objects of the specified type.
|
IsKnownType(Type)
|
Returns the boolean value indicating whether or not the specified type is known by the BaseObjectSpace.
|
IsNewObject(Object)
|
Indicates whether a specified object is created but not saved to the database.
|
IsObjectDeletionOnRemoveEnabled(Object)
|
Specifies whether objects should be removed from the specified collection and database simultaneously.
|
IsObjectFitForCriteria(Object, CriteriaOperator)
|
Specifies whether the specified object satisfies the specified criteria.
|
IsObjectFitForCriteria(Type, Object, CriteriaOperator)
|
Specifies whether a particular object satisfies the specified criteria.
|
IsObjectToDelete(Object)
|
Checks whether or not the specified object is marked as deleted but still exists in the database.
|
IsObjectToSave(Object)
|
Checks if the specified object is changed and whether or not it should be saved to a database.
|
MemberwiseClone()
protected
|
Creates a shallow copy of the current Object.
|
ObjectKeyValuesEqual(ITypeInfo, Object, Object)
static
|
|
ParseCriteria(String)
|
Tries to convert the specified string representation of an expression to its CriteriaOperator equivalent.
|
PopulateAdditionalObjectSpaces(IObjectSpaceProviderService, IObjectSpaceCustomizerService)
|
Creates Object Spaces for registered Object Space Providers and adds them to the AdditionalObjectSpaces collection. Object Spaces in this collection are automatically disposed of with the owner Object Space.
|
PopulateAdditionalObjectSpaces(XafApplication)
|
Creates Object Spaces for registered Object Space Providers and adds them to the AdditionalObjectSpaces collection. Object Spaces in this collection are automatically disposed of with the owner Object Space.
|
ReferenceEquals(Object, Object)
static
|
Determines whether the specified Object instances are the same instance.
|
Refresh()
|
Updates the persistent objects belonging to the current Object Space.
|
ReloadCollection(Object)
|
Clears the specified collection and reloads its contents from a database.
|
ReloadObject(Object)
|
Updates the specified object in the current Object Space’s EFCoreObjectSpace.DbContext with data from the data source.
|
RemoveFromModifiedObjects(Object)
|
Removes the specified object from the object context, and then attaches it again to remove all uncommitted changes.
|
Rollback(Boolean)
|
Cancels the changes made to the persistent objects belonging to the current Object Space.
|
SetCollectionSorting(Object, IList<SortProperty>)
|
Applies the specified sort settings to the collection.
|
SetDisplayableProperties(Object, String)
|
|
SetModified(Object, IMemberInfo)
|
Sets the state of the specified object to be Modified.
|
SetModified(Object)
|
Sets the state of the specified object to be Modified.
|
SetPrefetchPropertyNames(Object, String[])
|
Loads specified delayed properties and child collections in each object of a given list.
|
SetTopReturnedObjectsCount(Object, Int32)
|
Sets the maximum number of objects that the specified collection can retrieve from a data store.
|
ToString()
|
Returns a string that represents the current object.
|