mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 10:37:55 +08:00
解决.NET 4.5与EF6 DatabaseGeneratedOption冲突问题
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace OpenAuth.Domain.Interface
|
||||
{
|
||||
public interface IUserRepository
|
||||
{
|
||||
User FindByAccount(string account);
|
||||
User FindById(string id);
|
||||
|
||||
IEnumerable<User> LoadUsers();
|
||||
|
||||
}
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace OpenAuth.Domain.Interface
|
||||
{
|
||||
public interface IUserRepository :IRepository<User>
|
||||
{
|
||||
User FindByAccount(string account);
|
||||
User FindById(string id);
|
||||
|
||||
IEnumerable<User> LoadUsers();
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user