public RateFormulaRepository(IDbGateway dbGateway, IDataTableToMetaDataMapper <RateFormula> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.ViewCalculationMethodRateFormula)
 {
     _allFormula        = new Cache <RateKey, string>();
     _formulaDimensions = new Cache <RateKey, string>();
     _nanString         = double.NaN.ToString(NumberFormatInfo.InvariantInfo);
 }
 public RateFormulaRepository(IDbGateway dbGateway, IDataTableToMetaDataMapper <RateFormula> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.VIEW_CALCULATION_METHOD_RATE_FORMULA)
 {
     _allFormula        = new Cache <RateKey, string>();
     _formulaDimensions = new Cache <RateKey, string>();
     _nanString         = double.NaN.ToString(NumberFormatInfo.InvariantInfo);
 }
 public FlatCalculationMethodParameterDescriptorConditionRepository(IDbGateway dbGateway,
                                                                    IDataTableToMetaDataMapper <FlatCalculationMethodParameterDescriptorCondition> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.ViewCalculationMethodParameterDescriptorConditions)
 {
 }
 public FlatModelContainerRepository(IDbGateway dbGateway, IDataTableToMetaDataMapper <FlatModelContainer> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.VIEW_MODEL_CONTAINERS)
 {
 }
Beispiel #5
0
 public FlatSpeciesContainerRepository(IDbGateway dbGateway, IDataTableToMetaDataMapper <FlatSpeciesContainer> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.ViewSpeciesContainers)
 {
 }
Beispiel #6
0
 public FlatOldParameterNameMappingRepository(IDbGateway dbGateway, IDataTableToMetaDataMapper <FlatOldNameMapping> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.ViewOldParameterNameMappings)
 {
 }
Beispiel #7
0
 public FlatOntogenyRepository(IDbGateway dbGateway, IDataTableToMetaDataMapper <OntogenyMetaData> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.VIEW_ONTOGENIES)
 {
 }
 public FlatContainerTagRepository(IDbGateway dbGateway,
                                   IDataTableToMetaDataMapper <FlatContainerTag> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.VIEW_CONTAINER_TAGS)
 {
 }
 public FlatRelativeObjectPathRepository(IDbGateway dbGateway,
                                         IDataTableToMetaDataMapper <FlatRelativeObjectPath> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.VIEW_OBJECT_PATHS)
 {
     _flatObjectPaths = new Cache <long, FlatRelativeObjectPath>();
 }
 public FlatValueOriginRepository(IDbGateway dbGateway, IDataTableToMetaDataMapper <FlatValueOrigin> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.VIEW_VALUE_ORIGIN)
 {
 }
Beispiel #11
0
 public FlatPopulationGenderRepository(IDbGateway dbGateway,
                                       IDataTableToMetaDataMapper <FlatPopulationGender> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.ViewPopulationGenders)
 {
 }
Beispiel #12
0
 public FlatGroupRepository(IDbGateway dbGateway, IDataTableToMetaDataMapper <FlatGroup> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.VIEW_GROUPS)
 {
 }
Beispiel #13
0
 public FlatEventChangedObjectRepository(IDbGateway dbGateway, IDataTableToMetaDataMapper <FlatEventChangedObject> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.ViewEventChangedObjects)
 {
 }
Beispiel #14
0
 public FlatPopulationAgeRepository(IDbGateway dbGateway,
                                    IDataTableToMetaDataMapper <PopulationAgeSettings> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.VIEW_POPULATION_AGE)
 {
 }
Beispiel #15
0
 public FlatEventConditionRepository(IDbGateway dbGateway,
                                     IDataTableToMetaDataMapper <FlatEventCondition> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.VIEW_EVENT_CONDITIONS)
 {
 }
 public CurrencyRateService()
 {
     _gateway = new DbGateway();
 }
 public FlatObserverDescriptorConditionRepository(IDbGateway dbGateway,
                                                  IDataTableToMetaDataMapper <FlatObserverDescriptorCondition> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.VIEW_OBSERVER_DESCRIPTOR_CONDITIONS)
 {
 }
 public FlatModelContainerMoleculeRepository(IDbGateway dbGateway,
                                             IDataTableToMetaDataMapper <FlatModelContainerMolecule> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.ViewModelContainerMolecules)
 {
 }
 public FlatModelPassiveTransportMoleculeNameRepository(IDbGateway dbGateway, IDataTableToMetaDataMapper <FlatModelPassiveTransportMoleculeName> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.ViewModelPassiveTransportMoleculeNames)
 {
 }
Beispiel #20
0
 public FlatObserverRepository(IDbGateway dbGateway,
                               IDataTableToMetaDataMapper<FlatObserver> mapper)
    : base(dbGateway, mapper, CoreConstants.ORM.VIEW_OBSERVERS)
 {
 }
Beispiel #21
0
 public OrganTypeRepository(IDbGateway dbGateway, IDataTableToMetaDataMapper <FlatOrganType> mapper) :
     base(dbGateway, mapper, CoreConstants.ORM.ViewOrganTypes)
 {
 }
Beispiel #22
0
 public FormulationRouteRepository(IDbGateway dbGateway, IDataTableToMetaDataMapper <FormulationRoute> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.ViewFormulationRoutes)
 {
 }
Beispiel #23
0
 public FlatSpeciesCalculationMethodRepository(IDbGateway dbGateway, IDataTableToMetaDataMapper <FlatSpeciesCalculationMethod> mapper) :
     base(dbGateway, mapper, CoreConstants.ORM.VIEW_SPECIES_CALCULATION_METHODS)
 {
 }
Beispiel #24
0
 public FlatCategoryRepository(IDbGateway dbGateway, IDataTableToMetaDataMapper <FlatCategory> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.VIEW_CATEGORY)
 {
 }
Beispiel #25
0
 public FlatDynamicFormulaCriteriaRepository(IDbGateway dbGateway,
                                             IDataTableToMetaDataMapper <FlatCalculationMethodRateDescriptorConditions> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.VIEW_DYNAMIC_FORMULA_CRITERIA_REPOSITORY)
 {
 }
Beispiel #26
0
 public TransportTemplateRepository(IDbGateway dbGateway, IDataTableToMetaDataMapper <TransportTemplate> mapper) :
     base(dbGateway, mapper, CoreConstants.ORM.VIEW_TRANSPORTS)
 {
 }
Beispiel #27
0
 public FlatModelSpeciesRepository(IDbGateway dbGateway, IDataTableToMetaDataMapper <FlatModelSpecies> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.ViewModelSpecies)
 {
 }
 public FlatModelPassiveTransportMoleculeNameRepository(IDbGateway dbGateway, IDataTableToMetaDataMapper <FlatModelPassiveTransportMoleculeName> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.VIEW_MODEL_PASSIVE_TRANSPORT_MOLECULE_NAMES)
 {
 }
Beispiel #29
0
 public FlatRepresentationInfoRepository(IDbGateway dbGateway, IDataTableToMetaDataMapper <RepresentationInfo> mapper) :
     base(dbGateway, mapper, CoreConstants.ORM.ViewRepresentationInfos)
 {
 }
 public FlatParameterRateRepository(IDbGateway dbGateway, IDataTableToMetaDataMapper <ParameterRateMetaData> mapper)
     : base(dbGateway, mapper, CoreConstants.ORM.ViewParameterRates)
 {
 }
 public RepresentationInfoRepository(IDbGateway dbGateway, IDataTableToMetaDataMapper <RepresentationInfo> mapper, ITypeToRepresentationObjectTypeMapper representationObjectTypeMapper) :
     base(dbGateway, mapper, CoreConstants.ORM.ViewRepresentationInfos)
 {
     _representationObjectTypeMapper = representationObjectTypeMapper;
 }
        protected override void EstablishContext()
        {
            string connectionString = null;

            _gateway = new DataGateway(connectionString);
            _name = "@test";
            _intValue = 1;
            _stringValue = "one";
            _dateTimeValue = DateTime.Now;
        }