private bool LoadByPrimaryKeyDynamic(System.Int32 childId, System.Int32 parentKeyId, System.String parentKeySub)
        {
            ReverseCompositeChildQuery query = new ReverseCompositeChildQuery();

            query.Where(query.ChildId == childId, query.ParentKeyId == parentKeyId, query.ParentKeySub == parentKeySub);
            return(this.Load(query));
        }
        protected void InitQuery(ReverseCompositeChildQuery query)
        {
            query.OnLoadDelegate = this.OnQueryLoaded;

            if (!query.es2.HasConnection)
            {
                query.es2.Connection = ((IEntityCollection)this).Connection;
            }
        }
 public bool Load(ReverseCompositeChildQuery query)
 {
     this.query = query;
     InitQuery(this.query);
     return(Query.Load());
 }