I\'m using EF June CTP which has simple enum support. I have a MVC 3 view which has checkboxes that when submitted are retrieved as an array of some enum.
Question: How do I get EF 4.1 to specify the ON DELETE CASCADE option on the foreign key con开发者_JAVA百科straint using the fluent api for base tables? I know how to do it with relationships to other
I have an entity named Tag with a navigation property (collection) named Articles. The Tag has a ignored-property named ArticleCount开发者_运维技巧 that used to save tha associated Article s count (ju
I\'m trudging ahead with an ecommerce database desgin in EF 4.1 Code First. I\'ve come to a situation where I think I\'m justified, but not sure..
What is the best way to separate the mapping of tables to entities using the Fluent API so that it is all in a separate class and not inline in the OnModelCreating method?
I am designing a rather big Silverlight-project. I intend to make heavy use of modularity, so I chose MEF and PRISM to help me out there. However, when it comes to data, I\'m not quite sure how to tac
[Display(Name = \"Mobile\")] public string Mobile { get; set; } In the above code i want to include something like...
I have two entities: public class Product { [HiddenInput(DisplayValue=false)] public int ProductID { get; set; }
Closed. This question needs to be more focused. It is not currently accepting answers. 开发者_JS百科
I have a ResearchDatabase entity that has a many-to-many relationship with a Subject entity. i.e. a Research Database belongs in one or more Subject Categories, and a Subject Category contains one or