Class WsdlDescriptionRecordDataExtensions
Extension methods to make it easy to fetch WsdlDescriptionRecordData objects from the database,
using the TargetedSelect infrastructure
Inheritance
WsdlDescriptionRecordDataExtensions
Assembly: SoDataBase.dll
Syntax
public static class WsdlDescriptionRecordDataExtensions
Methods
FromRecord(TargetedDataRecord<WsdlDescriptionTableInfo>)
Declaration
public static WsdlDescriptionRecordData FromRecord(this TargetedDataRecord<WsdlDescriptionTableInfo> 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 { WsdlDescriptionItem = r.FromRecord(), /* fetch other fields here */ });
FromSelect(TargetedSelect<WsdlDescriptionTableInfo>)
From a TargetedSelect<WsdlDescriptionTableInfo>, execute it and return an IEnumerable<WsdlDescriptionRecordData> with the results
Declaration
public static IEnumerable<WsdlDescriptionRecordData> FromSelect(this TargetedSelect<WsdlDescriptionTableInfo> select)
Parameters
Returns
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsert(WsdlDescriptionRecordData)
Extension methods to make it easy to fetch WsdlDescriptionRecordData objects from the database,
using the TargetedSelect infrastructure
Declaration
public static Insert ToInsert(this WsdlDescriptionRecordData record)
Parameters
Returns
ToInserts(IEnumerable<WsdlDescriptionRecordData>)
Extension methods to make it easy to fetch WsdlDescriptionRecordData objects from the database,
using the TargetedSelect infrastructure
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<WsdlDescriptionRecordData> records)
Parameters
Returns
ToRecordData(WsdlDescriptionRow)
Extension methods to make it easy to fetch WsdlDescriptionRecordData objects from the database,
using the TargetedSelect infrastructure
Declaration
public static WsdlDescriptionRecordData ToRecordData(this WsdlDescriptionRow row)
Parameters
Returns