public static void LINQTOSQL(ClassSRMDataContext dc, IQueryable Query) { string generatedSql = dc.GetCommand(Query).CommandText; Console.WriteLine(generatedSql); }
public static void LINQTOSQL(ClassSRMDataContext dc, IQueryable Query) { string generatedSql = dc.GetCommand(Query).CommandText; Console.WriteLine(generatedSql); }