public override string ToString() { int dbObjectHashCode; if (DbObject != null) { dbObjectHashCode = DbObject.GetHashCode(); } else { dbObjectHashCode = 0; } return(String.Format("Scripted Object: {0}", dbObjectHashCode)); }