// Deserialization of PerfTests.Classes.AzureEntityFramework.Address  (strongly typed - no runtime reflection)
        public static PerfTests.Classes.AzureEntityFramework.Address  Deserialize_PerfTests_Classes_AzureEntityFramework_Address(byte[] serializedObject)
        {
        #if SILVERLIGHT != true
            ReflectionPermission memberAccessPerm = new ReflectionPermission(PermissionState.Unrestricted);
            memberAccessPerm.Demand();
        #endif

            PersonSerializer mainSerializer = new PersonSerializer();
            mainSerializer.InitStoresFromSerializedData(serializedObject);

            PerfTests_Classes_AzureEntityFramework_AddressSerializer objectDeserializer = new PerfTests_Classes_AzureEntityFramework_AddressSerializer(mainSerializer, mainSerializer.RefObjectsCache, mainSerializer.ValObjectsCache);
            return(objectDeserializer.Deserialize());
        }
        // Serialization of PerfTests.Classes.AzureEntityFramework.Address (strongly typed - no runtime reflection)
        public static byte[] Serialize_PerfTests_Classes_AzureEntityFramework_Address(PerfTests.Classes.AzureEntityFramework.Address objectToSerialize, CompressionType compressionType = CompressionType.Internal, int compressionLevel = 1)
        {
        #if SILVERLIGHT != true
            ReflectionPermission memberAccessPerm = new ReflectionPermission(PermissionState.Unrestricted);
            memberAccessPerm.Demand();
        #endif

            PersonSerializer mainSerializer = new PersonSerializer();
            mainSerializer.ActiveCompressionType  = compressionType;
            mainSerializer.ActiveCompressionLevel = compressionLevel;

            PerfTests_Classes_AzureEntityFramework_AddressSerializer objectSerializer = new PerfTests_Classes_AzureEntityFramework_AddressSerializer(mainSerializer, mainSerializer.RefObjectsCache, mainSerializer.ValObjectsCache);
            objectSerializer.Serialize(objectToSerialize);

            // Final result
            return(mainSerializer.ToByteArray());
        }