我是C#的新手。使用LoadRunner生成一些代码并获得许多错误。这里有几个,并感谢有关如何解决这个问题的任何帮助?
System.Collections.IList'不包含'项目'的定义没有扩展方法'项目'接受类型' System.Collections.IList'的第一个参数。可以找到
//#warning: Code Generation Error
// Found an undefined object of type System.Data.EntityClient.EntityConnection. Assigning it the name EntityConnection_1.
// Suggested solution: adding both this type, in assembly System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, to the filter
// and/or any other types that return instances of this one.
// Note: This script will not compile as is.
lr.log("Event 31720: EntityConnection_1.BeginTransaction();");
DbTransaction_1 = EntityConnection_1.BeginTransaction();
提前致谢
尼克