KREDOR Business Object Framework Documentation

SelectFrom Methods

The methods of the SelectFrom class are listed below. For a complete list of SelectFrom class members, see the SelectFrom Members topic.

Public Static Methods

From Gets a SelectFrom instance selecting objects of the specified type.

Public Instance Methods

AndOverloaded. Appends the specified criteria to the current SelectFrom instance.
Count Returns the number of objects matched by the current SelectFrom statement.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
Exists Returns a boolean value indicating whether at least one object in the database matched by the specified SelectFrom statement.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
Join 
On 
OrOverloaded. Appends the specified criteria to the current SelectFrom instance.
OrderByOverloaded. Appends the specified ORDER BY clause to the current SelectFrom instance.
Percent Returns the current SelectFrom instance modified to return the specified percent of rows (objects).
SelectOverloaded. Returns a ArrayList containing the objects matched by the current SelectFrom query.
SelectByPrimaryKeyOverloaded. Returns the BusinessObject identified by the specified primary key value.
SelectOneOverloaded. Returns a BusinessObject matched by the current SelectFrom.
StoredProcedure Gets a SelectFrom instance configured to use the specified stored procedure arguments to select the objects from tha database.
Sum Returns the sum of the values in the specified column(property) of the objects matched by the current SelectFrom statement. Returns -0- if no objects are matched.
Top Gets a SelectFrom instance specifying the number of rows (objects) to return.
ToSqlScript Returns a stored procedure sql script corresponding to the current SelectFrom statement.
ToString (inherited from Object)Returns a String that represents the current Object.
WhereOverloaded. Appends the specified criteria to the current SelectFrom instance.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

SelectFrom Class | Kredor.BO Namespace | WhereCondition | OrderBy | Column