public EmbeeObjectCollection FetchAll() { EmbeeObjectCollection coll = new EmbeeObjectCollection(); Query qry = new Query(EmbeeObject.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public EmbeeObjectCollection FetchByQuery(Query qry) { EmbeeObjectCollection coll = new EmbeeObjectCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public EmbeeObjectCollection FetchByID(object EmbeeObjectKey) { EmbeeObjectCollection coll = new EmbeeObjectCollection().Where("embee_object_key", EmbeeObjectKey).Load(); return coll; }