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