Ejemplo n.º 1
0
 /// <summary>
 ///     Creates a dictionary the keys set to the property/column names.
 /// </summary>
 /// <param name="reflected">The Reflection Info object to convert to a Dynamic object.</param>
 /// <returns>Dictionary</returns>
 public static Dictionary <string, object> IntoDictionary(this ReflectionInfo reflected)
 {
     return(reflected.ToDictionary(x => x.Key.ToString(), x => x.Value));
 }