Exemple #1
0
        public EntityTypeConfiguration <TEntityType> DerivesFrom <TBaseType>() where TBaseType : class
        {
            EntityTypeConfiguration <TBaseType> baseEntityType = _modelBuilder.EntityType <TBaseType>();

            _configuration.DerivesFrom(baseEntityType._configuration);
            return(this);
        }