|
-
Mar 23rd, 2006, 11:54 PM
#1
[RESOLVED] Problem with CollectionBase (2.0)
I have a collection inherited from CollectionBase, it contains objects of a class which I made, and this is located in the Business Logic Layer, I want it that I could pass the collection to a method in the Data Access Layer then get those objects stored in them without actually referencing the bll since it would cause circular reference, is that even possible?
I'm thinking perhaps I could use another assemby which would act as a bridge between the two layers though I'm afraid of any additional overhead... :-(
Or is this can be done with Generic Collection instead?
TIA
Last edited by dee-u; Mar 24th, 2006 at 01:50 AM.
-
Mar 24th, 2006, 11:04 AM
#2
Junior Member
Re: Problem with CollectionBase (2.0)
You could pass it's properties, or at least the ones you need to persist it.
-
Mar 26th, 2006, 08:20 PM
#3
Re: Problem with CollectionBase (2.0)
DTO (Data Transfer Object) seem to be one of the solution...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|