private bool LoadByPrimaryKeyDynamic(System.String keySub, System.Int32 keyId) { ReverseCompositeParentQuery query = new ReverseCompositeParentQuery(); query.Where(query.KeySub == keySub, query.KeyId == keyId); return(this.Load(query)); }
protected void InitQuery(ReverseCompositeParentQuery query) { query.OnLoadDelegate = this.OnQueryLoaded; if (!query.es2.HasConnection) { query.es2.Connection = ((IEntityCollection)this).Connection; } }
public bool Load(ReverseCompositeParentQuery query) { this.query = query; InitQuery(this.query); return(Query.Load()); }