DbExpressionBuilder.NewEmptyCollection(TypeUsage) 方法     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个新的 DbNewInstanceExpression,它构造一个指定集合类型的空集合。
public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbNewInstanceExpression ^ NewEmptyCollection(System::Data::Metadata::Edm::TypeUsage ^ collectionType);
	public static System.Data.Common.CommandTrees.DbNewInstanceExpression NewEmptyCollection (this System.Data.Metadata.Edm.TypeUsage collectionType);
	static member NewEmptyCollection : System.Data.Metadata.Edm.TypeUsage -> System.Data.Common.CommandTrees.DbNewInstanceExpression
	<Extension()>
Public Function NewEmptyCollection (collectionType As TypeUsage) As DbNewInstanceExpression
	参数
- collectionType
 - TypeUsage
 
要创建的集合的类型元数据。
返回
使用指定的集合类型和空 Arguments 列表的新 DbNewInstanceExpression。
例外
              collectionType 为 null。
              collectionType 不是集合集合类型。