<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          Mo+面向模型的編程語言

          聯(lián)合創(chuàng)作 · 2023-10-01 23:08

          Mo+ 是首個(gè)完全支持面向模型開發(fā)的編程語言和集成開發(fā)環(huán)境。Model Oriented Development (MOD) 可以讓你通過簡單、模型聚焦的方法進(jìn)行開發(fā)。你可以將模型信息轉(zhuǎn)換成源碼。

          MoPlusUI.png

          MoPlusWorkflow.png

          模型示例:

          <Solution>
              <SolutionName>MyOrders</SolutionName>
              <TemplatePath>
                  C:\MyCodeTemplates\EntityAndPropertyReport.mpt
              </TemplatePath>
              <FeatureList>
                  <Feature>
                      <FeatureName>Orders</FeatureName>
                      <EntityList>
                          <Entity>
                              <EntityName>Customer</EntityName>
                              <PropertyList>
                                  <Property>
                                      <PropertyName>CustomerID</PropertyName>
                                  </Property>
                                  <Property>
                                      <PropertyName>CustomerName</PropertyName>
                                  </Property>
                              </PropertyList>
                          </Entity>
                          <Entity>
                              <EntityName>Order</EntityName>
                              <PropertyList>
                                  <Property>
                                      <PropertyName>OrderID</PropertyName>
                                  </Property>
                                  <Property>
                                      <PropertyName>OrderName</PropertyName>
                                  </Property>
                                  <Property>
                                      <PropertyName>CustomerID</PropertyName>
                                  </Property>
                              </PropertyList>
                          </Entity>
                      </EntityList>
                  </Feature>
              </FeatureList>
          </Solution>

          代碼模板

          <CONFIG>
              NAME EntityAndPropertyReport
              CATEGORY Test
              NODE Solution
              TOPLEVEL True
          </CONFIG>
          <CONTENT>
          <%%-List of entities and their properties:%%>
          <%%:
          foreach (Entity)
          {
              <%%-
              Entity: %%><%%=EntityName%%>
              foreach (Property)
              {
                  <%%-
                  Property: %%><%%=PropertyName%%>
              }
          }
          %%>
          瀏覽 18
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          評(píng)論
          圖片
          表情
          推薦
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  逼逼在线视频 | 美女草逼视频 | 影音先锋无码一区 | 天天色天天 | 付妙菱 女大学生羞涩 |