DbExpressionBuilder.NewCollection 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 öğeleri içeren bir koleksiyon oluşturan yeni DbNewInstanceExpression bir oluşturur.
Aşırı Yüklemeler
| NewCollection(IEnumerable<DbExpression>) |
Belirtilen öğeleri içeren bir koleksiyon oluşturan yeni DbNewInstanceExpression bir oluşturur. Koleksiyonun türü, öğelerin ortak türünü temel alır. Ortak öğe türü yoksa bir özel durum oluşturulur. |
| NewCollection(DbExpression[]) |
Belirtilen öğeleri içeren bir koleksiyon oluşturan yeni DbNewInstanceExpression bir oluşturur. Koleksiyonun türü, öğelerin ortak türünü temel alır. Ortak öğe türü yoksa bir özel durum oluşturulur. |
NewCollection(IEnumerable<DbExpression>)
Belirtilen öğeleri içeren bir koleksiyon oluşturan yeni DbNewInstanceExpression bir oluşturur. Koleksiyonun türü, öğelerin ortak türünü temel alır. Ortak öğe türü yoksa bir özel durum oluşturulur.
public:
static System::Data::Common::CommandTrees::DbNewInstanceExpression ^ NewCollection(System::Collections::Generic::IEnumerable<System::Data::Common::CommandTrees::DbExpression ^> ^ elements);
public static System.Data.Common.CommandTrees.DbNewInstanceExpression NewCollection (System.Collections.Generic.IEnumerable<System.Data.Common.CommandTrees.DbExpression> elements);
static member NewCollection : seq<System.Data.Common.CommandTrees.DbExpression> -> System.Data.Common.CommandTrees.DbNewInstanceExpression
Public Function NewCollection (elements As IEnumerable(Of DbExpression)) As DbNewInstanceExpression
Parametreler
- elements
- IEnumerable<DbExpression>
Koleksiyonun öğelerini sağlayan ifadelerin listesi.
Döndürülenler
Belirtilen koleksiyon türüne ve bağımsız değişkenlere sahip yeni bir DbNewInstanceExpression.
Özel durumlar
elements null veya null içeriyor.
elements boş veya ortak sonuç türü olmayan ifadeler içeriyor.
Şunlara uygulanır
NewCollection(DbExpression[])
Belirtilen öğeleri içeren bir koleksiyon oluşturan yeni DbNewInstanceExpression bir oluşturur. Koleksiyonun türü, öğelerin ortak türünü temel alır. Ortak öğe türü yoksa bir özel durum oluşturulur.
public:
static System::Data::Common::CommandTrees::DbNewInstanceExpression ^ NewCollection(... cli::array <System::Data::Common::CommandTrees::DbExpression ^> ^ elements);
public static System.Data.Common.CommandTrees.DbNewInstanceExpression NewCollection (params System.Data.Common.CommandTrees.DbExpression[] elements);
static member NewCollection : System.Data.Common.CommandTrees.DbExpression[] -> System.Data.Common.CommandTrees.DbNewInstanceExpression
Public Function NewCollection (ParamArray elements As DbExpression()) As DbNewInstanceExpression
Parametreler
- elements
- DbExpression[]
Koleksiyonun öğelerini sağlayan ifadelerin listesi.
Döndürülenler
Belirtilen koleksiyon türüne ve bağımsız değişkenlere sahip yeni bir DbNewInstanceExpression.
Özel durumlar
elements null veya null içeriyor.
elements boş veya ortak sonuç türü olmayan ifadeler içeriyor.