remove single Get()
This commit is contained in:
@ -2,7 +2,6 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using System.Text;
|
||||
|
||||
namespace COA.EnterpriseServices.DataAccess.EntityFramework
|
||||
{
|
||||
@ -32,11 +31,6 @@ namespace COA.EnterpriseServices.DataAccess.EntityFramework
|
||||
return true;
|
||||
}
|
||||
|
||||
public T Get(int id)
|
||||
{
|
||||
return Get(r => r.Id == id).FirstOrDefault();
|
||||
}
|
||||
|
||||
public ICollection<T> Get(Expression<Func<T, bool>> query)
|
||||
{
|
||||
using (var context = new QuickBaseContext())
|
||||
|
Reference in New Issue
Block a user