CollectionSourceBase Members
In This Article
#Fields
Name | Description |
---|---|
Empty |
Returns a Criteria |
#Properties
Name | Description |
---|---|
Allow |
Returns the value that indicates whether it is possible to add objects to the Collection Source’s Collection |
Allow |
Returns the value that indicates whether it is possible to remove objects from the Collection Source’s Collection |
Can |
Returns the value that indicates whether the Collection Source’s Collection |
Can |
Specifies whether or not sorting options are applied from the application model. |
Collection |
Provides access to the Collection Source’s (see Collection |
Criteria |
Provides access to the Collection Source’s Criteria |
Data |
Gets the mode used to access the Collection |
Delete |
Gets or sets whether persistent objects are deleted from the data store when they are removed from the Collection |
Displayable |
Provides access to the semicolon-delimited list of the Collection |
Is |
|
Is |
Gets a value indicating whether or not the Collection |
Is |
|
Is |
For internal use. |
Is |
Indicates whether the Collection Source’s collection has been instantiated. |
Is |
For internal use. Use the Collection |
List | Returns a list of objects contained in the Collection Source’s Collection. |
Mode | Indicates the Collection Source’s mode of operation. |
Object |
Provides access to the Object Space used by the Collection Source to interact with the database. |
Object |
Provides metadata information on the type of the objects contained in the Collection Source’s Collection |
Sorting |
Specifies the Collection |
Top |
Specifies the number of objects that can be retrieved by the Collection Source’s Collection |
#Methods
Name | Description |
---|---|
Add |
Adds the specified object to the Collection Source’s Collection |
Begin |
Begins update of the Collection Source’s collection criteria. The criteria will not be applied to the collection until the update is complete. |
Dispose() | Releases all the resources allocated by the current Collection Source. |
End |
Ends update of the Collection Source’s collection criteria and applies it. |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Get |
Returns the number of objects contained in the Collection Source’s Collection |
Get |
Returns a sequence (IEnumerable or IQueryable) that contains objects from the original collection. |
Get |
Returns a strongly-typed sequence (IEnumerable |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
For internal use. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Is |
Tries to determine whether the specified object satisfies the criteria contained in the Collection |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Reload() |
Reloads the current Collection Source’s Collection |
Remove |
Removes the specified object from the Collection Source’s Collection |
Reset |
Recreates a Collection Source’s Collection |
Set |
Sets the value that specifies whether it is possible to add objects to the Collection Source’s Collection |
Set |
Sets the value that specifies whether it is possible to remove objects from the Collection Source’s Collection |
Set |
Adds the specified criteria expression to the Collection |
To |
Returns a string that represents the current object. Inherited from Object. |
#Events
Name | Description |
---|---|
Collection |
Occurs after the Collection Source’s collection has been recreated. |
Collection |
Occurs before the Collection Source’s collection has been recreated. |
Collection |
Occurs after the Collection Source’s Collection |
Collection |
Occurs before the Collection Source’s Collection |
Criteria |
Occurs after the Collection Source’s collection has been filtered using the Criteria |
Criteria |
Occurs before the Collection Source’s collection has been filtered using the Criteria |
Disposed | Occurs after a Collection Source has been disposed of. |
See Also