Ejemplo n.º 1
0
        public static StoryKickCollection FetchByUserID(int userID)
        {
            StoryKickCollection storyKicks = new StoryKickCollection();

            storyKicks.LoadAndCloseReader(StoryKick.FetchByParameter(StoryKick.Columns.UserID, userID));
            return(storyKicks);
        }
Ejemplo n.º 2
0
        public StoryKickCollection FetchByQuery(Query qry)
        {
            StoryKickCollection coll = new StoryKickCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 3
0
        public StoryKickCollection FetchAll()
        {
            StoryKickCollection coll = new StoryKickCollection();
            Query qry = new Query(StoryKick.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 4
0
        public StoryKickCollection FetchByID(object StoryKickID)
        {
            StoryKickCollection coll = new StoryKickCollection().Where("StoryKickID", StoryKickID).Load();

            return(coll);
        }