domain.cs

来自「NHibernate NET开发者所需的」· CS 代码 · 共 86 行

CS
86
字号
using System;
using System.Collections.Generic;
using System.Text;

namespace NHibernate.Test.NHSpecificTest.NH1080
{
    public class A
    {
        private int id;
        private string value;
        private B b1, b2;
        private C c;

        public virtual C C
        {
            get { return c; }
            set { c = value; }
        }


        public virtual B B1
        {
            get { return b1; }
            set { b1 = value; }
        }

        public virtual B B2
        {
            get { return b2; }
            set { b2 = value; }
        }


        public virtual string Value
        {
            get { return this.value; }
            set { this.value = value; }
        }



        public virtual int ID
        {
            get { return id; }
            set { id = value; }
        }
    }


    public class B
    {
        private int id;
        private string value;

        public virtual string Value
        {
            get { return this.value; }
            set { this.value = value; }
        }

        public virtual int ID
        {
            get { return id; }
            set { id = value; }
        }
    }

    public class C
    {
        private int id;
        private string value;

        public virtual string Value
        {
            get { return this.value; }
            set { this.value = value; }
        }

        public virtual int ID
        {
            get { return id; }
            set { id = value; }
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?