potential rewrite of DAM to be single non-generic instance
This commit is contained in:
@ -44,5 +44,15 @@ namespace COA.EnterpriseServices.DataAccess.EntityFramework
|
||||
.ToList();
|
||||
}
|
||||
}
|
||||
|
||||
public ICollection<T> Raw(string command, params object[] parameters)
|
||||
{
|
||||
using (var context = new QuickBaseContext())
|
||||
{
|
||||
return context.Set<T>()
|
||||
.FromSqlRaw(command, parameters)
|
||||
.ToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user