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