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