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