Show / Hide Table of Contents

Class ScreenDefinitionLanguageRecordDataExtensions

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

Inheritance
Object
ScreenDefinitionLanguageRecordDataExtensions
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public static class ScreenDefinitionLanguageRecordDataExtensions : Object

Methods

FromRecord(TargetedDataRecord<ScreenDefinitionLanguageTableInfo>)

From a TargetedDataRecord<ScreenDefinitionLanguageTableInfo>, create and populate a ScreenDefinitionLanguageRecordData POCO object

Declaration
public static ScreenDefinitionLanguageRecordData FromRecord(this TargetedDataRecord<ScreenDefinitionLanguageTableInfo> record)
Parameters
Type Name Description
TargetedDataRecord<ScreenDefinitionLanguageTableInfo> record
Returns
Type Description
ScreenDefinitionLanguageRecordData
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 { ScreenDefinitionLanguageItem = r.FromRecord(), /* fetch other fields here */ });

FromSelect(TargetedSelect<ScreenDefinitionLanguageTableInfo>)

From a TargetedSelect<ScreenDefinitionLanguageTableInfo>, execute it and return an IEnumerable<ScreenDefinitionLanguageRecordData> with the results

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

ToInsert(ScreenDefinitionLanguageRecordData)

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

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

ToInserts(IEnumerable<ScreenDefinitionLanguageRecordData>)

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

Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<ScreenDefinitionLanguageRecordData> records)
Parameters
Type Name Description
IEnumerable<ScreenDefinitionLanguageRecordData> records
Returns
Type Description
IEnumerable<Insert>

ToRecordData(ScreenDefinitionLanguageRow)

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

Declaration
public static ScreenDefinitionLanguageRecordData ToRecordData(this ScreenDefinitionLanguageRow row)
Parameters
Type Name Description
ScreenDefinitionLanguageRow row
Returns
Type Description
ScreenDefinitionLanguageRecordData
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top