private void WriteResultsToDatabase(AlsiSimDataContext dc, tblSequence seq, double profit) { var r = new tblResult_5Min_D() { Profit = profit, Sequence = seq.Sequence + " l:" + _Seq.Lookback + " H:" + _Seq.Upper + " L:" + _Seq.Lower, Trades = 0, Notes = " l:" + _Seq.Lookback + " H:" + _Seq.Upper + " L:" + _Seq.Lower, }; dc.tblResult_5Min_Ds.InsertOnSubmit(r); dc.SubmitChanges(); }
partial void UpdatetblSequence(tblSequence instance);
partial void DeletetblSequence(tblSequence instance);
partial void InserttblSequence(tblSequence instance);
private void WriteResultsToDatabase(AlsiSimDataContext dc,tblSequence seq, double profit) { var r = new tblResult_5Min_D() { Profit=profit, Sequence=seq.Sequence+" l:"+_Seq.Lookback+" H:"+_Seq.Upper+" L:"+_Seq.Lower, Trades=0, Notes = " l:" + _Seq.Lookback + " H:" + _Seq.Upper + " L:" + _Seq.Lower, }; dc.tblResult_5Min_Ds.InsertOnSubmit(r); dc.SubmitChanges(); }