Show / Hide Table of Contents

Class SentryQueryInfo

Information about a query - like table infos, etc.

Inheritance
object
SentryQueryInfo
SentryQueryInfo<TMainTable>
Implements
IEnumerable<TableInfo>
IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Security
Assembly: SoDataBase.dll
Syntax
public abstract class SentryQueryInfo : IEnumerable<TableInfo>, IEnumerable

Constructors

SentryQueryInfo(TableInfo)

Information about a query - like table infos, etc.

Declaration
protected SentryQueryInfo(TableInfo mainTable)
Parameters
Type Name Description
TableInfo mainTable

Properties

HasVisibleFor

Does this table have VisibleFor.

Declaration
public abstract bool HasVisibleFor { get; }
Property Value
Type Description
bool

MainTable

Main table for the sentry.

Declaration
public TableInfo MainTable { get; }
Property Value
Type Description
TableInfo

ParentFields

All field infos referring to the main table's primary key.

Declaration
public abstract FieldInfo[] ParentFields { get; }
Property Value
Type Description
FieldInfo[]

VisibleForTableInfo

Table info for the related VisibleFor table.

Declaration
public abstract VisibleForTableInfo VisibleForTableInfo { get; }
Property Value
Type Description
VisibleForTableInfo

Methods

AnalyzeQuery(PrivateSelect)

Should not be called by partners!

Declaration
public abstract void AnalyzeQuery(PrivateSelect sql)
Parameters
Type Name Description
PrivateSelect sql

Query to analyze

Remarks

Should not be called by partners: Analyze the query during the query execution process.

CanCoverTable(TableInfo)

Should not be called by partners!

Declaration
public abstract bool CanCoverTable(TableInfo table)
Parameters
Type Name Description
TableInfo table

Information about the table to analyze.

Returns
Type Description
bool

True if this now is a table that can be covered.

Remarks

Should not be called by partners: Check if this is a table that can be covered. If so, add it to the list of covered tables.

GetEnumerator()

Enumerator for all instances of TableInfo in the query.

Declaration
public abstract IEnumerator<TableInfo> GetEnumerator()
Returns
Type Description
IEnumerator<TableInfo>

Enumerator for all instances of TableInfo in the query.

Implements

IEnumerable<T>
IEnumerable

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top