using System;
namespace Csla
{
///
/// Base type from which Criteria classes can be
/// derived in a business class.
///
[Serializable()]
public abstract class CriteriaBase
{
private Type _objectType;
///
/// Type of the business object to be instantiated by
/// the server-side DataPortal.
///
public Type ObjectType
{
get { return _objectType; }
}
///
/// Initializes CriteriaBase with the type of
/// business object to be created by the DataPortal.
///
/// The type of the
/// business object the data portal should create.
protected CriteriaBase(Type type)
{
_objectType = type;
}
}
}