@@ -139,7 +139,7 @@ This repository is an extension based on Volo Abp(https://github.com/abpframewor
139
139
```
140
140
7 . Implement temp table repository in the EntityFrameworkCore layer
141
141
```C #
142
- public class YourTempTableRepository : EfCoreTempTableRepository <IYourDbContext >, IYourTempTableRepository , ITransientDependency
142
+ public class YourTempTableRepository : EfCoreTempTableRepository <YourDbContext , IYourDbContext >, IYourTempTableRepository , ITransientDependency
143
143
{
144
144
public YourTempTableRepository (IDbContextProvider <IYourDbContext > dbContextProvider )
145
145
: base (dbContextProvider )
@@ -216,7 +216,9 @@ This repository is an extension based on Volo Abp(https://github.com/abpframewor
216
216
< / Item >
217
217
< / SqlScripts >
218
218
```
219
- Note : [Namespace ] and [DatabaseProvider ] are correctly filled in the xml
219
+ > Note :
220
+ > 1 . [Namespace ] and [DatabaseProvider ] are correctly filled in the xml
221
+ > 2 . The handling of SQL string placeholder parameters (not query parameters ) uses the `Scriban `(https :// github.com/scriban/scriban) library. Please pay attention to the parameter settings.
220
222
221
223
+ Configure `SqlScriptOptions ` and add DependsOn in your EntityFrameworkCoreModule
222
224
```C #
@@ -235,7 +237,7 @@ This repository is an extension based on Volo Abp(https://github.com/abpframewor
235
237
Note : [YourDefinedSqlScriptNamespace ] is same as xml file [Namespace ]
236
238
5 . Implement sql script repository in the EntityFrameworkCore layer
237
239
```C #
238
- public class YourSqlScriptRepository : SqlScriptRepository <IYourDbContext >, IYourSqlScriptRepository , ITransientDependency
240
+ public class YourSqlScriptRepository : SqlScriptRepository < YourDbContext , IYourDbContext > , IYourSqlScriptRepository , ITransientDependency
239
241
{
240
242
public YourSqlScriptRepository (IDbContextProvider < IProductManagementDbContext > dbContextProvider , ISqlScriptProvider sqlScriptProvider )
241
243
: base (dbContextProvider , sqlScriptProvider )
0 commit comments