Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completed with ef #4

Open
wants to merge 4 commits into
base: completed
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions doc/nh2ef.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Install-Package EntityFramework -Version 6.1.3

Have to put Tasks property on Users (even though I didn't want to) to support the Many2Many

VersionedClassMap<T> -> EntityTypeConfiguration<T>

Change _session.QueryOver<T> to _dbContext.Set<T>

ToRowCount() to Count() // test this!!

Set<T>.Find() to search by key, instead of Get<T>()

Used Set<T> instead of property getters


Make sure NH-related packages are removed from ./lib folder

Changed:
- ActionTransactionHelper
- Added IHttpContext and HttpContextAdapter
- NinjectConfigurator
- added CommonDbContext
Binary file not shown.
5 changes: 5 additions & 0 deletions lib/EntityFramework.6.1.3/content/App.config.transform
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
</configSections>
</configuration>
5 changes: 5 additions & 0 deletions lib/EntityFramework.6.1.3/content/Web.config.transform
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
</configSections>
</configuration>
Binary file not shown.
1,914 changes: 1,914 additions & 0 deletions lib/EntityFramework.6.1.3/lib/net40/EntityFramework.SqlServer.xml

Large diffs are not rendered by default.

Binary file not shown.
45,478 changes: 45,478 additions & 0 deletions lib/EntityFramework.6.1.3/lib/net40/EntityFramework.xml

Large diffs are not rendered by default.

Binary file not shown.
2,048 changes: 2,048 additions & 0 deletions lib/EntityFramework.6.1.3/lib/net45/EntityFramework.SqlServer.xml

Large diffs are not rendered by default.

Binary file not shown.
52,816 changes: 52,816 additions & 0 deletions lib/EntityFramework.6.1.3/lib/net45/EntityFramework.xml

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading