Export (0) Print
Expand All

DbExpressionBuilder.NewCollection Method

.NET Framework 4.6 and 4.5

Creates a new DbNewInstanceExpression that constructs a collection containing the specified elements.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member NewCollection(DbExpression[]) Creates a new DbNewInstanceExpression that constructs a collection containing the specified elements. The type of the collection is based on the common type of the elements. If no common element type exists an exception is thrown.
Public method Static member NewCollection(IEnumerable<DbExpression>) Creates a new DbNewInstanceExpression that constructs a collection containing the specified elements. The type of the collection is based on the common type of the elements. If no common element type exists an exception is thrown.
Top
Show:
© 2015 Microsoft