[CSHARP-1043] Use Core's ReadPreference in Legacy API Created: 19/Aug/14  Updated: 02/Apr/15  Resolved: 29/Aug/14

Status: Closed
Project: C# Driver
Component/s: API
Affects Version/s: None
Fix Version/s: 2.0

Type: Improvement Priority: Minor - P4
Reporter: Craig Wilson Assignee: Craig Wilson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Adopt Core Library
Backwards Compatibility: Minor Change

 Description   

Core needs the concept of a ReadPreference and there should only be one throughout our APIs. As such, the Core ReadPreference will be moved into the MongoDB.Driver namespace and the existing ReadPreference will be removed.

This is a minor breaking change for users who are constructing read preferences manually.



 Comments   
Comment by Githook User [ 29/Aug/14 ]

Author:

{u'username': u'craiggwilson', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}

Message: CSHARP-1043: Moved ReadPreference into Core.

Conflicts:
src/MongoDB.Driver.Tests/MockOperationExecutor.cs
src/MongoDB.Driver/IOperationExecutor.cs
src/MongoDB.Driver/MongoClient.cs
src/MongoDB.Driver/MongoCollectionImpl.cs
src/MongoDB.Driver/MongoDatabaseImpl.cs
src/MongoDB.Driver/OperationExecutor.cs
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/5fee264d80ce97b393a98a425569af4bc226eba9

Generated at Wed Feb 07 21:38:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.