public StudyStorageCollection FetchAll() { var coll = new StudyStorageCollection(); var qry = new Query(StudyStorage.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public StudyStorageCollection FetchByQuery(Query qry) { var coll = new StudyStorageCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public StudyStorageCollection FetchByID(object Guid) { StudyStorageCollection coll = new StudyStorageCollection().Where("GUID", Guid).Load(); return coll; }