potential rewrite of DAM to be single non-generic instance

This commit is contained in:
2020-10-15 23:05:21 -04:00
parent 82245a693f
commit 7ad01a2586
5 changed files with 181 additions and 5 deletions

View File

@ -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();
}
}
}
}