EFCore.SqlServer.WithNoLock icon indicating copy to clipboard operation
EFCore.SqlServer.WithNoLock copied to clipboard

Support for query expression

Open bodhisatta1984 opened this issue 7 years ago • 4 comments

@tangdf This is a perfect extension if you use only lambda expression. Can you please add support to linq queries too. Then this would be very helpful. e.g. var x = from item in _wpcDbContext.WpcItems.WithNoLock() where item.Sku == request.Sku select new ProxyWpcItems() { Sku = item.Sku }

In above mentioned case if (tableExpression is WithNoLockTableExpression) is coming as false. Can you please help with this?

bodhisatta1984 avatar Sep 28 '18 22:09 bodhisatta1984

Give me some time , I'll try to fix those issues soon.

tangdf avatar Sep 29 '18 00:09 tangdf

Thank You

bodhisatta1984 avatar Sep 29 '18 01:09 bodhisatta1984

@tangdf When can we expect the fix? I tried to debug , it seems Lambda expression override function is not getting fired.

bodhisatta1984 avatar Oct 01 '18 01:10 bodhisatta1984

烂尾了吗?@tangdf

imgd avatar Mar 18 '22 03:03 imgd