Esempio n. 1
0
        public void UpdateSchema(Assembly assembly)
        {
            var mappings      = Mapper.GetTypeMappings(assembly).Where(x => !x.IsComplexType).ToList();
            var schemaUpdater = new SchemaUpdater(this);

            schemaUpdater.CreateOrUpdate(mappings);
        }
Esempio n. 2
0
        public void UpdateSchema()
        {
            var schemaUpdater = new SchemaUpdater(this);

            schemaUpdater.CreateOrUpdate(Mapper.GetTypeMappings().Where(x => !x.IsComplexType).ToList());
        }