public void Add() { Emp_Cust e = sbo.GetEmp_Cust("oQaIMwPgnsBpwQYfwLQnUBbmQKS10"); if (e == null) { e = new Emp_Cust(); e.EmpId = int.Parse("10008"); e.FromUserName = "******"; e.CreateTime = DateTime.Now; sbo.AddEmp_Cust(e); } }