public EntityNote Copy() { Server.Application.EntityNote serverObject = (Server.Application.EntityNote)ToServerObject(); EntityNote copiedObject = new EntityNote(application, serverObject); return(copiedObject); }
public Boolean IsEqual(EntityNote compareObject) { Boolean isEqual = base.IsEqual((CoreObject)compareObject); isEqual &= (EntityId == compareObject.EntityId); isEqual &= (RelatedEntityId == compareObject.RelatedEntityId); isEqual &= (RelatedEntityType == compareObject.RelatedEntityType); isEqual &= (RelatedEntityObjectId == compareObject.RelatedEntityObjectId); isEqual &= (RelatedObjectType == compareObject.RelatedObjectType); isEqual &= (RelatedObjectId == compareObject.RelatedObjectId); isEqual &= (DataSource == compareObject.DataSource); isEqual &= (Importance == compareObject.Importance); isEqual &= (NoteTypeId == compareObject.NoteTypeId); isEqual &= (Subject == compareObject.Subject); isEqual &= (EffectiveDate == compareObject.EffectiveDate); isEqual &= (TerminationDate == compareObject.TerminationDate); return(isEqual); }