Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 25 results for
entityframework
- Page 1
Re: Why this epression produce error ?
Programming
Software Development
9 Years Ago
by mysybet
… error : An unhandled exception of type 'System.NotSupportedException' occurred in
EntityFramework
.SqlServer.dll Additional information: LINQ to Entities does not recognize… error : An unhandled exception of type 'System.NotSupportedException' occurred in
EntityFramework
.SqlServer.dll Additional information: LINQ to Entities does not recognize…
ASP.NET MVC ViewData and DropDownList
Programming
Web Development
13 Years Ago
by robertmacedonia
…. Maybe the problem is in the View... I am using
EntityFramework
ORM and all of the tables are presented as classes…
Connection to local databse generate from entity data model
Programming
Software Development
11 Years Ago
by kubiak
….0;initial catalog=SusibarDatabase;integrated security=True;MultipleActiveResultSets=True;App=
EntityFramework
""]; } 2.)this is the the second: EntityContainer…
C# WPF database connection error
Programming
Software Development
10 Years Ago
by aplh_ucsc
….mdf;integrated security=True;user instance=True;multipleactiveresultsets=True;App=
EntityFramework
"" providerName="System.Data.EntityClient" />…
File upload errors
Programming
Web Development
9 Years Ago
by Blueie
… System.Configuration Imports Microsoft.AspNet.Identity Imports Microsoft.AspNet.Identity.
EntityFramework
Imports Microsoft.AspNet.Identity.Owin Imports Microsoft.Owin.Security Imports…
Why this epression produce error ?
Programming
Software Development
9 Years Ago
by mysybet
… produced : An unhandled exception of type 'System.NotSupportedException' occurred in
EntityFramework
.SqlServer.dllAdditional information: LINQ to Entities does not recognize the…
Re: Beginner's Help
Programming
Web Development
11 Years Ago
by Skeldave
… a way of accessing the data. Your options are LINQtoSQL,
EntityFramework
and oledb (There are others but i suggest one of…
Re: How to create a simple entity without using Data Access Layer
Programming
Software Development
11 Years Ago
by MattBerry
… bit confused why you would want to effectively rewrite the
EntityFramework
? But you could do something like this: public class Contact…
Re: can apache web server can be used for asp.net site?
Programming
Web Development
10 Years Ago
by dreamztechusa
… This handles ASP.NET 4.0 (With the exception of
EntityFramework
). See the compatibility for more information on what Mono is…
Re: System.ComponentModel.MarshalByValueComponent
Programming
Software Development
10 Years Ago
by lolafuertes
You should add a reference in your project to the assemby from framework entitled as System.ComponentModel.DataAnnotations. Usually this is done automatically by the nuget package manager if you select to add the
EntityFramework
from nuget.org to your project Hope this helps
Re: Code for SQL INSERT INTO?
Programming
Web Development
9 Years Ago
by Blueie
… I have: Imports Microsoft.AspNet.Identity Imports Microsoft.AspNet.Identity.
EntityFramework
Imports Microsoft.AspNet.Identity.Owin Imports System Imports System.Linq…
Re: Unable to add attribute to item model. c# SQL Server
Programming
Web Development
9 Years Ago
by PsychicTide
… Package Manager –> Package Manager Console and typed 'Install-Package
EntityFramework
' in the command prompt shown. 2) Then ran the command…
Re: Date and name not declared errors?
Programming
Web Development
9 Years Ago
by Blueie
…? I have: Imports Microsoft.AspNet.Identity Imports Microsoft.AspNet.Identity.
EntityFramework
Imports Microsoft.AspNet.Identity.Owin Imports System.Linq Imports System…
Re: Loading related objects from database
Programming
Software Development
8 Years Ago
by DaveAmour
It uses an algorithm to conver linq to sql with joins. I think you can get the code from https://github.com/aspnet/
EntityFramework
EntityFramework: Unable to determine the principal end of the FK relationsh
Programming
Software Development
9 Years Ago
by necrovore
Hi, I have been working on the entity framework for a short span of time. My question is regarding savechanges() or rather what exactly is hapening in this scenario. I have 3 tables: Container , subcontainer, innercontainer there is a 1-n relation between tables in the specified order. i have added used the AddObject() to add the objects into …
Re: EntityFramework: Unable to determine the principal end of the FK relationsh
Programming
Software Development
9 Years Ago
by TekknoDraykko
Hello necrovore! :) It sounds like (based on the error) one of your foreign keys has not been configured to a primary key. Check out: https://msdn.microsoft.com/en-us/library/ms179610.aspx for more info on how to do this. :) Tekkno
Re: ASP.NET MVC ViewData and DropDownList
Programming
Web Development
13 Years Ago
by robertmacedonia
EDIT: I tried to change the DropDownListFor method by replacing the first parameter like this: Html.DropDownListFor(model => model.langID, ViewData["Languages"] as SelectList) and then (of course) I get an validation error - The value 'Deutsch' is not valid for langID. So, how do I present the name of the language to the user, and …
Re: ASP.NET MVC ViewData and DropDownList
Programming
Web Development
13 Years Ago
by robertmacedonia
EDIT no2: I tried to change this: [code=asp] ViewData["Languages"] = new SelectList(allLanguages, language.name, language.name, appLang.langID); [/code] I used another overloading of the same method, this one takes these parameters: the collection, dataValueField, dataTextField, selectedValue. And it does the same thing - adds a new …
Re: Connection to local databse generate from entity data model
Programming
Software Development
11 Years Ago
by exception
no SqlConnection? using System.Data.SqlClient;
Re: Connection to local databse generate from entity data model
Programming
Software Development
11 Years Ago
by kubiak
OK i will use SqlConnection it was my first choice but i use that.
Re: C# WPF database connection error
Programming
Software Development
10 Years Ago
by Ketsuekiame
ProductId is an int but you're passing it a string. Also, you should list the columns you're inserting for: `insert into products (ProductId, Name) values(12, 'Product 12')` Additionally, you should use parameters. Not doing so can lead to SQL injection attacks. (Don't fall for the "it's only used internally" argument either. No-one is …
Re: C# WPF database connection error
Programming
Software Development
10 Years Ago
by itzcuinzin
hi. You cant test the execute this way: int a = cmd.ExecuteNonQuery(); the variable can´t have value 0, if you have that value the query dondt execute in sql server. Do you undertand me? if not i stay here.
Re: File upload errors
Programming
Web Development
9 Years Ago
by hericles
When you're typing does intellisense provide the name of the file upload control? If it doesn'tthen something is wrong. Actually, looking at your code again I see you gave the file upload control an ID of FileUpload1. You should be using that.
Re: File upload errors
Programming
Web Development
9 Years Ago
by Blueie
Hello Hericles Thank you for pointing that out. One of the errors has gone, but I am still left with: If Me.IsFileValid(Me.**FileUpload1**) Then Error: 'System.Web.UI.WebControls.FileUpload' cannot be converted to 'System.Web.UI.HtmlControls.HtmlInputFile'. I didn't realise I was converting anything. The other error is: Me.…
Re: Why this epression produce error ?
Programming
Software Development
9 Years Ago
by tinstaafl
Assuming `Article` and `price` are some sort of list control, generally the items are stored as objects. In order to use them you must cast them to the appropriate type. Your choices are simple, either use the ToString method or cast the SelectedValue's to integers(`DirectCast` method will do). The one you choose will depend on how your class is …
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC