Свойство | Тип | Описание | |
---|---|---|---|
AnonymousGiverAliasId | int? | ||
HouseholdIdAttribute | Rock.Web.Cache.AttributeCache | ||
ImportPersonAliasId | int? | ||
ImportedBatches | int?>.Dictionary | ||
ImportedPeopleKeys | List |
||
IndividualIdAttribute | Rock.Web.Cache.AttributeCache | ||
IntegerFieldTypeId | int | ||
TextFieldTypeId | int |
Свойство | Тип | Описание | |
---|---|---|---|
AddAccount | FinancialAccount | ||
AddPersonAttribute | void | ||
CreateFamilyGroup | Group | ||
FileIsKnown | bool | ||
FileTypeMatches | bool | ||
GetFileRootName | string | ||
GetRecordTypeFromFilename | CSVInstance.RockDataType | ||
LoadExistingData | bool | ||
LoadFamily | int | ||
LoadIndividuals | int | ||
LoadMetrics | int | ||
MapBatch | int | ||
MapContribution | int | ||
MapPledge | int | ||
SaveContributions | void | ||
SaveFamilies | void | ||
SaveFinancialBatches | void | ||
SaveIndividuals | void | ||
SaveMetrics | void | ||
SavePledges | void |
Метод | Описание | |
---|---|---|
DetachAllInContext ( |
Detach all entity objects from the change tracker that is associated with the given RockContext. Any entity that is stored (for example in an Imported... variable) should be detached before the function ends. If it is explicitely attached and then not detached then when it is attached to another context an exception "An entity object cannot be referenced by multiple instances of IEntityChangeTracker" occurs. Taken from: http://stackoverflow.com/questions/2465933/how-to-clean-up-an-entity-framework-object-context
|
|
LoadSchema ( string fileName ) : bool |
Loads the database for this instance. may be called multiple times, if uploading multiple CSV files.
|
|
TransformData ( string>.Dictionary |
Previews the data. Overrides base class because we have potential for more than one imported file Transforms the data from the dataset.
|
Метод | Описание | |
---|---|---|
GetPersonKeys ( int individualId = null ) : PersonKeys |
Gets the person keys.
|
|
LoadPersonKeys ( |
Метод | Описание | |
---|---|---|
AddAccount ( |
Adds the account.
|
|
AddPersonAttribute ( Rock.Web.Cache.AttributeCache attribute, Person person, string attributeValue ) : void |
Adds the person attribute.
|
|
CreateFamilyGroup ( string rowFamilyName, string rowFamilyKey ) : Group |
Creates the family group.
|
|
FileIsKnown ( string fileName ) : bool |
Checks if the file matches a known format.
|
|
FileTypeMatches ( |
Checks if the file matches a known format.
|
|
GetFileRootName ( string fileName ) : string |
Gets the name of the file without the extension.
|
|
GetRecordTypeFromFilename ( string filename ) : CSVInstance.RockDataType |
Gets the record type based on the filename.
|
|
LoadExistingData ( string importUser ) : bool |
Checks the database for existing import data. returns false if an error occurred
|
|
LoadFamily ( |
Loads the family data.
|
|
LoadIndividuals ( |
Loads the individual data.
|
|
LoadMetrics ( |
Loads the family data.
|
|
MapBatch ( |
Maps the batch data.
|
|
MapContribution ( |
Maps the contribution.
|
|
MapPledge ( |
Maps the pledge.
|
|
SaveContributions ( List |
Saves the contributions.
|
|
SaveFamilies ( List |
Saves all family changes.
|
|
SaveFinancialBatches ( List |
Saves the financial batches.
|
|
SaveIndividuals ( List |
Saves the individuals.
|
|
SaveMetrics ( List |
Saves all the metric values.
|
|
SavePledges ( List |
Saves the pledges.
|
public static DetachAllInContext ( |
||
context | ||
Результат | void |
protected static GetPersonKeys ( int individualId = null ) : PersonKeys | ||
individualId | int | The individual identifier. |
Результат | PersonKeys |
protected static LoadPersonKeys ( |
||
lookupContext | ||
Результат | void |
public LoadSchema ( string fileName ) : bool | ||
fileName | string | |
Результат | bool |
public TransformData ( string>.Dictionary |
||
settings | string>.Dictionary | |
Результат | int |
protected static int? AnonymousGiverAliasId | ||
Результат | int? |
protected static AttributeCache,Rock.Web.Cache HouseholdIdAttribute | ||
Результат | Rock.Web.Cache.AttributeCache |
protected static int? ImportPersonAliasId | ||
Результат | int? |
protected static Dictionary |
||
Результат | int?>.Dictionary |
protected static List |
||
Результат | List |
protected static AttributeCache,Rock.Web.Cache IndividualIdAttribute | ||
Результат | Rock.Web.Cache.AttributeCache |
protected static int IntegerFieldTypeId | ||
Результат | int |