コード例 #1
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>
 /// <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();
 }
コード例 #2
0
 SqlContainer.Update.IUpdate SqlContainer.Update.IWithPartitionKey.WithPartitionKey(IList <string> paths, Models.PartitionKind kind, int?version)
 {
     return(this.WithPartitionKey(paths, kind, version));
 }
コード例 #3
0
 SqlContainer.Definition.IWithAttach <UpdateParentT> SqlContainer.Definition.IWithPartitionKey <UpdateParentT> .WithPartitionKey(IList <string> paths, Models.PartitionKind kind, int?version)
 {
     return(this.WithPartitionKey(paths, kind, version));
 }
コード例 #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();
 }
コード例 #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));
 }
コード例 #6
0
 GremlinGraph.Update.IUpdate GremlinGraph.Update.IWithPartitionKey.WithPartitionKey(IList <string> paths, Models.PartitionKind kind, int?version)
 {
     return(this.WithPartitionKey(paths, kind, version));
 }
コード例 #7
0
 SqlContainer.Definition.IWithAttach <UpdateParentT> SqlContainer.Definition.IWithPartitionKey <UpdateParentT> .WithPartitionKey(Models.PartitionKind kind, int?version)
 {
     return(this.WithPartitionKey(kind, version));
 }
コード例 #8
0
 SqlContainer.Update.IUpdate SqlContainer.Update.IWithPartitionKey.WithPartitionKey(Models.PartitionKind kind, int?version)
 {
     return(this.WithPartitionKey(kind, version));
 }