public bool LoadData() { // Return if there's existing data //if (ds.Your_Entity_Set.Count() > 0) { return false; } // Otherwise... // Create and add objects // Save changes return true; }