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