/// <summary>
 /// Initializes a new instance of the ContainerPartitionKey class.
 /// </summary>
 /// <param name="paths">List of paths using which data within the
 /// container can be partitioned</param>
 /// <param name="kind">Indicates the kind of algorithm used for
 /// partitioning. Possible values include: 'Hash', 'Range'</param>
 /// <param name="version">Indicates the version of the partition key
 /// definition</param>
 public ContainerPartitionKey(IList <string> paths = default(IList <string>), PartitionKind kind = default(PartitionKind), int?version = default(int?))
 {
     Paths   = paths;
     Kind    = kind;
     Version = version;
     CustomInit();
 }
 SqlContainer.Update.IUpdate SqlContainer.Update.IWithPartitionKey.WithPartitionKey(IList <string> paths, Models.PartitionKind kind, int?version)
 {
     return(this.WithPartitionKey(paths, kind, version));
 }
 SqlContainer.Definition.IWithAttach <UpdateParentT> SqlContainer.Definition.IWithPartitionKey <UpdateParentT> .WithPartitionKey(IList <string> paths, Models.PartitionKind kind, int?version)
 {
     return(this.WithPartitionKey(paths, kind, version));
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the ContainerPartitionKey class.
 /// </summary>
 /// <param name="paths">List of paths using which data within the
 /// container can be partitioned</param>
 /// <param name="kind">Indicates the kind of algorithm used for
 /// partitioning. Possible values include: 'Hash', 'Range'</param>
 public ContainerPartitionKey(IList <string> paths = default(IList <string>), PartitionKind kind = default(PartitionKind))
 {
     Paths = paths;
     Kind  = kind;
     CustomInit();
 }
Exemplo n.º 5
0
 GremlinGraph.Definition.IWithAttach <UpdateDefinitionParentT> GremlinGraph.Definition.IWithPartitionKey <UpdateDefinitionParentT> .WithPartitionKey(IList <string> paths, Models.PartitionKind kind, int?version)
 {
     return(this.WithPartitionKey(paths, kind, version));
 }
Exemplo n.º 6
0
 GremlinGraph.Update.IUpdate GremlinGraph.Update.IWithPartitionKey.WithPartitionKey(IList <string> paths, Models.PartitionKind kind, int?version)
 {
     return(this.WithPartitionKey(paths, kind, version));
 }
 SqlContainer.Definition.IWithAttach <UpdateParentT> SqlContainer.Definition.IWithPartitionKey <UpdateParentT> .WithPartitionKey(Models.PartitionKind kind, int?version)
 {
     return(this.WithPartitionKey(kind, version));
 }
 SqlContainer.Update.IUpdate SqlContainer.Update.IWithPartitionKey.WithPartitionKey(Models.PartitionKind kind, int?version)
 {
     return(this.WithPartitionKey(kind, version));
 }