-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide a way to override YesSql configuration (#11713)
- Loading branch information
1 parent
b51608a
commit 8beac86
Showing
3 changed files
with
65 additions
and
8 deletions.
There are no files selected for viewing
3 changes: 2 additions & 1 deletion
3
src/OrchardCore/OrchardCore.Data.YesSql.Abstractions/IScopedIndexProvider.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
20 changes: 20 additions & 0 deletions
20
src/OrchardCore/OrchardCore.Data.YesSql.Abstractions/YesSqlOptions.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 YesSql; | ||
|
||
namespace OrchardCore.Data.YesSql.Abstractions; | ||
|
||
public class YesSqlOptions | ||
{ | ||
public int CommandsPageSize { get; set; } = 500; | ||
|
||
public bool QueryGatingEnabled { get; set; } = true; | ||
|
||
public IIdGenerator IdGenerator { get; set; } | ||
|
||
public ITableNameConvention TableNameConvention { get; set; } | ||
|
||
public IAccessorFactory IdentifierAccessorFactory { get; set; } | ||
|
||
public IAccessorFactory VersionAccessorFactory { get; set; } | ||
|
||
public IContentSerializer ContentSerializer { get; set; } | ||
} |
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