摘要:
1、InstancePerDependency 对每一个依赖或每一次调用创建一个新的唯一的实例。这也是默认的创建实例的方式。 官方文档解释:Configure the component so that every dependent component or call to Resolve() g 阅读全文
摘要:
1.添加 创建或插入操作,将新文档添加到集合中。如果集合当前不存在,插入操作将创建集合。 提供了插入文档到一个集合中有以下方法 db.collection.insertOne() New in version 3.2 db.collection.insertMany() New in version 阅读全文