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 ...
-
0 VotesKeyword not supported : 'host' error when migration ef on POSTGRESQL
Currently I am doing database migration using MVC6 on .netcore 2.0. in my appsettings.json: { "Logging": { ... -
0 VotesSpecial Character Field Straße
I update a older application using EF with edmx. The SQL Database Schema is more than 15 years old and a lot of Services are connected. So i try EF 6 and a Kind ...Unanswered | 1 Replies | 41 Views | Created by HannesPreishuber - Tuesday, October 03, 2017 1:41 PM | Last reply by Bob Ding - Friday, October 06, 2017 10:01 AM -
0 VotesUse Entities/dbContext in tt/t4 template?
<#@ include file="EF6.Utility.CS.ttinclude"#> <#@ import namespace="System.Diagnostics" #> ...Answered | 4 Replies | 189 Views | Created by scascalesp - Thursday, September 07, 2017 4:31 PM | Last reply by scascalesp - Friday, October 06, 2017 8:19 AM -
0 VotesInsert data to Database by using Model edmx
I create Database in visual studio as service-based Database after I make tables i tried to connect it to Model .edmx by choose update Model from Database now when I insert data to ...Unanswered | 3 Replies | 62 Views | Created by ai_n - Wednesday, October 04, 2017 6:59 AM | Last reply by DA924x - Thursday, October 05, 2017 1:04 PM -
0 VotesChange Connection string normal to Entity Framework identity table will not work properly?
First of All i created database then i create identity table on existing table through migration, table was created successfully after that i create one more table name "Student" and create ...Unanswered | 2 Replies | 67 Views | Created by sohail naseer - Wednesday, October 04, 2017 6:14 AM | Last reply by DA924x - Wednesday, October 04, 2017 7:47 PM -
0 VotesIs entity framework good for complicated queries?
When i am trying to update data from c# code, I always call a stored procedure to do that. Is it convenient to use entity framework to update data without calling stored procedures? I know if we just ...Unanswered | 3 Replies | 74 Views | Created by Steve Parker1999 - Monday, October 02, 2017 8:58 PM | Last reply by DA924x - Wednesday, October 04, 2017 5:54 AM -
0 VotesLinq to Entities query to get conditional data.
Sir, I am developing an application using ASP.Net MVC with Entity Framework. I have the following tables: Pensioner(Id, Name,) DATA: (1, John), ...Proposed | 3 Replies | 81 Views | Created by ArunKhatri - Saturday, September 30, 2017 10:37 AM | Last reply by DA924x - Sunday, October 01, 2017 1:29 PM -
0 VotesDeleting list using unitofwork
x.Id)); unitofwork.Commit(); But it always delete in ascending order of list not descending order. I tried creating a fresh list just by adding items in descending order of ids and ...Unanswered | 5 Replies | 196 Views | Created by shafiquejs - Wednesday, August 30, 2017 12:47 PM | Last reply by DA924x - Monday, September 25, 2017 11:53 AM -
0 VotesWhy does Remove() not delete entities from database?
Hello, In trying to figure out how to delete entities from the database in Entity Framework, almost ever hit in google tells me that I need to use Remove(). As ...Unanswered | 5 Replies | 165 Views | Created by gib898 - Wednesday, September 06, 2017 11:43 PM | Last reply by Bob Ding - Monday, September 25, 2017 9:05 AM -
0 VotesNewbie here need help with Entity and Table!
Sorry to bother... I'm learning c# and found a problem that I don't know how to resolve... its about Entity connection to a local table... now I can loop using FOREACH... by curiosity I tried to make ...Unanswered | 3 Replies | 204 Views | Created by PerezGuillermo8 - Friday, September 15, 2017 9:22 PM | Last reply by Bob Ding - Monday, September 25, 2017 8:04 AM -
1 VotesSave to database entities using addtotable C#
private CoffeeShopDatabaseEntities1 cse = new CoffeeShopDatabaseEntities1(); TblProduct product = new TblProduct(); product.Descrption = ...Unanswered | 6 Replies | 296 Views | Created by _Nas - Sunday, September 03, 2017 11:57 AM | Last reply by Bob Ding - Monday, September 25, 2017 7:46 AM -
0 VotesHow to count columns having a value?
Sir, I am developing an ASP.NET MVC application using Entity Frameworks. Please help me find a solution to the following problem. I have two table as ...Unanswered | 3 Replies | 144 Views | Created by ArunKhatri - Friday, September 22, 2017 5:12 PM | Last reply by Bob Ding - Monday, September 25, 2017 3:22 AM -
0 Votesdynamically add column to my database table
hello i want dynamically add column to my database table at run time i want do that with entity framework code first in my mvc ...Unanswered | 4 Replies | 216 Views | Created by ArshamCoder - Tuesday, September 19, 2017 10:58 AM | Last reply by Bob Ding - Friday, September 22, 2017 7:30 AM -
1 VotesEF questions
I am using Code First, what's meaning for OnModelCreating function when I inherit DbContext. what requirements we need to set in OnModelCreating ...Proposed | 3 Replies | 158 Views | Created by GoyourGod - Thursday, September 21, 2017 6:57 AM | Last reply by Bob Ding - Friday, September 22, 2017 5:22 AM -
0 VotesGet an integer result from a stored procedure fails using Entity Framework when calling Context.Database.SqlQuery<int>
My team has a doubt of how to resolve this problem, can any one help me us with the problem we have. We posted the question on stackoverflow and this is the link. Thanks in ...Unanswered | 9 Replies | 197 Views | Created by izinova - Friday, September 15, 2017 6:41 PM | Last reply by Bob Ding - Friday, September 22, 2017 2:27 AM -
0 VotesDbContext failure detection
Does the DbContext class have a property or method indicating it is in a bad state? If a migration fails then does the DbContext class indicate that it is not useable? We ...Answered | 6 Replies | 207 Views | Created by Simple Samples - Tuesday, September 12, 2017 1:16 AM | Last reply by Simple Samples - Thursday, September 21, 2017 8:27 PM -
0 VotesGetting Entity Framework to get entity from database when updated
Hello, I have an MVC application using Entity Framework. Part of the application involves creating reports that can be saved to the database. It also involves ...Unanswered | 1 Replies | 158 Views | Created by Gibran Shah - Thursday, September 14, 2017 3:24 PM | Last reply by Bob Ding - Thursday, September 21, 2017 6:46 AM -
0 VotesInserting records in table with many-to-many relationship
I am new to the Entity Framework so please bear with me.............. I have the following tables in my ...Answered | 8 Replies | 5431 Views | Created by mcgjr - Thursday, July 15, 2010 1:36 PM | Last reply by Peter Nies - Wednesday, September 20, 2017 9:11 AM -
0 VotesEntity Framework Generated Model.Designer.cs file is empty.
RestaurantPOSModel.Designer.cs) got the below set of statements. Please refer the below screenshot. I can't understand the issue. Could you guys help me on ...Unanswered | 2 Replies | 138 Views | Created by Chiranthaka J - Tuesday, September 19, 2017 5:58 PM | Last reply by Bob Ding - Wednesday, September 20, 2017 8:21 AM -
0 Votesupdate master with sum record of details
hello i have created solution in visual studio 2012 and this solution is layred in 4 project : 1. project presentation layer (asp.net ...Unanswered | 3 Replies | 140 Views | Created by bensam16 - Monday, September 18, 2017 10:34 AM | Last reply by DA924x - Tuesday, September 19, 2017 3:27 PM - Items 1 to 20 of 15765 Next ›
No announcements
