public Analytic( AnalyticIdentity identity ) { Id = 0; Identity = identity; }
public Analytic( int id, AnalyticIdentity identity ) { Id = id; Identity = identity; }
public Analytic( int id, string searchGroup, AnalyticIdentity identity ) { Id = id; SearchGroupKey = searchGroup; Identity = identity; }
public Analytic( int id, int searchId, AnalyticIdentity identity ) { Id = id; SearchId = searchId; Identity = identity; }
public Analytic( int id, int searchId, string searchGroup, AnalyticIdentity identity, List <AnalyticValueDriver> valueDrivers, List <AnalyticPriceListGroup> priceListGroups, List <FilterGroup> filterGroups ) { Id = id; SearchId = searchId; SearchGroupKey = searchGroup; Identity = identity; ValueDrivers = valueDrivers; PriceListGroups = priceListGroups; FilterGroups = filterGroups; }
public static DTO.AnalyticIdentity ToDto(this Display.AnalyticIdentity displayEntity) { var dto = new DTO.AnalyticIdentity( displayEntity.Name, displayEntity.Description, displayEntity.Notes, displayEntity.RefreshedText, displayEntity.CreatedText, displayEntity.EditedText, displayEntity.Refreshed, displayEntity.Created, displayEntity.Edited, displayEntity.Author, displayEntity.Editor, displayEntity.Owner, displayEntity.Shared, displayEntity.Active); return(dto); }
public static Display.AnalyticIdentity ToDisplayEntity(this DTO.AnalyticIdentity dto) { var displayEntity = new Display.AnalyticIdentity(); displayEntity.Name = dto.Name; displayEntity.Description = dto.Description; displayEntity.Notes = dto.Notes; displayEntity.RefreshedText = dto.RefreshedText; displayEntity.CreatedText = dto.CreatedText; displayEntity.EditedText = dto.EditedText; displayEntity.Refreshed = dto.Refreshed; displayEntity.Created = dto.Created; displayEntity.Edited = dto.Edited; displayEntity.Author = dto.Author; displayEntity.Editor = dto.Editor; displayEntity.Owner = dto.Owner; displayEntity.Active = dto.Active; displayEntity.Shared = dto.Shared; return(displayEntity); }