25 lines
706 B
C#
25 lines
706 B
C#
///
|
|
/// Copyright (c) 2015 Sensus Metering Systems
|
|
/// Author: Milan Hanajík
|
|
///
|
|
using TBF.BenchControl.Generic;
|
|
|
|
namespace TBF.BenchControl.DB.SensusOracle
|
|
{
|
|
public class DatabaseFactory : IComponentFactory
|
|
{
|
|
public string ClassName { get { return "Sensus-Oracle-Database"; } }
|
|
|
|
public void ResetStaticProperties() { Database.ResetStaticProperties(); }
|
|
|
|
public IComponent DummyComponent() { return new Database(); }
|
|
|
|
public IComponentCfg DefaultConfig() { return new DatabaseCfg(this); }
|
|
|
|
public IComponentCfg CmpntCfgFromCmpntEntity(Entities.Component component)
|
|
{
|
|
return ComponentCfgBase.CreateFromDbEntity(typeof(DatabaseCfg), component, this);
|
|
}
|
|
}
|
|
}
|