Пример #1
0
        public void Insert(SqlObject record)
        {
            string select = new Statement().Insert(record).Scope(record.FormatNames()).Values(record.FormatValues()) +
                            ";";

            RunNonQuery(select);
        }
Пример #2
0
        public void Insert(SqlObject tableModel, SqlObject records)
        {
            string select =
                new Statement().Insert(tableModel).Scope(tableModel.FormatNames()).Values(records.FormatValues()) + ";";

            RunNonQuery(select);
        }