-
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d7c0c2
commit 4746012
Showing
3 changed files
with
7 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,7 @@ | ||
### NEW | ||
|
||
ability to use any type for primary key property and ability to name it based on mongodb conventions when implementing `IEntity` interface. | ||
|
||
**NOTE:** due to a technical constraint, only the following primary key types are supported with referenced relationships. | ||
|
||
- string | ||
- long | ||
- ObjectId | ||
|
||
see #195 for more info. | ||
[//]: # (### NEW) | ||
|
||
### IMPROVEMENTS | ||
|
||
- `Entity.ID` property has been made non-nullable #210 | ||
- support for dictionary based index keys #206 | ||
- upgrade mongodb driver to v2.22 | ||
- various internal code refactors and optimizations | ||
|
||
### BREAKING CHANGES | ||
- upgrade mongodb driver to v2.23 | ||
|
||
- `Many<T>` is now `Many<TChild,TParent>` when defining referenced relationships. i.e. you now need to specify the type of the parent class that contains the property. | ||
- `IEntity.GenerateNewID()` & `IEntity.HasDefaultID()` method must be implemented by entities if implementing `IEntity` directly. | ||
[//]: # (### BREAKING CHANGES) |