//using ErrorAnalysis.Repository.Entity;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace ErrorAnalysis.Repository
|
{
|
public class COFarResultRepository : RepositoryBase
|
{
|
public COFarResultRepository(string connectionString) : base(connectionString) { }
|
|
//public COFarResultTable GetCOFarResult(string modelId, int porosity, int sw)
|
//{
|
// using (var context = new RetMcnpDbContext(_connectionString))
|
// {
|
// var result = context.COFarResultTables.FirstOrDefault(x => x.ModelID == modelId && x.Porosity == porosity && x.Sw == sw);
|
// return result;
|
// }
|
//}
|
}
|
}
|