Exemple #1
0
        public PSMongoIndexKeys(MongoIndexKeys mongoIndexKeys)
        {
            if (mongoIndexKeys == null)
            {
                return;
            }

            Keys = mongoIndexKeys.Keys;
        }
Exemple #2
0
 public MongoCollectionImpl WithIndex(MongoIndexKeys key, MongoIndexOptions option)
 {
     return(this.WithIndex(new MongoIndex(key: key, options: option)));
 }
 public PSMongoIndexKeys(MongoIndexKeys mongoIndexKeys)
 {
     Keys = mongoIndexKeys.Keys;
 }
 internal MongoIndex(MongoIndexKeys key, MongoIndexOptions options)
 {
     Key     = key;
     Options = options;
 }
 MongoCollection.Definition.IWithAttach <UpdateParentT> MongoCollection.Definition.IWithIndex <UpdateParentT> .WithIndex(MongoIndexKeys key, MongoIndexOptions option)
 {
     return(this.WithIndex(key, option));
 }
 MongoCollection.Update.IUpdate MongoCollection.Update.IWithIndex.WithIndex(MongoIndexKeys key, MongoIndexOptions option)
 {
     return(this.WithIndex(key, option));
 }