Skip to content

Commit

Permalink
Updated interface to support DynamicsValue/fake-xrm-easy#172
Browse files Browse the repository at this point in the history
  • Loading branch information
jordimontana82 committed Jan 12, 2025
1 parent 7fb392c commit 3459c16
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
## [2.6.0]

### Changed

- Added extra parameter to definition of CreateEntity to know whether a record is being created from a Create or Upsert message. - https://github.com/DynamicsValue/fake-xrm-easy/issues/172

### Added
-

- Add new method to Initialize Files to support InMemory File Db - https://github.com/DynamicsValue/fake-xrm-easy/issues/157

## [2.5.0]
Expand Down
3 changes: 2 additions & 1 deletion src/FakeXrmEasy.Abstractions/IXrmFakedContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ public interface IXrmFakedContext: IXrmBaseContext
/// Create Entity
/// </summary>
/// <param name="e"></param>
/// <param name="isUpsert">To know if the record is being created as part of an upsert operation</param>
/// <returns></returns>
Guid CreateEntity(Entity e);
Guid CreateEntity(Entity e, bool isUpsert = false);

/// <summary>
/// Update Entity
Expand Down

0 comments on commit 3459c16

Please sign in to comment.