Ejemplo n.º 1
0
        static public void insertTicks(DateTime Stamp, int Price)
        {
            AlsiDBDataContext dc = new AlsiDBDataContext();
            int p = Price;

            RawTick c = new RawTick
            {
                Stamp = Stamp,
                Price = p

            };


            dc.RawTicks.InsertOnSubmit(c);
            dc.SubmitChanges();

        }
 partial void UpdateRawTick(RawTick instance);
 partial void DeleteRawTick(RawTick instance);
 partial void InsertRawTick(RawTick instance);