private void SaveForces() { foreach (var force in Forces.Where(force => force.Changed)) { force.SaveChanges(); } }
//public ISteelMaterial Material { get; set; } public List <IMemberForce> GetForce(string LoadCaseName) { var f = Forces.Where(a => a.LoadCaseName == LoadCaseName).ToList(); if (f == null) { throw new Exception("Member force for load combination not found"); } return(f); }