PredicateColumn
A column to be used on predicates
- Namespace:
- KpokPatagon.Data.Query
- Type:
- Class
- Public:
- Yes
- Protected:
- No
- Sealed:
- No
- Abstract:
- No
- Inherits from:
- KpokPatagon.Data.Query.Column
Constructors
PredicateColumn
Default constructor
- Signature:
public Void PredicateColumn()
PredicateColumn
Initializes a new instance of PredicateColumn.
- Signature:
public Void PredicateColumn(field)
Parameters
| Name |
Type |
Summary |
| field |
Field |
Column configuration. |
Exceptions
| Type |
Summary |
| ArgumentNullException |
Thown when field is null. |
PredicateColumn
Initializes a new instance of PredicateColumn.
- Signature:
public Void PredicateColumn(field, repository)
Parameters
| Name |
Type |
Summary |
| field |
Field |
Column configuration. |
| repository |
Repository |
Repository to which the column belongs to. |
Exceptions
| Type |
Summary |
| ArgumentNullException |
Thown when field is null. |
PredicateColumn
Initializes a new instance of PredicateColumn.
- Signature:
public Void PredicateColumn(field, repository, parameterName)
Parameters
| Name |
Type |
Summary |
| field |
Field |
Column configuration. |
| repository |
Repository |
Repository to which the column belongs to. |
| parameterName |
String |
Name for the parameter to be added to the command. |
Exceptions
| Type |
Summary |
| ArgumentNullException |
Thown when field is null. |
PredicateColumn
Initializes a new instance of PredicateColumn.
- Signature:
public Void PredicateColumn(field, parameterName)
Parameters
| Name |
Type |
Summary |
| field |
Field |
Column configuration. |
| parameterName |
String |
Name for the parameter to be added to the command. |
PredicateColumn
Initializes a new instance of PredicateColumn.
- Signature:
public Void PredicateColumn(fieldName, type)
Parameters
| Name |
Type |
Summary |
| fieldName |
String |
Name of the field. |
| type |
DbType |
Data type of the field. |
Exceptions
PredicateColumn
Initializes a new instance of PredicateColumn.
- Signature:
public Void PredicateColumn(fieldName, type, repository)
Parameters
| Name |
Type |
Summary |
| fieldName |
String |
Name of the field. |
| type |
DbType |
Data type of the field. |
| repository |
Repository |
Repository to which the column belongs to. |
Exceptions
PredicateColumn
Initializes a new instance of PredicateColumn.
- Signature:
public Void PredicateColumn(fieldName, type, repository, parameterName)
Parameters
| Name |
Type |
Summary |
| fieldName |
String |
Name of the field. |
| type |
DbType |
Data type of the field. |
| repository |
Repository |
Repository to which the column belongs to. |
| parameterName |
String |
Name for the parameter to be added to the command. |
Exceptions
PredicateColumn
Initializes a new instance of PredicateColumn.
- Signature:
public Void PredicateColumn(fieldName, type, parameterName)
Parameters
| Name |
Type |
Summary |
| fieldName |
String |
Name of the field. |
| type |
DbType |
Data type of the field. |
| parameterName |
String |
Name for the parameter to be added to the command. |
Exceptions
Properties
ParameterName
Column's parameter name.
- Signature:
public String ParameterName { get; set; }
Type
Data type of the column.
- Signature:
public DbType Type { get; set; }