C# Класс mergedServices.ObjectsRelationManager

Показать файл Открыть проект

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

Метод Описание
closeConnection ( ) : void

closes the connection of the server

generateQueries ( string object1, string object2, int maxDistance = 3, int limit = 50, List ignoredObjects = null, List ignoredProperties = null, int avoidCycles = 1 ) : bool

Builds and returns a set of queries to find relations between two object1 and object2.

getNextResult ( ) : string

Query the next result

startConnection ( ) : void

starts the connection to the server

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

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

closes the connection of the server
public closeConnection ( ) : void
Результат void

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

Builds and returns a set of queries to find relations between two object1 and object2.
public generateQueries ( string object1, string object2, int maxDistance = 3, int limit = 50, List ignoredObjects = null, List ignoredProperties = null, int avoidCycles = 1 ) : bool
object1 string object1
object2 string object2
maxDistance int MaxiumDistance between the two objects
limit int Limit of results
ignoredObjects List List of strings of names of objects be ignored in the Queries
ignoredProperties List List of strings of names of properties to be ignored in the Queries
avoidCycles int Integer value which indicates whether we want to suppress cycles , 0 = no cycle avoidance , 1 = no intermediate object can be object1 or object2 , 2 = like 1 + an object can not occur more than once in a connection
Результат bool

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

Query the next result
public getNextResult ( ) : string
Результат string

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

starts the connection to the server
public startConnection ( ) : void
Результат void