protected virtual IPicklistRoleStateCreated MapCreate(ICreatePicklistRole c, IPicklistCommand outerCommand, long version, IPicklistState outerState) { c.RequesterId = outerCommand.RequesterId; var stateEventId = new PicklistRoleEventId(c.PicklistId, c.PartyRoleId, version); IPicklistRoleStateCreated e = NewPicklistRoleStateCreated(stateEventId); var s = outerState.PicklistRoles.Get(c.PartyRoleId, true); e.Active = c.Active; e.CreatedBy = (string)c.RequesterId; e.CreatedAt = ApplicationContext.Current.TimestampService.Now <DateTime>(); return(e); }// END Map(ICreate... ////////////////////////////
void ICreatePicklistRoleCommands.Remove(ICreatePicklistRole c) { _innerCommands.Remove((CreatePicklistRoleDto)c); }
void ICreatePicklistRoleCommands.Add(ICreatePicklistRole c) { _innerCommands.Add((CreatePicklistRoleDto)c); }
public void Remove(ICreatePicklistRole c) { _innerCommands.Remove(c); }
public void Add(ICreatePicklistRole c) { _innerCommands.Add(c); }