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 | 15744 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 16298 threads
-
0 VotesEF Core 2.2 - can't add new record with link to already existing another one
My POCO classes: [Table] public class Product { [Key] public int Id { get; set; } public string Name { ...Unanswered | 5 Replies | 180 Views | Created by Senglory - Monday, July 27, 2020 10:39 AM | Last reply by Daniel_Zhang-MSFT - 19 hours 50 minutes ago -
1 VotesConverting and old EF project v2.0 to 4.0 I get a schema error.
I converted this project to compile in VS2019 (originally it was VS 2012). There we a number of problems ...initially there was no database so I right clicked on the ENTITY ...Unanswered | 2 Replies | 145 Views | Created by robMerritt - Sunday, July 26, 2020 1:08 AM | Last reply by Daniel_Zhang-MSFT - Monday, July 27, 2020 7:03 AM -
9 VotesADO.net Entity Data Model template is missing in vs 2019 community, need help
ADO.net Entity Data Model template is missing in vs 2019 community, need helpProposed | 16 Replies | 18757 Views | Created by Naveed0070 - Monday, September 23, 2019 5:12 PM | Last reply by Apoorwa - Thursday, July 16, 2020 5:52 PM -
1 VotesCan EF be used for multiple projects?
I'm using EF6 and have a project which may need to be used for Internal web, internal forms.external web and possibly for mobile phone applications. I would ...Answered | 8 Replies | 415 Views | Created by Pure Deal - Friday, July 10, 2020 6:23 AM | Last reply by DA924x - Wednesday, July 15, 2020 5:35 AM -
0 VotesInvalidOperationException trying to add records to SQLite db using Entity Framework
I had previously encountered problems when trying to reverse engineer an SQLite database using Microsoft.EntityFrameworkCore.Sqlite. (See that post here.) I was initially able to ...Unanswered | 4 Replies | 827 Views | Created by thoatson - Wednesday, July 1, 2020 2:33 AM | Last reply by thoatson - Thursday, July 9, 2020 2:33 AM -
0 VotesEF core help with Anonymous ttypes
Hello, I have the following problem with EF core. A gridview (winforms) is bound to a list so the users could add or modify data. ...Answered | 11 Replies | 544 Views | Created by fullstop - Saturday, July 4, 2020 11:35 PM | Last reply by DA924x - Tuesday, July 7, 2020 3:32 PM -
0 VotesEDMX canvas and generating a database from Model question
I generated the database from the model now I notice that all the tables have an "s" appended to then Userid object translated to Userids in SQL. which ...Unanswered | 1 Replies | 212 Views | Created by robMerritt - Friday, July 3, 2020 7:51 PM | Last reply by Daniel_Zhang-MSFT - Monday, July 6, 2020 2:04 AM -
0 VotesHow can I Have Grand Totals from two table use LINQ query
= dpDate.Value && shf.Data <= dpDate1.Value group shf by new { shf.NRFA, shf.Data, ...Unanswered | 3 Replies | 305 Views | Created by DataRks - Thursday, July 2, 2020 10:25 PM | Last reply by DataRks - Friday, July 3, 2020 8:51 PM -
0 VotesLast Rows Grandtotals
var query = (from x in db.ViewFaturats select new { A = x.Data, B = x.Emri,C = x.VleraTVSH,D = x.Totali }) .Concat(from y in db.ViewShitjaFaturims select new { A = y.Data, B = y.Emri,C = ...Unanswered | 1 Replies | 242 Views | Created by DataRks - Thursday, July 2, 2020 11:37 AM | Last reply by Daniel_Zhang-MSFT - Friday, July 3, 2020 7:16 AM -
0 VotesEntityFramework.CodeTemplates.CSharp EF 6.4.4 HELP PLEASE
I am trying to get these templates to work, i need to basically later make the Classes and Properties Pascal Case (I have a method for that) there are no examples or documentation ...Unanswered | 1 Replies | 258 Views | Created by ChinA SyNDROME - Tuesday, June 30, 2020 6:30 PM | Last reply by Daniel_Zhang-MSFT - Wednesday, July 1, 2020 9:08 AM -
0 VotesEntity Framework and Desktop application
Can you add Entity Framework to an existing Visual Basic Desktop application solution connecting to an SQL database. If so, how would I go about doing it? I see a lot of stuff applying to ...Answered | 4 Replies | 567 Views | Created by mrbill65 - Wednesday, June 24, 2020 9:30 PM | Last reply by mrbill65 - Monday, June 29, 2020 8:41 PM -
0 Votesquestion on create table with 2 Identity column one of which is nullable ?
I have a generated DDL that gave me a few tables like this below where there is a intorder column set as the 2nd identity column and it is set to allow nulls , which makes no ...Unanswered | 1 Replies | 271 Views | Created by robMerritt - Monday, June 29, 2020 3:44 PM | Last reply by Stefan Hoffmann - Monday, June 29, 2020 3:53 PM -
0 Votesold EDMX project using "iAnywhere.Data.SQLAnywhere" provider
I have an older project that was using iAnywhere.Data.SQLAnywhere SWATModel.edmx: <?xml version="1.0" ...Unanswered | 4 Replies | 487 Views | Created by robMerritt - Saturday, June 27, 2020 3:55 AM | Last reply by robMerritt - Monday, June 29, 2020 3:41 PM -
0 VotesEntity Framework 6 - Can Views be used properly in EF6?
I have this application that i have to fix and maintain. It has a mobile app, a web app dashboard, some web services (2 layers) and some SQL Stored procedures to load some initial data (big ...Unanswered | 2 Replies | 347 Views | Created by CS-Shooter - Friday, June 26, 2020 1:31 PM | Last reply by CS-Shooter - Monday, June 29, 2020 2:42 PM -
0 VotesAudit logging using DbCommandInterceptor in EntityFramework leads to exception while trying to log the result from interceptionContext.OriginalResult
SaveChangs() . Exception and the Auditlogging code is given below Exception Save failed due to ...Unanswered | 1 Replies | 337 Views | Created by SomarajK - Friday, June 26, 2020 6:09 PM | Last reply by Daniel_Zhang-MSFT - Monday, June 29, 2020 6:15 AM -
0 Votesadd-migration command is giving error System.IO.FileLoadException: Could not load file or assembly 'System.Runtime, Version=4.2.1.0
add-migration testMigration System.IO.FileLoadException: Could not load file or assembly 'System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The ...Answered | 3 Replies | 954 Views | Created by Kalpesh_Dave - Wednesday, June 24, 2020 8:19 PM | Last reply by Kalpesh_Dave - Thursday, June 25, 2020 6:50 PM -
0 VotesEntity Framework calling stored procs async and Checkmarx
Our company recently discovered Checkmarx and started testing existing applications. In the generated report, Checkmarx is reporting a SQL Injection issue. We are using Entity ...Unanswered | 4 Replies | 626 Views | Created by Cheesebread - Wednesday, June 17, 2020 12:43 AM | Last reply by Cheesebread - Friday, June 19, 2020 8:32 PM -
0 VotesSelf Referencing tables issues in Entity FrameWork
I using asp.net mvc 5 Entity FrameWork 6 with lots of self referencing keys in the SQL Server database. I want to find out if it is a good idea to use these self referencing keys and if not what ...Answered | 1 Replies | 528 Views | Created by denkyira - Wednesday, June 17, 2020 6:50 PM | Last reply by Daniel_Zhang-MSFT - Thursday, June 18, 2020 3:12 AM -
0 VotesHow do I convert my SQL query to Entity Framework DBContext
1) AS LineItemsCount FROM ci_orders co) AS temp WHERE lineitemscount > 1 AND paymenttransactionstatusid = 1 AND orderid NOT IN (SELECT orderid FROM ordersplit) AND orderid Not IN (SELECT ...Unanswered | 1 Replies | 477 Views | Created by PS_28 - Friday, June 12, 2020 9:45 AM | Last reply by DA924x - Saturday, June 13, 2020 4:38 PM -
0 VotesEntity Framework and adding DataAnnotations
Im going through a tutorial on EF 6 (6.3 if i recall). I have the below structure for a Solution i have separated. DAL (Class library) I add EF ...Proposed | 1 Replies | 617 Views | Created by Pure Deal - Thursday, June 11, 2020 3:41 PM | Last reply by DA924x - Friday, June 12, 2020 5:41 AM - Items 1 to 20 of 16298 Next ›
No announcements
