Show / Hide Table of Contents

Class ListTableRow.CustomSearch

Class representing a custom search against table 'Category'.

Inheritance
Object
SqlCommand
PrivateSelect
IdxBase
ListTableRow.TableRowIdx
ListTableRow.CustomSearch
Implements
ICloneable
ISentryIgnorable
Inherited Members
PrivateSelect._isDistinct
PrivateSelect.GetTableInfos()
PrivateSelect.GetRelations(TableInfo)
PrivateSelect.GetRelations(TableInfo, SoTable)
PrivateSelect.IsTableOuterJoined(TableInfo)
PrivateSelect.GetTablesInOrderBy()
PrivateSelect.GetTablesLeadingToTable(TableInfo)
PrivateSelect.ValidateJoin()
PrivateSelect.Clone()
PrivateSelect.CloneSelect()
PrivateSelect.ToString()
PrivateSelect.GetCachingHash()
PrivateSelect.GetRestrictionTables()
PrivateSelect.CreateOrderBy()
PrivateSelect.InnerReturnFields
PrivateSelect.IsDistinct
PrivateSelect.ForceRecompile
PrivateSelect.InnerGroupBy
PrivateSelect.InnerJoinRestriction
PrivateSelect.SqlType
SqlCommand.Origin
SqlCommand.AdditionalInfo
SqlCommand.AddIgnoreAutoSentryTableInfo(TableInfo)
SqlCommand.AddIgnoreAutoSentryTableInfo(IEnumerable<TableInfo>)
SqlCommand.RemoveIgnoreAutoSentryTableInfo(TableInfo)
SqlCommand.ClearIgnoreAutoSentryTableInfos()
SqlCommand.IsAutoSentryIgnoredOnTableInfo(TableInfo)
SqlCommand.GetPrivateSaves()
SqlCommand.GetInserts()
SqlCommand.GetUpdates()
SqlCommand.GetDeletes()
SqlCommand.GetSelect()
SqlCommand.AutoSentryIgnoredTables
Namespace: SuperOffice.CRM.Lists
Assembly: SoDataBase.dll
Syntax
public sealed class CustomSearch : ListTableRow.TableRowIdx, ICloneable, ISentryIgnorable

Constructors

CustomSearch(TableInfo)

Constructor for class TableRows.CustomSearch. This class represents a custom search against table 'Category'.

Declaration
public CustomSearch(TableInfo tableInfo)
Parameters
Type Name Description
TableInfo tableInfo
Remarks

By adding restrictions and order by information, a custom query can be formatted against the database.
If this is not added, all the rows in the table are returned.

Properties

InnerOrderBy

Implementation of the OrderBy clause.

Declaration
protected override OrderBy InnerOrderBy { get; }
Property Value
Type Description
OrderBy
Overrides
SuperOffice.CRM.Rows.IdxBase.InnerOrderBy

InnerRestriction

Restriction (e.g. sql: WHERE) for the select statement.

Declaration
protected override Restriction InnerRestriction { get; }
Property Value
Type Description
Restriction

RestrictionObject holding the restrictions for the select statement.

Overrides
PrivateSelect.InnerRestriction

OrderBy

Implementation of the OrderBy clause.

Declaration
public OrderBy OrderBy { get; }
Property Value
Type Description
OrderBy

Restriction

Restriction (e.g. sql: WHERE) for the select statement.

Declaration
public Restriction Restriction { get; set; }
Property Value
Type Description
Restriction

RestrictionObject holding the restrictions for the select statement.

Methods

UpdateRow(TableRowBase)

Update the TableRow with the values from the index.

Declaration
public override void UpdateRow(TableRowBase row)
Parameters
Type Name Description
TableRowBase row

The row to update. This must be an instance of TableRow.

Overrides
SuperOffice.CRM.Rows.IdxBase.UpdateRow(SuperOffice.CRM.Rows.TableRowBase)
Remarks

This method does nothing for a the CustomSearch class.

Implements

System.ICloneable
ISentryIgnorable

Extension Methods

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