Class EntitySchemaCaseNotNullQueryFunctionWhenItem
Class that describes the condition expression of the CASE SQL operator.
Inherited Members
Namespace: Terrasoft.Core.Entities
Assembly: Terrasoft.Core.dll
Syntax
public class EntitySchemaCaseNotNullQueryFunctionWhenItem : MetaItem, IMetaItem, IMetaDataSerializable, ICloneable
Constructors
EntitySchemaCaseNotNullQueryFunctionWhenItem()
Initializes the EntitySchemaCaseNotNullQueryFunctionWhenItem instance.
Declaration
public EntitySchemaCaseNotNullQueryFunctionWhenItem()
EntitySchemaCaseNotNullQueryFunctionWhenItem(EntitySchemaCaseNotNullQueryFunctionWhenItem)
Initializes the EntitySchemaCaseNotNullQueryFunctionWhenItem instance that is a clone of the passed-in instance.
Declaration
public EntitySchemaCaseNotNullQueryFunctionWhenItem(EntitySchemaCaseNotNullQueryFunctionWhenItem source)
Parameters
Type | Name | Description |
---|---|---|
EntitySchemaCaseNotNullQueryFunctionWhenItem | source | The EntitySchemaCaseNotNullQueryFunctionWhenItem instance whose clone is being created. |
EntitySchemaCaseNotNullQueryFunctionWhenItem(EntitySchemaQueryExpression, EntitySchemaQueryExpression)
Initializes the EntitySchemaCaseNotNullQueryFunctionWhenItem instance for the specified expressions of the WHEN and THEN clauses.
Declaration
public EntitySchemaCaseNotNullQueryFunctionWhenItem(EntitySchemaQueryExpression whenExpression, EntitySchemaQueryExpression thenExpression)
Parameters
Type | Name | Description |
---|---|---|
EntitySchemaQueryExpression | whenExpression | Expression of the WHEN condition clause. |
EntitySchemaQueryExpression | thenExpression | Expression of the THEN condition clause. |
Properties
ThenExpression
Expression of the THEN clause.
Declaration
public EntitySchemaQueryExpression ThenExpression { get; set; }
Property Value
Type | Description |
---|---|
EntitySchemaQueryExpression |
WhenExpression
Expression of the WHEN clause.
Declaration
public EntitySchemaQueryExpression WhenExpression { get; set; }
Property Value
Type | Description |
---|---|
EntitySchemaQueryExpression |
Methods
ApplyMetaDataValue(DataReader)
Declaration
protected override void ApplyMetaDataValue(DataReader reader)
Parameters
Type | Name | Description |
---|---|---|
DataReader | reader |
Overrides
Clone()
Creates the clone of the current EntitySchemaCaseNotNullQueryFunctionWhenItem instance.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object | The System.Object instance that is a clone of the current condition instance. |
Overrides
WriteMetaData(DataWriter)
Serializes the condition, using the passed-in DataWriter instance.
Declaration
public override void WriteMetaData(DataWriter writer)
Parameters
Type | Name | Description |
---|---|---|
DataWriter | writer | The DataWriter instance used for serialization. |