public static coreModel.Address ToCoreModel(this webModel.Address address)
        {
            var retVal = new coreModel.Address();

            retVal.InjectFrom(address);
            return(retVal);
        }
        public static dataModel.Address ToDataModel(this coreModel.Address address)
        {
            if (address == null)
            {
                throw new ArgumentNullException("address");
            }

            var retVal = new dataModel.Address();

            retVal.InjectFrom(address);
            retVal.DaytimePhoneNumber = address.Phone;
            return(retVal);
        }
        public static coreModel.Address ToCoreModel(this dataModel.Address entity)
        {
            if (entity == null)
            {
                throw new ArgumentNullException("entity");
            }

            var retVal = new coreModel.Address();

            retVal.InjectFrom(entity);
            retVal.Phone = entity.DaytimePhoneNumber;

            return(retVal);
        }
		public static coreModel.Address ToCoreModel(this webModel.Address address)
		{
			var retVal = new coreModel.Address();
			retVal.InjectFrom(address);
			return retVal;
		}