C# Class Sage.Platform.Upgrade.OrmModelUpgradeService

Inheritance: IModelUpgradeService
ファイルを表示 Open project: Saleslogix/ProjectUpgrade

Public Methods

Method Description
CanMergeFile ( string url ) : bool
FileBelongsToThisModel ( IFileInfo file ) : bool
IsFileAValidAddition ( IFileInfo file, IProject baseProject, IProject sourceProject, List warnings ) : bool
IsFileAValidModification ( IFileInfo file, IProject baseProject, IProject sourceProject, List warnings, List releases ) : bool
MergeFile ( string url, IProject baseProject, IProject sourceProject, IProject targetProject ) : void

Private Methods

Method Description
FileIsDeletedItem ( IFileInfo file ) : bool
FileIsRelationship ( IFileInfo file ) : bool
FileIsSharedResx ( IFileInfo file ) : bool
FindRelationshipInBaseById ( System.Guid sourceId, IProject baseProject ) : OrmRelationship
GetModelItemIdFromFile ( IFileInfo file ) : System.Guid
GetModelItemIdFromStream ( Stream stream ) : System.Guid
RelationshipChangeCanBeIgnored ( PropertyChange relationshipChange ) : bool

Method Details

CanMergeFile() public method

public CanMergeFile ( string url ) : bool
url string
return bool

FileBelongsToThisModel() public method

public FileBelongsToThisModel ( IFileInfo file ) : bool
file IFileInfo
return bool

IsFileAValidAddition() public method

public IsFileAValidAddition ( IFileInfo file, IProject baseProject, IProject sourceProject, List warnings ) : bool
file IFileInfo
baseProject IProject
sourceProject IProject
warnings List
return bool

IsFileAValidModification() public method

public IsFileAValidModification ( IFileInfo file, IProject baseProject, IProject sourceProject, List warnings, List releases ) : bool
file IFileInfo
baseProject IProject
sourceProject IProject
warnings List
releases List
return bool

MergeFile() public method

public MergeFile ( string url, IProject baseProject, IProject sourceProject, IProject targetProject ) : void
url string
baseProject IProject
sourceProject IProject
targetProject IProject
return void