I recently came across the following definition:
<class name="X" table="master..[User]" ... />
what does the above definition mean?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is a mapping declaration for class X to the table User in the master database, probably on SQL Server.
In SQL server you can qualify a table name with a database using double-dot. Square brackets around a name ensure that reserved words or names with spaces can be correctly identified.
Here’s the reference to the mapping declararation, section 5.1.3