// public Wtemplate[] Children { get; set; } public override string ToString() { return("Template: " + _id + "Clazz: " + Clazz.ToJson() + "RowNum: " + RowNum.ToJson() + "_c: " + _c.ToString() + "_m: " + _m.ToString() + "ActiveFlag: " + ActiveFlag.ToJson() + "Key: " + Key.ToJson() + "Type: " + Type.ToJson() + "Value: " + Value.ToJson() + "TemplateList: " + TemplateList.ToJson() ); }
public override int GetHashCode() { unchecked { int hash = 17; hash = hash * 23 + (AccountNumber == null ? 0 : AccountNumber.GetHashCode()); hash = hash * 23 + (ActiveFlag == default(bool) ? 0 : ActiveFlag.GetHashCode()); hash = hash * 23 + (BusinessEntityId == default(int) ? 0 : BusinessEntityId.GetHashCode()); hash = hash * 23 + (CreditRating == default(byte) ? 0 : CreditRating.GetHashCode()); hash = hash * 23 + (ModifiedDate == default(DateTime) ? 0 : ModifiedDate.GetHashCode()); hash = hash * 23 + (Name == null ? 0 : Name.GetHashCode()); hash = hash * 23 + (PreferredVendorStatus == default(bool) ? 0 : PreferredVendorStatus.GetHashCode()); hash = hash * 23 + (PurchasingWebServiceUrl == null ? 0 : PurchasingWebServiceUrl.GetHashCode()); return(hash); } }