code-first
CodeFirst generating database
I\'ve tried using CodeFirst lately and I\'m wondering something. I used CF to generate db(MyDB.mdf), then I deleted a table (Category) in SQL Server. Next, when I\'ve tried to recreate a new table, CF[详细]
2023-03-28 06:38 分类:问答Enterprise applications in .NET EF 4.1 CodeFirst - Have you seen any?
EF 4.1 CodeFirst looks great. It works and sells w开发者_Python百科onderfuly with basic examples that have one or two joins, but what about larger applications? Did anybody work on a large application[详细]
2023-03-28 00:18 分类:问答MVC 3 CodeFirst Share sql express database with all of my models
I am creating a data driven website with mvc3 using EF and code first.I am trying to have all of my models share one database so that seperate roles can have access to common tables.I am not sure weat[详细]
2023-03-27 19:20 分类:问答EF 4.1 :: Testing with Moq & NUnit
I am using Entity Framework 4.1 for my DAL on my current project, and am now trying to unit test my business objects while mocking my entities with moq.[详细]
2023-03-27 15:44 分类:问答Using MVC 3 Entity Framework Code-First, how do you create a new "many" object in a one-to-many relationship?
I\'m sure that this is very straight-forward, however, after scouring the net I can\'t find anything to set me straight.[详细]
2023-03-27 09:33 分类:问答"Better" approach to ignoring classes when using code first and the entity framework
I am currently doing the following to remove any EF classes I don\'t want included. But this means I have to list all the classes.[详细]
2023-03-27 04:42 分类:问答Entity Framework, Code First, Update "one to many" relationship with independent associations
It took me way too long to find a solution to the scenario described below. What should seemingly be a simple affair proved to be rather difficult. The question is:[详细]
2023-03-26 16:41 分类:问答Entity Framework, Code First modeling and a cyclical reference
I\'ve spend several days now, trying to solve this problem. While making a simple project to exemplify my problem, I stumbled upon a possible solution. So, this is sort of a double question.[详细]
2023-03-26 11:04 分类:问答EF4.1 Code First, Navigation Property across multiple mapping joins
In SQL, I have a 1:1 relationship defined between 2 tables which are linked by 2 mapping tables, four in total. I have no influence on the database schema.[详细]
2023-03-26 10:41 分类:问答Python 3 library for working code-first with Sqlite
Is there a Python 3 library that allows working with SQL databases using a code-first approach? By code-first I understand being able to infer the DB schema from a set of classes and to generate DDL[详细]
2023-03-24 12:38 分类:问答