Show / Hide Table of Contents

Class KbSolutionFinderEntryRecordDataExtensions

Extension methods to make it easy to fetch KbSolutionFinderEntryRecordData objects from the database, using the infrastructure

Inheritance
Object
KbSolutionFinderEntryRecordDataExtensions
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public static class KbSolutionFinderEntryRecordDataExtensions

Methods

FromRecord(TargetedDataRecord<KbSolutionFinderEntryTableInfo>)

From a TargetedDataRecord<KbSolutionFinderEntryTableInfo>, create and populate a KbSolutionFinderEntryRecordData POCO object

Declaration
public static KbSolutionFinderEntryRecordData FromRecord(this TargetedDataRecord<KbSolutionFinderEntryTableInfo> record)
Parameters
Type Name Description
TargetedDataRecord<KbSolutionFinderEntryTableInfo> record
Returns
Type Description
KbSolutionFinderEntryRecordData
Examples
            var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
            /* add joins, return fields etc. as you wish */
            s.ReturnFields.Add(s.Table.All);
            var result = s.Records().Select(r => new { KbSolutionFinderEntryItem = r.FromRecord(), /* fetch other fields here */ });

FromSelect(TargetedSelect<KbSolutionFinderEntryTableInfo>)

From a TargetedSelect<KbSolutionFinderEntryTableInfo>, execute it and return an IEnumerable<KbSolutionFinderEntryRecordData> with the results

Declaration
public static IEnumerable<KbSolutionFinderEntryRecordData> FromSelect(this TargetedSelect<KbSolutionFinderEntryTableInfo> select)
Parameters
Type Name Description
TargetedSelect<KbSolutionFinderEntryTableInfo> select
Returns
Type Description
IEnumerable<KbSolutionFinderEntryRecordData>
Examples
            var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
            var result = s.FromSelect();

ToInsert(KbSolutionFinderEntryRecordData)

Declaration
public static Insert ToInsert(this KbSolutionFinderEntryRecordData record)
Parameters
Type Name Description
KbSolutionFinderEntryRecordData record
Returns
Type Description
Insert

ToInserts(IEnumerable<KbSolutionFinderEntryRecordData>)

Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<KbSolutionFinderEntryRecordData> records)
Parameters
Type Name Description
IEnumerable<KbSolutionFinderEntryRecordData> records
Returns
Type Description
IEnumerable<Insert>
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top