C# Class Castle.ActiveRecord.Queries.Modifiers.QueryParameter

Represents a query parameter.
Inheritance: IQueryModifier
Afficher le fichier Open project: nats/castle-1.0.3-mono

Méthodes publiques

Méthode Description
Apply ( IQuery query ) : void

Add this parameter to the query.

Is there a cleaner way to do this, without reflection or complex hierarchies?

QueryParameter ( String name, ICollection value ) : System

Initializes a new instance of the QueryParameter class.

QueryParameter ( String name, ICollection value, IType type ) : System

Initializes a new instance of the QueryParameter class.

QueryParameter ( String name, Object value, IType type ) : System

Initializes a new instance of the QueryParameter class.

QueryParameter ( int position, ICollection value ) : System It is important to keep this constructor as is, to avoid confusion with the QueryParameter(int, object) overload.
QueryParameter ( int position, ICollection value, IType type ) : System It is important to keep this constructor as is, to avoid confusion with the QueryParameter(int, object, IType) overload.
QueryParameter ( int position, object value ) : System

Initializes a new instance of the QueryParameter class.

QueryParameter ( int position, object value, IType type ) : System

Initializes a new instance of the QueryParameter class.

QueryParameter ( string name, object value ) : System

Initializes a new instance of the QueryParameter class.

Private Methods

Méthode Description
IsFlagged ( ParameterFlags flag ) : bool

Method Details

Apply() public méthode

Add this parameter to the query.
Is there a cleaner way to do this, without reflection or complex hierarchies?
public Apply ( IQuery query ) : void
query IQuery The query
Résultat void

QueryParameter() public méthode

Initializes a new instance of the QueryParameter class.
public QueryParameter ( String name, ICollection value ) : System
name String The name.
value ICollection The value.
Résultat System

QueryParameter() public méthode

Initializes a new instance of the QueryParameter class.
public QueryParameter ( String name, ICollection value, IType type ) : System
name String The name.
value ICollection The value.
type IType The type.
Résultat System

QueryParameter() public méthode

Initializes a new instance of the QueryParameter class.
public QueryParameter ( String name, Object value, IType type ) : System
name String The name.
value Object The value.
type IType The type.
Résultat System

QueryParameter() public méthode

It is important to keep this constructor as is, to avoid confusion with the QueryParameter(int, object) overload.
public QueryParameter ( int position, ICollection value ) : System
position int
value ICollection
Résultat System

QueryParameter() public méthode

It is important to keep this constructor as is, to avoid confusion with the QueryParameter(int, object, IType) overload.
public QueryParameter ( int position, ICollection value, IType type ) : System
position int
value ICollection
type IType
Résultat System

QueryParameter() public méthode

Initializes a new instance of the QueryParameter class.
public QueryParameter ( int position, object value ) : System
position int The position.
value object The value.
Résultat System

QueryParameter() public méthode

Initializes a new instance of the QueryParameter class.
public QueryParameter ( int position, object value, IType type ) : System
position int The position.
value object The value.
type IType The type.
Résultat System

QueryParameter() public méthode

Initializes a new instance of the QueryParameter class.
public QueryParameter ( string name, object value ) : System
name string The name.
value object The value.
Résultat System