Class TagsHeadingLinkRecordDataExtensions
Extension methods to make it easy to fetch TagsHeadingLinkRecordData objects from the database,
using the
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public static class TagsHeadingLinkRecordDataExtensions : Object
Methods
FromRecord(TargetedDataRecord<TagsHeadingLinkTableInfo>)
From a TargetedDataRecord<TagsHeadingLinkTableInfo>, create and populate a TagsHeadingLinkRecordData POCO object
Declaration
public static TagsHeadingLinkRecordData FromRecord(this TargetedDataRecord<TagsHeadingLinkTableInfo> record)
Parameters
Type | Name | Description |
---|---|---|
TargetedDataRecord<TagsHeadingLinkTableInfo> | record |
Returns
Type | Description |
---|---|
TagsHeadingLinkRecordData |
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 { TagsHeadingLinkItem = r.FromRecord(), /* fetch other fields here */ });
FromSelect(TargetedSelect<TagsHeadingLinkTableInfo>)
From a TargetedSelect<TagsHeadingLinkTableInfo>, execute it and return an IEnumerable<TagsHeadingLinkRecordData> with the results
Declaration
public static IEnumerable<TagsHeadingLinkRecordData> FromSelect(this TargetedSelect<TagsHeadingLinkTableInfo> select)
Parameters
Type | Name | Description |
---|---|---|
TargetedSelect<TagsHeadingLinkTableInfo> | select |
Returns
Type | Description |
---|---|
IEnumerable<TagsHeadingLinkRecordData> |
Examples
var s = S.NewSelect<DataRightTableInfo>( /* add meaningful restrictions here, or later */ );
var result = s.FromSelect();
ToInsert(TagsHeadingLinkRecordData)
Extension methods to make it easy to fetch TagsHeadingLinkRecordData objects from the database,
using the
Declaration
public static Insert ToInsert(this TagsHeadingLinkRecordData record)
Parameters
Type | Name | Description |
---|---|---|
TagsHeadingLinkRecordData | record |
Returns
Type | Description |
---|---|
Insert |
ToInserts(IEnumerable<TagsHeadingLinkRecordData>)
Extension methods to make it easy to fetch TagsHeadingLinkRecordData objects from the database,
using the
Declaration
public static IEnumerable<Insert> ToInserts(this IEnumerable<TagsHeadingLinkRecordData> records)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<TagsHeadingLinkRecordData> | records |
Returns
Type | Description |
---|---|
IEnumerable<Insert> |
ToRecordData(TagsHeadingLinkRow)
Extension methods to make it easy to fetch TagsHeadingLinkRecordData objects from the database,
using the
Declaration
public static TagsHeadingLinkRecordData ToRecordData(this TagsHeadingLinkRow row)
Parameters
Type | Name | Description |
---|---|---|
TagsHeadingLinkRow | row |
Returns
Type | Description |
---|---|
TagsHeadingLinkRecordData |