This repository has been archived by the owner on Dec 14, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AR-302.xml
58 lines (58 loc) · 2.46 KB
/
AR-302.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0" encoding="utf-8"?>
<issues>
<issue>
<field name="Priority">
<value>Normal</value>
</field>
<field name="Type">
<value>Feature</value>
</field>
<field name="State">
<value>Won't fix</value>
</field>
<field name="Assignee" />
<field name="Subsystem">
<value>No subsystem</value>
</field>
<field name="Fix versions" />
<field name="Affected versions">
<value>AR 3.0 RC</value>
</field>
<field name="Fixed in build" />
<field name="numberInProject">
<value>302</value>
</field>
<field name="summary">
<value>Get an instance of IQueryOver with ActiveRecord gracefully</value>
</field>
<field name="description">
<value>I use DetachedCriteria primarily, it has a static method For to construct an instance. But it seems IQueryOver is more favourable, I want to use it.
The normal way to get an instance of IQueryOver is Isession.Query, and I want get it with ActiveRecord gracefully.</value>
</field>
<field name="created">
<value>1303616512317</value>
</field>
<field name="updated">
<value>1414999766010</value>
</field>
<field name="reporterName">
<value>james_su</value>
</field>
<field name="updaterName">
<value>jonorossi</value>
</field>
<field name="resolved">
<value>1414999766006</value>
</field>
<field name="watcherName">
<value>User: id = 20-4[up-to-date]</value>
</field>
<field name="permittedGroup">
<value>All Users</value>
</field>
<comment author="james_su" text="var query = QueryOver.Of<PaidProduct>()
.Where(paid =>
 paid.Account.OrderNumber == orderNumber
 && paid.ProductDelivery.Product == product)
 .OrderBy(paid=>paid.ProductDelivery.DeliveredDate).Desc;
return ActiveRecordMediator<PaidProduct>.FindAll(query.DetachedCriteria);" created="1304041238469" />
<comment author="james_su" text="so, I want close this requirement, can I?" created="1304041301438" />
<comment author="henry" text="Not really, this should be a cool feature to have, without this workaround.
 " created="1304090363735" />
<comment author="jonorossi" text="ActiveRecord is not actively maintained, closing this issue as won't fix because of its age. Feel free to relog a new issue on GitHub:
https://github.com/castleproject/ActiveRecord/issues" created="1414999766012" />
</issue>
</issues>