/// <summary> /// http://docs.mongodb.org/meta-driver/latest/legacy/implement-authentication-in-driver/ /// </summary> /// <param name="connection"></param> /// <param name="UserName"></param> /// <param name="KeyDigest"></param> /// <param name="nonce"></param> public AuthenticateCommand(ISimoConnection connection, Reconnection recCallback, string UserName, string KeyDigest, string nonce) : base(connection, recCallback, new { authenticate = 1.0, user = UserName, nonce = nonce, key = KeyDigest }) { }
public DropCollectionCommand(ISimoConnection connection, Reconnection OnReconnect) : base(connection, OnReconnect, null) { }
public DeleteDocumentsCommand(ISimoConnection connection, Reconnection recCallback) : base(connection, recCallback) { }
protected SimoCommand(ISimoConnection connection, Reconnection OnReconnect) { Connection = connection; ReconnectionCallback = OnReconnect; }
public GetLastErrorCommand(ISimoConnection connection, Reconnection OnReconnect) : base(connection, OnReconnect, new { getlasterror = 1.0 }) { }
public DropDatabaseCommand(ISimoConnection connection, Reconnection OnReconnect) : base(connection, OnReconnect, new { dropDatabase = 1.0 }) { }
public GetNonceCommand(ISimoConnection connection, Reconnection OnReconnect) : base(connection, OnReconnect, new { getnonce = 1.0 }) { }
public UpdateDocumentsCommand(ISimoConnection connection, Reconnection recCallback) : base(connection, recCallback) { Mode = UpdateModes.Upsert; }