No announcements
-
0 Votes
### EF TEAM NO LONGER USES THIS FORUM ###
Our team is no longer active on this forum. You may get a response from a member that is active on the forums in general, but you should consider asking questions using one of the following resources ...Sticky | 1 Replies | 18205 Views | Created by Rowan Miller - Wednesday, August 1, 2012 7:57 PM | Last reply by Zhanglong Wu - Tuesday, November 27, 2018 8:46 AM
Found 16317 threads
-
0 Votes
[Announcement] "ADO.NET Entity Framework and LINQ to Entities" Forum will be migrating to a new home on Microsoft Q&A!
This "ADO.NET Entity Framework and LINQ to Entities" Forum will be migrated to a new home on Microsoft Q&A! We've listened to your feedback on how we can ... -
0 Votes
how to convert raw sql subquery to linq query RSS
sp.UserRef_No == r.RefOf && sp.ID == UID) && up.PackageStatus == true select new ReferralsListView ...Unanswered | 1 Replies | 1838 Views | Created by Learner177 - Sunday, November 15, 2020 12:42 PM | Last reply by DA924x - Sunday, November 15, 2020 3:24 PM -
1 Votes
EF Core Catesian Explosion with Include() - is there any easy work around for database first approach?
x.ChildRecords) code and I wondered if there is a clean way to avoid this while still retaining the parent child relationships as per the generated database first code. Currently the ...Answered | 11 Replies | 2895 Views | Created by OZIT - Tuesday, November 3, 2020 12:39 AM | Last reply by DA924x - Sunday, November 8, 2020 8:47 AM -
0 Votes
Unintentional rounding of decimal fields in linq to entitities
s.Sort).ToList(); //var measureHeaderList = measuresHeader.OrderBy(s => ...Unanswered | 4 Replies | 2651 Views | Created by fig000 - Wednesday, October 28, 2020 1:59 PM | Last reply by DA924x - Thursday, November 5, 2020 11:14 PM -
0 Votes
many-to-many table using data annotations in ef core
I would like to know how to make a many-to-many relationship using only data annotations if you would leave me an example it would be of great helpUnanswered | 3 Replies | 2067 Views | Created by ulises01 - Monday, October 19, 2020 10:53 PM | Last reply by Kareninstructor - Sunday, November 1, 2020 10:24 PM -
0 Votes
Entity Framework Code First: cascade on update
Hallo, is there a better possibility to turn 'cascade on update' on for a foreignkey-relationship than doing it per script (e.g. as does WillCascadeOnDelete(true) for 'cascade on ...Answered | 4 Replies | 9973 Views | Created by Felix Liebrecht - Monday, July 21, 2014 8:25 PM | Last reply by Amir Abolhasani - Saturday, October 31, 2020 12:03 PM -
0 Votes
entity dynamic proxies "xxxx"
Hi all, I have always inserted my edmx file (DB first approach) and then added my partial classes to extend the methods. In this way I also browse the ...Answered | 3 Replies | 2464 Views | Created by duppino - Monday, October 26, 2020 8:08 AM | Last reply by DA924x - Tuesday, October 27, 2020 3:40 PM -
1 Votes
BeginScope Usage on EF Core DbContext
Hi, I would like to ask if it is possible to use logging scopes (via BeginScope) while DbContext operations logging. Operations are logged correctly but the scope is lost (only for ...Unanswered | 1 Replies | 1926 Views | Created by Michal82 - Thursday, October 22, 2020 1:41 PM | Last reply by Daniel_Zhang-MSFT - Friday, October 23, 2020 6:24 AM -
2 Votes
CROSS/OUTER APPLY - Still a problem in RTM?
I keep getting a "OUTER APPLY not supported by Oracle" exception when including certain relationships in my queries with EF RTM.When I google it, I can see that EF BETA 3 had the same ...Unanswered | 32 Replies | 19909 Views | Created by Troels Larsen - Thursday, December 11, 2008 2:34 PM | Last reply by Rene Pilon - Thursday, October 22, 2020 1:23 PM -
0 Votes
Duplicated values
Hi guys, I'm developing a web application using entity framework. I need do a select and pass values for a Ilist but return duplicated ...Proposed | 1 Replies | 2051 Views | Created by D3POD - Wednesday, October 14, 2020 12:51 PM | Last reply by DA924x - Thursday, October 15, 2020 5:00 AM -
2 Votes
How to exclude 2 tables out of 120 tables in EF Core DB First approach
How to exclude 2 tables out of 120 tables because those two tables are not going to use in my application and those two tables do not have primary key that is why it is throwing an ...Answered | 14 Replies | 8870 Views | Created by Shravan Sangishetti - Monday, January 13, 2020 7:41 PM | Last reply by Florin-Constantin Ciubotariu - Wednesday, October 7, 2020 10:14 AM -
0 Votes
Stored Procedure Mapping Result Column Binding
Using a simple insert stored procedure with the output parameter SELECT SCOPE_IDENTITY() AS Id allows me to map the Id field in the Result Column Binding on the associated C# entity's Insert Function ...Unanswered | 1 Replies | 2439 Views | Created by jamesdbrown79 - Thursday, October 1, 2020 12:55 PM | Last reply by Daniel_Zhang-MSFT - Friday, October 2, 2020 6:51 AM -
0 Votes
No mapping exists from object type system.collections.generic.list`1 to a known managed provider native type
I have passed ids list as parameter to Store procedure but when cal storeprocedure got the error " No mapping exists from object type ...Unanswered | 2 Replies | 3026 Views | Created by rammi P - Thursday, September 24, 2020 7:06 AM | Last reply by Daniel_Zhang-MSFT - Wednesday, September 30, 2020 8:41 AM -
0 Votes
Where with enums issue
x.Status == StatusEnum.Approved); This works. But when I try to do: query = query.Where(x => filter.ColumnStatus.Items.Any(y => ...Unanswered | 1 Replies | 2108 Views | Created by Michal Urban - Friday, September 25, 2020 12:29 PM | Last reply by Daniel_Zhang-MSFT - Monday, September 28, 2020 10:02 AM -
0 Votes
Winform Project and remote debugging
I have a winform project which i publish a centralize folder and user install application from that folder. so when i update any functionality and give publish then user gets update when they run ...Unanswered | 1 Replies | 2054 Views | Created by Sudip_inn - Friday, September 18, 2020 10:02 AM | Last reply by DA924x - Friday, September 18, 2020 11:58 AM -
0 Votes
EF insert using SQL view suddenly giving optimistic concurrency error
For the last few weeks I am seeing the following error in my development code whenever any insert using an SQL view happens in our code base - "Store update, insert, or delete ...Proposed | 1 Replies | 2659 Views | Created by DaveW2 - Thursday, September 17, 2020 10:08 AM | Last reply by DA924x - Thursday, September 17, 2020 12:11 PM -
0 Votes
How Entity Framework can return data table instead of List
s.StudentName == "Bill") .FirstOrDefault<Student>(); } using (var context = new ...Answered | 3 Replies | 4175 Views | Created by Sudip_inn - Tuesday, September 15, 2020 10:59 AM | Last reply by Daniel_Zhang-MSFT - Wednesday, September 16, 2020 9:54 AM -
1 Votes
System.ComponentModel.Win32Exception: The network path was not found
Server Error in '/' Application. The network path was not found Description: An unhandled exception occurred during the execution of the current ...Unanswered | 8 Replies | 11112 Views | Created by Vishvat Gautami - Monday, September 14, 2020 10:20 AM | Last reply by Daniel_Zhang-MSFT - Wednesday, September 16, 2020 2:31 AM -
3 Votes
Linq to Entities Join with Group By
Hello, I'm trying to figure out how to perform a query using Linq to Entities. I have it working in sql just fine but for some reason I keep coming up short using Linq. ...Answered | 5 Replies | 44761 Views | Created by JasonParadis - Tuesday, December 7, 2010 5:17 PM | Last reply by aky73 - Saturday, September 12, 2020 4:53 PM -
0 Votes
When programmatically get store info from conceptual info of an EF model, how does one get the COLUMN name corresponding to an entity property that's nested within a COMPLEX property
WHAT I HAVE: Visual Basic 2019, .NET 4.6.1, Entity Framework 6.4 VB.NET project with EF model created Model First, targeted at .NET 4.6.1. MY ...Proposed | 1 Replies | 2436 Views | Created by RobertGustafson - Wednesday, September 9, 2020 4:24 AM | Last reply by Daniel_Zhang-MSFT - Thursday, September 10, 2020 9:55 AM - Items 1 to 20 of 16317 Next ›
No announcements