1

I would like to perform status validation for maybe hundreds or thousands of linq to sql objects. For example, only Status A & B can change to Status C, then C can change to D, ...

Considering performance and scalability, what is the best solution?
Will "DetectChanges" suitable for my scenario?

4

1 に答える 1

1

必要なのは、コードにステート マシンの概念を簡単に実装することです。

ソフトウェア エンジニアリングではよく知られている概念であるため、この概念に従い、実装するための有用なリソースを例とともに提供します。

ここにリソースがあります:

于 2012-12-17T03:18:56.190 に答える