adamfoneil / ModelSync

A C# model class and database schema comparison, SQL diff scripting library
MIT License
6 stars 2 forks source link

Abstract conventions #29 #31

Closed desirablecoder closed 1 year ago

desirablecoder commented 1 year ago

abstract conventions #29

adamfoneil commented 1 year ago

@desirablecoder just to note what we chatted about, #30 should be the test case for this. I'd like to see some kind of integration test as part of this that builds and diffs a couple of simple models, somewhat like this:

var aoBuilder = new ModelBuilder<AOModelBuilder>();
var model1 = aoBuilder.Build(Source.Dll, "some dll");
var model2 = aoBuilder.Build(Source.Database, "some connection string");
var diffs = DataModel.Compare(model1, model2);
adamfoneil commented 1 year ago

@desirablecoder I think this doesn't align well with #29 , but I know I've waffled quite a bit on requirements