entity-framework
how can to instruct entity framework not to update a property of a model
I am using Asp.net MVC and Entity framework(Below code is just for demo) I have a model like below public class Person[详细]
2023-04-13 00:48 分类:问答SmartThreadPool - Is it possible to pass delegate method with method parameters?
I have a long running process called ImportProductInformation called by a consoleapp that I\'m trying to speed up, which appears to be an excellent candidate for thread-pooling, so I did a little sear[详细]
2023-04-12 23:54 分类:问答Adding the same items to many-to-many relation in EF 4.0
I have two entities in my domain model: public class Configuration : DomainEntity { public virtual ICollection<Hardware> Hardwares { get; set; }[详细]
2023-04-12 23:40 分类:问答Can I use a combobox in a programmatically bound datagrid C#
I am using entity framework and binding to a datagrid to display the results of my query.Instead of showing the foreign key from the result, I would like to 开发者_开发技巧show the more meaningful val[详细]
2023-04-12 23:06 分类:问答Error on update EDMX file
I create a connection with MySQL using asp.net edmx file but show error on update. In my project a ssdl file is also included. i don\'t know how to upd开发者_StackOverflow社区ate ssdl file but update[详细]
2023-04-12 23:06 分类:问答EF 4.1 what is the best way to use enums and be able to query them on columns?
Here I have my code, but I wonder if this will leave me do easy queries against the enum columns. By the way, do you see something else I can improve in this code?[详细]
2023-04-12 22:23 分类:问答Repopulate Entity Framework Navigation properties
Hi I have an MVC app I\'m calling a stored procedure from. The reason I\'m using a stored procedure is because the query is quite complex and it already exists so I may as well use it.[详细]
2023-04-12 22:12 分类:问答Entity Framework / SQL Server strange decimal division behaviour
I have a table in my SQL server 2008 R2 database which includes two nullable decimal(16,6) columns.Let\'s call them column1 and column2.[详细]
2023-04-12 21:30 分类:问答How to detect changes of bindingsource bound to entity?
I have a bindingsource which is bound to entity. normBindingSource.DataSource = dowacodbEntities.norms.OrderBy(o1 => o1.UsePurpose_id).ThenB开发者_Go百科y(o2 => o2.Quantity);[详细]
2023-04-12 21:09 分类:问答Entity Framework include vs where
My database structure is this: an OptiUser belongs to multiple UserGroups through the IdentityMap table, which is a matching table (many to many) with some additional properties attached to it. Each U[详细]
2023-04-12 20:59 分类:问答