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

            return(this.Equals(code));
        }