Hi guys!
I have a little suggestion that would make my life just that little bit easier.
I wonder if you could add a constructor to the entity classes that takes the PKs and a Transaction object?
Right now I have to do this more often than not:
ProductEntity templateProduct = new ProductEntity();
dbtxn.Add(templateProduct);
templateProduct.FetchUsingPK(templateProductID)
When I could perhaps instead do this:
ProductEntity templateProduct = new ProductEntity(templateProductID, dbtxn);
It is obviously no biggie, but it would make life easier and code more readable.
Ok, let me know why this is a bad idea.... ;-)
regards,
!Rob