private bool LoadByPrimaryKeyDynamic(System.String id) { AspNetRolesQuery query = new AspNetRolesQuery(); query.Where(query.Id == id); return(this.Load(query)); }
protected void InitQuery(AspNetRolesQuery query) { query.OnLoadDelegate = this.OnQueryLoaded; if (!query.tg2.HasConnection) { query.tg2.Connection = ((IEntityCollection)this).Connection; } }
public bool Load(AspNetRolesQuery query) { this.query = query; InitQuery(this.query); return(Query.Load()); }