Example #1
0
        //插入返回自增iD
        static void InsertWithId()
        {
            Person person = new Person()
            {
                Name = "Bill", Age = 14
            };
            int Id = PersonDB.InsertWithId(person);

            Console.WriteLine($"该条记录在数据库中的Id是{Id }");
        }