Class FreeTextWordsRecordDataExtensions
Extension methods to make it easy to fetch FreeTextWordsRecordData objects from the database,
using the infrastructure
Inheritance
FreeTextWordsRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class FreeTextWordsRecordDataExtensions : Object
Methods
FromRecord(TargetedDataRecord<FreeTextWordsTableInfo>)
Declaration
public static FreeTextWordsRecordData FromRecord(this TargetedDataRecord<FreeTextWordsTableInfo> record)
Parameters
Returns
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 { FreeTextWordsItem = r.FromRecord(), /* fetch other fields here */ });
FromSelect(TargetedSelect<FreeTextWordsTableInfo>)
From a TargetedSelect<FreeTextWordsTableInfo>, execute it and return an IEnumerable<FreeTextWordsRecordData> with the results
Declaration
public static IEnumerable<FreeTextWordsRecordData> FromSelect(this TargetedSelect<FreeTextWordsTableInfo> select)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsert(FreeTextWordsRecordData)
Extension methods to make it easy to fetch FreeTextWordsRecordData objects from the database,
using the infrastructure
Declaration
public static Insert ToInsert(this FreeTextWordsRecordData record)
Parameters
Returns
ToInserts(IEnumerable<FreeTextWordsRecordData>)
Extension methods to make it easy to fetch FreeTextWordsRecordData objects from the database,
using the infrastructure
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<FreeTextWordsRecordData> records)
Parameters
Returns
ToRecordData(FreeTextWordsRow)
Extension methods to make it easy to fetch FreeTextWordsRecordData objects from the database,
using the infrastructure
Declaration
public static FreeTextWordsRecordData ToRecordData(this FreeTextWordsRow row)
Parameters
Returns