Inheritance
ExtraTablesEntryRecordDataExtensions
Assembly: SoDataBase.dll
public static class ExtraTablesEntryRecordDataExtensions
Methods
Declaration
public static ExtraTablesEntryRecordData FromRecord(this TargetedDataRecord<ExtraTablesEntryTableInfo> record)
Parameters
Returns
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 { ExtraTablesEntryItem = r.FromRecord(), /* fetch other fields here */ });
From a TargetedSelect<ExtraTablesEntryTableInfo>, execute it and return an IEnumerable<ExtraTablesEntryRecordData> with the results
Declaration
public static IEnumerable<ExtraTablesEntryRecordData> FromSelect(this TargetedSelect<ExtraTablesEntryTableInfo> select)
Parameters
Returns
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
Declaration
public static Insert ToInsert(this ExtraTablesEntryRecordData record)
Parameters
Returns
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<ExtraTablesEntryRecordData> records)
Parameters
Returns