internal NumericRangeResolution(ResolutionKind resolutionKind, RangeKind rangeKind, double minimum, double maximum) : base(resolutionKind)
 {
     RangeKind      = rangeKind;
     Minimum        = minimum;
     Maximum        = maximum;
     ResolutionKind = resolutionKind;
 }
 internal TemporalSpanResolution(ResolutionKind resolutionKind, string begin, string end, string duration, TemporalModifier?modifier) : base(resolutionKind)
 {
     Begin          = begin;
     End            = end;
     Duration       = duration;
     Modifier       = modifier;
     ResolutionKind = resolutionKind;
 }
Ejemplo n.º 3
0
        public ICollection <ResolutionKindDocumentSeries> GetResolutionAndSeries()
        {
            ResolutionKind resolutionKind = null;
            DocumentSeries documentSeries = null;

            return(NHibernateSession.QueryOver <ResolutionKindDocumentSeries>()
                   .JoinAlias(x => x.DocumentSeries, () => documentSeries)
                   .JoinAlias(x => x.ResolutionKind, () => resolutionKind)
                   .List <ResolutionKindDocumentSeries>());
        }
Ejemplo n.º 4
0
        public ICollection <ResolutionKindDocumentSeries> GetByIdResolutionKind(Guid idResolutionKind)
        {
            ResolutionKind resolutionKind = null;
            DocumentSeries documentSeries = null;

            return(NHibernateSession.QueryOver <ResolutionKindDocumentSeries>()
                   .JoinAlias(x => x.DocumentSeries, () => documentSeries)
                   .JoinAlias(x => x.ResolutionKind, () => resolutionKind)
                   .Where(() => resolutionKind.Id == idResolutionKind)
                   .List <ResolutionKindDocumentSeries>());
        }
Ejemplo n.º 5
0
        public ResolutionKindDocumentSeries GetByResolutionAndSeries(Guid idResolutionKind, int idSeries)
        {
            ResolutionKind resolutionKind = null;
            DocumentSeries documentSeries = null;

            return(NHibernateSession.QueryOver <ResolutionKindDocumentSeries>()
                   .JoinAlias(x => x.DocumentSeries, () => documentSeries)
                   .JoinAlias(x => x.ResolutionKind, () => resolutionKind)
                   .Where(() => resolutionKind.Id == idResolutionKind)
                   .And(() => documentSeries.Id == idSeries)
                   .SingleOrDefault <ResolutionKindDocumentSeries>());
        }
Ejemplo n.º 6
0
 internal SpeedResolution(ResolutionKind resolutionKind, SpeedUnit unit, double value) : base(resolutionKind)
 {
     Unit           = unit;
     Value          = value;
     ResolutionKind = resolutionKind;
 }
Ejemplo n.º 7
0
 internal AreaResolution(ResolutionKind resolutionKind, AreaUnit unit, double value) : base(resolutionKind)
 {
     Unit           = unit;
     Value          = value;
     ResolutionKind = resolutionKind;
 }
Ejemplo n.º 8
0
 internal LengthResolution(ResolutionKind resolutionKind, LengthUnit unit, double value) : base(resolutionKind)
 {
     Unit           = unit;
     Value          = value;
     ResolutionKind = resolutionKind;
 }
Ejemplo n.º 9
0
 internal TemperatureResolution(ResolutionKind resolutionKind, TemperatureUnit unit, double value) : base(resolutionKind)
 {
     Unit           = unit;
     Value          = value;
     ResolutionKind = resolutionKind;
 }
Ejemplo n.º 10
0
 internal BooleanResolution(ResolutionKind resolutionKind, bool value) : base(resolutionKind)
 {
     Value          = value;
     ResolutionKind = resolutionKind;
 }
Ejemplo n.º 11
0
 internal VolumeResolution(ResolutionKind resolutionKind, VolumeUnit unit, double value) : base(resolutionKind)
 {
     Unit           = unit;
     Value          = value;
     ResolutionKind = resolutionKind;
 }
Ejemplo n.º 12
0
 internal WeightResolution(ResolutionKind resolutionKind, WeightUnit unit, double value) : base(resolutionKind)
 {
     Unit           = unit;
     Value          = value;
     ResolutionKind = resolutionKind;
 }
Ejemplo n.º 13
0
 internal BaseResolution(ResolutionKind resolutionKind)
 {
     ResolutionKind = resolutionKind;
 }
Ejemplo n.º 14
0
 internal InformationResolution(ResolutionKind resolutionKind, InformationUnit unit, double value) : base(resolutionKind)
 {
     Unit           = unit;
     Value          = value;
     ResolutionKind = resolutionKind;
 }