Hi,
What is the best way for getting values ?
Ex:
I have this class
public class LocalizedString
{
public string lang { get; set; }
public string localizedstring { get; set; }
}
[CollectionName("publicreferential")]
public class PublicReferential
{
public string uid { get; set; }
public string code { get; set; }
public List<LocalizedString> name { get; set; }
public PublicReferential()
{
name = new List<LocalizedString>();
}
}
i have this schema
schema.propertyKey('uid').Text().single().create()
schema.propertyKey('code').Text().create()
schema.propertyKey('lang').Text().create()
schema.propertyKey('localizedstring').Text().multiple().properties('lang').create()
schema.vertexLabel('publicreferential').partitionKey('uid').clusteringKey('code').properties('localizedstring').create()
what is the best way for query the vertex and get values into an instance of this class ?
I want to retrieve one instance of partotionkey/cluserting key or all instances of partition key
another question ?
thanks
thierry