Beispiel #1
0
        public void Insert()
        {
            QueryLite query = new QueryLite(ConfigurationManager.ConnectionStrings["EbabobaConnectionString"].ConnectionString);

            query.Add("insert into Card");
            query.AddInsertValues(new List <string>()
            {
                this.Name, this.CardId, this.CurrencyId
            });
            query.Execute();
            query.Clear();
        }
Beispiel #2
0
        public void Insert()
        {
            QueryLite query = new QueryLite(ConfigurationManager.ConnectionStrings["EbabobaConnectionString"].ConnectionString);

            query.Add("insert into Schedule");
            query.AddInsertValues(new List <string>()
            {
                this.CardId, this.Date, this.Frequency, this.Sum, this.TypeId, this.IsIncome
            });

            query.Execute();
            query.Clear();
        }
Beispiel #3
0
        public void Insert()
        {
            QueryLite query = new QueryLite(ConfigurationManager.ConnectionStrings["EbabobaConnectionString"].ConnectionString);

            query.Add("insert into TransactionType");
            query.AddInsertValues(new List <string>()
            {
                this.Name, this.IsIncome
            });

            query.Execute();
            query.Clear();
        }