Пример #1
0
        public SqlDataReaderWithTimeOffset(SqlDataReader	reader, int TimeZoneId, string[] ShiftTimeOffsetCollumns)
        {
            _innerReader	=	reader;
            _timeZoneId		=	TimeZoneId;
            _timeZone		=	McTimeZone.Load(_timeZoneId);

            if(ShiftTimeOffsetCollumns!=null)
            {
                foreach(string columnName in ShiftTimeOffsetCollumns)
                    _hash.Add(columnName,string.Empty);
            }
        }
Пример #2
0
        public SqlDataReaderWithTimeOffset(SqlDataReader reader, int TimeZoneId, string[] ShiftTimeOffsetCollumns)
        {
            _innerReader = reader;
            _timeZoneId  = TimeZoneId;
            _timeZone    = McTimeZone.Load(_timeZoneId);

            if (ShiftTimeOffsetCollumns != null)
            {
                foreach (string columnName in ShiftTimeOffsetCollumns)
                {
                    _hash.Add(columnName, string.Empty);
                }
            }
        }