C# Class Z.Expressions.SqlServer.Eval.SQLNETItem

A SQLNETItem used to compile the code or expression.
显示文件 Open project: zzzprojects/Eval-SQL.NET Class Usage Examples

Public Properties

Property Type Description
CacheKey string
Code string
Counter int
Delegate EvalDelegate
IsAutoDispose bool
IsCached bool
IsCompiled bool
IsFirstCounter bool
IsImpersonate bool
LastAccess System.DateTime
ParallelItems SharedBucketList
ParameterTables ListDictionary
ParameterTypes Type>.SharedCache
ParameterValues ListDictionary

Public Methods

Method Description
AddParallelValue ( int parallelId ) : SQLNETParallelItem
GetNextCountAndAddParallel ( ) : int

Gets the next counter.

GetParallelValue ( int parallelId ) : SQLNETParallelItem
SQLNETItem ( ) : System

Default constructor.

Method Details

AddParallelValue() public method

public AddParallelValue ( int parallelId ) : SQLNETParallelItem
parallelId int
return SQLNETParallelItem

GetNextCountAndAddParallel() public method

Gets the next counter.
public GetNextCountAndAddParallel ( ) : int
return int

GetParallelValue() public method

public GetParallelValue ( int parallelId ) : SQLNETParallelItem
parallelId int
return SQLNETParallelItem

SQLNETItem() public method

Default constructor.
public SQLNETItem ( ) : System
return System

Property Details

CacheKey public_oe property

Gets or sets the cache key used to cache the SQLNETItem.
public string CacheKey
return string

Code public_oe property

Gets or sets the code or expression to evaluate.
public string Code
return string

Counter public_oe property

The counter.
public int Counter
return int

Delegate public_oe property

Gets or sets the compiled code or expression.
public EvalDelegate Delegate
return EvalDelegate

IsAutoDispose public_oe property

Gets or sets if the object should AutoDispose once it has been evaluated.
public bool IsAutoDispose
return bool

IsCached public_oe property

Gets or sets if this object is cached.
public bool IsCached
return bool

IsCompiled public_oe property

true if this object is root.
public bool IsCompiled
return bool

IsFirstCounter public_oe property

public bool IsFirstCounter
return bool

IsImpersonate public_oe property

Gets or sets if an impersonate context should be used to evaluate the code or expression.
public bool IsImpersonate
return bool

LastAccess public_oe property

Gets or sets the last access Date/Time from the cache.
public DateTime,System LastAccess
return System.DateTime

ParallelItems public_oe property

The parallel values.
public SharedBucketList,Z.Expressions.SqlServer.Eval ParallelItems
return SharedBucketList

ParameterTables public_oe property

Gets or sets the parameter table used to evaluate the code or expression.
public ListDictionary ParameterTables
return ListDictionary

ParameterTypes public_oe property

Gets or sets the parameter types used to evaluate the code or expression.
public SharedCache ParameterTypes
return Type>.SharedCache

ParameterValues public_oe property

Gets or sets the parameter values used to evaluate the code or expression.
public ListDictionary ParameterValues
return ListDictionary