Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 707507d

Browse files
IssueRepository
1 parent 289c30a commit 707507d

File tree

9 files changed

+34
-8
lines changed

9 files changed

+34
-8
lines changed

‎src/AspnetRun.Infrastructure/Data/AspnetRunContext.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using Microsoft.EntityFrameworkCore;
33
using Microsoft.EntityFrameworkCore.Metadata.Builders;
44

5-
namespace AspnetRun.Infrastructure.Persistence
5+
namespace AspnetRun.Infrastructure.Data
66
{
77
public class AspnetRunContext : DbContext
88
{

‎src/AspnetRun.Infrastructure/Data/AspnetRunContextSeed.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using System.Linq;
77
using System.Threading.Tasks;
88

9-
namespace AspnetRun.Infrastructure.Persistence
9+
namespace AspnetRun.Infrastructure.Data
1010
{
1111
public class AspnetRunContextSeed
1212
{

‎src/AspnetRun.Infrastructure/Migrations/20190321052921_Initial.Designer.cs‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/AspnetRun.Infrastructure/Migrations/AspnetRunContextModelSnapshot.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// <auto-generated />
22
using System;
3-
using AspnetRun.Infrastructure.Persistence;
3+
using AspnetRun.Infrastructure.Data;
44
using Microsoft.EntityFrameworkCore;
55
using Microsoft.EntityFrameworkCore.Infrastructure;
66
using Microsoft.EntityFrameworkCore.Metadata;

‎src/AspnetRun.Infrastructure/Repository/AspnetRunRepository.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using AspnetRun.Core.Entities;
22
using AspnetRun.Core.Interfaces;
3-
using AspnetRun.Infrastructure.Persistence;
3+
using AspnetRun.Infrastructure.Data;
44
using Microsoft.EntityFrameworkCore;
55
using System;
66
using System.Collections.Generic;

‎src/AspnetRun.Infrastructure/Repository/CategoryRepository.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using AspnetRun.Core.Entities;
22
using AspnetRun.Core.Interfaces;
33
using AspnetRun.Core.Specifications;
4-
using AspnetRun.Infrastructure.Persistence;
4+
using AspnetRun.Infrastructure.Data;
55
using System.Linq;
66
using System.Threading.Tasks;
77

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
using AspnetRun.Core.Entities;
2+
using AspnetRun.Core.Interfaces;
3+
using AspnetRun.Infrastructure.Data;
4+
using System;
5+
using System.Collections.Generic;
6+
using System.Text;
7+
8+
namespace AspnetRun.Infrastructure.Repository
9+
{
10+
public class IssueRepository : AspnetRunRepository<Issue>, IIssueRepository
11+
{
12+
public IssueRepository(AspnetRunContext dbContext) : base(dbContext)
13+
{
14+
}
15+
16+
public List<Issue> GetCommentsWithCreatorUsers(int issueId)
17+
{
18+
throw new NotImplementedException();
19+
}
20+
21+
public int GetOpenIssueCountOfUser(int userId)
22+
{
23+
throw new NotImplementedException();
24+
}
25+
}
26+
}

‎src/AspnetRun.Infrastructure/Repository/ProductRepository.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using AspnetRun.Core.Entities;
22
using AspnetRun.Core.Interfaces;
33
using AspnetRun.Core.Specifications;
4-
using AspnetRun.Infrastructure.Persistence;
4+
using AspnetRun.Infrastructure.Data;
55
using Microsoft.EntityFrameworkCore;
66
using System;
77
using System.Collections.Generic;

‎test/AspnetRun.Infrastructure.Tests/Repositories/ProductGetById.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using AspnetRun.Infrastructure.Persistence;
1+
using AspnetRun.Infrastructure.Data;
22
using AspnetRun.Infrastructure.Repository;
33
using AspnetRun.Infrastructure.Tests.Builders;
44
using Microsoft.EntityFrameworkCore;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /