This project has moved. For the latest updates, please go here.

Parent Child Help

May 8, 2013 at 4:40 PM
Edited May 8, 2013 at 4:43 PM
I have a BusinessBase with a ReadOnlyList, Items that have many Photos.

Now when I generate the code I am left with IItemDal PhotoList not implemented.
    public List<PhotoInfoDto> PhotoList 
    { get;   }
Now I am relatively new to CSLA .NET and not sure what the next steps are after adding this property to the partial ItemDal class. I need to have a body in the get; portion and unsure what to do next.

I see that the stored procedure contains this;
    /* Get PhotoInfo from table */
    SELECT
        [ItemPhoto].[Path]
    FROM [dbo].[ItemPhoto]
        INNER JOIN [dbo].[Item] ON [ItemPhoto].[ItemId] = [Item].[Id]
    WHERE
        [Item].[Id] = @Id
Need some help! :)

Thank you!
May 8, 2013 at 5:16 PM
Now for some reason the generator is no longer creating the Designer DAL.
May 8, 2013 at 5:18 PM
Nevermind all resolved.