Hi,

I don't see how that kind of requirement can have anything to do with the
specification pattern. The joining is a mapping issue and the result is a
projection issue.

/G

2011/8/20 周荣萌 <[email protected]>

> Hello,
>
>  now , I have two entities as blow:
>
>  class A{
>
>  int Id;
>
>   public string FieldA1;
>
>   public string FileldA2;
>
> }
>
>
>
>  class B{
>
>   public int Id;
>
>   public string FieldB1;
>
>   public string FileldB2;
>
>   public int AId;
>
> }
>
> then I want join A and B together on A.Id=B.AId ,  and return a result
> as below:
>
> Class Result{
>
>
>
> FieldA1
>
> FieldB1
>
> FieldA2
>
> }
>
> how to implement that in DDD specification pattern?
>
>
>
> thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to