Created Unassigned: Automated Logging [1210]
Hello,Are you planning to extend this framework, like automated logging of object and property changes?I've found a library and may be you can implement this; http://www.nuget.org/packages/FrameLog/
View ArticleNew Post: Not able to get Deep Load working
Hello Le, Thanks for providing this framework. I've downloaded the latest release and I'm using it as a starting point for a new project. I've been having an issue with not getting related entities to...
View ArticleNew Post: Not able to get Deep Load working
Hi Dlharrison, Please use integration test for this, where you actually setup a database for your test to run against and destroy the database once they are completed. The mocks run against in-memory...
View ArticleNew Post: Am I using the uow and repository correctly in my controller classes?
From what I can see here, it looks fine.
View ArticleNew Post: Not able to get Deep Load working
Thanks for the response, the .Include() was what I was missing. In my service I added a GetByID() method to encapsulate the retrieving of the entire graph. Is that how/where you would recommend getting...
View ArticleNew Post: Not able to get Deep Load working
TestRegards, Long Le[email removed]twitter.com/lelong37blog.longle.net
View ArticleNew Post: Not able to get Deep Load working
You can default to lazy/eager loading = true in the DbContext, but that's a anti-practice, the way you've done it here is the best practice, you being deliberate about what you want to query especially...
View ArticleNew Post: FindAsync Test never returns
Hi, thanks Le Long for the framwork, looks promising. I'm currently trialing it and have struck a problem. I have a test that test FindAsync and never returns? Oddly the actual app works fine. Here are...
View ArticleNew Post: FindAsync Test never returns
The unit test uses mocks, oversimplification is that data is actually stored in memory with Observable for each of the entities, vastly different than storing to an actual database, unit test are...
View ArticleUpdated Wiki: Adding Custom Queries to Repository
Add extension method for IRepository<TEntity> or (if async) IRepostioryAsync<TEntity>publicstaticclass CustomerRepository { publicstaticdecimal GetCustomerOrderTotalByYear( this...
View ArticleUpdated Wiki: Adding Custom Queries to Repository
Add extension method for IRepository<TEntity> or (if async) IRepostioryAsync<TEntity>publicstaticclass CustomerRepository { publicstaticdecimal GetCustomerOrderTotalByYear( this...
View ArticleUpdated Wiki: Documentation
For questions and support please contact Le on Twitter @LeLong37API has been updated in v3.2 release, please see v3.2 documentation below.Additional Referencesv3.2Quick Samples in LINQPadASP.NET MVC 5...
View ArticleNew Post: Edm.Guid Edm.String
I've created my own model type User with a key type of Guid named Id. I've also copied all customer related files and reworked them to use my new User type. Except for the 'Edit details' link, it all...
View ArticleSource code checked in, #513e8b4d76c8ec4706302a56b98d252c1c1e01bf
Adding Service Pattern example
View ArticleSource code checked in, #8eb46e0ff1c22649c70d3f78606ce00454916270
Updating WebApi/CustomerController to use Service Pattern
View ArticleUpdated Wiki: Adding Custom Queries to Repository
Add extension method for IRepository<TEntity> or (if async) IRepostioryAsync<TEntity>publicstaticclass CustomerRepository { publicstaticdecimal GetCustomerOrderTotalByYear( this...
View ArticleUpdated Wiki: Adding Custom Queries to Repository
Add extension method for IRepository<TEntity> or (if async) IRepostioryAsync<TEntity>publicstaticclass CustomerRepository { publicstaticdecimal GetCustomerOrderTotalByYear( this...
View ArticleUpdated Wiki: Adding Custom Queries to Repository
Add extension method for IRepository<TEntity> or (if async) IRepostioryAsync<TEntity>publicstaticclass CustomerRepository { publicstaticdecimal GetCustomerOrderTotalByYear( this...
View ArticleUpdated Wiki: Adding Custom Queries to Repository
Add extension method for IRepository<TEntity> or (if async) IRepostioryAsync<TEntity>publicstaticclass CustomerRepository { publicstaticdecimal GetCustomerOrderTotalByYear( this...
View Article