private void FinalizeMapReading()
        {
            if (!PrimaryKeyMaps.Any())
            {
                throw new Exception("No primary key maps found on " + typeof(T).Name +
                                    ". Use the AutonumberAttribute or KeyAttribute to mark a property as a primary key.");
            }

            if (StandardMaps.Any())
            {
                AllMaps.AddRange(StandardMaps);
            }
            AllMaps.AddRange(PrimaryKeyMaps);

            if (!AllMaps.Any())
            {
                throw new Exception("No mappable properties found on " + typeof(T).Name);
            }

            AllMapsDictionary = new Dictionary <string, string>();
            foreach (IMap map in AllMaps)
            {
                AllMapsDictionary.Add(map.PropertyName, map.ColumnName);
            }
        }