linq-to-entities
Having issues passing Objects among tiers
I\'m trying to do something that should be real simple but I\'m getting errors I don\'t know how to correct. Also, I don\'t even know if I\'m doing things the \"correct\" way.[详细]
2023-04-07 07:32 分类:问答EF return parent entity only
I\'m having an issue when trying to serialise an entity. An error is being through saying that the query may result in a circular query. Ideally I just want to pull out the entity with no relationship[详细]
2023-04-07 05:11 分类:问答LINQ to Entities Include() does not work
The following LINQ to Entities query (using EF 4.1 Code-First), is supposed to create a list of viewmodels based on Campaigns and Users. I have eager-loaded Category property of each campaign so that[详细]
2023-04-06 20:27 分类:问答linq insert not work
I have this code: protected void Page_Load(object sender, EventArgs e) { if (Page.IsPostBack) { using (mesteriEntities myEntities = new mesteriEntities())[详细]
2023-04-06 15:51 分类:问答Linq2SQL, EDMX, interfaces (Preparing for a TDD enabled project!)
Is there an easy way to create a Linq to SQL class for my \"DomainModel\" off an EDMX (Entity Framework)?[详细]
2023-04-06 11:38 分类:问答return product price using LINQ, what return type to use in function?
I\'m just getting started with LINQ and I\'m trying to select and return a product price from database, like so:[详细]
2023-04-06 10:42 分类:问答Selecting/Filtering nested collections in L2E
Consider 3 entities. Group, Box and Message. Each 开发者_开发技巧Group contains Boxes and each Box contains Messages.[详细]
2023-04-06 06:42 分类:问答Using Linq to Entities to poulate comboBoxes in a winforms application, one comboBox dependent on the other
Here is my code; comboBoxAdminVisit.DataSource = be.Events; comboBoxAdminVisit.DisplayMember = \"EventName\";[详细]
2023-04-06 03:15 分类:问答Error: "The xml data type cannot be selected as DISTINCT because it is not comparable."
In my code I have the following Linq Query: IQueryable<Data> charts = (from report in ctx.Charts group report by new[详细]
2023-04-05 21:12 分类:问答Display member details based on their age using LINQ and Entity Framework
I am trying to check for people in a certain age range. I have two ComboBoxes, minagecombobox and maxagecombobox, with values between 1 and 120.[详细]
2023-04-05 20:27 分类:问答