TAILIEUCHUNG - Beginning SQL Server Modeling- P4

Tham khảo tài liệu 'beginning sql server modeling- p4', công nghệ thông tin, cơ sở dữ liệu phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | CHAPTER 3 DOMAIN-SPECIFIC LANGUAGES 101 LOLA S LUNCH COUNTER and execute another dir command to be sure the compiler created the image file see Figure 3-35 . Figure 3-35. SQL compiling the file to create the image file Next you want to use the DSL Grammar executor command-line tool to generate an M code version of the file. The executable was formerly called the Mgrammar executor which is where it got its name. With any executable command-line tool you can normally enter the name of the command followed by to get a listing of the parameters that can be used to pass information to the tool when it executes. Figure 3-36 shows a list of these parameters. The two you re interested in are reference and MModuleName. Note that most but not all have shorthand aliases like r for reference to save you time when you re using the tool frequently. 61 Download from Wow eBook CHAPTER 3 DOMAIN-SPECIFIC LANGUAGES 101 LOLA S LUNCH COUNTER Figure 3-36. Displaying the MGX tool parameters At the command prompt enter and execute the command as follows reference MModuleName LunchCounter Figure 3-37 shows this except that I ve used aliases for setting the parameters to keep the command from wrapping in the command window. You can try it either way. If you do a dir directory listing you can see that this command created the file. 62 Download from Wow eBook CHAPTER 3 DOMAIN-SPECIFIC LANGUAGES 101 LOLA S LUNCH COUNTER Figure3-37. Running theMGXMGrammar executor tool to generate the file Loading this file into Intellipad see Figure 3-38 you can see that it is an M Graph almost exactly the same as the one generated earlier when you made the final revisions to the DSL Grammar code prior to setting up for the deployment phase. The one difference is that the graph is now defined within the LunchCounter .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.