Exemplo n.º 1
0
    //TODO: Should this take Roar.Callback<CT> instead?a
    public bool Fetch(Roar.Callback <IDictionary <string, CT> > cb, Hashtable p, bool persist)
    {
        // Bail out if call for this Model is already underway
        if (this.isServerCalling)
        {
            return(false);
        }

        getter.get(new OnFetch(cb, this));

        this.isServerCalling = true;
        return(true);
    }