Megosztás a következőn keresztül:


USING

Specifies namespaces used in a query expression.

USING [ alias = ] namespace

Arguments

  • alias
    Specifies a shorter alias to qualify a namespace with.
  • namespace
    Any valid namespace.

Example

The following Entity SQL query uses the USING operator to specify namespaces used in a query expression. To compile and run this query, follow these steps:

  1. Follow the procedure in How to: Execute a Query that Returns PrimitiveType Results.

  2. Pass the following query as an argument to the ExecutePrimitiveTypeQuery method:

using SqlServer; RAND()

See Also

Concepts

Namespaces
Entity SQL Reference