public DbConnection GetConnection()
 {
     return(EntityFrameworkUtils.GetConnectionFrom(db));
 }
        public virtual string ExecuteQuery(string query)
        {
            var conn = EntityFrameworkUtils.GetConnectionFrom(db);

            return(SqlLoaderUtils.ExecuteQueryToDisplayString(query, conn));
        }
 public string GetQuery()
 {
     return(EntityFrameworkUtils.GetQueryFromLinq((ObjectQuery <T>)queryable));
 }
 public string GetQuery()
 {
     return(EntityFrameworkUtils.GetQueryFromLinq((ObjectQuery)GetLinqStatement()));
 }