Except
-
var resv = (from S in qryGen.T_RESV_DETAILs select new { S.F_RESV_ID, S.F_RESV_NUMBER }).Except (from O in qryGen.T_Offers join R in qryGen.T_RESV_DETAILs on O.F_Resv_Id equals R.F_RESV_ID select new { O.F_Resv_Id, R.F_RESV_NUMBER }); I found following Compilation Error. The type arguments for method 'System.Linq.Queryable.Except<TSource>(System.Linq.IQueryable<TSource>, System.Collections.Generic.IEnumerable<TSource>)' cannot be inferred from the usage. Try specifying the type arguments explicitly. Any one help to come out from problem. Thanks in Advance!
Have A Nice Day! Murali.M Blog
-
var resv = (from S in qryGen.T_RESV_DETAILs select new { S.F_RESV_ID, S.F_RESV_NUMBER }).Except (from O in qryGen.T_Offers join R in qryGen.T_RESV_DETAILs on O.F_Resv_Id equals R.F_RESV_ID select new { O.F_Resv_Id, R.F_RESV_NUMBER }); I found following Compilation Error. The type arguments for method 'System.Linq.Queryable.Except<TSource>(System.Linq.IQueryable<TSource>, System.Collections.Generic.IEnumerable<TSource>)' cannot be inferred from the usage. Try specifying the type arguments explicitly. Any one help to come out from problem. Thanks in Advance!
Have A Nice Day! Murali.M Blog
I can't answer your question because I don't know what type T_RESV_DETAILs is Your query seems a little odd. Tell us what you're trying to do, then perhaps we can help you out with your query.
-
I can't answer your question because I don't know what type T_RESV_DETAILs is Your query seems a little odd. Tell us what you're trying to do, then perhaps we can help you out with your query.
Thanks for your reply. T_Resv_Details is a table name.
Have A Nice Day! Murali.M Blog
-
Thanks for your reply. T_Resv_Details is a table name.
Have A Nice Day! Murali.M Blog
I know it's a table name. What type is coming back from that table? Better yet, tell us what you're trying to do and we may be able to better craft a query.
Life, family, faith: Give me a visit. From my latest post: "A lot of Christians struggle, perhaps at a subconscious level, about the phrase "God of Israel". After all, Israel's God is the God of Judaism, is He not? And the God of Christianity is not the God of Judaism, right?" Judah Himango
-
I know it's a table name. What type is coming back from that table? Better yet, tell us what you're trying to do and we may be able to better craft a query.
Life, family, faith: Give me a visit. From my latest post: "A lot of Christians struggle, perhaps at a subconscious level, about the phrase "God of Israel". After all, Israel's God is the God of Judaism, is He not? And the God of Christianity is not the God of Judaism, right?" Judah Himango
Retriving Two columns on RESV_ID and RESV_NUMBER. RESV_ID in integer and RESV_NUMBER is varchar(50). Thanks
Have A Nice Day! Murali.M Blog