Source code checked in, #3f8a9214e7cf7189d92be1e2776d583000afb555
reseting object graph tracking to null after sync object graph has been called
View ArticleSource code checked in, #5dc6ff31c6634ceb0d709585cee8751819621522
adding comments to SyncObjectGraph for clarity
View ArticleSource code checked in, #e81c321e75f6bbef330f26bbd78752f474b74315
more comments marking InsertOrUpdateGraph to obsolete, signature will be renamed to UpsertGraph in next release
View ArticleSource code checked in, #b0c733b29752314d358d5833aa97bd1edb8c0433
comment updates for Repository.cs
View ArticleNew Post: SyncObjectGraph Working as Expected?
lelong37 wrote: Question on this, the code above this is syncing the the actual root entity, the code you have here is now iterating through all of its properties now to sync them as well, am missing...
View ArticleNew Post: SyncObjectGraph Working as Expected?
jlindbo, think you are on the right path to understanding what the intent is, here is a print out of what SyncObjectState is scanning with the object graph that was from your test case. Here is a print...
View ArticleNew Post: Load 2 or more entities
You can just call /odata/Customer once and use "expand" in your querystring which is the equivalent of "include" fro IQueryable, e.g. http://localhost/odata/customer?expand=orders, which would give all...
View ArticleNew Post: Load 2 or more entities
Thanks, but in my case I need to load entities which do not have any relationships each other e.g. Customer and Product, not Customer with Order
View ArticleNew Post: Load 2 or more entities
1. You can implement a Web Api controller which could take in the two ID’s and return them both the Customer and Product (will not use OData just plain REST). 2. You can make two separate calls to REST...
View ArticleNew Post: Many to many update problem on web
Hi all and Happy Holidays! I am trying to play with many to many update (Customer, CustomerDemographics and CustomerCustomerDemo tables) I added a record into table CustomerDemographics:...
View ArticleCreated Unassigned: How to get inserted Id. [1244]
Hi. Is there any possibility to get inserted id of a just inserted entity without querying database again?```public int Create(ItemGroupDto itemGroupDto){ var itemGroup = Mapper.Map<ItemGroupDto,...
View ArticleEdited Unassigned: How to get inserted Id. [1244]
Hi. Is there any possibility to get inserted id of a just inserted entity without querying database again?```public int Create(ItemGroupDto itemGroupDto){ var itemGroup = Mapper.Map<ItemGroupDto,...
View ArticleNew Post: Generic Unit of Work & (Extensible) Repositories Framework with...
Can I have an example Code or simple project that use this Framework on Lazy Loading 2.Normaly with entity framework (lazy loading mode is active) when we retrieve an object there related object not...
View ArticleNew Post: SyncObjectGraph Working as Expected?
Not sure if this should go in a separate discussion or not but we are experiencing some performance issues with the updated SyncObjectGraph code. We are calling InsertOrUpdateGraph on some entities...
View ArticleNew Post: Generic Unit of Work & (Extensible) Repositories Framework with...
Out of the box the framework returns IEnumerable and not IQueryable which is why your are not able to lazy load, to do this: Most preferred...
View ArticleNew Post: Many to many update problem on web
Have you checked and confirm that you DI/IoC configuration correctly? Make sure you IDataContext is setup to have Singleton like behavior for the lifecycle of your Http Request.
View ArticleNew Post: Generic Unit of Work & (Extensible) Repositories Framework with...
Thanks For you reply. 1.Can You show me the best approch used for the CRUD Operations (ADD, Delete , Update). I have a problem with my dbset it doesn't refresh , the probelm occur when i do this...
View Article