override public void MapDataFields(System.Data.DataRow currentRow) { base.MapDataFields(currentRow); entityType = (Mercury.Server.Core.Enumerations.EntityType)Convert.ToInt32(currentRow["EntityType"]); nameLast = (String)currentRow["NameLast"]; nameFirst = (String)currentRow["NameFirst"]; nameMiddle = (String)currentRow["NameMiddle"]; namePrefix = (String)currentRow["NamePrefix"]; nameSuffix = (String)currentRow["NameSuffix"]; federalTaxId = (String)currentRow["FederalTaxId"]; idCodeQualifier = (String)currentRow["IdCodeQualifier"]; uniqueId = (String)currentRow["UniqueId"]; return; } // MapDataFields (System.Data.DataRow currentRow)
public override void MapDataFields(System.Data.DataRow currentRow) { base.MapDataFields(currentRow); entityId = (Int64)currentRow["EntityId"]; relatedEntityId = (Int64)currentRow["RelatedEntityId"]; relatedEntityType = (Mercury.Server.Core.Enumerations.EntityType)((Int32)currentRow ["RelatedEntityType"]); relatedEntityObjectId = (Int64)currentRow ["RelatedEntityObjectId"]; relatedObjectType = (String)currentRow ["RelatedObjectType"]; relatedObjectId = (Int64)currentRow ["RelatedObjectId"]; dataSource = (String)currentRow ["DataSource"]; importance = (Mercury.Server.Core.Enumerations.NoteImportance)((Int32)currentRow ["Importance"]); noteTypeId = (Int64)currentRow["NoteTypeId"]; subject = (String)currentRow ["Subject"]; effectiveDate = (DateTime)currentRow ["EffectiveDate"]; terminationDate = (DateTime)currentRow ["TerminationDate"]; if (application != null) { contents = application.EntityNoteContentsGet(Id); } return; } // MapDataFields (System.Data.DataRow currentRow)