Hi Team,
I am facing issue with my existing query after i upgraded to mongodb driver 2.10.3 from 1.9, the query which i am facing issue given below
IQueryable query = mongoDatabase.GetCollection(“MonitorProfileDB”).AsQueryable().
Where(a => a.MonitorUser.GetType() == typeof(DefaultMonitorUserInfo));
MongoDB Driver 1.9 :- query sending to mongdb server like below
{{ “MonitorUser._t.0” : { “$exists” : false }, “MonitorUser._t” : “DefaultMonitorUserInfo” }}
MongoDB Driver 2.10.3 :- query sending to mongodb server like below
{{ “MonitorUser._t.0” : { “$exists” : false }, “MonitorUser._t” : “MongoDriver1._9.DefaultMonitorUserInfo, MongoDriver1.9” }}
Note :- because of the _t value sending full assembly name data not filtering properly.
Kindly please help me to resolve this issue.