예제 #1
0
        public async Task <string> FindOneAndReplaceAsync(string dbName)
        {
            var api    = new MongoDB2_6Api(dbName);
            var entity = await api.FindOneAndReplaceAsync();

            return("Entity Name: " + (entity == null ? "null entity" : entity.Name));
        }