private bool LoadByPrimaryKeyDynamic(System.Int32 shipperID) { ShippersQuery query = new ShippersQuery(); query.Where(query.ShipperID == shipperID); return(this.Load(query)); }
protected void InitQuery(ShippersQuery query) { query.OnLoadDelegate = this.OnQueryLoaded; if (!query.es2.HasConnection) { query.es2.Connection = ((IEntityCollection)this).Connection; } }
public bool Load(ShippersQuery query) { this.query = query; InitQuery(this.query); return(Query.Load()); }
public ShippersQuery(string joinAlias, out ShippersQuery query) { query = this; this.es.JoinAlias = joinAlias; }