Exemplo n.º 1
0
 public void SaveToEntity()
 {
     Entity = new SqlServerSavableEntity(GetType().Name.ToLower());
     Entity.Attributes.Add("@id", Id);
     Entity.Attributes.Add("@ask", Ask);
     Entity.Attributes.Add("@bid", Bid);
     Entity.Attributes.Add("@open", Open);
     Entity.Attributes.Add("@high", High);
     Entity.Attributes.Add("@low", Low);
     Entity.Attributes.Add("@close", Close);
     Entity.Attributes.Add("@capture_time", CaptureTime);
     Entity.OutputParameters.Add(0);
 }
Exemplo n.º 2
0
        public void SaveToEntity()
        {
            Entity = new SqlServerSavableEntity(GetType().Name.ToLower());

            Entity.Attributes.Add("@global_price_id", GlobalPriceId);
        }