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