entity framework - EntityFramework code-first ignoring derived columns when creating database -


i of tables in database have standard columns such createdby, modifiedby, createddatetime, modifieddatetime etc.

so, created interface properties , implemented interface in abstract base class. derived concrete classes base class.

this brand new application using code-first approach. when create database, derived properties ignored. tables created properties in derived classes.

i'm not sure why.

thank you.

i'm not sure different, tried again following changes , worked:

  1. gave dbcreator rights in database user
  2. changed properties in base class in format (similar change other properties):

public string createdby { get; set;}


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -