C# Класс RockWeb.Blocks.Crm.MergeData

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetDataTable ( List headingKeys ) : DataTable

Gets the data table.

GetProperty ( string key, bool createIfNotFound = false, string label = "" ) : PersonProperty
GetSelectedValue ( PersonProperty personProperty ) : PersonPropertyValue

Gets the selected value.

MergeData ( ) : System

Initializes a new instance of the MergeData class.

MergeData ( List people, List headingKeys ) : System

Initializes a new instance of the MergeData class.

SetPrimary ( int primaryPersonId ) : void

Sets the primary.

Приватные методы

Метод Описание
AddPerson ( Person person ) : void
AddProperty ( string key, int personId, System.DateTime value, bool selected = false ) : void
AddProperty ( string key, int personId, DefinedValue value, bool selected = false ) : void
AddProperty ( string key, int personId, Enum value, bool selected = false ) : void
AddProperty ( string key, int personId, bool value, bool selected = false ) : void
AddProperty ( string key, int personId, string value, bool selected = false ) : void
AddProperty ( string key, string label, int personId, DefinedValue value, bool selected = false ) : void
AddProperty ( string key, string label, int personId, string value, bool selected = false ) : void
AddProperty ( string key, string label, int personId, string value, string formattedValue, bool selected = false ) : void

Описание методов

GetDataTable() публичный Метод

Gets the data table.
public GetDataTable ( List headingKeys ) : DataTable
headingKeys List The heading keys.
Результат System.Data.DataTable

GetProperty() публичный Метод

public GetProperty ( string key, bool createIfNotFound = false, string label = "" ) : PersonProperty
key string
createIfNotFound bool
label string
Результат PersonProperty

GetSelectedValue() публичный Метод

Gets the selected value.
public GetSelectedValue ( PersonProperty personProperty ) : PersonPropertyValue
personProperty PersonProperty The person property.
Результат PersonPropertyValue

MergeData() публичный Метод

Initializes a new instance of the MergeData class.
public MergeData ( ) : System
Результат System

MergeData() публичный Метод

Initializes a new instance of the MergeData class.
public MergeData ( List people, List headingKeys ) : System
people List The people.
headingKeys List
Результат System

SetPrimary() публичный Метод

Sets the primary.
public SetPrimary ( int primaryPersonId ) : void
primaryPersonId int The primary person identifier.
Результат void