public void Generate() { // Create the appropriate usings for the EntityFramework; IORMUsings baseUsings = new EntityFrameworkBaseORMUsings(_context); IORMUsings concreteUsings = new EntityFrameworkConcreteORMUsings(_context); IORMUsings interfaceUsings = new EntityFrameworkInterfaceORMUsings(_context); // Instantiate and new derived class from the StandardORMFramework class // that accepts "usings". StandardORMFramework orm = new DerivedWithUsingsFromStandardORMFramework(_context, baseUsings, concreteUsings, interfaceUsings); orm.Generate(); }
public void Generate() { // Create the appropriate usings for the EntityFramework; IORMUsings baseUsings = new EntityFrameworkBaseORMUsings(_context); IORMUsings concreteUsings = new EntityFrameworkConcreteORMUsings(_context); IORMUsings interfaceUsings = new EntityFrameworkInterfaceORMUsings(_context); // Instantiate and new derived class from the StandardORMFramework class // that accepts "usings". StandardORMFramework orm = new DerivedWithUsingsFromStandardORMFramework(_context, baseUsings, concreteUsings, interfaceUsings); orm.Generate(); }