public EntityContact Copy() { Server.Application.EntityContact serverObject = (Server.Application.EntityContact)ToServerObject(); EntityContact copiedObject = new EntityContact(application, serverObject); return(copiedObject); }
public Boolean IsEqual(EntityContact compareObject) { Boolean isEqual = base.IsEqual((CoreObject)compareObject); isEqual &= (EntityId == compareObject.EntityId); isEqual &= (EntityContactInformationId == compareObject.EntityContactInformationId); isEqual &= (RelatedEntityId == compareObject.RelatedEntityId); isEqual &= (RelatedObjectType == compareObject.RelatedObjectType); isEqual &= (RelatedObjectId == compareObject.RelatedObjectId); isEqual &= (ScriptEntityFormId == compareObject.ScriptEntityFormId); isEqual &= (DataSource == compareObject.DataSource); isEqual &= (ContactDate == compareObject.ContactDate); isEqual &= (Direction == compareObject.Direction); isEqual &= (ContactType == compareObject.ContactType); isEqual &= (Successful == compareObject.Successful); isEqual &= (ContactOutcome == compareObject.ContactOutcome); isEqual &= (ContactRegardingId == compareObject.ContactRegardingId); isEqual &= (Regarding == compareObject.Regarding); isEqual &= (Remarks == compareObject.Remarks); isEqual &= (ContactedByName == compareObject.ContactedByName); return(isEqual); }