Example #1
0
        static void Main(string[] args)
        {
            UpdateDatabase();

            using (var ctx = new FluentModel())
            {
                var pesho = new Stefan() { Name = "stefannnn" };
                ctx.Add(pesho);
                ctx.Delete(pesho);
                ctx.SaveChanges();

            }

            Console.Write("Database update complete! Press any key to close.");
            Console.ReadKey();
        }