File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -111,11 +111,11 @@ var t5 = fsql.Select<Song>()
111111
112112``` csharp
113113using (var uow = fsql .CreateUnitOfWork ()) {
114- var songRepository = uow .GetRepository <Song , int >();
115- var tagRepository = uow .GetRepository <Tag , int >();
114+ var repo1 = uow .GetRepository <Song , int >();
115+ var repo2 = uow .GetRepository <Tag , int >();
116116
117- await songRepository .InsertAsync (new Song ());
118- await tagRepository .InsertAsync (new Tag ());
117+ await repo1 .InsertAsync (new Song ());
118+ await repo2 .InsertAsync (new Tag ());
119119 uow .Commit ();
120120}
121121```
@@ -168,9 +168,9 @@ public void ConfigureServices(IServiceCollection services) {
168168
169169Temporary disable:
170170``` csharp
171- var songRepository = fsql .GetRepository <Song , int >();
171+ var repoq = fsql .GetRepository <Song , int >();
172172
173- using (songRepository .DataFilter .Disable (" Tenant" )) {
173+ using (repo1 .DataFilter .Disable (" Tenant" )) {
174174 // Tenant Invalid
175175 }
176176// Tenant restore
You can’t perform that action at this time.
0 commit comments