protected override Dictionary <string, ProgramPlanRecord> GetData(IEnumerable <string> primaryKeys) { Dictionary <string, ProgramPlanRecord> records = new Dictionary <string, ProgramPlanRecord>(); foreach (ProgramPlanRecord each in QueryProgramPlan.GetProgramPlans(primaryKeys)) { records.Add(each.ID, each); } return(records); }
protected override Dictionary <string, ProgramPlanRecord> GetAllData() { Dictionary <string, ProgramPlanRecord> records = new Dictionary <string, ProgramPlanRecord>(); foreach (ProgramPlanRecord each in QueryProgramPlan.GetAllProgramPlans()) { records.Add(each.ID, each); } return(records); }