C# Class TransactionalNodeService.Common.NodeService

Show file Open project: chris-tomich/Glyma

Public Methods

Method Description
DomainCreate ( ) : Domain
DomainGetRootNode ( Domain domain ) : Node
NodeCreate ( Domain newDomain, System.Guid nodeTypeId ) : Node
NodeService ( ) : System
RelationshipCreate ( Domain newDomain, System.Guid relationshipTypeId, Guid>.IDictionary nodes ) : Relationship

Protected Methods

Method Description
CreateDomainCommand ( System.Guid &newDomainId, System.Guid &newDomainNodeId, string domainOriginalId = default(string) ) : SqlCommand
CreateNodeCommand ( System.Guid &newNodeId, string nodeOriginalId = default(string), System.Guid nodeTypeUid = default(Guid), System.Guid domainUid = default(Guid) ) : SqlCommand
CreateRelationshipCommand ( System.Guid &newRelationshipId, System.Guid domainId, System.Guid relationshipTypeId, Guid>.IDictionary nodes, string relationshipOriginalId = default(string) ) : SqlCommand
SelectDomainNodeCommand ( System.Guid domainId ) : SqlCommand

Method Details

CreateDomainCommand() protected method

protected CreateDomainCommand ( System.Guid &newDomainId, System.Guid &newDomainNodeId, string domainOriginalId = default(string) ) : SqlCommand
newDomainId System.Guid
newDomainNodeId System.Guid
domainOriginalId string
return System.Data.SqlClient.SqlCommand

CreateNodeCommand() protected method

protected CreateNodeCommand ( System.Guid &newNodeId, string nodeOriginalId = default(string), System.Guid nodeTypeUid = default(Guid), System.Guid domainUid = default(Guid) ) : SqlCommand
newNodeId System.Guid
nodeOriginalId string
nodeTypeUid System.Guid
domainUid System.Guid
return System.Data.SqlClient.SqlCommand

CreateRelationshipCommand() protected method

protected CreateRelationshipCommand ( System.Guid &newRelationshipId, System.Guid domainId, System.Guid relationshipTypeId, Guid>.IDictionary nodes, string relationshipOriginalId = default(string) ) : SqlCommand
newRelationshipId System.Guid
domainId System.Guid
relationshipTypeId System.Guid
nodes Guid>.IDictionary
relationshipOriginalId string
return System.Data.SqlClient.SqlCommand

DomainCreate() public method

public DomainCreate ( ) : Domain
return TransactionalNodeService.Common.Model.Domain

DomainGetRootNode() public method

public DomainGetRootNode ( Domain domain ) : Node
domain TransactionalNodeService.Common.Model.Domain
return TransactionalNodeService.Common.Model.Node

NodeCreate() public method

public NodeCreate ( Domain newDomain, System.Guid nodeTypeId ) : Node
newDomain TransactionalNodeService.Common.Model.Domain
nodeTypeId System.Guid
return TransactionalNodeService.Common.Model.Node

NodeService() public method

public NodeService ( ) : System
return System

RelationshipCreate() public method

public RelationshipCreate ( Domain newDomain, System.Guid relationshipTypeId, Guid>.IDictionary nodes ) : Relationship
newDomain TransactionalNodeService.Common.Model.Domain
relationshipTypeId System.Guid
nodes Guid>.IDictionary
return TransactionalNodeService.Common.Model.Relationship

SelectDomainNodeCommand() protected method

protected SelectDomainNodeCommand ( System.Guid domainId ) : SqlCommand
domainId System.Guid
return System.Data.SqlClient.SqlCommand