Vibrant discussion about CSLA .NET and using the framework to build great business applications.
trying to use MockDb. here is the code:
> Fetch() { var result = from r in ProjectTracker.DalMock.MockDb
{
.Projects select new
ProjectDto
Id = r.Id,
Name = r.Name,
Description = r.Description,
ParentID = r.ParentID,
Alias = r.Alias,
CapitalizationStage = r.CapitalizationStage,
Viability = r.Viability
};
For some reason ProjectTracker.DalMock.MockDb.Projects throws the exception even though static constructor creates the list like so:
Projects = }; what is wrong here?
Projects =
what is wrong here?