Skip to content

Commit

Permalink
Minor clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBasarab committed Jun 29, 2012
1 parent 497e5b8 commit e235c93
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -24,8 +24,7 @@ public double AverageExecutionTime
{
get
{
return ExecutionTimes
.Average();
return ExecutionTimes.Average();
}
}

Expand Down Expand Up @@ -68,7 +67,7 @@ public void WhenUsingAStoreProcedureToReadARecord()

var keyID = (i % 2) + 1;

var item = Database<NarrowSmallData>.GetRecord("YadaTesting.dbo.GetNarrowSmallDataByID", new Parameter("SmallDataID", keyID));
var item = Database<NarrowSmallData>.GetRecord("YadaTesting.dbo.GetNarrowSmallDataByID", Parameter.Create("SmallDataID", keyID));

stopWatch.Stop();

Expand Down

0 comments on commit e235c93

Please sign in to comment.