private bool LoadByPrimaryKeyDynamic(System.Int32 id)
        {
            esOffShoreFundPricesQuery query = this.GetDynamicQuery();

            query.Where(query.Id == id);
            return(query.Load());
        }
 protected void InitQuery(esOffShoreFundPricesQuery query)
 {
     query.OnLoadEvent  += new esDynamicQuery.QueryLoadedDelegate(OnQueryLoaded);
     query.es.Connection = ((IEntity)this).Connection;
 }