Exemplo n.º 1
0
 public void FixtureSetup()
 {
     using (var db = new TestEf6SchemaCompareDb())
     {
         var decoder = new Ef6MetadataDecoder(Assembly.GetAssembly(typeof(DataTop)));
         _efInfos = decoder.GetAllEfTablesWithColInfo(db);
     }
 }
 public void FixtureSetup()
 {
     using (var db = new TestEf6SchemaCompareDb())
     {
         var decoder = new Ef6MetadataDecoder(Assembly.GetAssembly(typeof(DataTop)));
         _efInfos = decoder.GetAllEfTablesWithColInfo(db);
         var allSqlInfo = SqlAllInfo.SqlAllInfoFactory(db.Database.Connection.ConnectionString);
         _checker = new EfRelationshipChecker(_efInfos, allSqlInfo, allSqlInfo.TableInfos);     //NOTE: we aren't able to filter potentialManyToManyTables
     }
 }