linq-to-entities
Linq to Entities Complex Dynamic Search
We\'re using the Entity Framework (MySQL connector) and are creating a central Search facility on our web application.[详细]
2023-04-13 07:25 分类:问答LINQ to Entity : Multiple join conditions
There are numerous post regarding LINQ and multiple joins. I have however not found any solution to the join I\'d like to make.[详细]
2023-04-13 03:43 分类:问答VB.NET Linq to Entities Query with child objects
Basically I have the follwing: Dim ctx As New AdminCoreEntities Dim roles = (From r In ctx.Roles where r.Name.StartsWith(\"cust\") Select r) \'list of System.Linq.IQueryable(Of AdminCoreModel.Role)[详细]
2023-04-13 01:52 分类:问答LINQ to Entities How do do a subquery for a field
To save multiple DB calls, and since it is from the same table, I\'m looking for one of the fields in my linq query to return an object with 2 fields that are IEnumerable.开发者_开发百科[详细]
2023-04-13 00:50 分类:问答WCF Data Services fail to respond a query including orderby
I have a database view which I publish to other systems using WCF data services. The middle layer between the database and the WCF Data Services is built upon Entity Framework 4.1[详细]
2023-04-12 21:54 分类:问答Unable to cast object of type '<>f__AnonymousType1`2 [System.Int64,System.String]' to type 'ConsoleApplication1.Profile'.
I very new to Linq and Entity frame work, i have problem with my below code. I am getting error Unable to cast object of type\'<>f__AnonymousType1`2[详细]
2023-04-12 19:20 分类:问答LINQ and Entity Framework, get sum of related rows of a non mapped column
I want to get the sum of applicants that applied to a specific position, this should not be saved as a column.[详细]
2023-04-12 13:06 分类:问答handling empty strings using linq
I have a linq statement that searches a number of fields based on user input from a form.Only 1 form field is required, thus I need to handle empty string values.Whats the best way to handle this.Shou[详细]
2023-04-12 11:30 分类:问答Linq to entities: round the sum
I need to round the sum of decimal?. I do: group => new { rounded_sum = gro开发者_Python百科up.Sum(f => f.A) == null ? null : (decimal?)Decimal.Round((decimal)group.Sum(f => f.A), 0),[详细]
2023-04-12 09:53 分类:问答big issue in converting string to datetime using linq-to-entities
How can I convert the string to datetime using linq to entities .... I have got the below query, where the visit_date column datatype is string...[详细]
2023-04-12 06:52 分类:问答