private bool LoadByPrimaryKeyDynamic(System.Int32 id) { ShippingLogQuery query = new ShippingLogQuery(); query.Where(query.Id == id); return(this.Load(query)); }
protected void InitQuery(ShippingLogQuery query) { query.OnLoadDelegate = this.OnQueryLoaded; if (!query.es2.HasConnection) { query.es2.Connection = ((IEntityCollection)this).Connection; } }
public static List <ShippingLog> LoadAll() { ShippingLogQuery q = new ShippingLogQuery(); ShippingLogCollection shippingLogCollection = new ShippingLogCollection(); shippingLogCollection.LoadAll(); return(shippingLogCollection.ToList()); }
internal ShippingLogCollection GetShippingLogEntries() { ShippingLogCollection log = new ShippingLogCollection(); ShippingLogQuery q = new ShippingLogQuery(); q.Where(q.CartId == this.CreatedFromCartId); log.Load(q); return(log); }
public bool Load(ShippingLogQuery query) { this.query = query; InitQuery(this.query); return(Query.Load()); }