internal RemoteUniqueDefinition(ServiceUniqueDefinition myUniqueDefinition, IServiceToken myServiceToken)
 {
     this.UniquePropertyDefinitions = myUniqueDefinition.UniquePropertyDefinition.Select(x => new RemotePropertyDefinition(x, myServiceToken));
     this.DefiningVertexType = new RemoteVertexType(myUniqueDefinition.DefiningVertexType, myServiceToken);
     this.CorrespondingIndex = new RemoteIndexDefinition(myUniqueDefinition.CorrespondingIndex, myServiceToken);
 }
示例#2
0
 internal RemoteUniqueDefinition(ServiceUniqueDefinition myUniqueDefinition, IServiceToken myServiceToken)
 {
     this.UniquePropertyDefinitions = myUniqueDefinition.UniquePropertyDefinition.Select(x => (IPropertyDefinition) new RemotePropertyDefinition(x, myServiceToken));
     this.DefiningVertexType        = new RemoteVertexType(myUniqueDefinition.DefiningVertexType, myServiceToken);
     this.CorrespondingIndex        = new RemoteIndexDefinition(myUniqueDefinition.CorrespondingIndex, myServiceToken);
 }