private static void Main(string[] args) { new Simple(); Console.WriteLine($"Demo.Simple();{Environment.NewLine}"); var user = new User(); var department = new Department(); var iu = DataAccess.CreateUser(); iu.Insert(user); iu.GetUser(1); var id = DataAccess.CreateDepartment(); id.Insert(department); id.GetDepartment(2); Console.ReadKey(); }
public void Insert(User user) { Console.WriteLine("在Access中给User表增加一条记录"); }