C# 클래스 mergedServices.ObjectsRelationManager

파일 보기 프로젝트 열기: sherifkandeel/weet-it_WCF

공개 메소드들

메소드 설명
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