//SQL Server CE doesn't support stored procedures. public void CallStoredProcedure() { using (var entities = new IdEntities()) { var result = entities.MaxRoot(); } }
public void CallStoredProcedure() { double result; using (var entities = new IdEntities()) { result = entities.MaxRoot().FirstOrDefault().GetValueOrDefault(); } Assert.AreEqual(Math.Sqrt(TestSeeds), result); }