更新时间:2022-06-23 05:32:44
这是LINQ to SQL不能亮的那些情况之一.
This is one of those situations where LINQ to SQL does not shine.
此代码应保留在数据库中-它将更易于维护,并且很有可能在该数据库中表现更好.您是否有特定原因要将此工作代码移出数据库并移至您的应用程序代码中?如果要由我决定,我会将这段代码保留在原处.
This code should be left in the database - it will be easier maintained and most likely will perform better there. Is there a particular reason you want to move this working code out of the database and into your application code? If it were up to me I would leave this code where it is.