loading...

Discussion on: Tutorial: MongoDB With C# The Easy Way!

Collapse
djnitehawk profile image
Đĵ ΝιΓΞΗΛψΚ Author

with this library it's not possible to change the type of the default id as objectid was chosen to be the best option for >90% of cases. you can however simply add another property to store the ISBN and put an index on it so queries can be written on that instead of querying by the ID. imho it's a small price to pay considering the benefits offered by the library.