DbExpressionBuilder.NewEmptyCollection(TypeUsage) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Belirtilen koleksiyon türünde boş bir koleksiyon oluşturan yeni DbNewInstanceExpression bir oluşturur.
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
Parametreler
- collectionType
- TypeUsage
Oluşturulacak koleksiyonun tür meta verileri.
Döndürülenler
Belirtilen koleksiyon türüne ve boş Arguments listeye sahip yeni bir DbNewInstanceExpression.
Özel durumlar
collectionType null değeridir.
collectionType bir koleksiyon türü değildir.