public static void WriteSelect <T>(T item) { DataDefinition def = DataDefinition.FromType(item.GetType()); Console.WriteLine("Select:\r\n " + def.GenerateSelectSQL()); Console.WriteLine(); }