示例#1
0
        public void UpdateDbObject(IDatabaseObject dbObject)
        {
            var conn = GetOpenConnection();

            if (dbObject.Exists(conn))
            {
                dbObject.Drop(conn);
            }
            dbObject.Create(conn);
            dbObject.SetConstraints(conn);
        }