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