static void Main(string[] args) { EmployeeDAL EmpDAL = new EmployeeDAL(); #region Insert Operation EmpDAL.InsertEmployee(new EmployeeEntity() {FirstName = "Kishor", LastName = "Naik", DOB = DateTime.Now}); #endregion #region Select Operation List<ORD.SpEmployeeResult> ListEmployee = EmpDAL.GetEmployeeData().ToList(); #endregion }
static void Main(string[] args) { EmployeeDAL EmpDAL = new EmployeeDAL(); #region Insert Operation EmpDAL.InsertEmployee(new EmployeeEntity() { FirstName = "Kishor", LastName = "Naik", DOB = DateTime.Now }); #endregion #region Select Operation List <ORD.SpEmployeeResult> ListEmployee = EmpDAL.GetEmployeeData().ToList(); #endregion }