public void Delete(Document selector)
{
DeleteMessage dm = new DeleteMessage();
dm.FullCollectionName = this.FullName;
dm.Selector = selector;
try{
this.connection.SendMessage(dm);
}catch(IOException ioe){
throw new MongoCommException("Could not delete document, communication failure", this.connection,ioe);
}
}