In C#, is there a way to create a method which could return either Predicate or FilterDefinition?

前端 未结 0 764
生来不讨喜
生来不讨喜 2021-01-27 02:17

I have the following code:

     IMongoCollection collection = _database.GetWriteCollection(typeName);
     collection.DeleteMany(x => inclu         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题