For example, NoTracking may be a good option in an ASP.NET web application that queries for a specific category name but doesn't make updates to the returned data.
例如,在一个ASP.NET Web应用程序中,如果它要查询一个指定的分类名称,但却不需要对返回的数据进行更新,那么NoTracking就会是一个不错的选择。
Things that might change, such as a product name, make particularly good entities, much like declaring constants in program source code.
可能变化的事物(比如产品名称)非常适合使用实体,这与在程序源代码中声明常量很相似。
It is always a good idea in the application.cfm file to set a variable for the data Source Name, because you will need to reference it every time you make a query to your database.
在application . cf m文件中为Data Source Name设置一个变量通常是个好注意,因为每次查询数据库时都需要引用它。
应用推荐