zoukankan      html  css  js  c++  java
  • ORM Revolution EVE / ORM革命 —— 前夜




    ORM Revolution - EVE

    To be continued ...



    Noebe Team
    2007 - 10 -21





    ORM革命 —— 前夜


    待续 ...        

    Noebe  工作组
    2007 - 10 - 21


        class Card : ObjBase
        {
            
    public string CardType
            {
                
    get { return null; }
                
    set { }
            }
        }

        
    class Person : ObjBase
        {
            
    public Person()
            {
            }

            
    public string PersonName
            {
                
    get { return null; }
                
    set { }
            }

            
    public Card Card
            {
                
    get { return null; }
                
    set { }
            }

        }

        
    class TestClass
        {
            
    public void test()
            {
                OrmManager.Initialize();

                Card card 
    = new Card();
                card.CardType 
    = "Noebe.ORM";

                Person p 
    = new Person();
                p.PersonName 
    = "pixysoft";
                p.Card 
    = card;

                OrmManager.Instance.Commit(p);

                Card test_card 
    = p.Card;

                Console.WriteLine(test_card.CardType);
                Console.WriteLine(p.PersonName);
            }
        }

    //--------------------------

    ------ Test started: Assembly: Pixysoft.Framework.Noebe.ORM.dll ------

    Noebe.ORM
    pixysoft

    1 passed, 0 failed, 0 skipped, took 1.89 seconds.




     If there is an ORM revolution, we hope it comes from China.



    Join us! We need your help!  (NOSU, Non Open Source Union)
    Email: reborn_zhang@hotmail.com

    如果有那么一场ORM革命,我希望他来自中国。


    加入我们,我们需要您的帮助!(NOSU, Non Open Source Union)
    Email: reborn_zhang@hotmail.com
  • 相关阅读:
    使用Python的Mock库进行PySpark单元测试
    库龄报表的相关知识
    使用PlanViz进行ABAP CDS性能分析
    Spark SQL中列转行(UNPIVOT)的两种方法
    Spark中的一些概念
    使用Visual Studio Code进行ABAP开发
    2019年的几个目标
    Dom--样式操作
    Dom选择器--内容文本操作
    Javascript面向
  • 原文地址:https://www.cnblogs.com/zc22/p/932351.html
Copyright © 2011-2022 走看看