Partager via


ConditionedSql Class

Definition

class encapsulateing a conditioned sql that is a sql the is neccessary only when a property is requested

[System.Runtime.InteropServices.ComVisible(false)]
public abstract class ConditionedSql
[<System.Runtime.InteropServices.ComVisible(false)>]
type ConditionedSql = class
Public MustInherit Class ConditionedSql
Inheritance
ConditionedSql
Derived
Attributes

Constructors

ConditionedSql()

default constructor

Properties

AcceptsMultipleHits

can be added multiple times

Fields

get the list of triggering fields

IsUsed

is this conditioned sql already used ? ( important because it can be used only once )

LinkFields

get the list of fields for which we need their value

LinkMultiple

get the link multiple

Used

has been added at least once

Methods

AddHit(String, SqlObjectBase, StatementBuilder)

add hit for the field from the object ( level ) obj, add record in the StamentBuilder sb

AddLinkMultiple(XmlReadMultipleLink)

intialize link multiple

ClearHit()

mark this sql as not used

IsDefault()

this sql must always be added no matter what fields are requested

IsHit(String)

return true if the field has caused the sql to be added

MarkHit()

mark this sql as used

SetFields(StringCollection)

set the triggering fields

TestHit(String)

test if the field would make the tsql to be added ( it does not look if it was already used )

Applies to