/// <summary> /// Obter objeto de chaves primárias /// </summary> /// <returns></returns> public object ParametersKeys() { var result = new Dictionary <string, object>(); foreach (var item in this.Where(x => x.Key.StartsWith(NamingPrefixValue.Key))) { result.Add(NamingPrefixValue.WithoutKey(item.Key), item.Value); } return(result); }
/// <summary> /// Obter objeto com chaves primárias /// </summary> /// <returns></returns> public object ParametersWithKeys() { var result = new Dictionary <string, object>(); foreach (var item in this.ToList()) { result.Add(NamingPrefixValue.WithoutKey(item.Key), item.Value); } return(result); }