หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Specifies namespaces used in a query expression.
Syntax
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:
Follow the procedure in How to: Execute a Query that Returns PrimitiveType Results.
Pass the following query as an argument to the
ExecutePrimitiveTypeQuerymethod:
using SqlServer; RAND()