Commit Graph

35 Commits

Author SHA1 Message Date
Arthur Vickers c6b92fe16c React to EF changes 2015-06-25 16:01:25 -07:00
Smit Patel 403f7c7585 Ef : Enabled Autogeneration for ArtistId & GenreId using sequence which allows explicit values 2015-03-16 12:09:03 -07:00
Smit Patel 117dbc4887 Reacting to Changes in EF: Disabling use of Identity Column for PK 2015-03-13 15:56:59 -07:00
AndriySvyryd cec6370dde Reacting to EF changes 2015-01-16 12:59:42 -08:00
AndriySvyryd 6120168c86 Reacting to the new EF relationship discovery convention 2014-12-10 14:16:20 -08:00
Praburaj 65f58b98a8 Fixing the test failure
On introducing a FK relationship from OrderDetails table to Album table with album id creates a problem when deleting an album that's checked out atleast once.
2014-12-02 11:29:49 -08:00
Praburaj e21f6052f2 Using .Include in queries instead of manual joining
Also removed Identity setup from Ntlm Startup
Some minor using statements ordering.
2014-12-02 11:00:28 -08:00
ajcvickers 947a3f8790 Reacting to EF API renames 2014-10-28 18:55:57 -07:00
Suhas Joshi 7dd78bbfef Changes to use AddDbContext method 2014-10-16 16:11:09 -07:00
Hao Kung d375e87a4e React to options and hosting changes 2014-10-14 19:22:51 -07:00
Hao Kung 59ec9de771 React to Identity SqlServer -> EntityFramework rename 2014-10-09 14:20:36 -07:00
David Fowler 17dd874996 Only turn off identity columns for artists and genres. 2014-09-26 02:46:22 -07:00
David Fowler cbde5ba982 Disable store generated properties for the Ids. 2014-09-26 02:36:17 -07:00
Hao Kung e60b1665e3 React to Identity Rename 2014-08-25 11:41:49 -07:00
ajcvickers 9ee9104883 Reacting to ConventionModelBuilder name change 2014-08-15 11:35:24 -07:00
ajcvickers e2736173e8 Change ModelBuilder to ConventionModelBuilder 2014-08-15 08:45:28 -07:00
Praburaj 3c0eefe12e Merging the MusicStore & MusicStoreIdentity Db into one.
This has been a feedback from identity team for a while. Just got time to do it now.
2014-07-22 16:44:23 -07:00
Ryan Nowak c2140666d9 fix build break in music store 2014-07-03 19:25:29 -07:00
Praburaj 047db6d5f4 Change with this submission
Fixes # https://github.com/aspnet/MusicStore/issues/105
2014-07-03 12:58:26 -07:00
Hao Kung 043dbb2940 Changes for OptionsModel 2014-05-28 12:51:48 -07:00
ajcvickers ad49e49b7f Pass DbContextOptions directly to base DbContext constructor. 2014-05-27 12:48:24 -07:00
Praburaj 8409e9518b Catching up MusicStore app with code generated with latest templates 2014-05-23 14:35:08 -07:00
Praburaj 909941fa51 Removing the InMemory store for EF data in CoreCLR. 2014-05-12 08:37:55 -07:00
ajcvickers 4120269fb5 Updating for SqlServerConnectionString => UseSqlServer change 2014-05-07 10:27:59 -07:00
Wei Wang 2ab97f7d42 Update dependency namespace 2014-05-05 20:29:10 -07:00
Brice Lambson 06d962291f React to EF package renames
This is part of aspnet/Data#132
2014-05-05 16:09:46 -07:00
ajcvickers bb427ee393 Reacting to EF class renaming. 2014-05-05 13:43:44 -07:00
Praburaj 65d4057132 Injecting ApplicationUserManager in AccountController
Injecting IConfiguration to MusicStoreContext
2014-05-01 16:47:01 -07:00
ajcvickers 9d25c0b1f1 Updating EntitySet/EntityContext to DbSet/DbContext 2014-04-24 17:19:01 -07:00
ajcvickers cda544c04b IServiceProvider no longer available from EntityConfigurationBuilder. Using ISP passed to context instead. 2014-04-24 14:16:24 -07:00
Praburaj 5bd052efaa 1. Making configuration as a service to read configuration settings from various places in the app
2. Reversed the order of registration of Environment source & json source as the logic for source override changed.
3. Taking a snapshot of the latest packages.
2014-04-23 15:16:58 -07:00
ajcvickers 737afbd610 An injection of musical love... (Updating music store to use new EF configuration and DI)
Changes EF setup to use common DI container
Sets up injection of context instances
2014-04-18 13:17:08 -07:00
Praburaj 4709bca281 A few changes with this checkin:
1. Removing copyright text from all files per a code review feedback
2. Adding a cookie based session to the application to retrieve the cart Id.
3. Enabled the Accounts controller as we now have the necessary Http abstractions for User, SignIn, SignOut etc.
4. Changing self hosting scripts to run on coreclr by default.
5. Enabling the layout page on all required views.
6. Adding a favico.ico
7. Renaming the Cart property in the EF context to CartItems as it returns a CartItems list.
8. Uncommenting some code which was previously accessing unavailable APIs. They are available now (but yet to validate them).
2014-04-02 18:40:25 -07:00
rowanmiller fe9770cc80 Use OnModelCreating & OnConfiguring (plus some other cleanup)
Swapping context to use OnModelCreating & OnConfiguring now that models
are cached
Adding some [Required] annotations to properties that are really
required in the domain model
Renaming Cart => CartItem because that's what it really is :)
Allowing database to hold some null data now that we can materialize it
(although we can't save it yet)
2014-03-25 16:01:01 -07:00
rowanmiller 965046813e Swapping data access to use EF
Enabling data access against new EF stack.
Uses SQL Server when running on Net45 and an in-memory database for K10
(because SQL Client isn't available on K10 yet).
Various workarounds in place to compensate for missing features in EF
(all marked with "// TODO [EF]..."
2014-03-25 12:50:36 -07:00