public InfoSecurityQuestionCollection FetchAll() { InfoSecurityQuestionCollection coll = new InfoSecurityQuestionCollection(); Query qry = new Query(InfoSecurityQuestion.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public InfoSecurityQuestionCollection FetchByQuery(Query qry) { InfoSecurityQuestionCollection coll = new InfoSecurityQuestionCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public InfoSecurityQuestionCollection FetchByID(object InfoSecurityQuestionsKey) { InfoSecurityQuestionCollection coll = new InfoSecurityQuestionCollection().Where("info_security_questions_key", InfoSecurityQuestionsKey).Load(); return coll; }