We have a table, that contains more then 1000000 records. How to remove this records without materialization? This code is too greedy for resources:
Also looking on Compiled Query, but i can't find the way to use it, because documented example is'nt work any more in version 4.4. |
http://depositfiles.com/files/bw0uinyoo
i will publish it in nuget soon. Limitations: reference fields in Update method are not supported, supports only mssql driver, compiled queries are not supported 1
Hi, The NuGet package is ready for use. It can be installed via Visual Studio NuGet package manager, more info is here. The package is called DataObjectsExtensions, it provides server-side batch DML operations. Current limitations: MS SQL Server only. Not supported yet: reference fields in Update method, compiled queries. |
It's impossible for some situation, because logic, coded using constraight and associations can't be processed.
Taiwan, thanks for pointing us to the trouble with compiled queries documentation. We'll fix this soon.
As for correct usage, try this: