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