public StandardAccount Transform(SourceData data) { StandardAccount account = new StandardAccount(); account.AccountCode = data.CustodianCode; account.Name = data.Name; account.Type = GetAccountType(data.Type); account.Currency = GetCurrency(data.Currency); return(account); }
public StandardAccount Transform(SourceData data) { StandardAccount account = new StandardAccount(); account.AccountCode = data.Identifier.Split('|')[1]; account.Name = data.Name; account.Type = GetAccountType(data.Type); account.OpenDate = DateTime.Parse(data.OpenDate); account.Currency = GetCurrency(data.Currency); return(account); }