/// <summary>
 /// This method finds all the associated properties of an object
 /// Then using reflection obtains the type of the property
 /// Then calls the method GetCoreType to fine the underlying type if the type is returned as Nullable.
 /// </summary>
 /// <param name="list">A list of Tokens </param>
 /// <returns>The list of tokens with the dataType property completed</returns>
 public static List<Token> gDataType(List<Token> list)
 {
     NorthwindEntities db = new NorthwindEntities();
     Product product = new Product();
     foreach (var t in list)
     {
         if (t.Sql == "param")
         {
             foreach (var prop in product.GetType().GetProperties())
             {
                 var proptype = prop.PropertyType;
                 var coretype = GetCoreType(proptype).Name;
             }
         }
     }
     return list;
 }
 /// <summary>
 /// This method finds all the associated properties of an object
 /// Then using reflection obtains the type of the property
 /// Then calls the method GetCoreType to fine the underlying type if the type is returned as Nullable.
 /// </summary>
 /// <param name="list">A list of Tokens </param>
 /// <returns>The list of tokens with the dataType property completed</returns>
 public static List<Token> gDataType(List<Token> list)
 {
     DataBaseLayer.AWorksLTEntities db = new AWorksLTEntities();
     DataBaseLayer.Product product = new DataBaseLayer.Product();
     foreach (var t in list)
     {
         if (t.Sql == "param")
         {
             foreach (var prop in product.GetType().GetProperties())
             {
                 var proptype = prop.PropertyType;
                 var coretype = GetCoreType(proptype).Name;
             }
         }
     }
     return list;
 }