public bool Equals(DividendPolicyCode code)
 {
     if (code == null || code.InternalObject == null || this.InternalObject == null)
     {
         return(false);
     }
     return(this.InternalObject.Equals(code.InternalObject));
 }
        public override bool Equals(object obj)
        {
            DividendPolicyCode code = obj as DividendPolicyCode;

            return(this.Equals(code));
        }