Skip to content

Commit

Permalink
Feature : Change Base Sources
Browse files Browse the repository at this point in the history
  • Loading branch information
KTajerbashi committed Aug 3, 2024
1 parent 93d29e9 commit 7e895d5
Show file tree
Hide file tree
Showing 24 changed files with 956 additions and 675 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace CleanArchitectureCQRS.Domain.Library.Aggregates.People.Entities;

[Table("People", Schema = "Test"), Description("Users System")]
[Table("People", Schema = "BUS"), Description("Users System")]
public class Person : AggregateRoot<int>
{
#region Properties
Expand All @@ -30,6 +30,6 @@ public Person(string firstName, string lastName, string email, string phone)
public void ChangeFirstName(string firstName)
{
FirstName = firstName;
// AddEvent(new PersonNameChanged(Id, firstName));
// AddEvent(new PersonNameChanged(Id, firstName));
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using CleanArchitectureCQRS.CommandsDb.Library.BaseCommandInfrastrcture.Extensions;
using CleanArchitectureCQRS.ContextDatabase.Library.ValueConversions;
using CleanArchitectureCQRS.Domain.Library.BaseDomain.ValueObjects;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage;
Expand All @@ -12,7 +13,7 @@ namespace CleanArchitectureCQRS.CommandsDb.Library.BaseCommandInfrastrcture;
/// <summary>
///
/// </summary>
public abstract class BaseCommandDbContext : DbContext
public abstract class BaseCommandDbContext : IdentityDbContext
{
protected IDbContextTransaction _transaction;

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 7e895d5

Please sign in to comment.