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