C# Класс SilverlightMappingToolBasic.MappingService.DatabaseMappingService

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

Private Properties

Свойство Тип Описание
BuildNodeList List
CompleteRelationship void
OnAddNodeAsyncCompleted void
OnConnectNodesCompleted void
OnCreateNewDomainCompleted void
OnCreateNewMapCompleted void
OnDeleteMetadataCompleted void
OnDeleteNodeCompleted void
OnDeleteNodeTransclusionCompleted void
OnDeleteRelationshipCompleted void
OnGetAllSoapTypesAsyncCompleted void
OnGetContainerMapNodeIdCompleted void
OnGetDomainMapNodesCompleted void
OnGetDomainNodeIdCompleted void
OnGetDomainNodeIdsCompleted void
OnGetMapsNodesCompleted void
OnGetNodesCompleted void
OnGetRelatedNodesByIdAsyncCompleted void
OnPasteNodeCloneCompleted void
OnRenameNodeMetadataCompleted void
OnUpdateNodeMetadataCompleted void

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

Метод Описание
AddNode ( System.Guid domainId, INodeTypeProxy nodeType, string originalId, Point location ) : void
ConnectNodesAsync ( System.Guid domainId, Guid>.Dictionary nodes, IRelationshipTypeProxy relationshipType, Point location, string originalId ) : void
ConnectNodesAsync ( System.Guid domainId, Guid>.Dictionary nodes, IRelationshipTypeProxy relationshipType, string originalId ) : void
CreateNewDomain ( string domainName ) : void
CreateNewMap ( System.Guid domainId, string mapName ) : void
DatabaseMappingService ( ) : System
DatabaseMappingService ( string mappingToolSvcUrl ) : System
DeleteMetadata ( MetadataContext context ) : void
DeleteNode ( System.Guid domainId, System.Guid nodeIdToDelete ) : void
DeleteNodePromoteTransclusion ( System.Guid domainId, System.Guid currentMapId, INodeProxy originalNode ) : void
DeleteNodeTransclusion ( System.Guid domainId, System.Guid currentMapId, INodeProxy transcludedNode ) : void
DeleteRelationship ( System.Guid domainId, System.Guid relationshipId ) : void
GetAllSoapTypesAsync ( ) : void
GetContainerMapNodeId ( System.Guid domain, System.Guid nodeId ) : void
GetDomainMapNodes ( System.Guid domainId ) : void
GetDomainNodeIdAsync ( System.Guid domainId ) : void
GetDomainNodeIdsAsync ( ) : void
GetMapsNodes ( System.Guid domainId, System.Guid mapNodeId ) : void
GetNodeByIdAsync ( System.Guid nodeId, System.Guid mapId ) : void
GetRelatedNodesByIdAsync ( System.Guid domainId, System.Guid nodeId, int depth ) : void
PasteNodeClone ( System.Guid domainId, System.Guid copiedNodeId, Point location ) : void
RenameNodeMetadataAsync ( System.Guid domainId, System.Guid nodeId, System.Guid relationshipId, IDescriptorTypeProxy descriptorTypeProxy, string originalMetadataName, string newMetadataName ) : void
UpdateNodeMetadataAsync ( System.Guid domainId, System.Guid nodeId, System.Guid relationshipId, IDescriptorTypeProxy descriptorTypeProxy, string metadataName, string metadataValue, IMetadataTypeProxy metadataType ) : void

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

Метод Описание
BuildNodeList ( RelatedNodesSearchResult relatedNodesResult ) : List

Builds out the nodes and descriptors on the client side. Adds to a _cachedNodes list and keeps it updated.

CompleteRelationship ( IRelationshipProxy relationship ) : void
OnAddNodeAsyncCompleted ( object sender, AddNodeCompletedEventArgs e ) : void
OnConnectNodesCompleted ( object sender, ConnectNodesCompletedEventArgs e ) : void
OnCreateNewDomainCompleted ( object sender, CreateNewDomainCompletedEventArgs e ) : void
OnCreateNewMapCompleted ( object sender, CreateNewMapCompletedEventArgs e ) : void
OnDeleteMetadataCompleted ( object sender, DeleteMetadataCompletedEventArgs e ) : void
OnDeleteNodeCompleted ( object sender, DeleteNodeCompletedEventArgs e ) : void
OnDeleteNodeTransclusionCompleted ( object sender, DeleteNodeTransclusionCompletedEventArgs e ) : void
OnDeleteRelationshipCompleted ( object sender, DeleteRelationshipCompletedEventArgs e ) : void
OnGetAllSoapTypesAsyncCompleted ( object sender, GetAllSoapTypesCompletedEventArgs e ) : void
OnGetContainerMapNodeIdCompleted ( object sender, GetContainerMapNodeIdCompletedEventArgs e ) : void
OnGetDomainMapNodesCompleted ( object sender, GetDomainMapNodesCompletedEventArgs e ) : void
OnGetDomainNodeIdCompleted ( object sender, GetDomainNodeIdCompletedEventArgs e ) : void
OnGetDomainNodeIdsCompleted ( object sender, GetDomainNodeIdsCompletedEventArgs e ) : void
OnGetMapsNodesCompleted ( object sender, GetMapsNodesCompletedEventArgs e ) : void
OnGetNodesCompleted ( object sender, GetNodesCompletedEventArgs e ) : void
OnGetRelatedNodesByIdAsyncCompleted ( object sender, GetRelatedNodesCompletedEventArgs e ) : void
OnPasteNodeCloneCompleted ( object sender, PasteNodeCloneCompletedEventArgs e ) : void
OnRenameNodeMetadataCompleted ( object sender, RenameNodeMetadataCompletedEventArgs e ) : void
OnUpdateNodeMetadataCompleted ( object sender, UpdateNodeMetadataCompletedEventArgs e ) : void

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

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

public AddNode ( System.Guid domainId, INodeTypeProxy nodeType, string originalId, Point location ) : void
domainId System.Guid
nodeType INodeTypeProxy
originalId string
location Point
Результат void

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

public ConnectNodesAsync ( System.Guid domainId, Guid>.Dictionary nodes, IRelationshipTypeProxy relationshipType, Point location, string originalId ) : void
domainId System.Guid
nodes Guid>.Dictionary
relationshipType IRelationshipTypeProxy
location Point
originalId string
Результат void

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

public ConnectNodesAsync ( System.Guid domainId, Guid>.Dictionary nodes, IRelationshipTypeProxy relationshipType, string originalId ) : void
domainId System.Guid
nodes Guid>.Dictionary
relationshipType IRelationshipTypeProxy
originalId string
Результат void

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

public CreateNewDomain ( string domainName ) : void
domainName string
Результат void

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

public CreateNewMap ( System.Guid domainId, string mapName ) : void
domainId System.Guid
mapName string
Результат void

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

public DatabaseMappingService ( ) : System
Результат System

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

public DatabaseMappingService ( string mappingToolSvcUrl ) : System
mappingToolSvcUrl string
Результат System

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

public DeleteMetadata ( MetadataContext context ) : void
context MetadataContext
Результат void

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

public DeleteNode ( System.Guid domainId, System.Guid nodeIdToDelete ) : void
domainId System.Guid
nodeIdToDelete System.Guid
Результат void

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

public DeleteNodePromoteTransclusion ( System.Guid domainId, System.Guid currentMapId, INodeProxy originalNode ) : void
domainId System.Guid
currentMapId System.Guid
originalNode INodeProxy
Результат void

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

public DeleteNodeTransclusion ( System.Guid domainId, System.Guid currentMapId, INodeProxy transcludedNode ) : void
domainId System.Guid
currentMapId System.Guid
transcludedNode INodeProxy
Результат void

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

public DeleteRelationship ( System.Guid domainId, System.Guid relationshipId ) : void
domainId System.Guid
relationshipId System.Guid
Результат void

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

public GetAllSoapTypesAsync ( ) : void
Результат void

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

public GetContainerMapNodeId ( System.Guid domain, System.Guid nodeId ) : void
domain System.Guid
nodeId System.Guid
Результат void

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

public GetDomainMapNodes ( System.Guid domainId ) : void
domainId System.Guid
Результат void

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

public GetDomainNodeIdAsync ( System.Guid domainId ) : void
domainId System.Guid
Результат void

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

public GetDomainNodeIdsAsync ( ) : void
Результат void

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

public GetMapsNodes ( System.Guid domainId, System.Guid mapNodeId ) : void
domainId System.Guid
mapNodeId System.Guid
Результат void

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

public GetNodeByIdAsync ( System.Guid nodeId, System.Guid mapId ) : void
nodeId System.Guid
mapId System.Guid
Результат void

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

public GetRelatedNodesByIdAsync ( System.Guid domainId, System.Guid nodeId, int depth ) : void
domainId System.Guid
nodeId System.Guid
depth int
Результат void

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

public PasteNodeClone ( System.Guid domainId, System.Guid copiedNodeId, Point location ) : void
domainId System.Guid
copiedNodeId System.Guid
location Point
Результат void

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

public RenameNodeMetadataAsync ( System.Guid domainId, System.Guid nodeId, System.Guid relationshipId, IDescriptorTypeProxy descriptorTypeProxy, string originalMetadataName, string newMetadataName ) : void
domainId System.Guid
nodeId System.Guid
relationshipId System.Guid
descriptorTypeProxy IDescriptorTypeProxy
originalMetadataName string
newMetadataName string
Результат void

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

public UpdateNodeMetadataAsync ( System.Guid domainId, System.Guid nodeId, System.Guid relationshipId, IDescriptorTypeProxy descriptorTypeProxy, string metadataName, string metadataValue, IMetadataTypeProxy metadataType ) : void
domainId System.Guid
nodeId System.Guid
relationshipId System.Guid
descriptorTypeProxy IDescriptorTypeProxy
metadataName string
metadataValue string
metadataType IMetadataTypeProxy
Результат void