public EmployeeForm() { this.oEmployee = (Employee)this.RegisterPrimaryBizObj(new OakLeaf.MM.NorthwindSample.Main.Business.Employee()); InitializeComponent(); this.grdEmployees.AutoGenerateColumns = false; // Retrieve all employees this.oEmployee.GetAllEntities(); // Specify the Navigation control this.NavControl = this.grdEmployees; this.oEmployee.CallStateChange(mmBusinessState.Bind); }and some more code
// Get a list of all Shippers this.Shipper.GetAllData(); // Get a list of all Employees this.Employee.GetAllData();In the above two code blocks I see GetAllEntities() being called
// Retrieve all employees this.oEmployee.GetAllEntities();and GetAllData() being called
// Get a list of all Shippers this.Shipper.GetAllData();My question is what is the difference between GetAllEntities() and GetAllData() and when/why should you use once over the other?