Skip to content

Conversation

@zhenlei520
Copy link
Contributor

Breaking Changes

  • Isolation: The configuration is modified to
    {
      "ConnectionStrings": {
        "DefaultConnection": "server=localhost;uid=sa;pwd=P@ssw0rd;database=identity;"
      },
      "IsolationConnectionStrings": [
        {
          "TenantId": "*",//match all tenants
          "Environment": "development",
          "ConnectionString": "server=localhost,1434;uid=sa;pwd=P@ssw0rd;database=identity;",
          "Score": 99 //When multiple environments are matched according to the conditions, the highest one is selected as the link address of the current DbContext according to the descending order of scores. The default Score is 100.
        },
        {
          "TenantId": "00000000-0000-0000-0000-000000000002",
          "Environment": "development",
          "ConnectionString": "server=localhost,1435;uid=sa;pwd=P@ssw0rd;database=identity;"
        }
      ]
    }
    

Chores

  • Change .editorconfig

Features

  • Data.Contracts: Add ISoftDeleteIDataFilter
  • Data: Add Masa.Contrib.Data.EntityFrameworkCore

Docs:

  • Isolation.UoW.EF: Modify the Readme document

Refactors

  • Data.UoW: IDbConnectionStringProvider moved to Masa.BuildingBlocks.Data
  • Isolation: Delete IIsolationDbConnectionStringProvider

@zhenlei520 zhenlei520 added documentation Improvements or additions to documentation enhancement New feature or request labels May 9, 2022
@zhenlei520 zhenlei520 requested a review from doddgu May 9, 2022 10:00
public interface IModelCreatingProvider
{
/// <summary>
///
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Copy link
Contributor

@doddgu doddgu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@doddgu doddgu merged commit 3cda4dd into main May 10, 2022
@doddgu doddgu deleted the refactor/softdelete branch May 10, 2022 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants