zzz projects Entity Framework 6 EF 6
Home EF Core 5 Articles Knowledge Base Online Examples
  • Home
  • EF Core 5
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework 6 - Knowledge Base (KB)

English (en) Français (fr) Español (es) Italiano (it) Deutsch (de) русский (ru) 한국어 (ko) 日本語 (ja) 中文简体 (zh-CN) 中文繁體 (zh-TW)

19 results for: in tag: data-binding

How do I use a WPF TreeView HierarchicalDataTemplate with LINQ to Entities?

I've got a Page class in my .edmx ADO.NET Entity Data Model file with with Parent and Children properties. It's for a hierarchy of Pages....removed dead ImageShack link - ADO.NET Entity Framework Hierarchical Page Class...This is handled in my SQL databa...
data-binding entity-framework linq wpf xaml
asked by Zack Peterson

WPF TreeView Binding

I've got a class with Parent and Children properties....ADO.NET Entity Framework Hierarchical Page Class http://img148.imageshack.us/img148/6802/edmxxe8.gif...I want to display this hierarchy in a WPF treeview....Here's my XAML......<TreeView Margin="12" ...
.net data-binding entity-framework linq wpf
asked by Zack Peterson

Databinding ASP.net DropDownList with Entity Framework

I'm trying to bind an ASP.net DropDownList to the results of an entity framework query, while still maintaining multi-tier separation. (i.e. I don't want my UI code to contain query details, nor my Data Layer code to have UI dependencies.) My code-behin...
3-tier asp.net data-binding entity-framework
asked by AndrewCr

Add empty entry to combobox bound to entity list

I use a ComboBox which is bound to a List<> of Entities. How can I add a "Not selected" entry to the combobox? Adding null to the list results in empty combobox.
c# combobox data-binding entity-framework winforms
asked by wRAR

Does an entity model fire an event when its data changes?

I want to be notified when data changes within a particular table, represented by an entity model. Is the model aware of underlying data changes? If it does actually fire an event, how can I subscribe to it?
c# data-binding entity-framework events
asked by Morgan Herlocker

Binding Entity Framework objects to a Datagridview C#

I have been trying to bind an Entity Framework object to a DataGridView but I keep hitting dead ends and I can't seem to find my answer anywhere....I can bind the whole of a table (entity) to a gridview and it will allow me to make changes and save those ...
c# data-binding datagridview entity-framework winforms
asked by Jimbo James

Bind an ObservableCollection to a ComboBox in WPF

I'm using ...Entity Framework... as my database source and need to convert a ...Linq... query "var" type to an ObservableCollection. I then need to bind the ObservableCollection to a ComboBox on WPF form; binding to ItemsSource, DisplayMemeberPath, Select...
c# data-binding entity-framework linq wpf
asked by dhamilton

How can I validate DataGridView input?

I have some serious problem with ...DataGridView... input validation:...I'm working on a project with Entity Framework and I've bound a ...DataGridView... element to a database....If the user inserts some data into a non-nullable column, and after that cl...
c# data-binding datagridview entity-framework sql-server
asked by Masoud Keshavarz

ASP.net MVC4 Multiselect ListBox with Many-to-Many relationship

I'm new to ASP.net, MVC4 and EF and having trouble making the leap from relatively simple samples to something (only slightly) more complex. I have simplified my model for the question here so consider the following. Forgive me if I have some of the ter...
asp.net-mvc-4 data-binding entity-framework razor
asked by CuberChase

How to bind entities from Entity Framework to DataGrid?

My XAML:...<Window x:Class="Newsletter.UI.MessagesWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MessagesWindow" Name="messagesWindow" Height=...
ado.net data-binding entity-framework wpf
asked by pmichna

Multiplicity constraint violated. The role xxx of the relationship xxx has multiplicity 1 or 0..1

Ive seen this question asked a few times but I'm afraid I am just not understanding the answers....In a nutshell, I have a Player that contains a property of type PlayerBaseballStat. Its a 1 to 1 relationship. PlayerBaseballStat has an ...ICollection<Ba...
c# data-binding entity-framework
asked by jason

WPF databinding to datagrid and entity framework database first

With Database First approach i've created the entities (with entity framework) inside my wpf project so i have the edmx file....From MSDN: EF generates code from your model using T4 templates. The templates shipped with Visual Studio or downloaded from ...
data-binding entity-framework visual-studio-2010 wpf wpfdatagrid
asked by Tom

Creating a list of entities that supports IBindingListView?

I use the following code in my data repository to return a list of entities. I want to bind to the list using a winforms bindingsource, and then to be able to support and filter the bindingsource...I currently use something like...mybindingSource.datasou...
c# data-binding entity-framework-6 winforms
asked by Kirsten Greed

Getter properties not found for `DbSet`s on my `Context`

I have a ...DbContext... used by a WPF client of a WCF service I 'host' in a Windows Service. Now, I don't know how this is related to what, in the WPF client, when I use the designer to place a ...SchedulerLogView... on my ...SchedulerView..., it shows a...
c# data-binding entity-framework entity-framework-6 wcf
asked by ProfK

How to bind WinForms' DataGridView to EF navigation property (collection) in master-detail scenario?

I have a databinding problem in Windows Forms....Here's the part of the EF model that is relevant for the story:...namespace Model { class Person { [Key] public int Id { get; set; } public String Name { get; set; } ...
bindingsource data-binding datagridview entity-framework-6 winforms
asked by Kornelije Petak

Binding data to a data-grid in WPF with Entity Framework

I've looked all over the web for this, and nothing I found seems to help. ...I made a model and added the model to a data source as an object. I assumed it would work like a data set where I can just drag and drop onto a form and it would bind the data fo...
c# data-binding entity-framework wpf
asked by Gisiota

Why does a Bound Textbox not modify its associated property is the Text value is set programmatically?

I have a Windows Form with a number of Textboxes. I bind them to a DataSource as the Form Loads....public partial class FormSettings : Form { private readonly DbContext _context = new DbContext(); public FormSettings() { InitializeCom...
c# data-binding entity-framework-6 textbox winforms
asked by Randy

How Can I Bind Data To DataGridView With EntityFramework In WPF

i have used Store Stored Procedure in my database (SQL Server)...select namebuffet,namefamilymember,idmember,Sum(finalpricefactorbuffet)-Sum((delivery*30)/100) as Price from Buffet_factorbuffet Inner join Buffet_buffet on idbuffet=buffetidfactor Inner ...
c# data-binding entity-framework-6 wpf wpf-controls
asked by Leonardo

What is the advantage of using INotifyPropertyChanged vs WinForms-like event handlers?

I am recoding a WinForms app (MySQL/EF6 with many fields to update) using WPF. I am examining code required to support INotifyPropertyChanged for each field, and wondering if this is an advantage over classic code behind event handling....I have develope...
c# data-binding entity-framework-6 wpf
asked by Charlie Peppler

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Save your entities 20× faster with EF Extensions
SaveChanges vs BulkSaveChanges

Try for free now