C# Класс Excavator.F1.F1Component

Partial of F1Component that holds the Financial import methods
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
AuthProviderEntityTypeId int?
CampusList List
Database OrcaMDF.Core.Engine.Database
HouseholdIdAttribute Rock.Web.Cache.AttributeCache
ImportPersonAliasId int?
ImportedBatches int?>.Dictionary
ImportedPeople List
InFellowshipLoginAttribute Rock.Web.Cache.AttributeCache
IndividualIdAttribute Rock.Web.Cache.AttributeCache
IntegerFieldTypeId int
PersonEntityTypeId int
SecondaryEmailAttribute Rock.Web.Cache.AttributeCache
TextFieldTypeId int

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

Метод Описание
LoadSchema ( string fileName ) : bool

Loads the database for this instance.

MapNotes ( IQueryable tableData ) : void

Maps the notes.

MapPerson ( IQueryable tableData ) : void

Maps the person.

MapUsers ( IQueryable tableData ) : void

Maps the users.

TransformData ( string>.Dictionary settings ) : int

Transforms the data from the dataset.

Защищенные методы

Метод Описание
AddPersonAttribute ( Rock.Web.Cache.AttributeCache attribute, Person person, string value ) : void

Adds the person attribute.

AddUserLogin ( int authProviderEntityTypeId, Person person, string value ) : void

Adds the user login.

GetFamilyByHouseholdId ( int householdId, bool includeVisitors = true ) : List

Gets the family by household identifier.

GetPersonKeys ( int individualId = null, int householdId = null, bool includeVisitors = true ) : Excavator.F1.PersonKeys

Gets the person keys.

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

Метод Описание
AddAccount ( RockContext lookupContext, string fundName, string accountGL, int fundCampusId, int parentAccountId, bool isActive ) : FinancialAccount

Adds the account.

LoadExistingRockData ( ) : void

Loads Rock data that's used globally by the transform

MapBankAccount ( IQueryable tableData ) : void

Maps the account data.

MapBatch ( IQueryable tableData ) : void

Maps the batch data.

MapCommunication ( IQueryable tableData ) : void

Maps the communication data.

MapCompany ( IQueryable tableData ) : void

Maps the company.

MapContribution ( IQueryable tableData, List selectedColumns = null ) : void

Maps the contribution.

MapFamilyAddress ( IQueryable tableData ) : void

Maps the family address.

MapPledge ( IQueryable tableData ) : void

Maps the pledge.

SaveBankAccounts ( List newBankAccounts ) : void

Saves the bank accounts.

SaveCommunication ( List newNumberList, Person>.Dictionary updatedPersonList ) : void

Saves the communication.

SaveCompanies ( List businessList ) : void

Saves the companies.

SaveContributions ( List newTransactions ) : void

Saves the contributions.

SaveFamilyAddress ( List newGroupLocations ) : void

Saves the family address.

SaveFinancialBatches ( List newBatches ) : void

Saves the financial batches.

SaveNotes ( List noteList ) : void

Saves the notes.

SavePeople ( List familyList, List visitorList, string>.Dictionary previousNamesList, GroupTypeRole ownerRole, int childRoleId, int inviteeRoleId, int invitedByRoleId, int canCheckInRoleId, int allowCheckInByRoleId ) : void

Saves the people.

SavePledges ( List newPledges ) : void

Saves the pledges.

SaveUsers ( List newUserLogins, List newStaffMembers ) : void

Saves the new user logins.

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

AddPersonAttribute() защищенный статический Метод

Adds the person attribute.
protected static AddPersonAttribute ( Rock.Web.Cache.AttributeCache attribute, Person person, string value ) : void
attribute Rock.Web.Cache.AttributeCache The attribute.
person Person The person.
value string The value.
Результат void

AddUserLogin() защищенный статический Метод

Adds the user login.
protected static AddUserLogin ( int authProviderEntityTypeId, Person person, string value ) : void
authProviderEntityTypeId int The id of the auth provider entity type.
person Person The person.
value string The value, probably an email.
Результат void

GetFamilyByHouseholdId() защищенный статический Метод

Gets the family by household identifier.
protected static GetFamilyByHouseholdId ( int householdId, bool includeVisitors = true ) : List
householdId int The household identifier.
includeVisitors bool if set to true [include visitors].
Результат List

GetPersonKeys() защищенный статический Метод

Gets the person keys.
protected static GetPersonKeys ( int individualId = null, int householdId = null, bool includeVisitors = true ) : Excavator.F1.PersonKeys
individualId int The individual identifier.
householdId int The household identifier.
includeVisitors bool if set to true [include visitors].
Результат Excavator.F1.PersonKeys

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

Loads the database for this instance.
public LoadSchema ( string fileName ) : bool
fileName string
Результат bool

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

Maps the notes.
public MapNotes ( IQueryable tableData ) : void
tableData IQueryable The table data.
Результат void

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

Maps the person.
public MapPerson ( IQueryable tableData ) : void
tableData IQueryable The table data.
Результат void

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

Maps the users.
public MapUsers ( IQueryable tableData ) : void
tableData IQueryable The table data.
Результат void

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

Transforms the data from the dataset.
public TransformData ( string>.Dictionary settings ) : int
settings string>.Dictionary
Результат int

Описание свойств

AuthProviderEntityTypeId защищенное статическое свойство

protected static int? AuthProviderEntityTypeId
Результат int?

CampusList защищенное статическое свойство

All campuses
protected static List CampusList
Результат List

Database защищенное свойство

The local database
protected Database,OrcaMDF.Core.Engine Database
Результат OrcaMDF.Core.Engine.Database

HouseholdIdAttribute защищенное статическое свойство

protected static AttributeCache,Rock.Web.Cache HouseholdIdAttribute
Результат Rock.Web.Cache.AttributeCache

ImportPersonAliasId защищенное статическое свойство

The person assigned to do the import
protected static int? ImportPersonAliasId
Результат int?

ImportedBatches защищенное статическое свойство

All imported batches. Used in Batches & Contributions
protected static Dictionary ImportedBatches
Результат int?>.Dictionary

ImportedPeople защищенное статическое свойство

All the people who've been imported
protected static List ImportedPeople
Результат List

InFellowshipLoginAttribute защищенное статическое свойство

protected static AttributeCache,Rock.Web.Cache InFellowshipLoginAttribute
Результат Rock.Web.Cache.AttributeCache

IndividualIdAttribute защищенное статическое свойство

protected static AttributeCache,Rock.Web.Cache IndividualIdAttribute
Результат Rock.Web.Cache.AttributeCache

IntegerFieldTypeId защищенное статическое свойство

protected static int IntegerFieldTypeId
Результат int

PersonEntityTypeId защищенное статическое свойство

protected static int PersonEntityTypeId
Результат int

SecondaryEmailAttribute защищенное статическое свойство

protected static AttributeCache,Rock.Web.Cache SecondaryEmailAttribute
Результат Rock.Web.Cache.AttributeCache

TextFieldTypeId защищенное статическое свойство

protected static int TextFieldTypeId
Результат int