AnantLabs / codesmith

Automatically exported from code.google.com/p/codesmith
1 stars 0 forks source link

CSLA - DynamicRootList uses a Parent property in AddNewCore but descends from EditableRootListBase<> which has no Parent property #416

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generate DynamicRootList collections from your database & build.

What is the expected output? What do you see instead?
Get build errors, e.g. "'CodeSmithTest.Business.PersonMoreInfList' does not 
contain a definition for 'Parent' and no extension method 'Parent' accepting a 
first argument of type 'CodeSmithTest.Business.PersonMoreInfList' could be 
found (are you missing a using directive or an assembly reference?)"

What version of the product are you using?
CodeSmith 5.2.1/10970
CSLA templates r1707

Please provide any additional information below.
The generated collection descends from EditableRootListBase<>, which has no 
Parent property. (FWIW - if you generate an EditableRootList, it descends from 
BusinessListBase<>, which does have a Parent property)

Sample generated file attached

Original issue reported on code.google.com by rlbrac...@gmail.com on 18 Jun 2010 at 1:38

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by bniemyjski on 19 Jun 2010 at 8:38

GoogleCodeExporter commented 9 years ago
Fixed in latest nightly.

Original comment by bniemyjski on 25 Jun 2010 at 10:01