C# Class SIL.FieldWorks.FDO.DomainServices.DataMigration.DataMigration7000066

Migrate data from 7000065 to 7000066. Redux of DM64, but using a real DM. This will make sure that all missing xml elements for basic data properties (including basic custom properties) are included in the xml.
Inheritance: IDataMigration
ファイルを表示 Open project: sillsdev/FieldWorks

Private Properties

Property Type Description
CacheBasicProperties List>.Dictionary
CreateBasicProperty void
CreateCustomProperty void
CreateValAttribute System.Xml.Linq.XAttribute
GetDefaultValueForPropertyType string

Public Methods

Method Description
PerformMigration ( IDomainObjectDTORepository domainObjectDtoRepository ) : void

Private Methods

Method Description
CacheBasicProperties ( IFwMetaDataCacheManaged mdc ) : List>.Dictionary
CreateBasicProperty ( System.Xml.Linq.XElement rootElement, PropertyInfo basicPropertyInfo ) : void
CreateCustomProperty ( System.Xml.Linq.XElement rootElement, PropertyInfo basicCustomPropertyInfo ) : void
CreateValAttribute ( CellarPropertyType propertyType ) : System.Xml.Linq.XAttribute
GetDefaultValueForPropertyType ( CellarPropertyType propertyType ) : string

Method Details

PerformMigration() public method

public PerformMigration ( IDomainObjectDTORepository domainObjectDtoRepository ) : void
domainObjectDtoRepository IDomainObjectDTORepository
return void