全部项目在.Net 2.0版本和4.0版本下编译通过,win10+vs2017需要在系统功能安装.Net2.0/3.5
大石头 authored at 2018-05-06 23:06:42
997.00 B
X
using System;
using XCode.Configuration;

namespace XCode.Accessors
{
    /// <summary>实体访问器事件参数</summary>
    public class EntityAccessorEventArgs : EventArgs
    {
        #region 属性
        private IEntity _Entity;
        /// <summary>实体对象</summary>
        public IEntity Entity { get { return _Entity; } set { _Entity = value; } }

        private FieldItem _Field;
        /// <summary>字段信息</summary>
        public FieldItem Field { get { return _Field; } set { _Field = value; } }

        private Exception _Error;
        /// <summary>异常对象</summary>
        public Exception Error
        {
            get { return _Error; }
            set { _Error = value; }
        }
        #endregion

        //#region 构造
        //public EntityAccessorEventArgs(IEntity entity, FieldItem field)
        //{
        //    Entity = entity;
        //    Field = field;
        //}
        //#endregion
    }
}