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