-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
19 changed files
with
75 additions
and
447 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
56 changes: 0 additions & 56 deletions
56
Wilcommerce.Core.Data.EFCore.Test/Fixtures/CommonContextFixture.cs
This file was deleted.
Oops, something went wrong.
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
20 changes: 20 additions & 0 deletions
20
Wilcommerce.Core.Data.EFCore.Test/Fixtures/NewAdministratorCreatedEvent.cs
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
using Wilcommerce.Core.Infrastructure; | ||
|
||
namespace Wilcommerce.Core.Data.EFCore.Test.Fixtures | ||
{ | ||
public class NewAdministratorCreatedEvent : DomainEvent | ||
{ | ||
public Guid UserId { get; private set; } | ||
public string Name { get; private set; } | ||
public string Email { get; private set; } | ||
|
||
public NewAdministratorCreatedEvent(Guid userId, string name, string email) | ||
: base(userId ,typeof(NewAdministratorCreatedEvent)) | ||
{ | ||
UserId = userId; | ||
Name = name; | ||
Email = email; | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
Wilcommerce.Core.Data.EFCore.Test/Fixtures/UserDisabledEvent.cs
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
using Wilcommerce.Core.Infrastructure; | ||
|
||
namespace Wilcommerce.Core.Data.EFCore.Test.Fixtures | ||
{ | ||
public class UserDisabledEvent : DomainEvent | ||
{ | ||
public Guid UserId { get; private set; } | ||
|
||
public UserDisabledEvent(Guid userId) | ||
: base(userId, typeof(UserDisabledEvent)) | ||
{ | ||
UserId = userId; | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
Wilcommerce.Core.Data.EFCore.Test/Fixtures/UserEnabledEvent.cs
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
using Wilcommerce.Core.Infrastructure; | ||
|
||
namespace Wilcommerce.Core.Data.EFCore.Test.Fixtures | ||
{ | ||
public class UserEnabledEvent : DomainEvent | ||
{ | ||
public Guid UserId { get; private set; } | ||
|
||
public UserEnabledEvent(Guid userId) | ||
: base(userId, typeof(UserEnabledEvent)) | ||
{ | ||
UserId = userId; | ||
} | ||
} | ||
} |
37 changes: 0 additions & 37 deletions
37
Wilcommerce.Core.Data.EFCore.Test/ReadModels/CommonDatabaseTest.cs
This file was deleted.
Oops, something went wrong.
52 changes: 0 additions & 52 deletions
52
Wilcommerce.Core.Data.EFCore.Test/Repository/RepositoryTest.cs
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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
4 changes: 2 additions & 2 deletions
4
....Core.Data.EFCore/Events/EventsContext.cs → ...ommerce.Core.Data.EFCore/EventsContext.cs
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
28 changes: 0 additions & 28 deletions
28
src/Wilcommerce.Core.Data.EFCore/Mapping/GeneralSettingsMapping.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.