c# - entity framework nested select queries -
i have sql query , should use in entity framework. i'm new in entity , don't know how can that. query is:
select ekip, count (sagla) kpisayisi (select m.applicationid ortam, mname servis, sum(avail*hit)/sum(hit) sagla, sum(hit) cagri , (select domainname soagovernance_service d d.name=m.mname , d.applicationid=m.applicationid) ekip soagovernance_metriclog m mdate between '2013-01-01 01:00:00' , '2013-02-01 01:00:00' , mtype='service' group applicationid, mname) s s.cagri > 3 , s.sagla<90 group ekip order ekip
the simplest way creating sql view query. , create entity on view.
or want full query in entity?
Comments
Post a Comment