Exemplo n.º 1
0
        /// <summary>
        /// local implementation of Equals based on unique value members
        /// </summary>
        public override bool Equals(object obj)
        {
            if (this == obj)
            {
                return(true);
            }
            if ((obj == null) || (obj.GetType() != this.GetType()))
            {
                return(false);
            }
            SystemRoleApplicationBase castObj = (SystemRoleApplicationBase)obj;

            return((castObj != null) &&
                   (this._systemroleapplication_id == castObj.SystemRoleApplicationID));
        }
Exemplo n.º 2
0
 /// <summary>
 /// CopyValue 方法
 /// </summary>
 public virtual void CopyValue(SystemRoleApplicationBase obj)
 {
     obj.RoleID        = this._role_id;
     obj.ApplicationID = this._application_id;
 }