Open bbakermmc opened 6 years ago
@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?
Can you make an extension that does the same thing but for With_Change_Tracking?
https://docs.microsoft.com/en-us/sql/relational-databases/system-functions/with-change-tracking-context-transact-sql?view=sql-server-2017