Solution
I must either add the Email as a field in my form or remove the Required attribute. Once I did either of them the code worked as expected.
Hope that helps.
Related Contents:
- Entity Framework validation with partial updates
- Code First: Independent associations vs. Foreign key associations?
- Entity Framework: “Store update, insert, or delete statement affected an unexpected number of rows (0).” [closed]
- EF Core Second level ThenInclude missworks
- No Entity Framework provider found for the ADO.NET provider with invariant name ‘System.Data.SqlClient’
- How do I delete multiple rows in Entity Framework (without foreach)
- Entity Framework 6 Code first Default value
- ASP.NET Identity DbContext confusion
- Disable lazy loading by default in Entity Framework 4
- how to update an entity in Entity Framework 4 .NET
- The specified type member ‘Date’ is not supported in LINQ to Entities Exception
- EntityFramework code-first custom connection string and migrations
- How to pass parameters to the DbContext.Database.ExecuteSqlCommand method?
- How do I detach objects in Entity Framework Code First?
- ADO.NET DbContext Generator vs. ADO.NET Poco Entity Generator (ObjectContext)
- No executable found matching command “dotnet-ef”
- How to select top N rows for each group in a Entity Framework GroupBy with EF 3.1
- How to ensure proxies are created when using the repository pattern with entity framework?
- An object with the same key already exists in the ObjectStateManager. The ObjectStateManager cannot track multiple objects with the same key
- SQL Server Express connection string for Entity Framework Code First
- User in Entity type MVC5 EF6
- mapping private property entity framework code first [duplicate]
- Debug code-first Entity Framework migration codes
- Asp.Net Web API Error: The ‘ObjectContent`1’ type failed to serialize the response body for content type ‘application/xml; charset=utf-8’
- Cascading deletes with Entity Framework – Related entities deleted by EF
- Entity framework core update many to many
- Order navigation properties when using Include and/or Select methods with EF 4.1 Code-First?
- Entity framework code-first null foreign key
- EF can’t infer return schema from Stored Procedure selecting from a #temp table
- Using EF Core ThenInclude() on Junction tables
- Entity Framework 4 / POCO – Where to start? [closed]
- How to I apply filter while paginating in Asp.net MVC and entity Framework?
- How can I disable migration in Entity Framework 6.0
- How do I singularize my tables in EF Code First?
- Entity Framework: Ignore Columns
- Entity Framework CTP 4 – Code First Custom Database Initializer
- When should I call SaveChanges() when creating 1000’s of Entity Framework objects? (like during an import) [duplicate]
- Why is my Entity Framework Code First proxy collection null and why can’t I set it?
- Entity Framework 4.1+ many-to-many relationships change tracking
- Querying objects after AddObject before SaveChanges?
- Entity Framework Code First : Setting up One-To-One foreign key association using Annotations
- Entity Framework 4.1 default eager loading
- How to delete an object by id with entity framework
- LINQ to Entities for subtracting 2 dates
- Mocking or faking DbEntityEntry or creating a new DbEntityEntry
- Entity Framework Data Annotations Set StringLength VarChar
- Error 6002: The table/view does not have a primary key defined
- Map two different entities to the same table?
- How do I use Entity Framework in Code First Drop-Create mode?
- check constraint entity framework