private void Populate() { var sourceContext = new Northwind.EntityFramework.ModelFirst.MsSql.NorthwindMsSqlContext(ConfigurationManager.ConnectionStrings["NorthwindContext.EF.MF.MsSql"].ConnectionString); var entityCloner = new EntityCloner(sourceContext, new InMemoryEntityCloner(this)); entityCloner.CopyEntities(); }
public void Populate(object sourceContext) { var entityCloner = new EntityCloner(sourceContext, new MongoEntityCloner(this)); entityCloner.CopyEntities(); }